@everymatrix/player-account-general-confirmation-modal 1.74.3 → 1.74.4

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