@everymatrix/player-account-timeout 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/{PlayerAccountGeneralConfirmationModal-D1513x8q.js → PlayerAccountGeneralConfirmationModal-BwTniqXY.js} +912 -947
  2. package/components/PlayerAccountGeneralConfirmationModal-yzlYlKBq.cjs +18 -0
  3. package/components/{PlayerAccountGeneralConfirmationModal-DdwHxQsA.js → PlayerAccountGeneralConfirmationModal-z3wlNX1R.js} +932 -967
  4. package/components/{PlayerAccountTimeout-DChhhH6N.js → PlayerAccountTimeout-ByJdD7eK.js} +1339 -1337
  5. package/components/{PlayerAccountTimeout-e4RmTTAz.js → PlayerAccountTimeout-BzCqBJ5d.js} +1069 -1067
  6. package/components/{PlayerAccountTimeout-Cnch2LQE.cjs → PlayerAccountTimeout-DMq4bGyx.cjs} +156 -156
  7. package/es2015/player-account-timeout.cjs +1 -1
  8. package/es2015/player-account-timeout.js +1 -1
  9. package/esnext/player-account-timeout.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-b2193545-BbCeNxUG.js +519 -0
  12. package/stencil/index-b2193545-C9PH-6qK.js +503 -0
  13. package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
  14. package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-BKDs0-7H.js} +2 -2
  15. package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CJbkvgG7.js} +2 -2
  16. package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
  17. package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
  18. package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
  19. package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
  20. package/components/PlayerAccountGeneralConfirmationModal-BAzIqzPO.cjs +0 -18
  21. package/stencil/index-b2193545-BeKKnKhR.js +0 -519
  22. package/stencil/index-b2193545-HC0t7mHa.js +0 -503
  23. package/stencil/index-b2193545-YW9b062G.cjs +0 -1
@@ -1,6 +1,6 @@
1
- function N() {
1
+ function M() {
2
2
  }
3
- function br(e, t) {
3
+ function cr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,46 +8,46 @@ function br(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Ot(e) {
11
+ function At(e) {
12
12
  return e();
13
13
  }
14
- function nt() {
14
+ function Ke() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function W(e) {
18
- e.forEach(Ot);
17
+ function Z(e) {
18
+ e.forEach(At);
19
19
  }
20
- function Ye(e) {
20
+ function We(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function It(e, t) {
23
+ function Bt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function gr(e) {
26
+ function dr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Mt(e, ...t) {
29
+ function Ct(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
33
- return N;
33
+ return M;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function yr(e, t, r) {
39
- e.$$.on_destroy.push(Mt(t, r));
38
+ function mr(e, t, r) {
39
+ e.$$.on_destroy.push(Ct(t, r));
40
40
  }
41
- function vr(e, t, r, n) {
41
+ function pr(e, t, r, n) {
42
42
  if (e) {
43
- const i = Nt(e, t, r, n);
43
+ const i = Pt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function Nt(e, t, r, n) {
48
- return e[1] && n ? br(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function Pt(e, t, r, n) {
48
+ return e[1] && n ? cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function _r(e, t, r, n) {
50
+ function br(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function _r(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function xr(e, t, r, n, i, o) {
65
+ function gr(e, t, r, n, i, o) {
66
66
  if (i) {
67
- const s = Nt(t, r, n, o);
67
+ const s = Pt(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
71
- function Er(e) {
71
+ function yr(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -77,17 +77,17 @@ function Er(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function B(e, t) {
80
+ function A(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function Sr(e, t, r) {
84
- const n = wr(e);
83
+ function vr(e, t, r) {
84
+ const n = xr(e);
85
85
  if (!n.getElementById(t)) {
86
86
  const i = I("style");
87
- i.id = t, i.textContent = r, Tr(n, i);
87
+ i.id = t, i.textContent = r, _r(n, i);
88
88
  }
89
89
  }
90
- function wr(e) {
90
+ function xr(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,62 +97,62 @@ function wr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function Tr(e, t) {
101
- return B(
100
+ function _r(e, t) {
101
+ return A(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
105
105
  ), t.sheet;
106
106
  }
107
- function ne(e, t, r) {
107
+ function ie(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
- function Z(e) {
110
+ function Q(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function ro(e, t) {
113
+ function Yi(e, t) {
114
114
  for (let r = 0; r < e.length; r += 1)
115
115
  e[r] && e[r].d(t);
116
116
  }
117
117
  function I(e) {
118
118
  return document.createElement(e);
119
119
  }
120
- function it(e) {
120
+ function et(e) {
121
121
  return document.createElementNS("http://www.w3.org/2000/svg", e);
122
122
  }
123
- function ie(e) {
123
+ function oe(e) {
124
124
  return document.createTextNode(e);
125
125
  }
126
126
  function ue() {
127
- return ie(" ");
127
+ return oe(" ");
128
128
  }
129
- function no() {
130
- return ie("");
129
+ function Ki() {
130
+ return oe("");
131
131
  }
132
- function Me(e, t, r, n) {
132
+ function Pe(e, t, r, n) {
133
133
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
134
134
  }
135
135
  function T(e, t, r) {
136
136
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
137
137
  }
138
- function io(e, t, r) {
138
+ function eo(e, t, r) {
139
139
  const n = t.toLowerCase();
140
140
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
141
141
  }
142
- function Hr(e) {
142
+ function Er(e) {
143
143
  return Array.from(e.childNodes);
144
144
  }
145
- function Ke(e, t) {
145
+ function Ze(e, t) {
146
146
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
147
147
  t);
148
148
  }
149
- function oo(e, t) {
149
+ function to(e, t) {
150
150
  e.value = t ?? "";
151
151
  }
152
- function so(e, t, r, n) {
152
+ function ro(e, t, r, n) {
153
153
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
154
154
  }
155
- function ao(e, t, r) {
155
+ function no(e, t, r) {
156
156
  for (let n = 0; n < e.options.length; n += 1) {
157
157
  const i = e.options[n];
158
158
  if (i.__value === t) {
@@ -162,11 +162,11 @@ function ao(e, t, r) {
162
162
  }
163
163
  (!r || t !== void 0) && (e.selectedIndex = -1);
164
164
  }
165
- function uo(e) {
165
+ function io(e) {
166
166
  const t = e.querySelector(":checked");
167
167
  return t && t.__value;
168
168
  }
169
- function Ar(e) {
169
+ function Sr(e) {
170
170
  const t = {};
171
171
  return e.childNodes.forEach(
172
172
  /** @param {Element} node */
@@ -175,108 +175,108 @@ function Ar(e) {
175
175
  }
176
176
  ), t;
177
177
  }
178
- let ee;
179
- function K(e) {
180
- ee = e;
178
+ let te;
179
+ function ee(e) {
180
+ te = e;
181
181
  }
182
- function Br() {
183
- if (!ee)
182
+ function wr() {
183
+ if (!te)
184
184
  throw new Error("Function called outside component initialization");
185
- return ee;
185
+ return te;
186
186
  }
187
- function Cr(e) {
188
- Br().$$.on_mount.push(e);
187
+ function Tr(e) {
188
+ wr().$$.on_mount.push(e);
189
189
  }
190
- const F = [], Ne = [];
190
+ const F = [], Oe = [];
191
191
  let j = [];
192
- const ot = [], Pr = /* @__PURE__ */ Promise.resolve();
193
- let Le = !1;
194
- function Or() {
195
- Le || (Le = !0, Pr.then(O));
192
+ const tt = [], Hr = /* @__PURE__ */ Promise.resolve();
193
+ let Ie = !1;
194
+ function Ar() {
195
+ Ie || (Ie = !0, Hr.then(O));
196
196
  }
197
- function Re(e) {
197
+ function Me(e) {
198
198
  j.push(e);
199
199
  }
200
- const Te = /* @__PURE__ */ new Set();
200
+ const Se = /* @__PURE__ */ new Set();
201
201
  let U = 0;
202
202
  function O() {
203
203
  if (U !== 0)
204
204
  return;
205
- const e = ee;
205
+ const e = te;
206
206
  do {
207
207
  try {
208
208
  for (; U < F.length; ) {
209
209
  const t = F[U];
210
- U++, K(t), Ir(t.$$);
210
+ U++, ee(t), Br(t.$$);
211
211
  }
212
212
  } catch (t) {
213
213
  throw F.length = 0, U = 0, t;
214
214
  }
215
- for (K(null), F.length = 0, U = 0; Ne.length; )
216
- Ne.pop()();
215
+ for (ee(null), F.length = 0, U = 0; Oe.length; )
216
+ Oe.pop()();
217
217
  for (let t = 0; t < j.length; t += 1) {
218
218
  const r = j[t];
219
- Te.has(r) || (Te.add(r), r());
219
+ Se.has(r) || (Se.add(r), r());
220
220
  }
221
221
  j.length = 0;
222
222
  } while (F.length);
223
- for (; ot.length; )
224
- ot.pop()();
225
- Le = !1, Te.clear(), K(e);
223
+ for (; tt.length; )
224
+ tt.pop()();
225
+ Ie = !1, Se.clear(), ee(e);
226
226
  }
227
- function Ir(e) {
227
+ function Br(e) {
228
228
  if (e.fragment !== null) {
229
- e.update(), W(e.before_update);
229
+ e.update(), Z(e.before_update);
230
230
  const t = e.dirty;
231
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
231
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
232
232
  }
233
233
  }
234
- function Mr(e) {
234
+ function Cr(e) {
235
235
  const t = [], r = [];
236
236
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
237
237
  }
238
- const ce = /* @__PURE__ */ new Set();
239
- let Nr;
240
- function Lt(e, t) {
241
- e && e.i && (ce.delete(e), e.i(t));
238
+ const fe = /* @__PURE__ */ new Set();
239
+ let Pr;
240
+ function Ot(e, t) {
241
+ e && e.i && (fe.delete(e), e.i(t));
242
242
  }
243
- function Lr(e, t, r, n) {
244
- if (e && e.o) {
245
- if (ce.has(e))
243
+ function Or(e, t, r, n) {
244
+ if (e.o) {
245
+ if (fe.has(e))
246
246
  return;
247
- ce.add(e), Nr.c.push(() => {
248
- ce.delete(e);
247
+ fe.add(e), Pr.c.push(() => {
248
+ fe.delete(e);
249
249
  }), e.o(t);
250
250
  }
251
251
  }
252
- function lo(e) {
252
+ function oo(e) {
253
253
  return e?.length !== void 0 ? e : Array.from(e);
254
254
  }
255
- function Rr(e, t, r) {
255
+ function Ir(e, t, r) {
256
256
  const { fragment: n, after_update: i } = e.$$;
257
- n && n.m(t, r), Re(() => {
258
- const o = e.$$.on_mount.map(Ot).filter(Ye);
259
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
260
- }), i.forEach(Re);
257
+ n && n.m(t, r), Me(() => {
258
+ const o = e.$$.on_mount.map(At).filter(We);
259
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
260
+ }), i.forEach(Me);
261
261
  }
262
- function $r(e, t) {
262
+ function Mr(e, t) {
263
263
  const r = e.$$;
264
- r.fragment !== null && (Mr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
264
+ r.fragment !== null && (Cr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
265
265
  }
266
- function Gr(e, t) {
267
- e.$$.dirty[0] === -1 && (F.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
266
+ function Nr(e, t) {
267
+ e.$$.dirty[0] === -1 && (F.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
268
268
  }
269
- function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
270
- const l = ee;
271
- K(e);
269
+ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
270
+ const l = te;
271
+ ee(e);
272
272
  const u = e.$$ = {
273
273
  fragment: null,
274
274
  ctx: [],
275
275
  // state
276
276
  props: o,
277
- update: N,
277
+ update: M,
278
278
  not_equal: i,
279
- bound: nt(),
279
+ bound: Ke(),
280
280
  // lifecycle
281
281
  on_mount: [],
282
282
  on_destroy: [],
@@ -285,28 +285,28 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
285
285
  after_update: [],
286
286
  context: new Map(t.context || (l ? l.$$.context : [])),
287
287
  // everything else
288
- callbacks: nt(),
288
+ callbacks: Ke(),
289
289
  dirty: a,
290
290
  skip_bound: !1,
291
291
  root: t.target || l.$$.root
292
292
  };
293
293
  s && s(u.root);
294
294
  let h = !1;
295
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
296
- const y = m.length ? m[0] : f;
297
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Gr(e, c)), f;
298
- }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
295
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
296
+ const y = d.length ? d[0] : c;
297
+ return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Nr(e, f)), c;
298
+ }) : [], u.update(), h = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
299
299
  if (t.hydrate) {
300
- const c = Hr(t.target);
301
- u.fragment && u.fragment.l(c), c.forEach(Z);
300
+ const f = Er(t.target);
301
+ u.fragment && u.fragment.l(f), f.forEach(Q);
302
302
  } else
303
303
  u.fragment && u.fragment.c();
304
- t.intro && Lt(e.$$.fragment), Rr(e, t.target, t.anchor), O();
304
+ t.intro && Ot(e.$$.fragment), Ir(e, t.target, t.anchor), O();
305
305
  }
306
- K(l);
306
+ ee(l);
307
307
  }
308
- let Rt;
309
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
308
+ let It;
309
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
310
310
  /** The Svelte component constructor */
311
311
  $$ctor;
312
312
  /** Slots */
@@ -355,22 +355,22 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
355
355
  * @param {HTMLElement} [anchor]
356
356
  */
357
357
  m: function(l, u) {
358
- ne(l, o, u);
358
+ ie(l, o, u);
359
359
  },
360
360
  d: function(l) {
361
- l && Z(o);
361
+ l && Q(o);
362
362
  }
363
363
  };
364
364
  };
365
365
  };
366
366
  if (await Promise.resolve(), !this.$$cn || this.$$c)
367
367
  return;
368
- const t = {}, r = Ar(this);
368
+ const t = {}, r = Sr(this);
369
369
  for (const i of this.$$s)
370
370
  i in r && (t[i] = [e(i)]);
371
371
  for (const i of this.attributes) {
372
372
  const o = this.$$g_p(i.name);
373
- o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
373
+ o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
374
374
  }
375
375
  for (const i in this.$$p_d)
376
376
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
388
388
  this.$$r = !0;
389
389
  for (const i in this.$$p_d)
390
390
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
391
- const o = fe(
391
+ const o = ce(
392
392
  i,
393
393
  this.$$d[i],
394
394
  this.$$p_d,
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
410
410
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
411
411
  // and setting attributes through setAttribute etc, this is helpful
412
412
  attributeChangedCallback(e, t, r) {
413
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
413
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
414
414
  }
415
415
  disconnectedCallback() {
416
416
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -423,7 +423,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
423
423
  ) || e;
424
424
  }
425
425
  });
426
- function fe(e, t, r, n) {
426
+ function ce(e, t, r, n) {
427
427
  const i = r[e]?.type;
428
428
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
429
429
  return t;
@@ -452,8 +452,8 @@ function fe(e, t, r, n) {
452
452
  return t;
453
453
  }
454
454
  }
455
- function Dr(e, t, r, n, i, o) {
456
- let s = class extends Rt {
455
+ function Rr(e, t, r, n, i, o) {
456
+ let s = class extends It {
457
457
  constructor() {
458
458
  super(e, r, i), this.$$p_d = t;
459
459
  }
@@ -469,7 +469,7 @@ function Dr(e, t, r, n, i, o) {
469
469
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
470
470
  },
471
471
  set(l) {
472
- l = fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
472
+ l = ce(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
473
473
  }
474
474
  });
475
475
  }), n.forEach((a) => {
@@ -481,7 +481,7 @@ function Dr(e, t, r, n, i, o) {
481
481
  }), e.element = /** @type {any} */
482
482
  s, s;
483
483
  }
484
- class Fr {
484
+ class $r {
485
485
  /**
486
486
  * ### PRIVATE API
487
487
  *
@@ -500,7 +500,7 @@ class Fr {
500
500
  $$set = void 0;
501
501
  /** @returns {void} */
502
502
  $destroy() {
503
- $r(this, 1), this.$destroy = N;
503
+ Mr(this, 1), this.$destroy = M;
504
504
  }
505
505
  /**
506
506
  * @template {Extract<keyof Events, string>} K
@@ -509,8 +509,8 @@ class Fr {
509
509
  * @returns {() => void}
510
510
  */
511
511
  $on(t, r) {
512
- if (!Ye(r))
513
- return N;
512
+ if (!We(r))
513
+ return M;
514
514
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
515
515
  return n.push(r), () => {
516
516
  const i = n.indexOf(r);
@@ -522,13 +522,13 @@ class Fr {
522
522
  * @returns {void}
523
523
  */
524
524
  $set(t) {
525
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
525
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
526
526
  }
527
527
  }
528
- const jr = "4";
529
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
530
- var ho = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
531
- function kr(e) {
528
+ const Gr = "4";
529
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
530
+ var so = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
531
+ function Ur(e) {
532
532
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
533
533
  }
534
534
  /*! *****************************************************************************
@@ -545,24 +545,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
545
545
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
546
546
  PERFORMANCE OF THIS SOFTWARE.
547
547
  ***************************************************************************** */
548
- var $e = function(e, t) {
549
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
548
+ var Ne = function(e, t) {
549
+ return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
550
550
  r.__proto__ = n;
551
551
  } || function(r, n) {
552
552
  for (var i in n)
553
553
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
554
- }, $e(e, t);
554
+ }, Ne(e, t);
555
555
  };
556
- function oe(e, t) {
556
+ function L(e, t) {
557
557
  if (typeof t != "function" && t !== null)
558
558
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
559
- $e(e, t);
559
+ Ne(e, t);
560
560
  function r() {
561
561
  this.constructor = e;
562
562
  }
563
563
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
564
564
  }
565
- function Ge(e) {
565
+ var v = function() {
566
+ return v = Object.assign || function(t) {
567
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
568
+ r = arguments[n];
569
+ for (var o in r)
570
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
571
+ }
572
+ return t;
573
+ }, v.apply(this, arguments);
574
+ };
575
+ function Dr(e, t) {
576
+ var r = {};
577
+ for (var n in e)
578
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
579
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
580
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
581
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
582
+ return r;
583
+ }
584
+ function Le(e) {
566
585
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
567
586
  if (r)
568
587
  return r.call(e);
@@ -574,7 +593,7 @@ function Ge(e) {
574
593
  };
575
594
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
576
595
  }
577
- function Ue(e, t) {
596
+ function Re(e, t) {
578
597
  var r = typeof Symbol == "function" && e[Symbol.iterator];
579
598
  if (!r)
580
599
  return e;
@@ -594,22 +613,22 @@ function Ue(e, t) {
594
613
  }
595
614
  return o;
596
615
  }
597
- function De(e, t, r) {
598
- if (arguments.length === 2)
616
+ function k(e, t, r) {
617
+ if (r || arguments.length === 2)
599
618
  for (var n = 0, i = t.length, o; n < i; n++)
600
619
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
601
620
  return e.concat(o || t);
602
621
  }
603
- function L(e) {
622
+ function N(e) {
604
623
  return typeof e == "function";
605
624
  }
606
- function $t(e) {
625
+ function Mt(e) {
607
626
  var t = function(n) {
608
627
  Error.call(n), n.stack = new Error().stack;
609
628
  }, r = e(t);
610
629
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
611
630
  }
612
- var He = $t(function(e) {
631
+ var we = Mt(function(e) {
613
632
  return function(r) {
614
633
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
615
634
  ` + r.map(function(n, i) {
@@ -618,13 +637,13 @@ var He = $t(function(e) {
618
637
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
619
638
  };
620
639
  });
621
- function Fe(e, t) {
640
+ function $e(e, t) {
622
641
  if (e) {
623
642
  var r = e.indexOf(t);
624
643
  0 <= r && e.splice(r, 1);
625
644
  }
626
645
  }
627
- var ve = function() {
646
+ var ye = function() {
628
647
  function e(t) {
629
648
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
630
649
  }
@@ -636,12 +655,12 @@ var ve = function() {
636
655
  if (s)
637
656
  if (this._parentage = null, Array.isArray(s))
638
657
  try {
639
- for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
658
+ for (var a = Le(s), l = a.next(); !l.done; l = a.next()) {
640
659
  var u = l.value;
641
660
  u.remove(this);
642
661
  }
643
- } catch (d) {
644
- t = { error: d };
662
+ } catch (p) {
663
+ t = { error: p };
645
664
  } finally {
646
665
  try {
647
666
  l && !l.done && (r = a.return) && r.call(a);
@@ -653,29 +672,29 @@ var ve = function() {
653
672
  else
654
673
  s.remove(this);
655
674
  var h = this.initialTeardown;
656
- if (L(h))
675
+ if (N(h))
657
676
  try {
658
677
  h();
659
- } catch (d) {
660
- o = d instanceof He ? d.errors : [d];
678
+ } catch (p) {
679
+ o = p instanceof we ? p.errors : [p];
661
680
  }
662
- var c = this._finalizers;
663
- if (c) {
681
+ var f = this._finalizers;
682
+ if (f) {
664
683
  this._finalizers = null;
665
684
  try {
666
- for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
667
- var y = m.value;
685
+ for (var c = Le(f), d = c.next(); !d.done; d = c.next()) {
686
+ var y = d.value;
668
687
  try {
669
- st(y);
670
- } catch (d) {
671
- o = o ?? [], d instanceof He ? o = De(De([], Ue(o)), Ue(d.errors)) : o.push(d);
688
+ rt(y);
689
+ } catch (p) {
690
+ o = o ?? [], p instanceof we ? o = k(k([], Re(o)), Re(p.errors)) : o.push(p);
672
691
  }
673
692
  }
674
- } catch (d) {
675
- n = { error: d };
693
+ } catch (p) {
694
+ n = { error: p };
676
695
  } finally {
677
696
  try {
678
- m && !m.done && (i = f.return) && i.call(f);
697
+ d && !d.done && (i = c.return) && i.call(c);
679
698
  } finally {
680
699
  if (n)
681
700
  throw n.error;
@@ -683,13 +702,13 @@ var ve = function() {
683
702
  }
684
703
  }
685
704
  if (o)
686
- throw new He(o);
705
+ throw new we(o);
687
706
  }
688
707
  }, e.prototype.add = function(t) {
689
708
  var r;
690
709
  if (t && t !== this)
691
710
  if (this.closed)
692
- st(t);
711
+ rt(t);
693
712
  else {
694
713
  if (t instanceof e) {
695
714
  if (t.closed || t._hasParent(this))
@@ -706,52 +725,56 @@ var ve = function() {
706
725
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
707
726
  }, e.prototype._removeParent = function(t) {
708
727
  var r = this._parentage;
709
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
728
+ r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
710
729
  }, e.prototype.remove = function(t) {
711
730
  var r = this._finalizers;
712
- r && Fe(r, t), t instanceof e && t._removeParent(this);
731
+ r && $e(r, t), t instanceof e && t._removeParent(this);
713
732
  }, e.EMPTY = function() {
714
733
  var t = new e();
715
734
  return t.closed = !0, t;
716
735
  }(), e;
717
- }(), Gt = ve.EMPTY;
718
- function Ut(e) {
719
- return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
720
- }
721
- function st(e) {
722
- L(e) ? e() : e.unsubscribe();
723
- }
724
- var Vr = {
725
- Promise: void 0
726
- }, Xr = {
736
+ }(), Nt = ye.EMPTY;
737
+ function Lt(e) {
738
+ return e instanceof ye || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
739
+ }
740
+ function rt(e) {
741
+ N(e) ? e() : e.unsubscribe();
742
+ }
743
+ var Fr = {
744
+ onUnhandledError: null,
745
+ onStoppedNotification: null,
746
+ Promise: void 0,
747
+ useDeprecatedSynchronousErrorHandling: !1,
748
+ useDeprecatedNextContext: !1
749
+ }, jr = {
727
750
  setTimeout: function(e, t) {
728
751
  for (var r = [], n = 2; n < arguments.length; n++)
729
752
  r[n - 2] = arguments[n];
730
- return setTimeout.apply(void 0, De([e, t], Ue(r)));
753
+ return setTimeout.apply(void 0, k([e, t], Re(r)));
731
754
  },
732
755
  clearTimeout: function(e) {
733
756
  return clearTimeout(e);
734
757
  },
735
758
  delegate: void 0
736
759
  };
737
- function zr(e) {
738
- Xr.setTimeout(function() {
760
+ function kr(e) {
761
+ jr.setTimeout(function() {
739
762
  throw e;
740
763
  });
741
764
  }
742
- function at() {
765
+ function nt() {
743
766
  }
744
- function me(e) {
767
+ function de(e) {
745
768
  e();
746
769
  }
747
- var Dt = function(e) {
748
- oe(t, e);
770
+ var Rt = function(e) {
771
+ L(t, e);
749
772
  function t(r) {
750
773
  var n = e.call(this) || this;
751
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Qr, n;
774
+ return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = zr, n;
752
775
  }
753
776
  return t.create = function(r, n, i) {
754
- return new je(r, n, i);
777
+ return new Ge(r, n, i);
755
778
  }, t.prototype.next = function(r) {
756
779
  this.isStopped || this._next(r);
757
780
  }, t.prototype.error = function(r) {
@@ -775,7 +798,7 @@ var Dt = function(e) {
775
798
  this.unsubscribe();
776
799
  }
777
800
  }, t;
778
- }(ve), Wr = function() {
801
+ }(ye), Vr = function() {
779
802
  function e(t) {
780
803
  this.partialObserver = t;
781
804
  }
@@ -806,43 +829,43 @@ var Dt = function(e) {
806
829
  le(r);
807
830
  }
808
831
  }, e;
809
- }(), je = function(e) {
810
- oe(t, e);
832
+ }(), Ge = function(e) {
833
+ L(t, e);
811
834
  function t(r, n, i) {
812
835
  var o = e.call(this) || this, s;
813
- return L(r) || !r ? s = {
836
+ return N(r) || !r ? s = {
814
837
  next: r ?? void 0,
815
838
  error: n ?? void 0,
816
839
  complete: i ?? void 0
817
- } : s = r, o.destination = new Wr(s), o;
840
+ } : s = r, o.destination = new Vr(s), o;
818
841
  }
819
842
  return t;
820
- }(Dt);
843
+ }(Rt);
821
844
  function le(e) {
822
- zr(e);
845
+ kr(e);
823
846
  }
824
- function Zr(e) {
847
+ function Xr(e) {
825
848
  throw e;
826
849
  }
827
- var Qr = {
850
+ var zr = {
828
851
  closed: !0,
829
- next: at,
830
- error: Zr,
831
- complete: at
832
- }, Jr = function() {
852
+ next: nt,
853
+ error: Xr,
854
+ complete: nt
855
+ }, Wr = function() {
833
856
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
834
857
  }();
835
- function qr(e) {
858
+ function Zr(e) {
836
859
  return e;
837
860
  }
838
- function Yr(e) {
839
- return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
861
+ function Qr(e) {
862
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
840
863
  return e.reduce(function(n, i) {
841
864
  return i(n);
842
865
  }, r);
843
866
  };
844
867
  }
845
- var ut = function() {
868
+ var it = function() {
846
869
  function e(t) {
847
870
  t && (this._subscribe = t);
848
871
  }
@@ -850,8 +873,8 @@ var ut = function() {
850
873
  var r = new e();
851
874
  return r.source = this, r.operator = t, r;
852
875
  }, e.prototype.subscribe = function(t, r, n) {
853
- var i = this, o = en(t) ? t : new je(t, r, n);
854
- return me(function() {
876
+ var i = this, o = qr(t) ? t : new Ge(t, r, n);
877
+ return de(function() {
855
878
  var s = i, a = s.operator, l = s.source;
856
879
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
857
880
  }), o;
@@ -863,8 +886,8 @@ var ut = function() {
863
886
  }
864
887
  }, e.prototype.forEach = function(t, r) {
865
888
  var n = this;
866
- return r = lt(r), new r(function(i, o) {
867
- var s = new je({
889
+ return r = ot(r), new r(function(i, o) {
890
+ var s = new Ge({
868
891
  next: function(a) {
869
892
  try {
870
893
  t(a);
@@ -880,15 +903,15 @@ var ut = function() {
880
903
  }, e.prototype._subscribe = function(t) {
881
904
  var r;
882
905
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
883
- }, e.prototype[Jr] = function() {
906
+ }, e.prototype[Wr] = function() {
884
907
  return this;
885
908
  }, e.prototype.pipe = function() {
886
909
  for (var t = [], r = 0; r < arguments.length; r++)
887
910
  t[r] = arguments[r];
888
- return Yr(t)(this);
911
+ return Qr(t)(this);
889
912
  }, e.prototype.toPromise = function(t) {
890
913
  var r = this;
891
- return t = lt(t), new t(function(n, i) {
914
+ return t = ot(t), new t(function(n, i) {
892
915
  var o;
893
916
  r.subscribe(function(s) {
894
917
  return o = s;
@@ -902,40 +925,40 @@ var ut = function() {
902
925
  return new e(t);
903
926
  }, e;
904
927
  }();
905
- function lt(e) {
928
+ function ot(e) {
906
929
  var t;
907
- return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
930
+ return (t = e ?? Fr.Promise) !== null && t !== void 0 ? t : Promise;
908
931
  }
909
- function Kr(e) {
910
- return e && L(e.next) && L(e.error) && L(e.complete);
932
+ function Jr(e) {
933
+ return e && N(e.next) && N(e.error) && N(e.complete);
911
934
  }
912
- function en(e) {
913
- return e && e instanceof Dt || Kr(e) && Ut(e);
935
+ function qr(e) {
936
+ return e && e instanceof Rt || Jr(e) && Lt(e);
914
937
  }
915
- var tn = $t(function(e) {
938
+ var Yr = Mt(function(e) {
916
939
  return function() {
917
940
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
918
941
  };
919
- }), Ft = function(e) {
920
- oe(t, e);
942
+ }), $t = function(e) {
943
+ L(t, e);
921
944
  function t() {
922
945
  var r = e.call(this) || this;
923
946
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
924
947
  }
925
948
  return t.prototype.lift = function(r) {
926
- var n = new ht(this, this);
949
+ var n = new st(this, this);
927
950
  return n.operator = r, n;
928
951
  }, t.prototype._throwIfClosed = function() {
929
952
  if (this.closed)
930
- throw new tn();
953
+ throw new Yr();
931
954
  }, t.prototype.next = function(r) {
932
955
  var n = this;
933
- me(function() {
956
+ de(function() {
934
957
  var i, o;
935
958
  if (n._throwIfClosed(), !n.isStopped) {
936
959
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
937
960
  try {
938
- for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
961
+ for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
939
962
  var l = a.value;
940
963
  l.next(r);
941
964
  }
@@ -953,7 +976,7 @@ var tn = $t(function(e) {
953
976
  });
954
977
  }, t.prototype.error = function(r) {
955
978
  var n = this;
956
- me(function() {
979
+ de(function() {
957
980
  if (n._throwIfClosed(), !n.isStopped) {
958
981
  n.hasError = n.isStopped = !0, n.thrownError = r;
959
982
  for (var i = n.observers; i.length; )
@@ -962,7 +985,7 @@ var tn = $t(function(e) {
962
985
  });
963
986
  }, t.prototype.complete = function() {
964
987
  var r = this;
965
- me(function() {
988
+ de(function() {
966
989
  if (r._throwIfClosed(), !r.isStopped) {
967
990
  r.isStopped = !0;
968
991
  for (var n = r.observers; n.length; )
@@ -984,20 +1007,20 @@ var tn = $t(function(e) {
984
1007
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
985
1008
  }, t.prototype._innerSubscribe = function(r) {
986
1009
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
987
- return o || s ? Gt : (this.currentObservers = null, a.push(r), new ve(function() {
988
- n.currentObservers = null, Fe(a, r);
1010
+ return o || s ? Nt : (this.currentObservers = null, a.push(r), new ye(function() {
1011
+ n.currentObservers = null, $e(a, r);
989
1012
  }));
990
1013
  }, t.prototype._checkFinalizedStatuses = function(r) {
991
1014
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
992
1015
  i ? r.error(o) : s && r.complete();
993
1016
  }, t.prototype.asObservable = function() {
994
- var r = new ut();
1017
+ var r = new it();
995
1018
  return r.source = this, r;
996
1019
  }, t.create = function(r, n) {
997
- return new ht(r, n);
1020
+ return new st(r, n);
998
1021
  }, t;
999
- }(ut), ht = function(e) {
1000
- oe(t, e);
1022
+ }(it), st = function(e) {
1023
+ L(t, e);
1001
1024
  function t(r, n) {
1002
1025
  var i = e.call(this) || this;
1003
1026
  return i.destination = r, i.source = n, i;
@@ -1013,17 +1036,17 @@ var tn = $t(function(e) {
1013
1036
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1014
1037
  }, t.prototype._subscribe = function(r) {
1015
1038
  var n, i;
1016
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
1039
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
1017
1040
  }, t;
1018
- }(Ft), jt = {
1041
+ }($t), Gt = {
1019
1042
  now: function() {
1020
- return (jt.delegate || Date).now();
1043
+ return (Gt.delegate || Date).now();
1021
1044
  },
1022
1045
  delegate: void 0
1023
- }, rn = function(e) {
1024
- oe(t, e);
1046
+ }, Kr = function(e) {
1047
+ L(t, e);
1025
1048
  function t(r, n, i) {
1026
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1049
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
1027
1050
  var o = e.call(this) || this;
1028
1051
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1029
1052
  }
@@ -1043,24 +1066,24 @@ var tn = $t(function(e) {
1043
1066
  u && o.splice(0, u + 1);
1044
1067
  }
1045
1068
  }, t;
1046
- }(Ft);
1047
- const ct = [], ft = {}, nn = (e, t = 0) => {
1048
- if (ct.indexOf(e) == -1) {
1049
- const r = new rn(t);
1050
- ft[e] = r, ct.push(e);
1069
+ }($t);
1070
+ const at = [], ut = {}, en = (e, t = 0) => {
1071
+ if (at.indexOf(e) == -1) {
1072
+ const r = new Kr(t);
1073
+ ut[e] = r, at.push(e);
1051
1074
  }
1052
- return ft[e];
1075
+ return ut[e];
1053
1076
  }, D = [];
1054
- function on(e, t) {
1077
+ function tn(e, t) {
1055
1078
  return {
1056
- subscribe: _e(e, t).subscribe
1079
+ subscribe: ve(e, t).subscribe
1057
1080
  };
1058
1081
  }
1059
- function _e(e, t = N) {
1082
+ function ve(e, t = M) {
1060
1083
  let r;
1061
1084
  const n = /* @__PURE__ */ new Set();
1062
1085
  function i(a) {
1063
- if (It(e, a) && (e = a, r)) {
1086
+ if (Bt(e, a) && (e = a, r)) {
1064
1087
  const l = !D.length;
1065
1088
  for (const u of n)
1066
1089
  u[1](), D.push(u, e);
@@ -1074,189 +1097,150 @@ function _e(e, t = N) {
1074
1097
  function o(a) {
1075
1098
  i(a(e));
1076
1099
  }
1077
- function s(a, l = N) {
1100
+ function s(a, l = M) {
1078
1101
  const u = [a, l];
1079
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1102
+ return n.add(u), n.size === 1 && (r = t(i, o) || M), a(e), () => {
1080
1103
  n.delete(u), n.size === 0 && r && (r(), r = null);
1081
1104
  };
1082
1105
  }
1083
1106
  return { set: i, update: o, subscribe: s };
1084
1107
  }
1085
- function Q(e, t, r) {
1108
+ function J(e, t, r) {
1086
1109
  const n = !Array.isArray(e), i = n ? [e] : e;
1087
1110
  if (!i.every(Boolean))
1088
1111
  throw new Error("derived() expects stores as input, got a falsy value");
1089
1112
  const o = t.length < 2;
1090
- return on(r, (s, a) => {
1113
+ return tn(r, (s, a) => {
1091
1114
  let l = !1;
1092
1115
  const u = [];
1093
- let h = 0, c = N;
1094
- const f = () => {
1116
+ let h = 0, f = M;
1117
+ const c = () => {
1095
1118
  if (h)
1096
1119
  return;
1097
- c();
1120
+ f();
1098
1121
  const y = t(n ? u[0] : u, s, a);
1099
- o ? s(y) : c = Ye(y) ? y : N;
1100
- }, m = i.map(
1101
- (y, d) => Mt(
1122
+ o ? s(y) : f = We(y) ? y : M;
1123
+ }, d = i.map(
1124
+ (y, p) => Ct(
1102
1125
  y,
1103
- (S) => {
1104
- u[d] = S, h &= ~(1 << d), l && f();
1126
+ (w) => {
1127
+ u[p] = w, h &= ~(1 << p), l && c();
1105
1128
  },
1106
1129
  () => {
1107
- h |= 1 << d;
1130
+ h |= 1 << p;
1108
1131
  }
1109
1132
  )
1110
1133
  );
1111
- return l = !0, f(), function() {
1112
- W(m), c(), l = !1;
1134
+ return l = !0, c(), function() {
1135
+ Z(d), f(), l = !1;
1113
1136
  };
1114
1137
  });
1115
1138
  }
1116
- var sn = function(t) {
1117
- return an(t) && !un(t);
1139
+ var rn = function(t) {
1140
+ return nn(t) && !on(t);
1118
1141
  };
1119
- function an(e) {
1142
+ function nn(e) {
1120
1143
  return !!e && typeof e == "object";
1121
1144
  }
1122
- function un(e) {
1145
+ function on(e) {
1123
1146
  var t = Object.prototype.toString.call(e);
1124
- return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1147
+ return t === "[object RegExp]" || t === "[object Date]" || un(e);
1125
1148
  }
1126
- var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
1127
- function cn(e) {
1128
- return e.$$typeof === hn;
1149
+ var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1150
+ function un(e) {
1151
+ return e.$$typeof === an;
1129
1152
  }
1130
- function fn(e) {
1153
+ function ln(e) {
1131
1154
  return Array.isArray(e) ? [] : {};
1132
1155
  }
1133
- function te(e, t) {
1134
- return t.clone !== !1 && t.isMergeableObject(e) ? k(fn(e), e, t) : e;
1156
+ function re(e, t) {
1157
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(ln(e), e, t) : e;
1135
1158
  }
1136
- function mn(e, t, r) {
1159
+ function hn(e, t, r) {
1137
1160
  return e.concat(t).map(function(n) {
1138
- return te(n, r);
1161
+ return re(n, r);
1139
1162
  });
1140
1163
  }
1141
- function pn(e, t) {
1164
+ function fn(e, t) {
1142
1165
  if (!t.customMerge)
1143
- return k;
1166
+ return V;
1144
1167
  var r = t.customMerge(e);
1145
- return typeof r == "function" ? r : k;
1168
+ return typeof r == "function" ? r : V;
1146
1169
  }
1147
- function dn(e) {
1170
+ function cn(e) {
1148
1171
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1149
1172
  return Object.propertyIsEnumerable.call(e, t);
1150
1173
  }) : [];
1151
1174
  }
1152
- function mt(e) {
1153
- return Object.keys(e).concat(dn(e));
1175
+ function lt(e) {
1176
+ return Object.keys(e).concat(cn(e));
1154
1177
  }
1155
- function kt(e, t) {
1178
+ function Ut(e, t) {
1156
1179
  try {
1157
1180
  return t in e;
1158
1181
  } catch {
1159
1182
  return !1;
1160
1183
  }
1161
1184
  }
1162
- function bn(e, t) {
1163
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1185
+ function dn(e, t) {
1186
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1164
1187
  }
1165
- function gn(e, t, r) {
1188
+ function mn(e, t, r) {
1166
1189
  var n = {};
1167
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1168
- n[i] = te(e[i], r);
1169
- }), mt(t).forEach(function(i) {
1170
- bn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1190
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1191
+ n[i] = re(e[i], r);
1192
+ }), lt(t).forEach(function(i) {
1193
+ dn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1171
1194
  }), n;
1172
1195
  }
1173
- function k(e, t, r) {
1174
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = te;
1196
+ function V(e, t, r) {
1197
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = re;
1175
1198
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1176
- return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : te(t, r);
1199
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : re(t, r);
1177
1200
  }
1178
- k.all = function(t, r) {
1201
+ V.all = function(t, r) {
1179
1202
  if (!Array.isArray(t))
1180
1203
  throw new Error("first argument should be an array");
1181
1204
  return t.reduce(function(n, i) {
1182
- return k(n, i, r);
1205
+ return V(n, i, r);
1183
1206
  }, {});
1184
1207
  };
1185
- var yn = k, vn = yn;
1186
- const _n = /* @__PURE__ */ kr(vn);
1187
- var ke = function(e, t) {
1188
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1189
- r.__proto__ = n;
1190
- } || function(r, n) {
1191
- for (var i in n)
1192
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1193
- }, ke(e, t);
1194
- };
1195
- function xe(e, t) {
1196
- if (typeof t != "function" && t !== null)
1197
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1198
- ke(e, t);
1199
- function r() {
1200
- this.constructor = e;
1201
- }
1202
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1203
- }
1204
- var M = function() {
1205
- return M = Object.assign || function(t) {
1206
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1207
- r = arguments[n];
1208
- for (var o in r)
1209
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1210
- }
1211
- return t;
1212
- }, M.apply(this, arguments);
1213
- };
1214
- function xn(e, t) {
1215
- var r = {};
1216
- for (var n in e)
1217
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1218
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1219
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1220
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1221
- return r;
1222
- }
1223
- function Ae(e, t, r) {
1224
- if (r || arguments.length === 2)
1225
- for (var n = 0, i = t.length, o; n < i; n++)
1226
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1227
- return e.concat(o || Array.prototype.slice.call(t));
1228
- }
1229
- function Be(e, t) {
1230
- var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : wn;
1208
+ var pn = V, bn = pn;
1209
+ const gn = /* @__PURE__ */ Ur(bn);
1210
+ function Te(e, t) {
1211
+ var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
1231
1212
  return i(e, {
1232
1213
  cache: r,
1233
1214
  serializer: n
1234
1215
  });
1235
1216
  }
1236
- function En(e) {
1217
+ function yn(e) {
1237
1218
  return e == null || typeof e == "number" || typeof e == "boolean";
1238
1219
  }
1239
- function Sn(e, t, r, n) {
1240
- var i = En(n) ? n : r(n), o = t.get(i);
1220
+ function Dt(e, t, r, n) {
1221
+ var i = yn(n) ? n : r(n), o = t.get(i);
1241
1222
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1242
1223
  }
1243
- function Vt(e, t, r) {
1224
+ function Ft(e, t, r) {
1244
1225
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1245
1226
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1246
1227
  }
1247
- function Xt(e, t, r, n, i) {
1228
+ function Qe(e, t, r, n, i) {
1248
1229
  return r.bind(t, e, n, i);
1249
1230
  }
1250
- function wn(e, t) {
1251
- var r = e.length === 1 ? Sn : Vt;
1252
- return Xt(e, this, r, t.cache.create(), t.serializer);
1231
+ function vn(e, t) {
1232
+ var r = e.length === 1 ? Dt : Ft;
1233
+ return Qe(e, this, r, t.cache.create(), t.serializer);
1234
+ }
1235
+ function xn(e, t) {
1236
+ return Qe(e, this, Ft, t.cache.create(), t.serializer);
1253
1237
  }
1254
- function Tn(e, t) {
1255
- return Xt(e, this, Vt, t.cache.create(), t.serializer);
1238
+ function _n(e, t) {
1239
+ return Qe(e, this, Dt, t.cache.create(), t.serializer);
1256
1240
  }
1257
- var Hn = function() {
1241
+ var En = function() {
1258
1242
  return JSON.stringify(arguments);
1259
- }, An = (
1243
+ }, Sn = (
1260
1244
  /** @class */
1261
1245
  function() {
1262
1246
  function e() {
@@ -1268,71 +1252,62 @@ var Hn = function() {
1268
1252
  this.cache[t] = r;
1269
1253
  }, e;
1270
1254
  }()
1271
- ), Bn = {
1255
+ ), wn = {
1272
1256
  create: function() {
1273
- return new An();
1257
+ return new Sn();
1274
1258
  }
1275
- }, Ce = {
1276
- variadic: Tn
1277
- }, be = function() {
1278
- return be = Object.assign || function(t) {
1279
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1280
- r = arguments[n];
1281
- for (var o in r)
1282
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1283
- }
1284
- return t;
1285
- }, be.apply(this, arguments);
1286
- };
1287
- var p;
1259
+ }, He = {
1260
+ variadic: xn,
1261
+ monadic: _n
1262
+ }, m;
1288
1263
  (function(e) {
1289
1264
  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";
1290
- })(p || (p = {}));
1291
- var E;
1265
+ })(m || (m = {}));
1266
+ var S;
1292
1267
  (function(e) {
1293
1268
  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";
1294
- })(E || (E = {}));
1295
- var V;
1269
+ })(S || (S = {}));
1270
+ var X;
1296
1271
  (function(e) {
1297
1272
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1298
- })(V || (V = {}));
1299
- function pt(e) {
1300
- return e.type === E.literal;
1273
+ })(X || (X = {}));
1274
+ function ht(e) {
1275
+ return e.type === S.literal;
1301
1276
  }
1302
- function Cn(e) {
1303
- return e.type === E.argument;
1277
+ function Tn(e) {
1278
+ return e.type === S.argument;
1304
1279
  }
1305
- function zt(e) {
1306
- return e.type === E.number;
1280
+ function jt(e) {
1281
+ return e.type === S.number;
1307
1282
  }
1308
- function Wt(e) {
1309
- return e.type === E.date;
1283
+ function kt(e) {
1284
+ return e.type === S.date;
1310
1285
  }
1311
- function Zt(e) {
1312
- return e.type === E.time;
1286
+ function Vt(e) {
1287
+ return e.type === S.time;
1313
1288
  }
1314
- function Qt(e) {
1315
- return e.type === E.select;
1289
+ function Xt(e) {
1290
+ return e.type === S.select;
1316
1291
  }
1317
- function Jt(e) {
1318
- return e.type === E.plural;
1292
+ function zt(e) {
1293
+ return e.type === S.plural;
1319
1294
  }
1320
- function Pn(e) {
1321
- return e.type === E.pound;
1295
+ function Hn(e) {
1296
+ return e.type === S.pound;
1322
1297
  }
1323
- function qt(e) {
1324
- return e.type === E.tag;
1298
+ function Wt(e) {
1299
+ return e.type === S.tag;
1325
1300
  }
1326
- function Yt(e) {
1327
- return !!(e && typeof e == "object" && e.type === V.number);
1301
+ function Zt(e) {
1302
+ return !!(e && typeof e == "object" && e.type === X.number);
1328
1303
  }
1329
- function Ve(e) {
1330
- return !!(e && typeof e == "object" && e.type === V.dateTime);
1304
+ function Ue(e) {
1305
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1331
1306
  }
1332
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
1333
- function In(e) {
1307
+ var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1308
+ function Bn(e) {
1334
1309
  var t = {};
1335
- return e.replace(On, function(r) {
1310
+ return e.replace(An, function(r) {
1336
1311
  var n = r.length;
1337
1312
  switch (r[0]) {
1338
1313
  case "G":
@@ -1421,46 +1396,36 @@ function In(e) {
1421
1396
  return "";
1422
1397
  }), t;
1423
1398
  }
1424
- var w = function() {
1425
- return w = Object.assign || function(t) {
1426
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1427
- r = arguments[n];
1428
- for (var o in r)
1429
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1430
- }
1431
- return t;
1432
- }, w.apply(this, arguments);
1433
- };
1434
- var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1435
- function Nn(e) {
1399
+ var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
+ function Pn(e) {
1436
1401
  if (e.length === 0)
1437
1402
  throw new Error("Number skeleton cannot be empty");
1438
- for (var t = e.split(Mn).filter(function(f) {
1439
- return f.length > 0;
1403
+ for (var t = e.split(Cn).filter(function(c) {
1404
+ return c.length > 0;
1440
1405
  }), r = [], n = 0, i = t; n < i.length; n++) {
1441
1406
  var o = i[n], s = o.split("/");
1442
1407
  if (s.length === 0)
1443
1408
  throw new Error("Invalid number skeleton");
1444
1409
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1445
- var c = h[u];
1446
- if (c.length === 0)
1410
+ var f = h[u];
1411
+ if (f.length === 0)
1447
1412
  throw new Error("Invalid number skeleton");
1448
1413
  }
1449
1414
  r.push({ stem: a, options: l });
1450
1415
  }
1451
1416
  return r;
1452
1417
  }
1453
- function Ln(e) {
1418
+ function On(e) {
1454
1419
  return e.replace(/^(.*?)-/, "");
1455
1420
  }
1456
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1457
- function bt(e) {
1421
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1422
+ function ct(e) {
1458
1423
  var t = {};
1459
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1424
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1460
1425
  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)), "";
1461
1426
  }), t;
1462
1427
  }
1463
- function rr(e) {
1428
+ function Yt(e) {
1464
1429
  switch (e) {
1465
1430
  case "sign-auto":
1466
1431
  return {
@@ -1500,7 +1465,7 @@ function rr(e) {
1500
1465
  };
1501
1466
  }
1502
1467
  }
1503
- function $n(e) {
1468
+ function Mn(e) {
1504
1469
  var t;
1505
1470
  if (e[0] === "E" && e[1] === "E" ? (t = {
1506
1471
  notation: "engineering"
@@ -1508,17 +1473,17 @@ function $n(e) {
1508
1473
  notation: "scientific"
1509
1474
  }, e = e.slice(1)), t) {
1510
1475
  var r = e.slice(0, 2);
1511
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1476
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1512
1477
  throw new Error("Malformed concise eng/scientific notation");
1513
1478
  t.minimumIntegerDigits = e.length;
1514
1479
  }
1515
1480
  return t;
1516
1481
  }
1517
- function gt(e) {
1518
- var t = {}, r = rr(e);
1482
+ function dt(e) {
1483
+ var t = {}, r = Yt(e);
1519
1484
  return r || t;
1520
1485
  }
1521
- function Gn(e) {
1486
+ function Nn(e) {
1522
1487
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1523
1488
  var i = n[r];
1524
1489
  switch (i.stem) {
@@ -1542,7 +1507,7 @@ function Gn(e) {
1542
1507
  continue;
1543
1508
  case "measure-unit":
1544
1509
  case "unit":
1545
- t.style = "unit", t.unit = Ln(i.options[0]);
1510
+ t.style = "unit", t.unit = On(i.options[0]);
1546
1511
  continue;
1547
1512
  case "compact-short":
1548
1513
  case "K":
@@ -1553,13 +1518,13 @@ function Gn(e) {
1553
1518
  t.notation = "compact", t.compactDisplay = "long";
1554
1519
  continue;
1555
1520
  case "scientific":
1556
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1557
- return w(w({}, l), gt(u));
1521
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1522
+ return v(v({}, l), dt(u));
1558
1523
  }, {}));
1559
1524
  continue;
1560
1525
  case "engineering":
1561
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1562
- return w(w({}, l), gt(u));
1526
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1527
+ return v(v({}, l), dt(u));
1563
1528
  }, {}));
1564
1529
  continue;
1565
1530
  case "notation-simple":
@@ -1604,41 +1569,41 @@ function Gn(e) {
1604
1569
  case "integer-width":
1605
1570
  if (i.options.length > 1)
1606
1571
  throw new RangeError("integer-width stems only accept a single optional option");
1607
- i.options[0].replace(Rn, function(l, u, h, c, f, m) {
1572
+ i.options[0].replace(In, function(l, u, h, f, c, d) {
1608
1573
  if (u)
1609
1574
  t.minimumIntegerDigits = h.length;
1610
1575
  else {
1611
- if (c && f)
1576
+ if (f && c)
1612
1577
  throw new Error("We currently do not support maximum integer digits");
1613
- if (m)
1578
+ if (d)
1614
1579
  throw new Error("We currently do not support exact integer digits");
1615
1580
  }
1616
1581
  return "";
1617
1582
  });
1618
1583
  continue;
1619
1584
  }
1620
- if (tr.test(i.stem)) {
1585
+ if (qt.test(i.stem)) {
1621
1586
  t.minimumIntegerDigits = i.stem.length;
1622
1587
  continue;
1623
1588
  }
1624
- if (dt.test(i.stem)) {
1589
+ if (ft.test(i.stem)) {
1625
1590
  if (i.options.length > 1)
1626
1591
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1627
- i.stem.replace(dt, function(l, u, h, c, f, m) {
1628
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1592
+ i.stem.replace(ft, function(l, u, h, f, c, d) {
1593
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1629
1594
  });
1630
1595
  var o = i.options[0];
1631
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), bt(o)));
1596
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ct(o)));
1632
1597
  continue;
1633
1598
  }
1634
- if (er.test(i.stem)) {
1635
- t = w(w({}, t), bt(i.stem));
1599
+ if (Jt.test(i.stem)) {
1600
+ t = v(v({}, t), ct(i.stem));
1636
1601
  continue;
1637
1602
  }
1638
- var s = rr(i.stem);
1639
- s && (t = w(w({}, t), s));
1640
- var a = $n(i.stem);
1641
- a && (t = w(w({}, t), a));
1603
+ var s = Yt(i.stem);
1604
+ s && (t = v(v({}, t), s));
1605
+ var a = Mn(i.stem);
1606
+ a && (t = v(v({}, t), a));
1642
1607
  }
1643
1608
  return t;
1644
1609
  }
@@ -3057,13 +3022,13 @@ var he = {
3057
3022
  "h"
3058
3023
  ]
3059
3024
  };
3060
- function Un(e, t) {
3025
+ function Ln(e, t) {
3061
3026
  for (var r = "", n = 0; n < e.length; n++) {
3062
3027
  var i = e.charAt(n);
3063
3028
  if (i === "j") {
3064
3029
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3065
3030
  o++, n++;
3066
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
3031
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Rn(t);
3067
3032
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3068
3033
  r += l;
3069
3034
  for (; s-- > 0; )
@@ -3073,7 +3038,7 @@ function Un(e, t) {
3073
3038
  }
3074
3039
  return r;
3075
3040
  }
3076
- function Dn(e) {
3041
+ function Rn(e) {
3077
3042
  var t = e.hourCycle;
3078
3043
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3079
3044
  e.hourCycles && // @ts-ignore
@@ -3095,20 +3060,20 @@ function Dn(e) {
3095
3060
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3096
3061
  return i[0];
3097
3062
  }
3098
- var Pe, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3063
+ var Ae, $n = new RegExp("^".concat(Qt.source, "*")), Gn = new RegExp("".concat(Qt.source, "*$"));
3099
3064
  function g(e, t) {
3100
3065
  return { start: e, end: t };
3101
3066
  }
3102
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
3067
+ var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, zn = Xn ? Number.isSafeInteger : function(e) {
3103
3068
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3104
- }, Xe = !0;
3069
+ }, De = !0;
3105
3070
  try {
3106
- var qn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3107
- Xe = ((Pe = qn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3071
+ var Wn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
+ De = ((Ae = Wn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3108
3073
  } catch {
3109
- Xe = !1;
3074
+ De = !1;
3110
3075
  }
3111
- var yt = kn ? (
3076
+ var mt = Un ? (
3112
3077
  // Native
3113
3078
  function(t, r, n) {
3114
3079
  return t.startsWith(r, n);
@@ -3118,7 +3083,7 @@ var yt = kn ? (
3118
3083
  function(t, r, n) {
3119
3084
  return t.slice(n, n + r.length) === r;
3120
3085
  }
3121
- ), ze = Vn ? String.fromCodePoint : (
3086
+ ), Fe = Dn ? String.fromCodePoint : (
3122
3087
  // IE11
3123
3088
  function() {
3124
3089
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3130,9 +3095,9 @@ var yt = kn ? (
3130
3095
  }
3131
3096
  return n;
3132
3097
  }
3133
- ), vt = (
3098
+ ), pt = (
3134
3099
  // native
3135
- Xn ? Object.fromEntries : (
3100
+ Fn ? Object.fromEntries : (
3136
3101
  // Ponyfill
3137
3102
  function(t) {
3138
3103
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3142,7 +3107,7 @@ var yt = kn ? (
3142
3107
  return r;
3143
3108
  }
3144
3109
  )
3145
- ), nr = zn ? (
3110
+ ), Kt = jn ? (
3146
3111
  // Native
3147
3112
  function(t, r) {
3148
3113
  return t.codePointAt(r);
@@ -3156,7 +3121,7 @@ var yt = kn ? (
3156
3121
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3157
3122
  }
3158
3123
  }
3159
- ), Yn = Wn ? (
3124
+ ), Zn = kn ? (
3160
3125
  // Native
3161
3126
  function(t) {
3162
3127
  return t.trimStart();
@@ -3164,9 +3129,9 @@ var yt = kn ? (
3164
3129
  ) : (
3165
3130
  // Ponyfill
3166
3131
  function(t) {
3167
- return t.replace(Fn, "");
3132
+ return t.replace($n, "");
3168
3133
  }
3169
- ), Kn = Zn ? (
3134
+ ), Qn = Vn ? (
3170
3135
  // Native
3171
3136
  function(t) {
3172
3137
  return t.trimEnd();
@@ -3174,32 +3139,32 @@ var yt = kn ? (
3174
3139
  ) : (
3175
3140
  // Ponyfill
3176
3141
  function(t) {
3177
- return t.replace(jn, "");
3142
+ return t.replace(Gn, "");
3178
3143
  }
3179
3144
  );
3180
- function ir(e, t) {
3145
+ function er(e, t) {
3181
3146
  return new RegExp(e, t);
3182
3147
  }
3183
- var We;
3184
- if (Xe) {
3185
- var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3186
- We = function(t, r) {
3148
+ var je;
3149
+ if (De) {
3150
+ var bt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
+ je = function(t, r) {
3187
3152
  var n;
3188
- _t.lastIndex = r;
3189
- var i = _t.exec(t);
3153
+ bt.lastIndex = r;
3154
+ var i = bt.exec(t);
3190
3155
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3191
3156
  };
3192
3157
  } else
3193
- We = function(t, r) {
3158
+ je = function(t, r) {
3194
3159
  for (var n = []; ; ) {
3195
- var i = nr(t, r);
3196
- if (i === void 0 || or(i) || ni(i))
3160
+ var i = Kt(t, r);
3161
+ if (i === void 0 || tr(i) || Kn(i))
3197
3162
  break;
3198
3163
  n.push(i), r += i >= 65536 ? 2 : 1;
3199
3164
  }
3200
- return ze.apply(void 0, n);
3165
+ return Fe.apply(void 0, n);
3201
3166
  };
3202
- var ei = (
3167
+ var Jn = (
3203
3168
  /** @class */
3204
3169
  function() {
3205
3170
  function e(t, r) {
@@ -3223,14 +3188,14 @@ var ei = (
3223
3188
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3224
3189
  var a = this.clonePosition();
3225
3190
  this.bump(), i.push({
3226
- type: E.pound,
3191
+ type: S.pound,
3227
3192
  location: g(a, this.clonePosition())
3228
3193
  });
3229
3194
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3230
3195
  if (n)
3231
3196
  break;
3232
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3233
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3197
+ return this.error(m.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3198
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3234
3199
  var s = this.parseTag(t, r);
3235
3200
  if (s.err)
3236
3201
  return s;
@@ -3251,7 +3216,7 @@ var ei = (
3251
3216
  if (this.bumpSpace(), this.bumpIf("/>"))
3252
3217
  return {
3253
3218
  val: {
3254
- type: E.literal,
3219
+ type: S.literal,
3255
3220
  value: "<".concat(i, "/>"),
3256
3221
  location: g(n, this.clonePosition())
3257
3222
  },
@@ -3263,25 +3228,25 @@ var ei = (
3263
3228
  return o;
3264
3229
  var s = o.val, a = this.clonePosition();
3265
3230
  if (this.bumpIf("</")) {
3266
- if (this.isEOF() || !Ze(this.char()))
3267
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3231
+ if (this.isEOF() || !ke(this.char()))
3232
+ return this.error(m.INVALID_TAG, g(a, this.clonePosition()));
3268
3233
  var l = this.clonePosition(), u = this.parseTagName();
3269
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3234
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3270
3235
  val: {
3271
- type: E.tag,
3236
+ type: S.tag,
3272
3237
  value: i,
3273
3238
  children: s,
3274
3239
  location: g(n, this.clonePosition())
3275
3240
  },
3276
3241
  err: null
3277
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3242
+ } : this.error(m.INVALID_TAG, g(a, this.clonePosition())));
3278
3243
  } else
3279
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3244
+ return this.error(m.UNCLOSED_TAG, g(n, this.clonePosition()));
3280
3245
  } else
3281
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3246
+ return this.error(m.INVALID_TAG, g(n, this.clonePosition()));
3282
3247
  }, e.prototype.parseTagName = function() {
3283
3248
  var t = this.offset();
3284
- for (this.bump(); !this.isEOF() && ri(this.char()); )
3249
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3285
3250
  this.bump();
3286
3251
  return this.message.slice(t, this.offset());
3287
3252
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3305,12 +3270,12 @@ var ei = (
3305
3270
  }
3306
3271
  var l = g(n, this.clonePosition());
3307
3272
  return {
3308
- val: { type: E.literal, value: i, location: l },
3273
+ val: { type: S.literal, value: i, location: l },
3309
3274
  err: null
3310
3275
  };
3311
3276
  }, e.prototype.tryParseLeftAngleBracket = function() {
3312
3277
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3313
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3278
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3314
3279
  }, e.prototype.tryParseQuote = function(t) {
3315
3280
  if (this.isEOF() || this.char() !== 39)
3316
3281
  return null;
@@ -3344,28 +3309,28 @@ var ei = (
3344
3309
  r.push(n);
3345
3310
  this.bump();
3346
3311
  }
3347
- return ze.apply(void 0, r);
3312
+ return Fe.apply(void 0, r);
3348
3313
  }, e.prototype.tryParseUnquoted = function(t, r) {
3349
3314
  if (this.isEOF())
3350
3315
  return null;
3351
3316
  var n = this.char();
3352
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3317
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3353
3318
  }, e.prototype.parseArgument = function(t, r) {
3354
3319
  var n = this.clonePosition();
3355
3320
  if (this.bump(), this.bumpSpace(), this.isEOF())
3356
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3321
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3357
3322
  if (this.char() === 125)
3358
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3323
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3359
3324
  var i = this.parseIdentifierIfPossible().value;
3360
3325
  if (!i)
3361
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3326
+ return this.error(m.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3362
3327
  if (this.bumpSpace(), this.isEOF())
3363
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3328
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3364
3329
  switch (this.char()) {
3365
3330
  case 125:
3366
3331
  return this.bump(), {
3367
3332
  val: {
3368
- type: E.argument,
3333
+ type: S.argument,
3369
3334
  // value does not include the opening and closing braces.
3370
3335
  value: i,
3371
3336
  location: g(n, this.clonePosition())
@@ -3373,12 +3338,12 @@ var ei = (
3373
3338
  err: null
3374
3339
  };
3375
3340
  case 44:
3376
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3341
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3377
3342
  default:
3378
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3343
+ return this.error(m.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3379
3344
  }
3380
3345
  }, e.prototype.parseIdentifierIfPossible = function() {
3381
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3346
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3382
3347
  this.bumpTo(i);
3383
3348
  var o = this.clonePosition(), s = g(t, o);
3384
3349
  return { value: n, location: s };
@@ -3386,7 +3351,7 @@ var ei = (
3386
3351
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3387
3352
  switch (a) {
3388
3353
  case "":
3389
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, l));
3354
+ return this.error(m.EXPECT_ARGUMENT_TYPE, g(s, l));
3390
3355
  case "number":
3391
3356
  case "date":
3392
3357
  case "time": {
@@ -3394,49 +3359,49 @@ var ei = (
3394
3359
  var u = null;
3395
3360
  if (this.bumpIf(",")) {
3396
3361
  this.bumpSpace();
3397
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3398
- if (c.err)
3399
- return c;
3400
- var f = Kn(c.val);
3401
- if (f.length === 0)
3402
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3403
- var m = g(h, this.clonePosition());
3404
- u = { style: f, styleLocation: m };
3362
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3363
+ if (f.err)
3364
+ return f;
3365
+ var c = Qn(f.val);
3366
+ if (c.length === 0)
3367
+ return this.error(m.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3368
+ var d = g(h, this.clonePosition());
3369
+ u = { style: c, styleLocation: d };
3405
3370
  }
3406
3371
  var y = this.tryParseArgumentClose(i);
3407
3372
  if (y.err)
3408
3373
  return y;
3409
- var d = g(i, this.clonePosition());
3410
- if (u && yt(u?.style, "::", 0)) {
3411
- var S = Yn(u.style.slice(2));
3374
+ var p = g(i, this.clonePosition());
3375
+ if (u && mt(u?.style, "::", 0)) {
3376
+ var w = Zn(u.style.slice(2));
3412
3377
  if (a === "number") {
3413
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3414
- return c.err ? c : {
3415
- val: { type: E.number, value: n, location: d, style: c.val },
3378
+ var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3379
+ return f.err ? f : {
3380
+ val: { type: S.number, value: n, location: p, style: f.val },
3416
3381
  err: null
3417
3382
  };
3418
3383
  } else {
3419
- if (S.length === 0)
3420
- return this.error(p.EXPECT_DATE_TIME_SKELETON, d);
3421
- var P = S;
3422
- this.locale && (P = Un(S, this.locale));
3423
- var f = {
3424
- type: V.dateTime,
3384
+ if (w.length === 0)
3385
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, p);
3386
+ var P = w;
3387
+ this.locale && (P = Ln(w, this.locale));
3388
+ var c = {
3389
+ type: X.dateTime,
3425
3390
  pattern: P,
3426
3391
  location: u.styleLocation,
3427
- parsedOptions: this.shouldParseSkeletons ? In(P) : {}
3428
- }, H = a === "date" ? E.date : E.time;
3392
+ parsedOptions: this.shouldParseSkeletons ? Bn(P) : {}
3393
+ }, C = a === "date" ? S.date : S.time;
3429
3394
  return {
3430
- val: { type: H, value: n, location: d, style: f },
3395
+ val: { type: C, value: n, location: p, style: c },
3431
3396
  err: null
3432
3397
  };
3433
3398
  }
3434
3399
  }
3435
3400
  return {
3436
3401
  val: {
3437
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3402
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3438
3403
  value: n,
3439
- location: d,
3404
+ location: p,
3440
3405
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3441
3406
  },
3442
3407
  err: null
@@ -3447,39 +3412,39 @@ var ei = (
3447
3412
  case "select": {
3448
3413
  var _ = this.clonePosition();
3449
3414
  if (this.bumpSpace(), !this.bumpIf(","))
3450
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, be({}, _)));
3415
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, v({}, _)));
3451
3416
  this.bumpSpace();
3452
- var x = this.parseIdentifierIfPossible(), v = 0;
3453
- if (a !== "select" && x.value === "offset") {
3417
+ var E = this.parseIdentifierIfPossible(), x = 0;
3418
+ if (a !== "select" && E.value === "offset") {
3454
3419
  if (!this.bumpIf(":"))
3455
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3420
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3456
3421
  this.bumpSpace();
3457
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3458
- if (c.err)
3459
- return c;
3460
- this.bumpSpace(), x = this.parseIdentifierIfPossible(), v = c.val;
3422
+ var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3423
+ if (f.err)
3424
+ return f;
3425
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = f.val;
3461
3426
  }
3462
- var A = this.tryParsePluralOrSelectOptions(t, a, r, x);
3463
- if (A.err)
3464
- return A;
3427
+ var H = this.tryParsePluralOrSelectOptions(t, a, r, E);
3428
+ if (H.err)
3429
+ return H;
3465
3430
  var y = this.tryParseArgumentClose(i);
3466
3431
  if (y.err)
3467
3432
  return y;
3468
3433
  var ae = g(i, this.clonePosition());
3469
3434
  return a === "select" ? {
3470
3435
  val: {
3471
- type: E.select,
3436
+ type: S.select,
3472
3437
  value: n,
3473
- options: vt(A.val),
3438
+ options: pt(H.val),
3474
3439
  location: ae
3475
3440
  },
3476
3441
  err: null
3477
3442
  } : {
3478
3443
  val: {
3479
- type: E.plural,
3444
+ type: S.plural,
3480
3445
  value: n,
3481
- options: vt(A.val),
3482
- offset: v,
3446
+ options: pt(H.val),
3447
+ offset: x,
3483
3448
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3484
3449
  location: ae
3485
3450
  },
@@ -3487,10 +3452,10 @@ var ei = (
3487
3452
  };
3488
3453
  }
3489
3454
  default:
3490
- return this.error(p.INVALID_ARGUMENT_TYPE, g(s, l));
3455
+ return this.error(m.INVALID_ARGUMENT_TYPE, g(s, l));
3491
3456
  }
3492
3457
  }, e.prototype.tryParseArgumentClose = function(t) {
3493
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3458
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3494
3459
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3495
3460
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3496
3461
  var n = this.char();
@@ -3499,7 +3464,7 @@ var ei = (
3499
3464
  this.bump();
3500
3465
  var i = this.clonePosition();
3501
3466
  if (!this.bumpUntil("'"))
3502
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3467
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3503
3468
  this.bump();
3504
3469
  break;
3505
3470
  }
@@ -3529,52 +3494,52 @@ var ei = (
3529
3494
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3530
3495
  var n = [];
3531
3496
  try {
3532
- n = Nn(t);
3497
+ n = Pn(t);
3533
3498
  } catch {
3534
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3499
+ return this.error(m.INVALID_NUMBER_SKELETON, r);
3535
3500
  }
3536
3501
  return {
3537
3502
  val: {
3538
- type: V.number,
3503
+ type: X.number,
3539
3504
  tokens: n,
3540
3505
  location: r,
3541
- parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
3506
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3542
3507
  },
3543
3508
  err: null
3544
3509
  };
3545
3510
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3546
3511
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3547
3512
  if (u.length === 0) {
3548
- var c = this.clonePosition();
3513
+ var f = this.clonePosition();
3549
3514
  if (r !== "select" && this.bumpIf("=")) {
3550
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3551
- if (f.err)
3552
- return f;
3553
- h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3515
+ var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3516
+ if (c.err)
3517
+ return c;
3518
+ h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3554
3519
  } else
3555
3520
  break;
3556
3521
  }
3557
3522
  if (l.has(u))
3558
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3523
+ return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3559
3524
  u === "other" && (s = !0), this.bumpSpace();
3560
- var m = this.clonePosition();
3525
+ var d = this.clonePosition();
3561
3526
  if (!this.bumpIf("{"))
3562
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3527
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3563
3528
  var y = this.parseMessage(t + 1, r, n);
3564
3529
  if (y.err)
3565
3530
  return y;
3566
- var d = this.tryParseArgumentClose(m);
3567
- if (d.err)
3568
- return d;
3531
+ var p = this.tryParseArgumentClose(d);
3532
+ if (p.err)
3533
+ return p;
3569
3534
  a.push([
3570
3535
  u,
3571
3536
  {
3572
3537
  value: y.val,
3573
- location: g(m, this.clonePosition())
3538
+ location: g(d, this.clonePosition())
3574
3539
  }
3575
3540
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3576
3541
  }
3577
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3542
+ return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3578
3543
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3579
3544
  var n = 1, i = this.clonePosition();
3580
3545
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3586,7 +3551,7 @@ var ei = (
3586
3551
  break;
3587
3552
  }
3588
3553
  var l = g(i, this.clonePosition());
3589
- return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3554
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3590
3555
  }, e.prototype.offset = function() {
3591
3556
  return this.position.offset;
3592
3557
  }, e.prototype.isEOF = function() {
@@ -3601,7 +3566,7 @@ var ei = (
3601
3566
  var t = this.position.offset;
3602
3567
  if (t >= this.message.length)
3603
3568
  throw Error("out of bound");
3604
- var r = nr(this.message, t);
3569
+ var r = Kt(this.message, t);
3605
3570
  if (r === void 0)
3606
3571
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3607
3572
  return r;
@@ -3620,7 +3585,7 @@ var ei = (
3620
3585
  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);
3621
3586
  }
3622
3587
  }, e.prototype.bumpIf = function(t) {
3623
- if (yt(this.message, t, this.offset())) {
3588
+ if (mt(this.message, t, this.offset())) {
3624
3589
  for (var r = 0; r < t.length; r++)
3625
3590
  this.bump();
3626
3591
  return !0;
@@ -3642,7 +3607,7 @@ var ei = (
3642
3607
  break;
3643
3608
  }
3644
3609
  }, e.prototype.bumpSpace = function() {
3645
- for (; !this.isEOF() && or(this.char()); )
3610
+ for (; !this.isEOF() && tr(this.char()); )
3646
3611
  this.bump();
3647
3612
  }, e.prototype.peek = function() {
3648
3613
  if (this.isEOF())
@@ -3652,47 +3617,47 @@ var ei = (
3652
3617
  }, e;
3653
3618
  }()
3654
3619
  );
3655
- function Ze(e) {
3620
+ function ke(e) {
3656
3621
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3657
3622
  }
3658
- function ti(e) {
3659
- return Ze(e) || e === 47;
3623
+ function qn(e) {
3624
+ return ke(e) || e === 47;
3660
3625
  }
3661
- function ri(e) {
3626
+ function Yn(e) {
3662
3627
  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;
3663
3628
  }
3664
- function or(e) {
3629
+ function tr(e) {
3665
3630
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3666
3631
  }
3667
- function ni(e) {
3632
+ function Kn(e) {
3668
3633
  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;
3669
3634
  }
3670
- function Qe(e) {
3635
+ function Ve(e) {
3671
3636
  e.forEach(function(t) {
3672
- if (delete t.location, Qt(t) || Jt(t))
3637
+ if (delete t.location, Xt(t) || zt(t))
3673
3638
  for (var r in t.options)
3674
- delete t.options[r].location, Qe(t.options[r].value);
3639
+ delete t.options[r].location, Ve(t.options[r].value);
3675
3640
  else
3676
- zt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && Ve(t.style) ? delete t.style.location : qt(t) && Qe(t.children);
3641
+ jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && Ue(t.style) ? delete t.style.location : Wt(t) && Ve(t.children);
3677
3642
  });
3678
3643
  }
3679
- function ii(e, t) {
3680
- t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3681
- var r = new ei(e, t).parse();
3644
+ function ei(e, t) {
3645
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3646
+ var r = new Jn(e, t).parse();
3682
3647
  if (r.err) {
3683
- var n = SyntaxError(p[r.err.kind]);
3648
+ var n = SyntaxError(m[r.err.kind]);
3684
3649
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3685
3650
  }
3686
- return t?.captureLocation || Qe(r.val), r.val;
3651
+ return t?.captureLocation || Ve(r.val), r.val;
3687
3652
  }
3688
- var X;
3653
+ var z;
3689
3654
  (function(e) {
3690
3655
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3691
- })(X || (X = {}));
3692
- var Ee = (
3656
+ })(z || (z = {}));
3657
+ var xe = (
3693
3658
  /** @class */
3694
3659
  function(e) {
3695
- xe(t, e);
3660
+ L(t, e);
3696
3661
  function t(r, n, i) {
3697
3662
  var o = e.call(this, r) || this;
3698
3663
  return o.code = n, o.originalMessage = i, o;
@@ -3701,155 +3666,155 @@ var Ee = (
3701
3666
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3702
3667
  }, t;
3703
3668
  }(Error)
3704
- ), xt = (
3669
+ ), gt = (
3705
3670
  /** @class */
3706
3671
  function(e) {
3707
- xe(t, e);
3672
+ L(t, e);
3708
3673
  function t(r, n, i, o) {
3709
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3674
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3710
3675
  }
3711
3676
  return t;
3712
- }(Ee)
3713
- ), oi = (
3677
+ }(xe)
3678
+ ), ti = (
3714
3679
  /** @class */
3715
3680
  function(e) {
3716
- xe(t, e);
3681
+ L(t, e);
3717
3682
  function t(r, n, i) {
3718
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3683
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3719
3684
  }
3720
3685
  return t;
3721
- }(Ee)
3722
- ), si = (
3686
+ }(xe)
3687
+ ), ri = (
3723
3688
  /** @class */
3724
3689
  function(e) {
3725
- xe(t, e);
3690
+ L(t, e);
3726
3691
  function t(r, n) {
3727
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3692
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3728
3693
  }
3729
3694
  return t;
3730
- }(Ee)
3731
- ), C;
3695
+ }(xe)
3696
+ ), B;
3732
3697
  (function(e) {
3733
3698
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3734
- })(C || (C = {}));
3735
- function ai(e) {
3699
+ })(B || (B = {}));
3700
+ function ni(e) {
3736
3701
  return e.length < 2 ? e : e.reduce(function(t, r) {
3737
3702
  var n = t[t.length - 1];
3738
- return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3703
+ return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3739
3704
  }, []);
3740
3705
  }
3741
- function ui(e) {
3706
+ function ii(e) {
3742
3707
  return typeof e == "function";
3743
3708
  }
3744
- function pe(e, t, r, n, i, o, s) {
3745
- if (e.length === 1 && pt(e[0]))
3709
+ function me(e, t, r, n, i, o, s) {
3710
+ if (e.length === 1 && ht(e[0]))
3746
3711
  return [
3747
3712
  {
3748
- type: C.literal,
3713
+ type: B.literal,
3749
3714
  value: e[0].value
3750
3715
  }
3751
3716
  ];
3752
3717
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3753
3718
  var h = u[l];
3754
- if (pt(h)) {
3719
+ if (ht(h)) {
3755
3720
  a.push({
3756
- type: C.literal,
3721
+ type: B.literal,
3757
3722
  value: h.value
3758
3723
  });
3759
3724
  continue;
3760
3725
  }
3761
- if (Pn(h)) {
3726
+ if (Hn(h)) {
3762
3727
  typeof o == "number" && a.push({
3763
- type: C.literal,
3728
+ type: B.literal,
3764
3729
  value: r.getNumberFormat(t).format(o)
3765
3730
  });
3766
3731
  continue;
3767
3732
  }
3768
- var c = h.value;
3769
- if (!(i && c in i))
3770
- throw new si(c, s);
3771
- var f = i[c];
3772
- if (Cn(h)) {
3773
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3774
- type: typeof f == "string" ? C.literal : C.object,
3775
- value: f
3733
+ var f = h.value;
3734
+ if (!(i && f in i))
3735
+ throw new ri(f, s);
3736
+ var c = i[f];
3737
+ if (Tn(h)) {
3738
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3739
+ type: typeof c == "string" ? B.literal : B.object,
3740
+ value: c
3776
3741
  });
3777
3742
  continue;
3778
3743
  }
3779
- if (Wt(h)) {
3780
- var m = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3744
+ if (kt(h)) {
3745
+ var d = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3781
3746
  a.push({
3782
- type: C.literal,
3783
- value: r.getDateTimeFormat(t, m).format(f)
3747
+ type: B.literal,
3748
+ value: r.getDateTimeFormat(t, d).format(c)
3784
3749
  });
3785
3750
  continue;
3786
3751
  }
3787
- if (Zt(h)) {
3788
- var m = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3752
+ if (Vt(h)) {
3753
+ var d = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3789
3754
  a.push({
3790
- type: C.literal,
3791
- value: r.getDateTimeFormat(t, m).format(f)
3755
+ type: B.literal,
3756
+ value: r.getDateTimeFormat(t, d).format(c)
3792
3757
  });
3793
3758
  continue;
3794
3759
  }
3795
- if (zt(h)) {
3796
- var m = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3797
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3798
- type: C.literal,
3799
- value: r.getNumberFormat(t, m).format(f)
3760
+ if (jt(h)) {
3761
+ var d = typeof h.style == "string" ? n.number[h.style] : Zt(h.style) ? h.style.parsedOptions : void 0;
3762
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3763
+ type: B.literal,
3764
+ value: r.getNumberFormat(t, d).format(c)
3800
3765
  });
3801
3766
  continue;
3802
3767
  }
3803
- if (qt(h)) {
3804
- var y = h.children, d = h.value, S = i[d];
3805
- if (!ui(S))
3806
- throw new oi(d, "function", s);
3807
- var P = pe(y, t, r, n, i, o), H = S(P.map(function(v) {
3808
- return v.value;
3768
+ if (Wt(h)) {
3769
+ var y = h.children, p = h.value, w = i[p];
3770
+ if (!ii(w))
3771
+ throw new ti(p, "function", s);
3772
+ var P = me(y, t, r, n, i, o), C = w(P.map(function(x) {
3773
+ return x.value;
3809
3774
  }));
3810
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(v) {
3775
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
3811
3776
  return {
3812
- type: typeof v == "string" ? C.literal : C.object,
3813
- value: v
3777
+ type: typeof x == "string" ? B.literal : B.object,
3778
+ value: x
3814
3779
  };
3815
3780
  }));
3816
3781
  }
3817
- if (Qt(h)) {
3818
- var _ = h.options[f] || h.options.other;
3782
+ if (Xt(h)) {
3783
+ var _ = h.options[c] || h.options.other;
3819
3784
  if (!_)
3820
- throw new xt(h.value, f, Object.keys(h.options), s);
3821
- a.push.apply(a, pe(_.value, t, r, n, i));
3785
+ throw new gt(h.value, c, Object.keys(h.options), s);
3786
+ a.push.apply(a, me(_.value, t, r, n, i));
3822
3787
  continue;
3823
3788
  }
3824
- if (Jt(h)) {
3825
- var _ = h.options["=".concat(f)];
3789
+ if (zt(h)) {
3790
+ var _ = h.options["=".concat(c)];
3826
3791
  if (!_) {
3827
3792
  if (!Intl.PluralRules)
3828
- throw new Ee(`Intl.PluralRules is not available in this environment.
3793
+ throw new xe(`Intl.PluralRules is not available in this environment.
3829
3794
  Try polyfilling it using "@formatjs/intl-pluralrules"
3830
- `, X.MISSING_INTL_API, s);
3831
- var x = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3832
- _ = h.options[x] || h.options.other;
3795
+ `, z.MISSING_INTL_API, s);
3796
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3797
+ _ = h.options[E] || h.options.other;
3833
3798
  }
3834
3799
  if (!_)
3835
- throw new xt(h.value, f, Object.keys(h.options), s);
3836
- a.push.apply(a, pe(_.value, t, r, n, i, f - (h.offset || 0)));
3800
+ throw new gt(h.value, c, Object.keys(h.options), s);
3801
+ a.push.apply(a, me(_.value, t, r, n, i, c - (h.offset || 0)));
3837
3802
  continue;
3838
3803
  }
3839
3804
  }
3840
- return ai(a);
3805
+ return ni(a);
3841
3806
  }
3842
- function li(e, t) {
3843
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3844
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
3807
+ function oi(e, t) {
3808
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3809
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3845
3810
  }, {})) : e;
3846
3811
  }
3847
- function hi(e, t) {
3812
+ function si(e, t) {
3848
3813
  return t ? Object.keys(e).reduce(function(r, n) {
3849
- return r[n] = li(e[n], t[n]), r;
3850
- }, M({}, e)) : e;
3814
+ return r[n] = oi(e[n], t[n]), r;
3815
+ }, v({}, e)) : e;
3851
3816
  }
3852
- function Oe(e) {
3817
+ function Be(e) {
3853
3818
  return {
3854
3819
  create: function() {
3855
3820
  return {
@@ -3863,39 +3828,39 @@ function Oe(e) {
3863
3828
  }
3864
3829
  };
3865
3830
  }
3866
- function ci(e) {
3831
+ function ai(e) {
3867
3832
  return e === void 0 && (e = {
3868
3833
  number: {},
3869
3834
  dateTime: {},
3870
3835
  pluralRules: {}
3871
3836
  }), {
3872
- getNumberFormat: Be(function() {
3837
+ getNumberFormat: Te(function() {
3873
3838
  for (var t, r = [], n = 0; n < arguments.length; n++)
3874
3839
  r[n] = arguments[n];
3875
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3840
+ return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3876
3841
  }, {
3877
- cache: Oe(e.number),
3878
- strategy: Ce.variadic
3842
+ cache: Be(e.number),
3843
+ strategy: He.variadic
3879
3844
  }),
3880
- getDateTimeFormat: Be(function() {
3845
+ getDateTimeFormat: Te(function() {
3881
3846
  for (var t, r = [], n = 0; n < arguments.length; n++)
3882
3847
  r[n] = arguments[n];
3883
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3848
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3884
3849
  }, {
3885
- cache: Oe(e.dateTime),
3886
- strategy: Ce.variadic
3850
+ cache: Be(e.dateTime),
3851
+ strategy: He.variadic
3887
3852
  }),
3888
- getPluralRules: Be(function() {
3853
+ getPluralRules: Te(function() {
3889
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3890
3855
  r[n] = arguments[n];
3891
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3856
+ return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3892
3857
  }, {
3893
- cache: Oe(e.pluralRules),
3894
- strategy: Ce.variadic
3858
+ cache: Be(e.pluralRules),
3859
+ strategy: He.variadic
3895
3860
  })
3896
3861
  };
3897
3862
  }
3898
- var fi = (
3863
+ var ui = (
3899
3864
  /** @class */
3900
3865
  function() {
3901
3866
  function e(t, r, n, i) {
@@ -3909,12 +3874,12 @@ var fi = (
3909
3874
  var u = o.formatToParts(l);
3910
3875
  if (u.length === 1)
3911
3876
  return u[0].value;
3912
- var h = u.reduce(function(c, f) {
3913
- return !c.length || f.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3877
+ var h = u.reduce(function(f, c) {
3878
+ return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3914
3879
  }, []);
3915
3880
  return h.length <= 1 ? h[0] || "" : h;
3916
3881
  }, this.formatToParts = function(l) {
3917
- return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3882
+ return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3918
3883
  }, this.resolvedOptions = function() {
3919
3884
  var l;
3920
3885
  return {
@@ -3927,13 +3892,13 @@ var fi = (
3927
3892
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3928
3893
  var s = i || {};
3929
3894
  s.formatters;
3930
- var a = xn(s, ["formatters"]);
3931
- this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3895
+ var a = Dr(s, ["formatters"]);
3896
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3932
3897
  } else
3933
3898
  this.ast = t;
3934
3899
  if (!Array.isArray(this.ast))
3935
3900
  throw new TypeError("A message must be provided as a String or AST.");
3936
- this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3901
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3937
3902
  }
3938
3903
  return Object.defineProperty(e, "defaultLocale", {
3939
3904
  get: function() {
@@ -3946,7 +3911,7 @@ var fi = (
3946
3911
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3947
3912
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3948
3913
  }
3949
- }, e.__parse = ii, e.formats = {
3914
+ }, e.__parse = ei, e.formats = {
3950
3915
  number: {
3951
3916
  integer: {
3952
3917
  maximumFractionDigits: 0
@@ -4007,7 +3972,7 @@ var fi = (
4007
3972
  }, e;
4008
3973
  }()
4009
3974
  );
4010
- function mi(e, t) {
3975
+ function li(e, t) {
4011
3976
  if (t == null)
4012
3977
  return;
4013
3978
  if (t in e)
@@ -4028,92 +3993,92 @@ function mi(e, t) {
4028
3993
  n = void 0;
4029
3994
  return n;
4030
3995
  }
4031
- const R = {}, pi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), sr = (e, t) => {
3996
+ const R = {}, hi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), rr = (e, t) => {
4032
3997
  if (t == null)
4033
3998
  return;
4034
3999
  if (t in R && e in R[t])
4035
4000
  return R[t][e];
4036
- const r = Se(t);
4001
+ const r = _e(t);
4037
4002
  for (let n = 0; n < r.length; n++) {
4038
- const i = r[n], o = bi(i, e);
4003
+ const i = r[n], o = ci(i, e);
4039
4004
  if (o)
4040
- return pi(e, t, o);
4005
+ return hi(e, t, o);
4041
4006
  }
4042
4007
  };
4043
- let et;
4044
- const se = _e({});
4045
- function di(e) {
4046
- return et[e] || null;
4008
+ let Je;
4009
+ const se = ve({});
4010
+ function fi(e) {
4011
+ return Je[e] || null;
4047
4012
  }
4048
- function ar(e) {
4049
- return e in et;
4013
+ function nr(e) {
4014
+ return e in Je;
4050
4015
  }
4051
- function bi(e, t) {
4052
- if (!ar(e))
4016
+ function ci(e, t) {
4017
+ if (!nr(e))
4053
4018
  return null;
4054
- const r = di(e);
4055
- return mi(r, t);
4019
+ const r = fi(e);
4020
+ return li(r, t);
4056
4021
  }
4057
- function gi(e) {
4022
+ function di(e) {
4058
4023
  if (e == null)
4059
4024
  return;
4060
- const t = Se(e);
4025
+ const t = _e(e);
4061
4026
  for (let r = 0; r < t.length; r++) {
4062
4027
  const n = t[r];
4063
- if (ar(n))
4028
+ if (nr(n))
4064
4029
  return n;
4065
4030
  }
4066
4031
  }
4067
- function ur(e, ...t) {
4068
- delete R[e], se.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
4032
+ function ir(e, ...t) {
4033
+ delete R[e], se.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
4069
4034
  }
4070
- Q(
4035
+ J(
4071
4036
  [se],
4072
4037
  ([e]) => Object.keys(e)
4073
4038
  );
4074
- se.subscribe((e) => et = e);
4075
- const de = {};
4076
- function yi(e, t) {
4077
- de[e].delete(t), de[e].size === 0 && delete de[e];
4039
+ se.subscribe((e) => Je = e);
4040
+ const pe = {};
4041
+ function mi(e, t) {
4042
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4078
4043
  }
4079
- function lr(e) {
4080
- return de[e];
4044
+ function or(e) {
4045
+ return pe[e];
4081
4046
  }
4082
- function vi(e) {
4083
- return Se(e).map((t) => {
4084
- const r = lr(t);
4047
+ function pi(e) {
4048
+ return _e(e).map((t) => {
4049
+ const r = or(t);
4085
4050
  return [t, r ? [...r] : []];
4086
4051
  }).filter(([, t]) => t.length > 0);
4087
4052
  }
4088
- function Je(e) {
4089
- return e == null ? !1 : Se(e).some(
4053
+ function Xe(e) {
4054
+ return e == null ? !1 : _e(e).some(
4090
4055
  (t) => {
4091
4056
  var r;
4092
- return (r = lr(t)) == null ? void 0 : r.size;
4057
+ return (r = or(t)) == null ? void 0 : r.size;
4093
4058
  }
4094
4059
  );
4095
4060
  }
4096
- function _i(e, t) {
4061
+ function bi(e, t) {
4097
4062
  return Promise.all(
4098
- t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4099
- ).then((n) => ur(e, ...n));
4100
- }
4101
- const Y = {};
4102
- function hr(e) {
4103
- if (!Je(e))
4104
- return e in Y ? Y[e] : Promise.resolve();
4105
- const t = vi(e);
4106
- return Y[e] = Promise.all(
4063
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4064
+ ).then((n) => ir(e, ...n));
4065
+ }
4066
+ const K = {};
4067
+ function sr(e) {
4068
+ if (!Xe(e))
4069
+ return e in K ? K[e] : Promise.resolve();
4070
+ const t = pi(e);
4071
+ return K[e] = Promise.all(
4107
4072
  t.map(
4108
- ([r, n]) => _i(r, n)
4073
+ ([r, n]) => bi(r, n)
4109
4074
  )
4110
4075
  ).then(() => {
4111
- if (Je(e))
4112
- return hr(e);
4113
- delete Y[e];
4114
- }), Y[e];
4076
+ if (Xe(e))
4077
+ return sr(e);
4078
+ delete K[e];
4079
+ }), K[e];
4115
4080
  }
4116
- const xi = {
4081
+ const gi = {
4117
4082
  number: {
4118
4083
  scientific: { notation: "scientific" },
4119
4084
  engineering: { notation: "engineering" },
@@ -4142,135 +4107,135 @@ const xi = {
4142
4107
  timeZoneName: "short"
4143
4108
  }
4144
4109
  }
4145
- }, Ei = {
4110
+ }, yi = {
4146
4111
  fallbackLocale: null,
4147
4112
  loadingDelay: 200,
4148
- formats: xi,
4113
+ formats: gi,
4149
4114
  warnOnMissingMessages: !0,
4150
4115
  handleMissingMessage: void 0,
4151
4116
  ignoreTag: !0
4152
- }, Si = Ei;
4153
- function z() {
4154
- return Si;
4155
- }
4156
- const Ie = _e(!1);
4157
- var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
4158
- for (var r in t || (t = {}))
4159
- Ai.call(t, r) && St(e, r, t[r]);
4160
- if (Et)
4161
- for (var r of Et(t))
4162
- Bi.call(t, r) && St(e, r, t[r]);
4117
+ }, vi = yi;
4118
+ function W() {
4119
+ return vi;
4120
+ }
4121
+ const Ce = ve(!1);
4122
+ var xi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4123
+ for (var r in t)
4124
+ Si.call(t, r) && vt(e, r, t[r]);
4125
+ if (yt)
4126
+ for (var r of yt(t))
4127
+ wi.call(t, r) && vt(e, r, t[r]);
4163
4128
  return e;
4164
- }, Pi = (e, t) => Ti(e, Hi(t));
4165
- let qe;
4166
- const ge = _e(null);
4167
- function wt(e) {
4129
+ }, Hi = (e, t) => _i(e, Ei(t));
4130
+ let ze;
4131
+ const be = ve(null);
4132
+ function xt(e) {
4168
4133
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4169
4134
  }
4170
- function Se(e, t = z().fallbackLocale) {
4171
- const r = wt(e);
4172
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4135
+ function _e(e, t = W().fallbackLocale) {
4136
+ const r = xt(e);
4137
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4173
4138
  }
4174
4139
  function $() {
4175
- return qe ?? void 0;
4140
+ return ze ?? void 0;
4176
4141
  }
4177
- ge.subscribe((e) => {
4178
- qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4142
+ be.subscribe((e) => {
4143
+ ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4179
4144
  });
4180
- const Oi = (e) => {
4181
- if (e && gi(e) && Je(e)) {
4182
- const { loadingDelay: t } = z();
4145
+ const Ai = (e) => {
4146
+ if (e && di(e) && Xe(e)) {
4147
+ const { loadingDelay: t } = W();
4183
4148
  let r;
4184
4149
  return typeof window < "u" && $() != null && t ? r = window.setTimeout(
4185
- () => Ie.set(!0),
4150
+ () => Ce.set(!0),
4186
4151
  t
4187
- ) : Ie.set(!0), hr(e).then(() => {
4188
- ge.set(e);
4152
+ ) : Ce.set(!0), sr(e).then(() => {
4153
+ be.set(e);
4189
4154
  }).finally(() => {
4190
- clearTimeout(r), Ie.set(!1);
4155
+ clearTimeout(r), Ce.set(!1);
4191
4156
  });
4192
4157
  }
4193
- return ge.set(e);
4194
- }, J = Pi(Ci({}, ge), {
4195
- set: Oi
4196
- }), we = (e) => {
4158
+ return be.set(e);
4159
+ }, q = Hi(Ti({}, be), {
4160
+ set: Ai
4161
+ }), Ee = (e) => {
4197
4162
  const t = /* @__PURE__ */ Object.create(null);
4198
4163
  return (n) => {
4199
4164
  const i = JSON.stringify(n);
4200
4165
  return i in t ? t[i] : t[i] = e(n);
4201
4166
  };
4202
4167
  };
4203
- var Ii = Object.defineProperty, ye = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4168
+ var Bi = Object.defineProperty, ge = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4204
4169
  for (var r in t || (t = {}))
4205
- cr.call(t, r) && Tt(e, r, t[r]);
4206
- if (ye)
4207
- for (var r of ye(t))
4208
- fr.call(t, r) && Tt(e, r, t[r]);
4170
+ ar.call(t, r) && _t(e, r, t[r]);
4171
+ if (ge)
4172
+ for (var r of ge(t))
4173
+ ur.call(t, r) && _t(e, r, t[r]);
4209
4174
  return e;
4210
- }, q = (e, t) => {
4175
+ }, Y = (e, t) => {
4211
4176
  var r = {};
4212
4177
  for (var n in e)
4213
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4214
- if (e != null && ye)
4215
- for (var n of ye(e))
4216
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4178
+ ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4179
+ if (e != null && ge)
4180
+ for (var n of ge(e))
4181
+ t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4217
4182
  return r;
4218
4183
  };
4219
- const re = (e, t) => {
4220
- const { formats: r } = z();
4184
+ const ne = (e, t) => {
4185
+ const { formats: r } = W();
4221
4186
  if (e in r && t in r[e])
4222
4187
  return r[e][t];
4223
4188
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4224
- }, Mi = we(
4189
+ }, Ci = Ee(
4225
4190
  (e) => {
4226
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4191
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4227
4192
  if (r == null)
4228
4193
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4229
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4194
+ return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4230
4195
  }
4231
- ), Ni = we(
4196
+ ), Pi = Ee(
4232
4197
  (e) => {
4233
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4198
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4234
4199
  if (r == null)
4235
4200
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4236
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4201
+ return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4237
4202
  }
4238
- ), Li = we(
4203
+ ), Oi = Ee(
4239
4204
  (e) => {
4240
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4205
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4241
4206
  if (r == null)
4242
4207
  throw new Error(
4243
4208
  '[svelte-i18n] A "locale" must be set to format time values'
4244
4209
  );
4245
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4210
+ return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4246
4211
  }
4247
- ), Ri = (e = {}) => {
4212
+ ), Ii = (e = {}) => {
4248
4213
  var t = e, {
4249
4214
  locale: r = $()
4250
- } = t, n = q(t, [
4215
+ } = t, n = Y(t, [
4251
4216
  "locale"
4252
4217
  ]);
4253
- return Mi(tt({ locale: r }, n));
4254
- }, $i = (e = {}) => {
4218
+ return Ci(qe({ locale: r }, n));
4219
+ }, Mi = (e = {}) => {
4255
4220
  var t = e, {
4256
4221
  locale: r = $()
4257
- } = t, n = q(t, [
4222
+ } = t, n = Y(t, [
4258
4223
  "locale"
4259
4224
  ]);
4260
- return Ni(tt({ locale: r }, n));
4261
- }, Gi = (e = {}) => {
4225
+ return Pi(qe({ locale: r }, n));
4226
+ }, Ni = (e = {}) => {
4262
4227
  var t = e, {
4263
4228
  locale: r = $()
4264
- } = t, n = q(t, [
4229
+ } = t, n = Y(t, [
4265
4230
  "locale"
4266
4231
  ]);
4267
- return Li(tt({ locale: r }, n));
4268
- }, Ui = we(
4232
+ return Oi(qe({ locale: r }, n));
4233
+ }, Li = Ee(
4269
4234
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4270
- (e, t = $()) => new fi(e, t, z().formats, {
4271
- ignoreTag: z().ignoreTag
4235
+ (e, t = $()) => new ui(e, t, W().formats, {
4236
+ ignoreTag: W().ignoreTag
4272
4237
  })
4273
- ), Di = (e, t = {}) => {
4238
+ ), Ri = (e, t = {}) => {
4274
4239
  var r, n, i, o;
4275
4240
  let s = t;
4276
4241
  typeof e == "object" && (s = e, e = s.id);
@@ -4283,39 +4248,39 @@ const re = (e, t) => {
4283
4248
  throw new Error(
4284
4249
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4285
4250
  );
4286
- let h = sr(e, l);
4251
+ let h = rr(e, l);
4287
4252
  if (!h)
4288
- h = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4253
+ h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4289
4254
  else if (typeof h != "string")
4290
4255
  return console.warn(
4291
4256
  `[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.`
4292
4257
  ), h;
4293
4258
  if (!a)
4294
4259
  return h;
4295
- let c = h;
4260
+ let f = h;
4296
4261
  try {
4297
- c = Ui(h, l).format(a);
4298
- } catch (f) {
4299
- f instanceof Error && console.warn(
4262
+ f = Li(h, l).format(a);
4263
+ } catch (c) {
4264
+ c instanceof Error && console.warn(
4300
4265
  `[svelte-i18n] Message "${e}" has syntax error:`,
4301
- f.message
4266
+ c.message
4302
4267
  );
4303
4268
  }
4304
- return c;
4305
- }, Fi = (e, t) => Gi(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = $()) => sr(e, t), Xi = Q([J, se], () => Di);
4306
- Q([J], () => Fi);
4307
- Q([J], () => ji);
4308
- Q([J], () => ki);
4309
- Q([J, se], () => Vi);
4310
- window.emWidgets = { topic: nn };
4311
- const zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4312
- function Wi(e, t) {
4269
+ return f;
4270
+ }, $i = (e, t) => Ni(t).format(e), Gi = (e, t) => Mi(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = $()) => rr(e, t), Fi = J([q, se], () => Ri);
4271
+ J([q], () => $i);
4272
+ J([q], () => Gi);
4273
+ J([q], () => Ui);
4274
+ J([q, se], () => Di);
4275
+ window.emWidgets = { topic: en };
4276
+ const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4277
+ function ki(e, t) {
4313
4278
  if (e) {
4314
4279
  const r = document.createElement("style");
4315
4280
  r.innerHTML = t, e.appendChild(r);
4316
4281
  }
4317
4282
  }
4318
- function Zi(e, t) {
4283
+ function Vi(e, t) {
4319
4284
  const r = new URL(t);
4320
4285
  fetch(r.href).then((n) => n.text()).then((n) => {
4321
4286
  const i = document.createElement("style");
@@ -4324,7 +4289,7 @@ function Zi(e, t) {
4324
4289
  console.error("There was an error while trying to load client styling from URL", n);
4325
4290
  });
4326
4291
  }
4327
- function Qi(e, t, r) {
4292
+ function Xi(e, t, r) {
4328
4293
  if (window.emMessageBus) {
4329
4294
  const n = document.createElement("style");
4330
4295
  window.emMessageBus.subscribe(t, (i) => {
@@ -4332,13 +4297,13 @@ function Qi(e, t, r) {
4332
4297
  });
4333
4298
  }
4334
4299
  }
4335
- function Ht(e, t) {
4336
- ur(e, t);
4300
+ function Et(e, t) {
4301
+ ir(e, t);
4337
4302
  }
4338
- function Ji(e) {
4339
- J.set(e);
4303
+ function zi(e) {
4304
+ q.set(e);
4340
4305
  }
4341
- const At = {
4306
+ const St = {
4342
4307
  en: {
4343
4308
  cancel: "Cancel",
4344
4309
  confirm: "Confirm"
@@ -4384,61 +4349,61 @@ const At = {
4384
4349
  confirm: "Confirm"
4385
4350
  }
4386
4351
  };
4387
- function qi(e) {
4388
- Sr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4352
+ function Wi(e) {
4353
+ vr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4389
4354
  }
4390
- const Yi = (e) => ({}), Bt = (e) => ({});
4391
- function Ki(e) {
4355
+ const Zi = (e) => ({}), wt = (e) => ({});
4356
+ function Qi(e) {
4392
4357
  let t, r;
4393
4358
  return {
4394
4359
  c() {
4395
- t = it("svg"), r = it("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4360
+ t = et("svg"), r = et("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4396
4361
  },
4397
4362
  m(n, i) {
4398
- ne(n, t, i), B(t, r);
4363
+ ie(n, t, i), A(t, r);
4399
4364
  },
4400
- p: N,
4365
+ p: M,
4401
4366
  d(n) {
4402
- n && Z(t);
4367
+ n && Q(t);
4403
4368
  }
4404
4369
  };
4405
4370
  }
4406
- function Ct(e) {
4371
+ function Tt(e) {
4407
4372
  let t, r, n;
4408
4373
  return {
4409
4374
  c() {
4410
- t = I("div"), r = I("h2"), n = ie(
4375
+ t = I("div"), r = I("h2"), n = oe(
4411
4376
  /*modaltitle*/
4412
4377
  e[1]
4413
4378
  ), T(t, "class", "GeneralConfirmationTitle");
4414
4379
  },
4415
4380
  m(i, o) {
4416
- ne(i, t, o), B(t, r), B(r, n);
4381
+ ie(i, t, o), A(t, r), A(r, n);
4417
4382
  },
4418
4383
  p(i, o) {
4419
4384
  o & /*modaltitle*/
4420
- 2 && Ke(
4385
+ 2 && Ze(
4421
4386
  n,
4422
4387
  /*modaltitle*/
4423
4388
  i[1]
4424
4389
  );
4425
4390
  },
4426
4391
  d(i) {
4427
- i && Z(t);
4392
+ i && Q(t);
4428
4393
  }
4429
4394
  };
4430
4395
  }
4431
- function Pt(e) {
4396
+ function Ht(e) {
4432
4397
  let t, r = (
4433
4398
  /*$_*/
4434
4399
  e[4]("cancel") + ""
4435
4400
  ), n, i, o;
4436
4401
  return {
4437
4402
  c() {
4438
- t = I("button"), n = ie(r), T(t, "class", "GeneralCancelButton");
4403
+ t = I("button"), n = oe(r), T(t, "class", "GeneralCancelButton");
4439
4404
  },
4440
4405
  m(s, a) {
4441
- ne(s, t, a), B(t, n), i || (o = Me(
4406
+ ie(s, t, a), A(t, n), i || (o = Pe(
4442
4407
  t,
4443
4408
  "click",
4444
4409
  /*click_handler*/
@@ -4448,52 +4413,52 @@ function Pt(e) {
4448
4413
  p(s, a) {
4449
4414
  a & /*$_*/
4450
4415
  16 && r !== (r = /*$_*/
4451
- s[4]("cancel") + "") && Ke(n, r);
4416
+ s[4]("cancel") + "") && Ze(n, r);
4452
4417
  },
4453
4418
  d(s) {
4454
- s && Z(t), i = !1, o();
4419
+ s && Q(t), i = !1, o();
4455
4420
  }
4456
4421
  };
4457
4422
  }
4458
- function eo(e) {
4459
- let t, r, n, i, o, s, a, l, u, h, c = (
4423
+ function Ji(e) {
4424
+ let t, r, n, i, o, s, a, l, u, h, f = (
4460
4425
  /*$_*/
4461
4426
  e[4]("confirm") + ""
4462
- ), f, m, y, d;
4463
- const S = (
4427
+ ), c, d, y, p;
4428
+ const w = (
4464
4429
  /*#slots*/
4465
4430
  e[16].close
4466
- ), P = vr(
4467
- S,
4431
+ ), P = pr(
4432
+ w,
4468
4433
  e,
4469
4434
  /*$$scope*/
4470
4435
  e[15],
4471
- Bt
4472
- ), H = P || Ki();
4436
+ wt
4437
+ ), C = P || Qi();
4473
4438
  let _ = (
4474
4439
  /*modaltitle*/
4475
- e[1] && Ct(e)
4476
- ), x = (
4440
+ e[1] && Tt(e)
4441
+ ), E = (
4477
4442
  /*hascancelbutton*/
4478
- e[2] && Pt(e)
4443
+ e[2] && Ht(e)
4479
4444
  );
4480
4445
  return {
4481
4446
  c() {
4482
- t = I("div"), r = I("div"), n = I("span"), H && H.c(), i = ue(), _ && _.c(), o = ue(), s = I("div"), a = ue(), l = I("div"), x && x.c(), u = ue(), h = I("button"), f = ie(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4447
+ t = I("div"), r = I("div"), n = I("span"), C.c(), i = ue(), _ && _.c(), o = ue(), s = I("div"), a = ue(), l = I("div"), E && E.c(), u = ue(), h = I("button"), c = oe(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4483
4448
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4484
4449
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4485
4450
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4486
4451
  },
4487
- m(v, A) {
4488
- ne(v, t, A), B(t, r), B(r, n), H && H.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), s.innerHTML = /*modaltext*/
4489
- e[0], B(r, a), B(r, l), x && x.m(l, null), B(l, u), B(l, h), B(h, f), e[19](t), m = !0, y || (d = [
4490
- Me(
4452
+ m(x, H) {
4453
+ ie(x, t, H), A(t, r), A(r, n), C.m(n, null), A(r, i), _ && _.m(r, null), A(r, o), A(r, s), s.innerHTML = /*modaltext*/
4454
+ e[0], A(r, a), A(r, l), E && E.m(l, null), A(l, u), A(l, h), A(h, c), e[19](t), d = !0, y || (p = [
4455
+ Pe(
4491
4456
  n,
4492
4457
  "click",
4493
4458
  /*close*/
4494
4459
  e[6]
4495
4460
  ),
4496
- Me(
4461
+ Pe(
4497
4462
  h,
4498
4463
  "click",
4499
4464
  /*click_handler_1*/
@@ -4501,115 +4466,115 @@ function eo(e) {
4501
4466
  )
4502
4467
  ], y = !0);
4503
4468
  },
4504
- p(v, [A]) {
4505
- P && P.p && (!m || A & /*$$scope*/
4506
- 32768) && xr(
4469
+ p(x, [H]) {
4470
+ P && P.p && (!d || H & /*$$scope*/
4471
+ 32768) && gr(
4507
4472
  P,
4508
- S,
4509
- v,
4473
+ w,
4474
+ x,
4510
4475
  /*$$scope*/
4511
- v[15],
4512
- m ? _r(
4513
- S,
4476
+ x[15],
4477
+ d ? br(
4478
+ w,
4514
4479
  /*$$scope*/
4515
- v[15],
4516
- A,
4517
- Yi
4518
- ) : Er(
4480
+ x[15],
4481
+ H,
4482
+ Zi
4483
+ ) : yr(
4519
4484
  /*$$scope*/
4520
- v[15]
4485
+ x[15]
4521
4486
  ),
4522
- Bt
4487
+ wt
4523
4488
  ), /*modaltitle*/
4524
- v[1] ? _ ? _.p(v, A) : (_ = Ct(v), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
4489
+ x[1] ? _ ? _.p(x, H) : (_ = Tt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || H & /*modaltext*/
4525
4490
  1) && (s.innerHTML = /*modaltext*/
4526
- v[0]), /*hascancelbutton*/
4527
- v[2] ? x ? x.p(v, A) : (x = Pt(v), x.c(), x.m(l, u)) : x && (x.d(1), x = null), (!m || A & /*$_*/
4528
- 16) && c !== (c = /*$_*/
4529
- v[4]("confirm") + "") && Ke(f, c);
4491
+ x[0]), /*hascancelbutton*/
4492
+ x[2] ? E ? E.p(x, H) : (E = Ht(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!d || H & /*$_*/
4493
+ 16) && f !== (f = /*$_*/
4494
+ x[4]("confirm") + "") && Ze(c, f);
4530
4495
  },
4531
- i(v) {
4532
- m || (Lt(H, v), m = !0);
4496
+ i(x) {
4497
+ d || (Ot(C, x), d = !0);
4533
4498
  },
4534
- o(v) {
4535
- Lr(H, v), m = !1;
4499
+ o(x) {
4500
+ Or(C, x), d = !1;
4536
4501
  },
4537
- d(v) {
4538
- v && Z(t), H && H.d(v), _ && _.d(), x && x.d(), e[19](null), y = !1, W(d);
4502
+ d(x) {
4503
+ x && Q(t), C.d(x), _ && _.d(), E && E.d(), e[19](null), y = !1, Z(p);
4539
4504
  }
4540
4505
  };
4541
4506
  }
4542
- function to(e, t, r) {
4507
+ function qi(e, t, r) {
4543
4508
  let n;
4544
- yr(e, Xi, (b) => r(4, n = b));
4545
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: y = "" } = t, { mbsource: d } = t, S, P = window.navigator.userAgent, H = zi(P) !== "PC";
4509
+ mr(e, Fi, (b) => r(4, n = b));
4510
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: y = "" } = t, { mbsource: p } = t, w, P = window.navigator.userAgent, C = ji(P) !== "PC";
4546
4511
  const _ = () => {
4547
4512
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4548
- }, x = (b) => {
4513
+ }, E = (b) => {
4549
4514
  b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
4550
- }, v = () => {
4515
+ }, x = () => {
4551
4516
  fetch(y).then((G) => G.json()).then((G) => {
4552
- Object.keys(G).forEach((rt) => {
4553
- Ht(rt, G[rt]);
4517
+ Object.keys(G).forEach((Ye) => {
4518
+ Et(Ye, G[Ye]);
4554
4519
  });
4555
4520
  }).catch((G) => {
4556
4521
  console.log(G);
4557
4522
  });
4558
4523
  };
4559
- Object.keys(At).forEach((b) => {
4560
- Ht(b, At[b]);
4524
+ Object.keys(St).forEach((b) => {
4525
+ Et(b, St[b]);
4561
4526
  });
4562
- const A = () => {
4563
- Ji(c);
4527
+ const H = () => {
4528
+ zi(f);
4564
4529
  };
4565
- Cr(() => () => {
4530
+ Tr(() => () => {
4566
4531
  });
4567
- const ae = () => x("cancel"), pr = () => x("confirm");
4568
- function dr(b) {
4569
- Ne[b ? "unshift" : "push"](() => {
4570
- S = b, r(3, S);
4532
+ const ae = () => E("cancel"), hr = () => E("confirm");
4533
+ function fr(b) {
4534
+ Oe[b ? "unshift" : "push"](() => {
4535
+ w = b, r(3, w);
4571
4536
  });
4572
4537
  }
4573
4538
  return e.$$set = (b) => {
4574
- "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, y = b.translationurl), "mbsource" in b && r(14, d = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4539
+ "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, f = b.lang), "clientstyling" in b && r(11, c = b.clientstyling), "clientstylingurl" in b && r(12, d = b.clientstylingurl), "translationurl" in b && r(13, y = b.translationurl), "mbsource" in b && r(14, p = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4575
4540
  }, e.$$.update = () => {
4576
4541
  e.$$.dirty & /*modaltext, lang*/
4577
- 1025 && s && c && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4578
- 2056 && f && S && Wi(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4579
- 4104 && m && S && Zi(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4580
- 16392 && d && S && Qi(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
4581
- 8192 && y && v();
4542
+ 1025 && s && f && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4543
+ 2056 && c && w && ki(w, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4544
+ 4104 && d && w && Vi(w, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4545
+ 16392 && p && w && Xi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4546
+ 8192 && y && x();
4582
4547
  }, [
4583
4548
  s,
4584
4549
  a,
4585
4550
  l,
4586
- S,
4551
+ w,
4587
4552
  n,
4588
- H,
4553
+ C,
4589
4554
  _,
4590
- x,
4555
+ E,
4591
4556
  u,
4592
4557
  h,
4593
- c,
4594
4558
  f,
4595
- m,
4596
- y,
4559
+ c,
4597
4560
  d,
4561
+ y,
4562
+ p,
4598
4563
  o,
4599
4564
  i,
4600
4565
  ae,
4601
- pr,
4602
- dr
4566
+ hr,
4567
+ fr
4603
4568
  ];
4604
4569
  }
4605
- class mr extends Fr {
4570
+ class lr extends $r {
4606
4571
  constructor(t) {
4607
- super(), Ur(
4572
+ super(), Lr(
4608
4573
  this,
4609
4574
  t,
4610
- to,
4611
- eo,
4612
- It,
4575
+ qi,
4576
+ Ji,
4577
+ Bt,
4613
4578
  {
4614
4579
  modaltext: 0,
4615
4580
  modaltitle: 1,
@@ -4622,7 +4587,7 @@ class mr extends Fr {
4622
4587
  translationurl: 13,
4623
4588
  mbsource: 14
4624
4589
  },
4625
- qi
4590
+ Wi
4626
4591
  );
4627
4592
  }
4628
4593
  get modaltext() {
@@ -4686,50 +4651,50 @@ class mr extends Fr {
4686
4651
  this.$$set({ mbsource: t }), O();
4687
4652
  }
4688
4653
  }
4689
- Dr(mr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4690
- const co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4654
+ Rr(lr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4655
+ const ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4691
4656
  __proto__: null,
4692
- default: mr
4657
+ default: lr
4693
4658
  }, Symbol.toStringTag, { value: "Module" }));
4694
4659
  export {
4695
- J as $,
4696
- ao as A,
4697
- Me as B,
4698
- ie as C,
4699
- no as D,
4700
- Re as E,
4701
- it as F,
4702
- oo as G,
4703
- Xi as H,
4704
- Wi as I,
4705
- Zi as J,
4706
- Qi as K,
4707
- co as P,
4708
- Fr as S,
4709
- ur as a,
4710
- Dr as b,
4711
- ho as c,
4712
- Sr as d,
4713
- Z as e,
4660
+ q as $,
4661
+ A,
4662
+ no as B,
4663
+ Pe as C,
4664
+ Ze as D,
4665
+ Yi as E,
4666
+ Z as F,
4667
+ eo as G,
4668
+ ro as H,
4669
+ et as I,
4670
+ to as J,
4671
+ Fi as K,
4672
+ ao as P,
4673
+ $r as S,
4674
+ ir as a,
4675
+ Rr as b,
4676
+ so as c,
4677
+ vr as d,
4678
+ I as e,
4714
4679
  O as f,
4715
- kr as g,
4716
- ne as h,
4717
- Ur as i,
4718
- I as j,
4719
- yr as k,
4720
- zi as l,
4721
- uo as m,
4722
- N as n,
4723
- Cr as o,
4724
- Ne as p,
4725
- B as q,
4726
- ue as r,
4727
- It as s,
4728
- io as t,
4729
- so as u,
4730
- T as v,
4731
- lo as w,
4732
- ro as x,
4733
- W as y,
4734
- Ke as z
4680
+ Ur as g,
4681
+ ie as h,
4682
+ Lr as i,
4683
+ Q as j,
4684
+ mr as k,
4685
+ ji as l,
4686
+ io as m,
4687
+ M as n,
4688
+ Tr as o,
4689
+ Oe as p,
4690
+ ki as q,
4691
+ Vi as r,
4692
+ Bt as s,
4693
+ Xi as t,
4694
+ oo as u,
4695
+ ue as v,
4696
+ oe as w,
4697
+ Ki as x,
4698
+ T as y,
4699
+ Me as z
4735
4700
  };