@everymatrix/player-account-general-confirmation-modal 1.64.7 → 1.65.0

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