@everymatrix/player-account-general-confirmation-modal 0.1.0 → 0.2.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 _r = Object.defineProperty, Er = Object.defineProperties;
2
- var Sr = Object.getOwnPropertyDescriptors;
3
- var nt = Object.getOwnPropertySymbols;
4
- var Tr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
- var we = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
1
+ var yr = Object.defineProperty, vr = Object.defineProperties;
2
+ var xr = Object.getOwnPropertyDescriptors;
3
+ var tt = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var we = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Tr.call(t, r) && we(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- wr.call(t, r) && we(e, r, t[r]);
7
+ _r.call(t, r) && we(e, r, t[r]);
8
+ if (tt)
9
+ for (var r of tt(t))
10
+ Er.call(t, r) && we(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => Er(e, Sr(t));
12
+ }, nt = (e, t) => vr(e, xr(t));
13
13
  var O = (e, t, r) => we(e, typeof t != "symbol" ? t + "" : t, r);
14
- var st = (e, t, r) => new Promise((n, i) => {
14
+ var it = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,32 +29,32 @@ var st = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function L() {
31
31
  }
32
- function Hr(e, t) {
32
+ function Sr(e, t) {
33
33
  for (const r in t) e[r] = t[r];
34
34
  return (
35
35
  /** @type {T & S} */
36
36
  e
37
37
  );
38
38
  }
39
- function Lt(e) {
39
+ function Nt(e) {
40
40
  return e();
41
41
  }
42
- function at() {
42
+ function ot() {
43
43
  return /* @__PURE__ */ Object.create(null);
44
44
  }
45
45
  function Y(e) {
46
- e.forEach(Lt);
46
+ e.forEach(Nt);
47
47
  }
48
- function Ye(e) {
48
+ function Je(e) {
49
49
  return typeof e == "function";
50
50
  }
51
- function Rt(e, t) {
51
+ function Mt(e, t) {
52
52
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
53
  }
54
- function Br(e) {
54
+ function Tr(e) {
55
55
  return Object.keys(e).length === 0;
56
56
  }
57
- function $t(e, ...t) {
57
+ function Lt(e, ...t) {
58
58
  if (e == null) {
59
59
  for (const n of t)
60
60
  n(void 0);
@@ -63,19 +63,19 @@ function $t(e, ...t) {
63
63
  const r = e.subscribe(...t);
64
64
  return r.unsubscribe ? () => r.unsubscribe() : r;
65
65
  }
66
- function Ar(e, t, r) {
67
- e.$$.on_destroy.push($t(t, r));
66
+ function wr(e, t, r) {
67
+ e.$$.on_destroy.push(Lt(t, r));
68
68
  }
69
- function Cr(e, t, r, n) {
69
+ function Hr(e, t, r, n) {
70
70
  if (e) {
71
- const i = Gt(e, t, r, n);
71
+ const i = Rt(e, t, r, n);
72
72
  return e[0](i);
73
73
  }
74
74
  }
75
- function Gt(e, t, r, n) {
76
- return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
75
+ function Rt(e, t, r, n) {
76
+ return e[1] && n ? Sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
77
  }
78
- function Pr(e, t, r, n) {
78
+ function Br(e, t, r, n) {
79
79
  if (e[2] && n) {
80
80
  const i = e[2](n(r));
81
81
  if (t.dirty === void 0)
@@ -90,13 +90,13 @@ function Pr(e, t, r, n) {
90
90
  }
91
91
  return t.dirty;
92
92
  }
93
- function Or(e, t, r, n, i, o) {
93
+ function Ar(e, t, r, n, i, o) {
94
94
  if (i) {
95
- const s = Gt(t, r, n, o);
95
+ const s = Rt(t, r, n, o);
96
96
  e.p(s, i);
97
97
  }
98
98
  }
99
- function Ir(e) {
99
+ function Cr(e) {
100
100
  if (e.ctx.length > 32) {
101
101
  const t = [], r = e.ctx.length / 32;
102
102
  for (let n = 0; n < r; n++)
@@ -108,14 +108,14 @@ function Ir(e) {
108
108
  function H(e, t) {
109
109
  e.appendChild(t);
110
110
  }
111
- function Nr(e, t, r) {
112
- const n = Mr(e);
111
+ function Pr(e, t, r) {
112
+ const n = Or(e);
113
113
  if (!n.getElementById(t)) {
114
114
  const i = M("style");
115
- i.id = t, i.textContent = r, Lr(n, i);
115
+ i.id = t, i.textContent = r, Ir(n, i);
116
116
  }
117
117
  }
118
- function Mr(e) {
118
+ function Or(e) {
119
119
  if (!e) return document;
120
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
121
121
  return t && /** @type {ShadowRoot} */
@@ -124,7 +124,7 @@ function Mr(e) {
124
124
  t
125
125
  ) : e.ownerDocument;
126
126
  }
127
- function Lr(e, t) {
127
+ function Ir(e, t) {
128
128
  return H(
129
129
  /** @type {Document} */
130
130
  e.head || e,
@@ -140,7 +140,7 @@ function q(e) {
140
140
  function M(e) {
141
141
  return document.createElement(e);
142
142
  }
143
- function ut(e) {
143
+ function st(e) {
144
144
  return document.createElementNS("http://www.w3.org/2000/svg", e);
145
145
  }
146
146
  function ie(e) {
@@ -149,20 +149,20 @@ function ie(e) {
149
149
  function le() {
150
150
  return ie(" ");
151
151
  }
152
- function Me(e, t, r, n) {
152
+ function Ne(e, t, r, n) {
153
153
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
154
154
  }
155
155
  function w(e, t, r) {
156
156
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
157
157
  }
158
- function Rr(e) {
158
+ function Nr(e) {
159
159
  return Array.from(e.childNodes);
160
160
  }
161
161
  function ge(e, t) {
162
162
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
163
163
  t);
164
164
  }
165
- function $r(e) {
165
+ function Mr(e) {
166
166
  const t = {};
167
167
  return e.childNodes.forEach(
168
168
  /** @param {Element} node */
@@ -171,18 +171,18 @@ function $r(e) {
171
171
  }
172
172
  ), t;
173
173
  }
174
- let qe;
174
+ let Ye;
175
175
  function ne(e) {
176
- qe = e;
176
+ Ye = e;
177
177
  }
178
- const V = [], Le = [];
178
+ const V = [], Me = [];
179
179
  let X = [];
180
- const lt = [], Gr = /* @__PURE__ */ Promise.resolve();
181
- let Re = !1;
182
- function Ur() {
183
- Re || (Re = !0, Gr.then(N));
180
+ const at = [], Lr = /* @__PURE__ */ Promise.resolve();
181
+ let Le = !1;
182
+ function Rr() {
183
+ Le || (Le = !0, Lr.then(N));
184
184
  }
185
- function $e(e) {
185
+ function Re(e) {
186
186
  X.push(e);
187
187
  }
188
188
  const He = /* @__PURE__ */ new Set();
@@ -190,67 +190,67 @@ let j = 0;
190
190
  function N() {
191
191
  if (j !== 0)
192
192
  return;
193
- const e = qe;
193
+ const e = Ye;
194
194
  do {
195
195
  try {
196
196
  for (; j < V.length; ) {
197
197
  const t = V[j];
198
- j++, ne(t), Dr(t.$$);
198
+ j++, ne(t), $r(t.$$);
199
199
  }
200
200
  } catch (t) {
201
201
  throw V.length = 0, j = 0, t;
202
202
  }
203
- for (ne(null), V.length = 0, j = 0; Le.length; ) Le.pop()();
203
+ for (ne(null), V.length = 0, j = 0; Me.length; ) Me.pop()();
204
204
  for (let t = 0; t < X.length; t += 1) {
205
205
  const r = X[t];
206
206
  He.has(r) || (He.add(r), r());
207
207
  }
208
208
  X.length = 0;
209
209
  } while (V.length);
210
- for (; lt.length; )
211
- lt.pop()();
212
- Re = !1, He.clear(), ne(e);
210
+ for (; at.length; )
211
+ at.pop()();
212
+ Le = !1, He.clear(), ne(e);
213
213
  }
214
- function Dr(e) {
214
+ function $r(e) {
215
215
  if (e.fragment !== null) {
216
216
  e.update(), Y(e.before_update);
217
217
  const t = e.dirty;
218
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
218
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
219
219
  }
220
220
  }
221
- function Fr(e) {
221
+ function Gr(e) {
222
222
  const t = [], r = [];
223
223
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
224
224
  }
225
- const fe = /* @__PURE__ */ new Set();
226
- let jr;
227
- function Ut(e, t) {
228
- e && e.i && (fe.delete(e), e.i(t));
225
+ const ce = /* @__PURE__ */ new Set();
226
+ let Ur;
227
+ function $t(e, t) {
228
+ e && e.i && (ce.delete(e), e.i(t));
229
229
  }
230
- function kr(e, t, r, n) {
231
- if (e && e.o) {
232
- if (fe.has(e)) return;
233
- fe.add(e), jr.c.push(() => {
234
- fe.delete(e);
230
+ function Dr(e, t, r, n) {
231
+ if (e.o) {
232
+ if (ce.has(e)) return;
233
+ ce.add(e), Ur.c.push(() => {
234
+ ce.delete(e);
235
235
  }), e.o(t);
236
236
  }
237
237
  }
238
- function Vr(e, t, r) {
238
+ function Fr(e, t, r) {
239
239
  const { fragment: n, after_update: i } = e.$$;
240
- n && n.m(t, r), $e(() => {
241
- const o = e.$$.on_mount.map(Lt).filter(Ye);
240
+ n && n.m(t, r), Re(() => {
241
+ const o = e.$$.on_mount.map(Nt).filter(Je);
242
242
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
243
- }), i.forEach($e);
243
+ }), i.forEach(Re);
244
244
  }
245
- function Xr(e, t) {
245
+ function jr(e, t) {
246
246
  const r = e.$$;
247
- r.fragment !== null && (Fr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
247
+ r.fragment !== null && (Gr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
248
248
  }
249
- function zr(e, t) {
250
- e.$$.dirty[0] === -1 && (V.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
249
+ function kr(e, t) {
250
+ e.$$.dirty[0] === -1 && (V.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
251
251
  }
252
- function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
253
- const l = qe;
252
+ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
253
+ const l = Ye;
254
254
  ne(e);
255
255
  const u = e.$$ = {
256
256
  fragment: null,
@@ -259,7 +259,7 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
259
259
  props: o,
260
260
  update: L,
261
261
  not_equal: i,
262
- bound: at(),
262
+ bound: ot(),
263
263
  // lifecycle
264
264
  on_mount: [],
265
265
  on_destroy: [],
@@ -268,28 +268,28 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
268
268
  after_update: [],
269
269
  context: new Map(t.context || (l ? l.$$.context : [])),
270
270
  // everything else
271
- callbacks: at(),
271
+ callbacks: ot(),
272
272
  dirty: a,
273
273
  skip_bound: !1,
274
274
  root: t.target || l.$$.root
275
275
  };
276
276
  s && s(u.root);
277
277
  let h = !1;
278
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
279
- const p = m.length ? m[0] : f;
280
- 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;
281
- }) : [], u.update(), h = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
278
+ if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
279
+ const p = d.length ? d[0] : c;
280
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && kr(e, f)), c;
281
+ }), u.update(), h = !0, Y(u.before_update), u.fragment = n(u.ctx), t.target) {
282
282
  if (t.hydrate) {
283
- const c = Rr(t.target);
284
- u.fragment && u.fragment.l(c), c.forEach(q);
283
+ const f = Nr(t.target);
284
+ u.fragment && u.fragment.l(f), f.forEach(q);
285
285
  } else
286
286
  u.fragment && u.fragment.c();
287
- t.intro && Ut(e.$$.fragment), Vr(e, t.target, t.anchor), N();
287
+ t.intro && $t(e.$$.fragment), Fr(e, t.target, t.anchor), N();
288
288
  }
289
289
  ne(l);
290
290
  }
291
- let Dt;
292
- typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
291
+ let Gt;
292
+ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
293
293
  constructor(t, r, n) {
294
294
  super();
295
295
  /** The Svelte component constructor */
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
326
326
  }
327
327
  }
328
328
  connectedCallback() {
329
- return st(this, null, function* () {
329
+ return it(this, null, function* () {
330
330
  if (this.$$cn = !0, !this.$$c) {
331
331
  let t = function(o) {
332
332
  return () => {
@@ -350,18 +350,18 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
350
350
  };
351
351
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
352
352
  return;
353
- const r = {}, n = $r(this);
353
+ const r = {}, n = Mr(this);
354
354
  for (const o of this.$$s)
355
355
  o in n && (r[o] = [t(o)]);
356
356
  for (const o of this.attributes) {
357
357
  const s = this.$$g_p(o.name);
358
- s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
358
+ s in this.$$d || (this.$$d[s] = de(s, o.value, this.$$p_d, "toProp"));
359
359
  }
360
360
  for (const o in this.$$p_d)
361
361
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
362
362
  this.$$c = new this.$$ctor({
363
363
  target: this.shadowRoot || this,
364
- props: ot(it({}, this.$$d), {
364
+ props: nt(rt({}, this.$$d), {
365
365
  $$slots: r,
366
366
  $$scope: {
367
367
  ctx: []
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
372
372
  this.$$r = !0;
373
373
  for (const o in this.$$p_d)
374
374
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
375
- const s = me(
375
+ const s = de(
376
376
  o,
377
377
  this.$$d[o],
378
378
  this.$$p_d,
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
396
396
  // and setting attributes through setAttribute etc, this is helpful
397
397
  attributeChangedCallback(t, r, n) {
398
398
  var i;
399
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
399
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
400
400
  }
401
401
  disconnectedCallback() {
402
402
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -409,7 +409,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
409
409
  ) || t;
410
410
  }
411
411
  });
412
- function me(e, t, r, n) {
412
+ function de(e, t, r, n) {
413
413
  var o;
414
414
  const i = (o = r[e]) == null ? void 0 : o.type;
415
415
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -439,8 +439,8 @@ function me(e, t, r, n) {
439
439
  return t;
440
440
  }
441
441
  }
442
- function Zr(e, t, r, n, i, o) {
443
- let s = class extends Dt {
442
+ function Xr(e, t, r, n, i, o) {
443
+ let s = class extends Gt {
444
444
  constructor() {
445
445
  super(e, r, i), this.$$p_d = t;
446
446
  }
@@ -457,7 +457,7 @@ function Zr(e, t, r, n, i, o) {
457
457
  },
458
458
  set(l) {
459
459
  var u;
460
- l = me(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
460
+ l = de(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
461
461
  }
462
462
  });
463
463
  }), n.forEach((a) => {
@@ -470,7 +470,7 @@ function Zr(e, t, r, n, i, o) {
470
470
  }), e.element = /** @type {any} */
471
471
  s, s;
472
472
  }
473
- class Qr {
473
+ class Wr {
474
474
  constructor() {
475
475
  /**
476
476
  * ### PRIVATE API
@@ -491,7 +491,7 @@ class Qr {
491
491
  }
492
492
  /** @returns {void} */
493
493
  $destroy() {
494
- Xr(this, 1), this.$destroy = L;
494
+ jr(this, 1), this.$destroy = L;
495
495
  }
496
496
  /**
497
497
  * @template {Extract<keyof Events, string>} K
@@ -500,7 +500,7 @@ class Qr {
500
500
  * @returns {() => void}
501
501
  */
502
502
  $on(t, r) {
503
- if (!Ye(r))
503
+ if (!Je(r))
504
504
  return L;
505
505
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
506
506
  return n.push(r), () => {
@@ -513,37 +513,37 @@ class Qr {
513
513
  * @returns {void}
514
514
  */
515
515
  $set(t) {
516
- this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
516
+ this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
517
  }
518
518
  }
519
- const Jr = "4";
520
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
521
- var Ge = function(e, t) {
522
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
519
+ const zr = "4";
520
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
521
+ var $e = function(e, t) {
522
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
523
523
  r.__proto__ = n;
524
524
  } || function(r, n) {
525
525
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
526
- }, Ge(e, t);
526
+ }, $e(e, t);
527
527
  };
528
528
  function G(e, t) {
529
529
  if (typeof t != "function" && t !== null)
530
530
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
531
- Ge(e, t);
531
+ $e(e, t);
532
532
  function r() {
533
533
  this.constructor = e;
534
534
  }
535
535
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
536
536
  }
537
- var y = function() {
538
- return y = Object.assign || function(t) {
537
+ var v = function() {
538
+ return v = Object.assign || function(t) {
539
539
  for (var r, n = 1, i = arguments.length; n < i; n++) {
540
540
  r = arguments[n];
541
541
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
542
542
  }
543
543
  return t;
544
- }, y.apply(this, arguments);
544
+ }, v.apply(this, arguments);
545
545
  };
546
- function Yr(e, t) {
546
+ function Zr(e, t) {
547
547
  var r = {};
548
548
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
549
549
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -551,7 +551,7 @@ function Yr(e, t) {
551
551
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
552
552
  return r;
553
553
  }
554
- function Ue(e) {
554
+ function Ge(e) {
555
555
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
556
556
  if (r) return r.call(e);
557
557
  if (e && typeof e.length == "number") return {
@@ -561,7 +561,7 @@ function Ue(e) {
561
561
  };
562
562
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
563
563
  }
564
- function De(e, t) {
564
+ function Ue(e, t) {
565
565
  var r = typeof Symbol == "function" && e[Symbol.iterator];
566
566
  if (!r) return e;
567
567
  var n = r.call(e), i, o = [], s;
@@ -578,7 +578,7 @@ function De(e, t) {
578
578
  }
579
579
  return o;
580
580
  }
581
- function z(e, t, r) {
581
+ function W(e, t, r) {
582
582
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
583
583
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
584
584
  return e.concat(o || Array.prototype.slice.call(t));
@@ -586,13 +586,13 @@ function z(e, t, r) {
586
586
  function $(e) {
587
587
  return typeof e == "function";
588
588
  }
589
- function Ft(e) {
589
+ function Ut(e) {
590
590
  var t = function(n) {
591
591
  Error.call(n), n.stack = new Error().stack;
592
592
  }, r = e(t);
593
593
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
594
594
  }
595
- var Be = Ft(function(e) {
595
+ var Be = Ut(function(e) {
596
596
  return function(r) {
597
597
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
598
598
  ` + r.map(function(n, i) {
@@ -601,7 +601,7 @@ var Be = Ft(function(e) {
601
601
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
602
602
  };
603
603
  });
604
- function Fe(e, t) {
604
+ function De(e, t) {
605
605
  if (e) {
606
606
  var r = e.indexOf(t);
607
607
  0 <= r && e.splice(r, 1);
@@ -619,12 +619,12 @@ var xe = function() {
619
619
  if (s)
620
620
  if (this._parentage = null, Array.isArray(s))
621
621
  try {
622
- for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
622
+ for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
623
623
  var u = l.value;
624
624
  u.remove(this);
625
625
  }
626
- } catch (d) {
627
- t = { error: d };
626
+ } catch (m) {
627
+ t = { error: m };
628
628
  } finally {
629
629
  try {
630
630
  l && !l.done && (r = a.return) && r.call(a);
@@ -638,26 +638,26 @@ var xe = function() {
638
638
  if ($(h))
639
639
  try {
640
640
  h();
641
- } catch (d) {
642
- o = d instanceof Be ? d.errors : [d];
641
+ } catch (m) {
642
+ o = m instanceof Be ? m.errors : [m];
643
643
  }
644
- var c = this._finalizers;
645
- if (c) {
644
+ var f = this._finalizers;
645
+ if (f) {
646
646
  this._finalizers = null;
647
647
  try {
648
- for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
649
- var p = m.value;
648
+ for (var c = Ge(f), d = c.next(); !d.done; d = c.next()) {
649
+ var p = d.value;
650
650
  try {
651
- ht(p);
652
- } catch (d) {
653
- o = o != null ? o : [], d instanceof Be ? o = z(z([], De(o)), De(d.errors)) : o.push(d);
651
+ ut(p);
652
+ } catch (m) {
653
+ o = o != null ? o : [], m instanceof Be ? o = W(W([], Ue(o)), Ue(m.errors)) : o.push(m);
654
654
  }
655
655
  }
656
- } catch (d) {
657
- n = { error: d };
656
+ } catch (m) {
657
+ n = { error: m };
658
658
  } finally {
659
659
  try {
660
- m && !m.done && (i = f.return) && i.call(f);
660
+ d && !d.done && (i = c.return) && i.call(c);
661
661
  } finally {
662
662
  if (n) throw n.error;
663
663
  }
@@ -670,7 +670,7 @@ var xe = function() {
670
670
  var r;
671
671
  if (t && t !== this)
672
672
  if (this.closed)
673
- ht(t);
673
+ ut(t);
674
674
  else {
675
675
  if (t instanceof e) {
676
676
  if (t.closed || t._hasParent(this))
@@ -687,56 +687,56 @@ var xe = function() {
687
687
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
688
688
  }, e.prototype._removeParent = function(t) {
689
689
  var r = this._parentage;
690
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
690
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
691
691
  }, e.prototype.remove = function(t) {
692
692
  var r = this._finalizers;
693
- r && Fe(r, t), t instanceof e && t._removeParent(this);
693
+ r && De(r, t), t instanceof e && t._removeParent(this);
694
694
  }, e.EMPTY = function() {
695
695
  var t = new e();
696
696
  return t.closed = !0, t;
697
697
  }(), e;
698
- }(), jt = xe.EMPTY;
699
- function kt(e) {
698
+ }(), Dt = xe.EMPTY;
699
+ function Ft(e) {
700
700
  return e instanceof xe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
701
701
  }
702
- function ht(e) {
702
+ function ut(e) {
703
703
  $(e) ? e() : e.unsubscribe();
704
704
  }
705
- var Vt = {
705
+ var Qr = {
706
706
  onUnhandledError: null,
707
707
  onStoppedNotification: null,
708
708
  Promise: void 0,
709
709
  useDeprecatedSynchronousErrorHandling: !1,
710
710
  useDeprecatedNextContext: !1
711
- }, qr = {
711
+ }, Jr = {
712
712
  setTimeout: function(e, t) {
713
713
  for (var r = [], n = 2; n < arguments.length; n++)
714
714
  r[n - 2] = arguments[n];
715
- return setTimeout.apply(void 0, z([e, t], De(r)));
715
+ return setTimeout.apply(void 0, W([e, t], Ue(r)));
716
716
  },
717
717
  clearTimeout: function(e) {
718
718
  return clearTimeout(e);
719
719
  },
720
720
  delegate: void 0
721
721
  };
722
- function Kr(e) {
723
- qr.setTimeout(function() {
722
+ function Yr(e) {
723
+ Jr.setTimeout(function() {
724
724
  throw e;
725
725
  });
726
726
  }
727
- function ct() {
727
+ function lt() {
728
728
  }
729
- function de(e) {
729
+ function me(e) {
730
730
  e();
731
731
  }
732
- var Xt = function(e) {
732
+ var jt = function(e) {
733
733
  G(t, e);
734
734
  function t(r) {
735
735
  var n = e.call(this) || this;
736
- return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = nn, n;
736
+ return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = en, n;
737
737
  }
738
738
  return t.create = function(r, n, i) {
739
- return new je(r, n, i);
739
+ return new Fe(r, n, i);
740
740
  }, t.prototype.next = function(r) {
741
741
  this.isStopped || this._next(r);
742
742
  }, t.prototype.error = function(r) {
@@ -760,11 +760,7 @@ var Xt = function(e) {
760
760
  this.unsubscribe();
761
761
  }
762
762
  }, t;
763
- }(xe), en = Function.prototype.bind;
764
- function Ae(e, t) {
765
- return en.call(e, t);
766
- }
767
- var tn = function() {
763
+ }(xe), qr = function() {
768
764
  function e(t) {
769
765
  this.partialObserver = t;
770
766
  }
@@ -795,55 +791,43 @@ var tn = function() {
795
791
  he(r);
796
792
  }
797
793
  }, e;
798
- }(), je = function(e) {
794
+ }(), Fe = function(e) {
799
795
  G(t, e);
800
796
  function t(r, n, i) {
801
797
  var o = e.call(this) || this, s;
802
- if ($(r) || !r)
803
- s = {
804
- next: r != null ? r : void 0,
805
- error: n != null ? n : void 0,
806
- complete: i != null ? i : void 0
807
- };
808
- else {
809
- var a;
810
- o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
811
- return o.unsubscribe();
812
- }, s = {
813
- next: r.next && Ae(r.next, a),
814
- error: r.error && Ae(r.error, a),
815
- complete: r.complete && Ae(r.complete, a)
816
- }) : s = r;
817
- }
818
- return o.destination = new tn(s), o;
798
+ return $(r) || !r ? s = {
799
+ next: r != null ? r : void 0,
800
+ error: n != null ? n : void 0,
801
+ complete: i != null ? i : void 0
802
+ } : s = r, o.destination = new qr(s), o;
819
803
  }
820
804
  return t;
821
- }(Xt);
805
+ }(jt);
822
806
  function he(e) {
823
- Kr(e);
807
+ Yr(e);
824
808
  }
825
- function rn(e) {
809
+ function Kr(e) {
826
810
  throw e;
827
811
  }
828
- var nn = {
812
+ var en = {
829
813
  closed: !0,
830
- next: ct,
831
- error: rn,
832
- complete: ct
833
- }, on = function() {
814
+ next: lt,
815
+ error: Kr,
816
+ complete: lt
817
+ }, tn = function() {
834
818
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
835
819
  }();
836
- function sn(e) {
820
+ function rn(e) {
837
821
  return e;
838
822
  }
839
- function an(e) {
840
- return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
823
+ function nn(e) {
824
+ return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
841
825
  return e.reduce(function(n, i) {
842
826
  return i(n);
843
827
  }, r);
844
828
  };
845
829
  }
846
- var ft = function() {
830
+ var ht = function() {
847
831
  function e(t) {
848
832
  t && (this._subscribe = t);
849
833
  }
@@ -851,8 +835,8 @@ var ft = function() {
851
835
  var r = new e();
852
836
  return r.source = this, r.operator = t, r;
853
837
  }, e.prototype.subscribe = function(t, r, n) {
854
- var i = this, o = ln(t) ? t : new je(t, r, n);
855
- return de(function() {
838
+ var i = this, o = sn(t) ? t : new Fe(t, r, n);
839
+ return me(function() {
856
840
  var s = i, a = s.operator, l = s.source;
857
841
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
858
842
  }), o;
@@ -864,8 +848,8 @@ var ft = function() {
864
848
  }
865
849
  }, e.prototype.forEach = function(t, r) {
866
850
  var n = this;
867
- return r = mt(r), new r(function(i, o) {
868
- var s = new je({
851
+ return r = ft(r), new r(function(i, o) {
852
+ var s = new Fe({
869
853
  next: function(a) {
870
854
  try {
871
855
  t(a);
@@ -881,15 +865,15 @@ var ft = function() {
881
865
  }, e.prototype._subscribe = function(t) {
882
866
  var r;
883
867
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
884
- }, e.prototype[on] = function() {
868
+ }, e.prototype[tn] = function() {
885
869
  return this;
886
870
  }, e.prototype.pipe = function() {
887
871
  for (var t = [], r = 0; r < arguments.length; r++)
888
872
  t[r] = arguments[r];
889
- return an(t)(this);
873
+ return nn(t)(this);
890
874
  }, e.prototype.toPromise = function(t) {
891
875
  var r = this;
892
- return t = mt(t), new t(function(n, i) {
876
+ return t = ft(t), new t(function(n, i) {
893
877
  var o;
894
878
  r.subscribe(function(s) {
895
879
  return o = s;
@@ -903,40 +887,40 @@ var ft = function() {
903
887
  return new e(t);
904
888
  }, e;
905
889
  }();
906
- function mt(e) {
890
+ function ft(e) {
907
891
  var t;
908
- return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
892
+ return (t = e != null ? e : Qr.Promise) !== null && t !== void 0 ? t : Promise;
909
893
  }
910
- function un(e) {
894
+ function on(e) {
911
895
  return e && $(e.next) && $(e.error) && $(e.complete);
912
896
  }
913
- function ln(e) {
914
- return e && e instanceof Xt || un(e) && kt(e);
897
+ function sn(e) {
898
+ return e && e instanceof jt || on(e) && Ft(e);
915
899
  }
916
- var hn = Ft(function(e) {
900
+ var an = Ut(function(e) {
917
901
  return function() {
918
902
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
919
903
  };
920
- }), zt = function(e) {
904
+ }), kt = function(e) {
921
905
  G(t, e);
922
906
  function t() {
923
907
  var r = e.call(this) || this;
924
908
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
925
909
  }
926
910
  return t.prototype.lift = function(r) {
927
- var n = new dt(this, this);
911
+ var n = new ct(this, this);
928
912
  return n.operator = r, n;
929
913
  }, t.prototype._throwIfClosed = function() {
930
914
  if (this.closed)
931
- throw new hn();
915
+ throw new an();
932
916
  }, t.prototype.next = function(r) {
933
917
  var n = this;
934
- de(function() {
918
+ me(function() {
935
919
  var i, o;
936
920
  if (n._throwIfClosed(), !n.isStopped) {
937
921
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
938
922
  try {
939
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
923
+ for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
940
924
  var l = a.value;
941
925
  l.next(r);
942
926
  }
@@ -953,7 +937,7 @@ var hn = Ft(function(e) {
953
937
  });
954
938
  }, t.prototype.error = function(r) {
955
939
  var n = this;
956
- de(function() {
940
+ me(function() {
957
941
  if (n._throwIfClosed(), !n.isStopped) {
958
942
  n.hasError = n.isStopped = !0, n.thrownError = r;
959
943
  for (var i = n.observers; i.length; )
@@ -962,7 +946,7 @@ var hn = Ft(function(e) {
962
946
  });
963
947
  }, t.prototype.complete = function() {
964
948
  var r = this;
965
- de(function() {
949
+ me(function() {
966
950
  if (r._throwIfClosed(), !r.isStopped) {
967
951
  r.isStopped = !0;
968
952
  for (var n = r.observers; n.length; )
@@ -984,19 +968,19 @@ var hn = Ft(function(e) {
984
968
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
985
969
  }, t.prototype._innerSubscribe = function(r) {
986
970
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
987
- return o || s ? jt : (this.currentObservers = null, a.push(r), new xe(function() {
988
- n.currentObservers = null, Fe(a, r);
971
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new xe(function() {
972
+ n.currentObservers = null, De(a, r);
989
973
  }));
990
974
  }, t.prototype._checkFinalizedStatuses = function(r) {
991
975
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
992
976
  i ? r.error(o) : s && r.complete();
993
977
  }, t.prototype.asObservable = function() {
994
- var r = new ft();
978
+ var r = new ht();
995
979
  return r.source = this, r;
996
980
  }, t.create = function(r, n) {
997
- return new dt(r, n);
981
+ return new ct(r, n);
998
982
  }, t;
999
- }(ft), dt = function(e) {
983
+ }(ht), ct = function(e) {
1000
984
  G(t, e);
1001
985
  function t(r, n) {
1002
986
  var i = e.call(this) || this;
@@ -1013,17 +997,17 @@ var hn = Ft(function(e) {
1013
997
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1014
998
  }, t.prototype._subscribe = function(r) {
1015
999
  var n, i;
1016
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1000
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1017
1001
  }, t;
1018
- }(zt), Wt = {
1002
+ }(kt), Vt = {
1019
1003
  now: function() {
1020
- return (Wt.delegate || Date).now();
1004
+ return (Vt.delegate || Date).now();
1021
1005
  },
1022
1006
  delegate: void 0
1023
- }, cn = function(e) {
1007
+ }, un = function(e) {
1024
1008
  G(t, e);
1025
1009
  function t(r, n, i) {
1026
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
1010
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vt);
1027
1011
  var o = e.call(this) || this;
1028
1012
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1029
1013
  }
@@ -1043,15 +1027,15 @@ var hn = Ft(function(e) {
1043
1027
  u && o.splice(0, u + 1);
1044
1028
  }
1045
1029
  }, t;
1046
- }(zt);
1047
- const pt = [], bt = {}, fn = (e, t = 0) => {
1048
- if (pt.indexOf(e) == -1) {
1049
- const r = new cn(t);
1050
- bt[e] = r, pt.push(e);
1030
+ }(kt);
1031
+ const dt = [], mt = {}, ln = (e, t = 0) => {
1032
+ if (dt.indexOf(e) == -1) {
1033
+ const r = new un(t);
1034
+ mt[e] = r, dt.push(e);
1051
1035
  }
1052
- return bt[e];
1036
+ return mt[e];
1053
1037
  }, k = [];
1054
- function mn(e, t) {
1038
+ function hn(e, t) {
1055
1039
  return {
1056
1040
  subscribe: _e(e, t).subscribe
1057
1041
  };
@@ -1060,7 +1044,7 @@ function _e(e, t = L) {
1060
1044
  let r;
1061
1045
  const n = /* @__PURE__ */ new Set();
1062
1046
  function i(a) {
1063
- if (Rt(e, a) && (e = a, r)) {
1047
+ if (Mt(e, a) && (e = a, r)) {
1064
1048
  const l = !k.length;
1065
1049
  for (const u of n)
1066
1050
  u[1](), k.push(u, e);
@@ -1087,156 +1071,158 @@ function K(e, t, r) {
1087
1071
  if (!i.every(Boolean))
1088
1072
  throw new Error("derived() expects stores as input, got a falsy value");
1089
1073
  const o = t.length < 2;
1090
- return mn(r, (s, a) => {
1074
+ return hn(r, (s, a) => {
1091
1075
  let l = !1;
1092
1076
  const u = [];
1093
- let h = 0, c = L;
1094
- const f = () => {
1077
+ let h = 0, f = L;
1078
+ const c = () => {
1095
1079
  if (h)
1096
1080
  return;
1097
- c();
1081
+ f();
1098
1082
  const p = t(n ? u[0] : u, s, a);
1099
- o ? s(p) : c = Ye(p) ? p : L;
1100
- }, m = i.map(
1101
- (p, d) => $t(
1083
+ o ? s(p) : f = Je(p) ? p : L;
1084
+ }, d = i.map(
1085
+ (p, m) => Lt(
1102
1086
  p,
1103
1087
  (A) => {
1104
- u[d] = A, h &= ~(1 << d), l && f();
1088
+ u[m] = A, h &= ~(1 << m), l && c();
1105
1089
  },
1106
1090
  () => {
1107
- h |= 1 << d;
1091
+ h |= 1 << m;
1108
1092
  }
1109
1093
  )
1110
1094
  );
1111
- return l = !0, f(), function() {
1112
- Y(m), c(), l = !1;
1095
+ return l = !0, c(), function() {
1096
+ Y(d), f(), l = !1;
1113
1097
  };
1114
1098
  });
1115
1099
  }
1116
- function dn(e) {
1117
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1100
+ function fn(e) {
1101
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1118
1102
  }
1119
- var pn = function(t) {
1120
- return bn(t) && !gn(t);
1103
+ var cn = function(t) {
1104
+ return dn(t) && !mn(t);
1121
1105
  };
1122
- function bn(e) {
1106
+ function dn(e) {
1123
1107
  return !!e && typeof e == "object";
1124
1108
  }
1125
- function gn(e) {
1109
+ function mn(e) {
1126
1110
  var t = Object.prototype.toString.call(e);
1127
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1111
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
1128
1112
  }
1129
- var vn = typeof Symbol == "function" && Symbol.for, yn = vn ? Symbol.for("react.element") : 60103;
1130
- function xn(e) {
1131
- return e.$$typeof === yn;
1113
+ var pn = typeof Symbol == "function" && Symbol.for, bn = pn ? Symbol.for("react.element") : 60103;
1114
+ function gn(e) {
1115
+ return e.$$typeof === bn;
1132
1116
  }
1133
- function _n(e) {
1117
+ function yn(e) {
1134
1118
  return Array.isArray(e) ? [] : {};
1135
1119
  }
1136
1120
  function oe(e, t) {
1137
- return t.clone !== !1 && t.isMergeableObject(e) ? W(_n(e), e, t) : e;
1121
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(yn(e), e, t) : e;
1138
1122
  }
1139
- function En(e, t, r) {
1123
+ function vn(e, t, r) {
1140
1124
  return e.concat(t).map(function(n) {
1141
1125
  return oe(n, r);
1142
1126
  });
1143
1127
  }
1144
- function Sn(e, t) {
1128
+ function xn(e, t) {
1145
1129
  if (!t.customMerge)
1146
- return W;
1130
+ return z;
1147
1131
  var r = t.customMerge(e);
1148
- return typeof r == "function" ? r : W;
1132
+ return typeof r == "function" ? r : z;
1149
1133
  }
1150
- function Tn(e) {
1134
+ function _n(e) {
1151
1135
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1152
1136
  return Object.propertyIsEnumerable.call(e, t);
1153
1137
  }) : [];
1154
1138
  }
1155
- function gt(e) {
1156
- return Object.keys(e).concat(Tn(e));
1139
+ function pt(e) {
1140
+ return Object.keys(e).concat(_n(e));
1157
1141
  }
1158
- function Zt(e, t) {
1142
+ function Xt(e, t) {
1159
1143
  try {
1160
1144
  return t in e;
1161
1145
  } catch (r) {
1162
1146
  return !1;
1163
1147
  }
1164
1148
  }
1165
- function wn(e, t) {
1166
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1149
+ function En(e, t) {
1150
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1167
1151
  }
1168
- function Hn(e, t, r) {
1152
+ function Sn(e, t, r) {
1169
1153
  var n = {};
1170
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1154
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1171
1155
  n[i] = oe(e[i], r);
1172
- }), gt(t).forEach(function(i) {
1173
- wn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1156
+ }), pt(t).forEach(function(i) {
1157
+ En(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1174
1158
  }), n;
1175
1159
  }
1176
- function W(e, t, r) {
1177
- r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = oe;
1160
+ function z(e, t, r) {
1161
+ r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = oe;
1178
1162
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1179
- return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : oe(t, r);
1163
+ return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : oe(t, r);
1180
1164
  }
1181
- W.all = function(t, r) {
1165
+ z.all = function(t, r) {
1182
1166
  if (!Array.isArray(t))
1183
1167
  throw new Error("first argument should be an array");
1184
1168
  return t.reduce(function(n, i) {
1185
- return W(n, i, r);
1169
+ return z(n, i, r);
1186
1170
  }, {});
1187
1171
  };
1188
- var Bn = W, An = Bn;
1189
- const Cn = /* @__PURE__ */ dn(An);
1190
- function Ce(e, t) {
1191
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : On;
1172
+ var Tn = z, wn = Tn;
1173
+ const Hn = /* @__PURE__ */ fn(wn);
1174
+ function Ae(e, t) {
1175
+ var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : An;
1192
1176
  return i(e, {
1193
1177
  cache: r,
1194
1178
  serializer: n
1195
1179
  });
1196
1180
  }
1197
- function Pn(e) {
1181
+ function Bn(e) {
1198
1182
  return e == null || typeof e == "number" || typeof e == "boolean";
1199
1183
  }
1200
- function Qt(e, t, r, n) {
1201
- var i = Pn(n) ? n : r(n), o = t.get(i);
1184
+ function Wt(e, t, r, n) {
1185
+ var i = Bn(n) ? n : r(n), o = t.get(i);
1202
1186
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1203
1187
  }
1204
- function Jt(e, t, r) {
1188
+ function zt(e, t, r) {
1205
1189
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1206
1190
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1207
1191
  }
1208
- function Ke(e, t, r, n, i) {
1192
+ function qe(e, t, r, n, i) {
1209
1193
  return r.bind(t, e, n, i);
1210
1194
  }
1211
- function On(e, t) {
1212
- var r = e.length === 1 ? Qt : Jt;
1213
- return Ke(e, this, r, t.cache.create(), t.serializer);
1195
+ function An(e, t) {
1196
+ var r = e.length === 1 ? Wt : zt;
1197
+ return qe(e, this, r, t.cache.create(), t.serializer);
1214
1198
  }
1215
- function In(e, t) {
1216
- return Ke(e, this, Jt, t.cache.create(), t.serializer);
1199
+ function Cn(e, t) {
1200
+ return qe(e, this, zt, t.cache.create(), t.serializer);
1217
1201
  }
1218
- function Nn(e, t) {
1219
- return Ke(e, this, Qt, t.cache.create(), t.serializer);
1202
+ function Pn(e, t) {
1203
+ return qe(e, this, Wt, t.cache.create(), t.serializer);
1220
1204
  }
1221
- var Mn = function() {
1205
+ var On = function() {
1222
1206
  return JSON.stringify(arguments);
1223
- };
1224
- function et() {
1225
- this.cache = /* @__PURE__ */ Object.create(null);
1226
- }
1227
- et.prototype.get = function(e) {
1228
- return this.cache[e];
1229
- };
1230
- et.prototype.set = function(e, t) {
1231
- this.cache[e] = t;
1232
- };
1233
- var Ln = {
1207
+ }, In = (
1208
+ /** @class */
1209
+ function() {
1210
+ function e() {
1211
+ this.cache = /* @__PURE__ */ Object.create(null);
1212
+ }
1213
+ return e.prototype.get = function(t) {
1214
+ return this.cache[t];
1215
+ }, e.prototype.set = function(t, r) {
1216
+ this.cache[t] = r;
1217
+ }, e;
1218
+ }()
1219
+ ), Nn = {
1234
1220
  create: function() {
1235
- return new et();
1221
+ return new In();
1236
1222
  }
1237
- }, Pe = {
1238
- variadic: In,
1239
- monadic: Nn
1223
+ }, Ce = {
1224
+ variadic: Cn,
1225
+ monadic: Pn
1240
1226
  }, g;
1241
1227
  (function(e) {
1242
1228
  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";
@@ -1249,43 +1235,43 @@ var Z;
1249
1235
  (function(e) {
1250
1236
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1251
1237
  })(Z || (Z = {}));
1252
- function vt(e) {
1238
+ function bt(e) {
1253
1239
  return e.type === E.literal;
1254
1240
  }
1255
- function Rn(e) {
1241
+ function Mn(e) {
1256
1242
  return e.type === E.argument;
1257
1243
  }
1258
- function Yt(e) {
1244
+ function Zt(e) {
1259
1245
  return e.type === E.number;
1260
1246
  }
1261
- function qt(e) {
1247
+ function Qt(e) {
1262
1248
  return e.type === E.date;
1263
1249
  }
1264
- function Kt(e) {
1250
+ function Jt(e) {
1265
1251
  return e.type === E.time;
1266
1252
  }
1267
- function er(e) {
1253
+ function Yt(e) {
1268
1254
  return e.type === E.select;
1269
1255
  }
1270
- function tr(e) {
1256
+ function qt(e) {
1271
1257
  return e.type === E.plural;
1272
1258
  }
1273
- function $n(e) {
1259
+ function Ln(e) {
1274
1260
  return e.type === E.pound;
1275
1261
  }
1276
- function rr(e) {
1262
+ function Kt(e) {
1277
1263
  return e.type === E.tag;
1278
1264
  }
1279
- function nr(e) {
1265
+ function er(e) {
1280
1266
  return !!(e && typeof e == "object" && e.type === Z.number);
1281
1267
  }
1282
- function ke(e) {
1268
+ function je(e) {
1283
1269
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1284
1270
  }
1285
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1286
- function Un(e) {
1271
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1272
+ function $n(e) {
1287
1273
  var t = {};
1288
- return e.replace(Gn, function(r) {
1274
+ return e.replace(Rn, function(r) {
1289
1275
  var n = r.length;
1290
1276
  switch (r[0]) {
1291
1277
  case "G":
@@ -1374,36 +1360,36 @@ function Un(e) {
1374
1360
  return "";
1375
1361
  }), t;
1376
1362
  }
1377
- var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1378
- function Fn(e) {
1363
+ var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
+ function Un(e) {
1379
1365
  if (e.length === 0)
1380
1366
  throw new Error("Number skeleton cannot be empty");
1381
- for (var t = e.split(Dn).filter(function(f) {
1382
- return f.length > 0;
1367
+ for (var t = e.split(Gn).filter(function(c) {
1368
+ return c.length > 0;
1383
1369
  }), r = [], n = 0, i = t; n < i.length; n++) {
1384
1370
  var o = i[n], s = o.split("/");
1385
1371
  if (s.length === 0)
1386
1372
  throw new Error("Invalid number skeleton");
1387
1373
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1388
- var c = h[u];
1389
- if (c.length === 0)
1374
+ var f = h[u];
1375
+ if (f.length === 0)
1390
1376
  throw new Error("Invalid number skeleton");
1391
1377
  }
1392
1378
  r.push({ stem: a, options: l });
1393
1379
  }
1394
1380
  return r;
1395
1381
  }
1396
- function jn(e) {
1382
+ function Dn(e) {
1397
1383
  return e.replace(/^(.*?)-/, "");
1398
1384
  }
1399
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1400
- function xt(e) {
1385
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1386
+ function yt(e) {
1401
1387
  var t = {};
1402
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1388
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
1403
1389
  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)), "";
1404
1390
  }), t;
1405
1391
  }
1406
- function ar(e) {
1392
+ function ir(e) {
1407
1393
  switch (e) {
1408
1394
  case "sign-auto":
1409
1395
  return {
@@ -1443,7 +1429,7 @@ function ar(e) {
1443
1429
  };
1444
1430
  }
1445
1431
  }
1446
- function Vn(e) {
1432
+ function jn(e) {
1447
1433
  var t;
1448
1434
  if (e[0] === "E" && e[1] === "E" ? (t = {
1449
1435
  notation: "engineering"
@@ -1451,17 +1437,17 @@ function Vn(e) {
1451
1437
  notation: "scientific"
1452
1438
  }, e = e.slice(1)), t) {
1453
1439
  var r = e.slice(0, 2);
1454
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1440
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1455
1441
  throw new Error("Malformed concise eng/scientific notation");
1456
1442
  t.minimumIntegerDigits = e.length;
1457
1443
  }
1458
1444
  return t;
1459
1445
  }
1460
- function _t(e) {
1461
- var t = {}, r = ar(e);
1446
+ function vt(e) {
1447
+ var t = {}, r = ir(e);
1462
1448
  return r || t;
1463
1449
  }
1464
- function Xn(e) {
1450
+ function kn(e) {
1465
1451
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1466
1452
  var i = n[r];
1467
1453
  switch (i.stem) {
@@ -1485,7 +1471,7 @@ function Xn(e) {
1485
1471
  continue;
1486
1472
  case "measure-unit":
1487
1473
  case "unit":
1488
- t.style = "unit", t.unit = jn(i.options[0]);
1474
+ t.style = "unit", t.unit = Dn(i.options[0]);
1489
1475
  continue;
1490
1476
  case "compact-short":
1491
1477
  case "K":
@@ -1496,13 +1482,13 @@ function Xn(e) {
1496
1482
  t.notation = "compact", t.compactDisplay = "long";
1497
1483
  continue;
1498
1484
  case "scientific":
1499
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1500
- return y(y({}, l), _t(u));
1485
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1486
+ return v(v({}, l), vt(u));
1501
1487
  }, {}));
1502
1488
  continue;
1503
1489
  case "engineering":
1504
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1505
- return y(y({}, l), _t(u));
1490
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1491
+ return v(v({}, l), vt(u));
1506
1492
  }, {}));
1507
1493
  continue;
1508
1494
  case "notation-simple":
@@ -1547,45 +1533,45 @@ function Xn(e) {
1547
1533
  case "integer-width":
1548
1534
  if (i.options.length > 1)
1549
1535
  throw new RangeError("integer-width stems only accept a single optional option");
1550
- i.options[0].replace(kn, function(l, u, h, c, f, m) {
1536
+ i.options[0].replace(Fn, function(l, u, h, f, c, d) {
1551
1537
  if (u)
1552
1538
  t.minimumIntegerDigits = h.length;
1553
1539
  else {
1554
- if (c && f)
1540
+ if (f && c)
1555
1541
  throw new Error("We currently do not support maximum integer digits");
1556
- if (m)
1542
+ if (d)
1557
1543
  throw new Error("We currently do not support exact integer digits");
1558
1544
  }
1559
1545
  return "";
1560
1546
  });
1561
1547
  continue;
1562
1548
  }
1563
- if (sr.test(i.stem)) {
1549
+ if (nr.test(i.stem)) {
1564
1550
  t.minimumIntegerDigits = i.stem.length;
1565
1551
  continue;
1566
1552
  }
1567
- if (yt.test(i.stem)) {
1553
+ if (gt.test(i.stem)) {
1568
1554
  if (i.options.length > 1)
1569
1555
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1570
- i.stem.replace(yt, function(l, u, h, c, f, m) {
1571
- 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), "";
1556
+ i.stem.replace(gt, function(l, u, h, f, c, d) {
1557
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1572
1558
  });
1573
1559
  var o = i.options[0];
1574
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
1560
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
1575
1561
  continue;
1576
1562
  }
1577
- if (or.test(i.stem)) {
1578
- t = y(y({}, t), xt(i.stem));
1563
+ if (rr.test(i.stem)) {
1564
+ t = v(v({}, t), yt(i.stem));
1579
1565
  continue;
1580
1566
  }
1581
- var s = ar(i.stem);
1582
- s && (t = y(y({}, t), s));
1583
- var a = Vn(i.stem);
1584
- a && (t = y(y({}, t), a));
1567
+ var s = ir(i.stem);
1568
+ s && (t = v(v({}, t), s));
1569
+ var a = jn(i.stem);
1570
+ a && (t = v(v({}, t), a));
1585
1571
  }
1586
1572
  return t;
1587
1573
  }
1588
- var ce = {
1574
+ var fe = {
1589
1575
  "001": [
1590
1576
  "H",
1591
1577
  "h"
@@ -3000,13 +2986,13 @@ var ce = {
3000
2986
  "h"
3001
2987
  ]
3002
2988
  };
3003
- function zn(e, t) {
2989
+ function Vn(e, t) {
3004
2990
  for (var r = "", n = 0; n < e.length; n++) {
3005
2991
  var i = e.charAt(n);
3006
2992
  if (i === "j") {
3007
2993
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3008
2994
  o++, n++;
3009
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Wn(t);
2995
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Xn(t);
3010
2996
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3011
2997
  r += l;
3012
2998
  for (; s-- > 0; )
@@ -3015,7 +3001,7 @@ function zn(e, t) {
3015
3001
  }
3016
3002
  return r;
3017
3003
  }
3018
- function Wn(e) {
3004
+ function Xn(e) {
3019
3005
  var t = e.hourCycle;
3020
3006
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3021
3007
  e.hourCycles && // @ts-ignore
@@ -3034,23 +3020,23 @@ function Wn(e) {
3034
3020
  }
3035
3021
  var r = e.language, n;
3036
3022
  r !== "root" && (n = e.maximize().region);
3037
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3023
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3038
3024
  return i[0];
3039
3025
  }
3040
- var Oe, Zn = new RegExp("^".concat(ir.source, "*")), Qn = new RegExp("".concat(ir.source, "*$"));
3041
- function v(e, t) {
3026
+ var Pe, Wn = new RegExp("^".concat(tr.source, "*")), zn = new RegExp("".concat(tr.source, "*$"));
3027
+ function y(e, t) {
3042
3028
  return { start: e, end: t };
3043
3029
  }
3044
- var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
3030
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3045
3031
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3046
- }, Ve = !0;
3032
+ }, ke = !0;
3047
3033
  try {
3048
- var ii = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3049
- Ve = ((Oe = ii.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3034
+ var ri = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3035
+ ke = ((Pe = ri.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3050
3036
  } catch (e) {
3051
- Ve = !1;
3037
+ ke = !1;
3052
3038
  }
3053
- var Et = Jn ? (
3039
+ var xt = Zn ? (
3054
3040
  // Native
3055
3041
  function(t, r, n) {
3056
3042
  return t.startsWith(r, n);
@@ -3060,7 +3046,7 @@ var Et = Jn ? (
3060
3046
  function(t, r, n) {
3061
3047
  return t.slice(n, n + r.length) === r;
3062
3048
  }
3063
- ), Xe = Yn ? String.fromCodePoint : (
3049
+ ), Ve = Qn ? String.fromCodePoint : (
3064
3050
  // IE11
3065
3051
  function() {
3066
3052
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3072,9 +3058,9 @@ var Et = Jn ? (
3072
3058
  }
3073
3059
  return n;
3074
3060
  }
3075
- ), St = (
3061
+ ), _t = (
3076
3062
  // native
3077
- qn ? Object.fromEntries : (
3063
+ Jn ? Object.fromEntries : (
3078
3064
  // Ponyfill
3079
3065
  function(t) {
3080
3066
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3084,7 +3070,7 @@ var Et = Jn ? (
3084
3070
  return r;
3085
3071
  }
3086
3072
  )
3087
- ), ur = Kn ? (
3073
+ ), or = Yn ? (
3088
3074
  // Native
3089
3075
  function(t, r) {
3090
3076
  return t.codePointAt(r);
@@ -3098,7 +3084,7 @@ var Et = Jn ? (
3098
3084
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3099
3085
  }
3100
3086
  }
3101
- ), oi = ei ? (
3087
+ ), ni = qn ? (
3102
3088
  // Native
3103
3089
  function(t) {
3104
3090
  return t.trimStart();
@@ -3106,9 +3092,9 @@ var Et = Jn ? (
3106
3092
  ) : (
3107
3093
  // Ponyfill
3108
3094
  function(t) {
3109
- return t.replace(Zn, "");
3095
+ return t.replace(Wn, "");
3110
3096
  }
3111
- ), si = ti ? (
3097
+ ), ii = Kn ? (
3112
3098
  // Native
3113
3099
  function(t) {
3114
3100
  return t.trimEnd();
@@ -3116,32 +3102,32 @@ var Et = Jn ? (
3116
3102
  ) : (
3117
3103
  // Ponyfill
3118
3104
  function(t) {
3119
- return t.replace(Qn, "");
3105
+ return t.replace(zn, "");
3120
3106
  }
3121
3107
  );
3122
- function lr(e, t) {
3108
+ function sr(e, t) {
3123
3109
  return new RegExp(e, t);
3124
3110
  }
3125
- var ze;
3126
- if (Ve) {
3127
- var Tt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3128
- ze = function(t, r) {
3111
+ var Xe;
3112
+ if (ke) {
3113
+ var Et = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ Xe = function(t, r) {
3129
3115
  var n;
3130
- Tt.lastIndex = r;
3131
- var i = Tt.exec(t);
3116
+ Et.lastIndex = r;
3117
+ var i = Et.exec(t);
3132
3118
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3133
3119
  };
3134
3120
  } else
3135
- ze = function(t, r) {
3121
+ Xe = function(t, r) {
3136
3122
  for (var n = []; ; ) {
3137
- var i = ur(t, r);
3138
- if (i === void 0 || hr(i) || hi(i))
3123
+ var i = or(t, r);
3124
+ if (i === void 0 || ar(i) || ui(i))
3139
3125
  break;
3140
3126
  n.push(i), r += i >= 65536 ? 2 : 1;
3141
3127
  }
3142
- return Xe.apply(void 0, n);
3128
+ return Ve.apply(void 0, n);
3143
3129
  };
3144
- var ai = (
3130
+ var oi = (
3145
3131
  /** @class */
3146
3132
  function() {
3147
3133
  function e(t, r) {
@@ -3166,12 +3152,12 @@ var ai = (
3166
3152
  var a = this.clonePosition();
3167
3153
  this.bump(), i.push({
3168
3154
  type: E.pound,
3169
- location: v(a, this.clonePosition())
3155
+ location: y(a, this.clonePosition())
3170
3156
  });
3171
3157
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3172
3158
  if (n)
3173
3159
  break;
3174
- return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3160
+ return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3175
3161
  } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3176
3162
  var s = this.parseTag(t, r);
3177
3163
  if (s.err)
@@ -3195,7 +3181,7 @@ var ai = (
3195
3181
  val: {
3196
3182
  type: E.literal,
3197
3183
  value: "<".concat(i, "/>"),
3198
- location: v(n, this.clonePosition())
3184
+ location: y(n, this.clonePosition())
3199
3185
  },
3200
3186
  err: null
3201
3187
  };
@@ -3206,24 +3192,24 @@ var ai = (
3206
3192
  var s = o.val, a = this.clonePosition();
3207
3193
  if (this.bumpIf("</")) {
3208
3194
  if (this.isEOF() || !We(this.char()))
3209
- return this.error(g.INVALID_TAG, v(a, this.clonePosition()));
3195
+ return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3210
3196
  var l = this.clonePosition(), u = this.parseTagName();
3211
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3197
+ return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3212
3198
  val: {
3213
3199
  type: E.tag,
3214
3200
  value: i,
3215
3201
  children: s,
3216
- location: v(n, this.clonePosition())
3202
+ location: y(n, this.clonePosition())
3217
3203
  },
3218
3204
  err: null
3219
- } : this.error(g.INVALID_TAG, v(a, this.clonePosition())));
3205
+ } : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
3220
3206
  } else
3221
- return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
3207
+ return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
3222
3208
  } else
3223
- return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3209
+ return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3224
3210
  }, e.prototype.parseTagName = function() {
3225
3211
  var t = this.offset();
3226
- for (this.bump(); !this.isEOF() && li(this.char()); )
3212
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
3227
3213
  this.bump();
3228
3214
  return this.message.slice(t, this.offset());
3229
3215
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3245,14 +3231,14 @@ var ai = (
3245
3231
  }
3246
3232
  break;
3247
3233
  }
3248
- var l = v(n, this.clonePosition());
3234
+ var l = y(n, this.clonePosition());
3249
3235
  return {
3250
3236
  val: { type: E.literal, value: i, location: l },
3251
3237
  err: null
3252
3238
  };
3253
3239
  }, e.prototype.tryParseLeftAngleBracket = function() {
3254
3240
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3255
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3256
3242
  }, e.prototype.tryParseQuote = function(t) {
3257
3243
  if (this.isEOF() || this.char() !== 39)
3258
3244
  return null;
@@ -3286,23 +3272,23 @@ var ai = (
3286
3272
  r.push(n);
3287
3273
  this.bump();
3288
3274
  }
3289
- return Xe.apply(void 0, r);
3275
+ return Ve.apply(void 0, r);
3290
3276
  }, e.prototype.tryParseUnquoted = function(t, r) {
3291
3277
  if (this.isEOF())
3292
3278
  return null;
3293
3279
  var n = this.char();
3294
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3280
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3295
3281
  }, e.prototype.parseArgument = function(t, r) {
3296
3282
  var n = this.clonePosition();
3297
3283
  if (this.bump(), this.bumpSpace(), this.isEOF())
3298
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3284
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3299
3285
  if (this.char() === 125)
3300
- return this.bump(), this.error(g.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3286
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3301
3287
  var i = this.parseIdentifierIfPossible().value;
3302
3288
  if (!i)
3303
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3289
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3304
3290
  if (this.bumpSpace(), this.isEOF())
3305
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3291
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3306
3292
  switch (this.char()) {
3307
3293
  case 125:
3308
3294
  return this.bump(), {
@@ -3310,25 +3296,25 @@ var ai = (
3310
3296
  type: E.argument,
3311
3297
  // value does not include the opening and closing braces.
3312
3298
  value: i,
3313
- location: v(n, this.clonePosition())
3299
+ location: y(n, this.clonePosition())
3314
3300
  },
3315
3301
  err: null
3316
3302
  };
3317
3303
  case 44:
3318
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3304
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3319
3305
  default:
3320
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3306
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3321
3307
  }
3322
3308
  }, e.prototype.parseIdentifierIfPossible = function() {
3323
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3309
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3324
3310
  this.bumpTo(i);
3325
- var o = this.clonePosition(), s = v(t, o);
3311
+ var o = this.clonePosition(), s = y(t, o);
3326
3312
  return { value: n, location: s };
3327
3313
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3328
3314
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3329
3315
  switch (a) {
3330
3316
  case "":
3331
- return this.error(g.EXPECT_ARGUMENT_TYPE, v(s, l));
3317
+ return this.error(g.EXPECT_ARGUMENT_TYPE, y(s, l));
3332
3318
  case "number":
3333
3319
  case "date":
3334
3320
  case "time": {
@@ -3336,40 +3322,40 @@ var ai = (
3336
3322
  var u = null;
3337
3323
  if (this.bumpIf(",")) {
3338
3324
  this.bumpSpace();
3339
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3340
- if (c.err)
3341
- return c;
3342
- var f = si(c.val);
3343
- if (f.length === 0)
3344
- return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3345
- var m = v(h, this.clonePosition());
3346
- u = { style: f, styleLocation: m };
3325
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3326
+ if (f.err)
3327
+ return f;
3328
+ var c = ii(f.val);
3329
+ if (c.length === 0)
3330
+ return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3331
+ var d = y(h, this.clonePosition());
3332
+ u = { style: c, styleLocation: d };
3347
3333
  }
3348
3334
  var p = this.tryParseArgumentClose(i);
3349
3335
  if (p.err)
3350
3336
  return p;
3351
- var d = v(i, this.clonePosition());
3352
- if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3353
- var A = oi(u.style.slice(2));
3337
+ var m = y(i, this.clonePosition());
3338
+ if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3339
+ var A = ni(u.style.slice(2));
3354
3340
  if (a === "number") {
3355
- var c = this.parseNumberSkeletonFromString(A, u.styleLocation);
3356
- return c.err ? c : {
3357
- val: { type: E.number, value: n, location: d, style: c.val },
3341
+ var f = this.parseNumberSkeletonFromString(A, u.styleLocation);
3342
+ return f.err ? f : {
3343
+ val: { type: E.number, value: n, location: m, style: f.val },
3358
3344
  err: null
3359
3345
  };
3360
3346
  } else {
3361
3347
  if (A.length === 0)
3362
- return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3348
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3363
3349
  var I = A;
3364
- this.locale && (I = zn(A, this.locale));
3365
- var f = {
3350
+ this.locale && (I = Vn(A, this.locale));
3351
+ var c = {
3366
3352
  type: Z.dateTime,
3367
3353
  pattern: I,
3368
3354
  location: u.styleLocation,
3369
- parsedOptions: this.shouldParseSkeletons ? Un(I) : {}
3355
+ parsedOptions: this.shouldParseSkeletons ? $n(I) : {}
3370
3356
  }, C = a === "date" ? E.date : E.time;
3371
3357
  return {
3372
- val: { type: C, value: n, location: d, style: f },
3358
+ val: { type: C, value: n, location: m, style: c },
3373
3359
  err: null
3374
3360
  };
3375
3361
  }
@@ -3378,7 +3364,7 @@ var ai = (
3378
3364
  val: {
3379
3365
  type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3380
3366
  value: n,
3381
- location: d,
3367
+ location: m,
3382
3368
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3383
3369
  },
3384
3370
  err: null
@@ -3387,32 +3373,32 @@ var ai = (
3387
3373
  case "plural":
3388
3374
  case "selectordinal":
3389
3375
  case "select": {
3390
- var S = this.clonePosition();
3376
+ var T = this.clonePosition();
3391
3377
  if (this.bumpSpace(), !this.bumpIf(","))
3392
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, y({}, S)));
3378
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, v({}, T)));
3393
3379
  this.bumpSpace();
3394
- var T = this.parseIdentifierIfPossible(), _ = 0;
3395
- if (a !== "select" && T.value === "offset") {
3380
+ var S = this.parseIdentifierIfPossible(), _ = 0;
3381
+ if (a !== "select" && S.value === "offset") {
3396
3382
  if (!this.bumpIf(":"))
3397
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3383
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3398
3384
  this.bumpSpace();
3399
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3400
- if (c.err)
3401
- return c;
3402
- this.bumpSpace(), T = this.parseIdentifierIfPossible(), _ = c.val;
3385
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3386
+ if (f.err)
3387
+ return f;
3388
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), _ = f.val;
3403
3389
  }
3404
- var x = this.tryParsePluralOrSelectOptions(t, a, r, T);
3390
+ var x = this.tryParsePluralOrSelectOptions(t, a, r, S);
3405
3391
  if (x.err)
3406
3392
  return x;
3407
3393
  var p = this.tryParseArgumentClose(i);
3408
3394
  if (p.err)
3409
3395
  return p;
3410
- var P = v(i, this.clonePosition());
3396
+ var P = y(i, this.clonePosition());
3411
3397
  return a === "select" ? {
3412
3398
  val: {
3413
3399
  type: E.select,
3414
3400
  value: n,
3415
- options: St(x.val),
3401
+ options: _t(x.val),
3416
3402
  location: P
3417
3403
  },
3418
3404
  err: null
@@ -3420,7 +3406,7 @@ var ai = (
3420
3406
  val: {
3421
3407
  type: E.plural,
3422
3408
  value: n,
3423
- options: St(x.val),
3409
+ options: _t(x.val),
3424
3410
  offset: _,
3425
3411
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3426
3412
  location: P
@@ -3429,10 +3415,10 @@ var ai = (
3429
3415
  };
3430
3416
  }
3431
3417
  default:
3432
- return this.error(g.INVALID_ARGUMENT_TYPE, v(s, l));
3418
+ return this.error(g.INVALID_ARGUMENT_TYPE, y(s, l));
3433
3419
  }
3434
3420
  }, e.prototype.tryParseArgumentClose = function(t) {
3435
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3421
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3436
3422
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3437
3423
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3438
3424
  var n = this.char();
@@ -3441,7 +3427,7 @@ var ai = (
3441
3427
  this.bump();
3442
3428
  var i = this.clonePosition();
3443
3429
  if (!this.bumpUntil("'"))
3444
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3430
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3445
3431
  this.bump();
3446
3432
  break;
3447
3433
  }
@@ -3471,7 +3457,7 @@ var ai = (
3471
3457
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3472
3458
  var n = [];
3473
3459
  try {
3474
- n = Fn(t);
3460
+ n = Un(t);
3475
3461
  } catch (i) {
3476
3462
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3477
3463
  }
@@ -3480,43 +3466,43 @@ var ai = (
3480
3466
  type: Z.number,
3481
3467
  tokens: n,
3482
3468
  location: r,
3483
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3469
+ parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3484
3470
  },
3485
3471
  err: null
3486
3472
  };
3487
3473
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3488
3474
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3489
3475
  if (u.length === 0) {
3490
- var c = this.clonePosition();
3476
+ var f = this.clonePosition();
3491
3477
  if (r !== "select" && this.bumpIf("=")) {
3492
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3493
- if (f.err)
3494
- return f;
3495
- h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3478
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3479
+ if (c.err)
3480
+ return c;
3481
+ h = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3496
3482
  } else
3497
3483
  break;
3498
3484
  }
3499
3485
  if (l.has(u))
3500
3486
  return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3501
3487
  u === "other" && (s = !0), this.bumpSpace();
3502
- var m = this.clonePosition();
3488
+ var d = this.clonePosition();
3503
3489
  if (!this.bumpIf("{"))
3504
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3490
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3505
3491
  var p = this.parseMessage(t + 1, r, n);
3506
3492
  if (p.err)
3507
3493
  return p;
3508
- var d = this.tryParseArgumentClose(m);
3509
- if (d.err)
3510
- return d;
3494
+ var m = this.tryParseArgumentClose(d);
3495
+ if (m.err)
3496
+ return m;
3511
3497
  a.push([
3512
3498
  u,
3513
3499
  {
3514
3500
  value: p.val,
3515
- location: v(m, this.clonePosition())
3501
+ location: y(d, this.clonePosition())
3516
3502
  }
3517
3503
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3518
3504
  }
3519
- return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3505
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3520
3506
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3521
3507
  var n = 1, i = this.clonePosition();
3522
3508
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3527,8 +3513,8 @@ var ai = (
3527
3513
  else
3528
3514
  break;
3529
3515
  }
3530
- var l = v(i, this.clonePosition());
3531
- return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3516
+ var l = y(i, this.clonePosition());
3517
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3532
3518
  }, e.prototype.offset = function() {
3533
3519
  return this.position.offset;
3534
3520
  }, e.prototype.isEOF = function() {
@@ -3543,7 +3529,7 @@ var ai = (
3543
3529
  var t = this.position.offset;
3544
3530
  if (t >= this.message.length)
3545
3531
  throw Error("out of bound");
3546
- var r = ur(this.message, t);
3532
+ var r = or(this.message, t);
3547
3533
  if (r === void 0)
3548
3534
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3549
3535
  return r;
@@ -3562,7 +3548,7 @@ var ai = (
3562
3548
  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);
3563
3549
  }
3564
3550
  }, e.prototype.bumpIf = function(t) {
3565
- if (Et(this.message, t, this.offset())) {
3551
+ if (xt(this.message, t, this.offset())) {
3566
3552
  for (var r = 0; r < t.length; r++)
3567
3553
  this.bump();
3568
3554
  return !0;
@@ -3584,7 +3570,7 @@ var ai = (
3584
3570
  break;
3585
3571
  }
3586
3572
  }, e.prototype.bumpSpace = function() {
3587
- for (; !this.isEOF() && hr(this.char()); )
3573
+ for (; !this.isEOF() && ar(this.char()); )
3588
3574
  this.bump();
3589
3575
  }, e.prototype.peek = function() {
3590
3576
  if (this.isEOF())
@@ -3597,34 +3583,34 @@ var ai = (
3597
3583
  function We(e) {
3598
3584
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3599
3585
  }
3600
- function ui(e) {
3586
+ function si(e) {
3601
3587
  return We(e) || e === 47;
3602
3588
  }
3603
- function li(e) {
3589
+ function ai(e) {
3604
3590
  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;
3605
3591
  }
3606
- function hr(e) {
3592
+ function ar(e) {
3607
3593
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3608
3594
  }
3609
- function hi(e) {
3595
+ function ui(e) {
3610
3596
  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;
3611
3597
  }
3612
- function Ze(e) {
3598
+ function ze(e) {
3613
3599
  e.forEach(function(t) {
3614
- if (delete t.location, er(t) || tr(t))
3600
+ if (delete t.location, Yt(t) || qt(t))
3615
3601
  for (var r in t.options)
3616
- delete t.options[r].location, Ze(t.options[r].value);
3617
- else Yt(t) && nr(t.style) || (qt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
3602
+ delete t.options[r].location, ze(t.options[r].value);
3603
+ else Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && je(t.style) ? delete t.style.location : Kt(t) && ze(t.children);
3618
3604
  });
3619
3605
  }
3620
- function ci(e, t) {
3621
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3622
- var r = new ai(e, t).parse();
3606
+ function li(e, t) {
3607
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3608
+ var r = new oi(e, t).parse();
3623
3609
  if (r.err) {
3624
3610
  var n = SyntaxError(g[r.err.kind]);
3625
3611
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3626
3612
  }
3627
- return t != null && t.captureLocation || Ze(r.val), r.val;
3613
+ return t != null && t.captureLocation || ze(r.val), r.val;
3628
3614
  }
3629
3615
  var Q;
3630
3616
  (function(e) {
@@ -3642,7 +3628,7 @@ var Ee = (
3642
3628
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3643
3629
  }, t;
3644
3630
  }(Error)
3645
- ), wt = (
3631
+ ), St = (
3646
3632
  /** @class */
3647
3633
  function(e) {
3648
3634
  G(t, e);
@@ -3651,7 +3637,7 @@ var Ee = (
3651
3637
  }
3652
3638
  return t;
3653
3639
  }(Ee)
3654
- ), fi = (
3640
+ ), hi = (
3655
3641
  /** @class */
3656
3642
  function(e) {
3657
3643
  G(t, e);
@@ -3660,7 +3646,7 @@ var Ee = (
3660
3646
  }
3661
3647
  return t;
3662
3648
  }(Ee)
3663
- ), mi = (
3649
+ ), fi = (
3664
3650
  /** @class */
3665
3651
  function(e) {
3666
3652
  G(t, e);
@@ -3673,17 +3659,17 @@ var Ee = (
3673
3659
  (function(e) {
3674
3660
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3675
3661
  })(B || (B = {}));
3676
- function di(e) {
3662
+ function ci(e) {
3677
3663
  return e.length < 2 ? e : e.reduce(function(t, r) {
3678
3664
  var n = t[t.length - 1];
3679
3665
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3680
3666
  }, []);
3681
3667
  }
3682
- function pi(e) {
3668
+ function di(e) {
3683
3669
  return typeof e == "function";
3684
3670
  }
3685
3671
  function pe(e, t, r, n, i, o, s) {
3686
- if (e.length === 1 && vt(e[0]))
3672
+ if (e.length === 1 && bt(e[0]))
3687
3673
  return [
3688
3674
  {
3689
3675
  type: B.literal,
@@ -3692,59 +3678,59 @@ function pe(e, t, r, n, i, o, s) {
3692
3678
  ];
3693
3679
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3694
3680
  var h = u[l];
3695
- if (vt(h)) {
3681
+ if (bt(h)) {
3696
3682
  a.push({
3697
3683
  type: B.literal,
3698
3684
  value: h.value
3699
3685
  });
3700
3686
  continue;
3701
3687
  }
3702
- if ($n(h)) {
3688
+ if (Ln(h)) {
3703
3689
  typeof o == "number" && a.push({
3704
3690
  type: B.literal,
3705
3691
  value: r.getNumberFormat(t).format(o)
3706
3692
  });
3707
3693
  continue;
3708
3694
  }
3709
- var c = h.value;
3710
- if (!(i && c in i))
3711
- throw new mi(c, s);
3712
- var f = i[c];
3713
- if (Rn(h)) {
3714
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3715
- type: typeof f == "string" ? B.literal : B.object,
3716
- value: f
3695
+ var f = h.value;
3696
+ if (!(i && f in i))
3697
+ throw new fi(f, s);
3698
+ var c = i[f];
3699
+ if (Mn(h)) {
3700
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3701
+ type: typeof c == "string" ? B.literal : B.object,
3702
+ value: c
3717
3703
  });
3718
3704
  continue;
3719
3705
  }
3720
- if (qt(h)) {
3721
- var m = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3706
+ if (Qt(h)) {
3707
+ var d = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3722
3708
  a.push({
3723
3709
  type: B.literal,
3724
- value: r.getDateTimeFormat(t, m).format(f)
3710
+ value: r.getDateTimeFormat(t, d).format(c)
3725
3711
  });
3726
3712
  continue;
3727
3713
  }
3728
- if (Kt(h)) {
3729
- var m = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
3714
+ if (Jt(h)) {
3715
+ var d = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3730
3716
  a.push({
3731
3717
  type: B.literal,
3732
- value: r.getDateTimeFormat(t, m).format(f)
3718
+ value: r.getDateTimeFormat(t, d).format(c)
3733
3719
  });
3734
3720
  continue;
3735
3721
  }
3736
- if (Yt(h)) {
3737
- var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3738
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3722
+ if (Zt(h)) {
3723
+ var d = typeof h.style == "string" ? n.number[h.style] : er(h.style) ? h.style.parsedOptions : void 0;
3724
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3739
3725
  type: B.literal,
3740
- value: r.getNumberFormat(t, m).format(f)
3726
+ value: r.getNumberFormat(t, d).format(c)
3741
3727
  });
3742
3728
  continue;
3743
3729
  }
3744
- if (rr(h)) {
3745
- var p = h.children, d = h.value, A = i[d];
3746
- if (!pi(A))
3747
- throw new fi(d, "function", s);
3730
+ if (Kt(h)) {
3731
+ var p = h.children, m = h.value, A = i[m];
3732
+ if (!di(A))
3733
+ throw new hi(m, "function", s);
3748
3734
  var I = pe(p, t, r, n, i, o), C = A(I.map(function(_) {
3749
3735
  return _.value;
3750
3736
  }));
@@ -3755,42 +3741,42 @@ function pe(e, t, r, n, i, o, s) {
3755
3741
  };
3756
3742
  }));
3757
3743
  }
3758
- if (er(h)) {
3759
- var S = h.options[f] || h.options.other;
3760
- if (!S)
3761
- throw new wt(h.value, f, Object.keys(h.options), s);
3762
- a.push.apply(a, pe(S.value, t, r, n, i));
3744
+ if (Yt(h)) {
3745
+ var T = h.options[c] || h.options.other;
3746
+ if (!T)
3747
+ throw new St(h.value, c, Object.keys(h.options), s);
3748
+ a.push.apply(a, pe(T.value, t, r, n, i));
3763
3749
  continue;
3764
3750
  }
3765
- if (tr(h)) {
3766
- var S = h.options["=".concat(f)];
3767
- if (!S) {
3751
+ if (qt(h)) {
3752
+ var T = h.options["=".concat(c)];
3753
+ if (!T) {
3768
3754
  if (!Intl.PluralRules)
3769
3755
  throw new Ee(`Intl.PluralRules is not available in this environment.
3770
3756
  Try polyfilling it using "@formatjs/intl-pluralrules"
3771
3757
  `, Q.MISSING_INTL_API, s);
3772
- var T = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3773
- S = h.options[T] || h.options.other;
3758
+ var S = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3759
+ T = h.options[S] || h.options.other;
3774
3760
  }
3775
- if (!S)
3776
- throw new wt(h.value, f, Object.keys(h.options), s);
3777
- a.push.apply(a, pe(S.value, t, r, n, i, f - (h.offset || 0)));
3761
+ if (!T)
3762
+ throw new St(h.value, c, Object.keys(h.options), s);
3763
+ a.push.apply(a, pe(T.value, t, r, n, i, c - (h.offset || 0)));
3778
3764
  continue;
3779
3765
  }
3780
3766
  }
3781
- return di(a);
3767
+ return ci(a);
3782
3768
  }
3783
- function bi(e, t) {
3784
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3785
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3769
+ function mi(e, t) {
3770
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3786
3772
  }, {})) : e;
3787
3773
  }
3788
- function gi(e, t) {
3774
+ function pi(e, t) {
3789
3775
  return t ? Object.keys(e).reduce(function(r, n) {
3790
- return r[n] = bi(e[n], t[n]), r;
3791
- }, y({}, e)) : e;
3776
+ return r[n] = mi(e[n], t[n]), r;
3777
+ }, v({}, e)) : e;
3792
3778
  }
3793
- function Ie(e) {
3779
+ function Oe(e) {
3794
3780
  return {
3795
3781
  create: function() {
3796
3782
  return {
@@ -3804,39 +3790,39 @@ function Ie(e) {
3804
3790
  }
3805
3791
  };
3806
3792
  }
3807
- function vi(e) {
3793
+ function bi(e) {
3808
3794
  return e === void 0 && (e = {
3809
3795
  number: {},
3810
3796
  dateTime: {},
3811
3797
  pluralRules: {}
3812
3798
  }), {
3813
- getNumberFormat: Ce(function() {
3799
+ getNumberFormat: Ae(function() {
3814
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3801
  r[n] = arguments[n];
3816
- return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
3802
+ return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3817
3803
  }, {
3818
- cache: Ie(e.number),
3819
- strategy: Pe.variadic
3804
+ cache: Oe(e.number),
3805
+ strategy: Ce.variadic
3820
3806
  }),
3821
- getDateTimeFormat: Ce(function() {
3807
+ getDateTimeFormat: Ae(function() {
3822
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3809
  r[n] = arguments[n];
3824
- return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
3810
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3825
3811
  }, {
3826
- cache: Ie(e.dateTime),
3827
- strategy: Pe.variadic
3812
+ cache: Oe(e.dateTime),
3813
+ strategy: Ce.variadic
3828
3814
  }),
3829
- getPluralRules: Ce(function() {
3815
+ getPluralRules: Ae(function() {
3830
3816
  for (var t, r = [], n = 0; n < arguments.length; n++)
3831
3817
  r[n] = arguments[n];
3832
- return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
3818
+ return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3833
3819
  }, {
3834
- cache: Ie(e.pluralRules),
3835
- strategy: Pe.variadic
3820
+ cache: Oe(e.pluralRules),
3821
+ strategy: Ce.variadic
3836
3822
  })
3837
3823
  };
3838
3824
  }
3839
- var yi = (
3825
+ var gi = (
3840
3826
  /** @class */
3841
3827
  function() {
3842
3828
  function e(t, r, n, i) {
@@ -3850,8 +3836,8 @@ var yi = (
3850
3836
  var u = o.formatToParts(l);
3851
3837
  if (u.length === 1)
3852
3838
  return u[0].value;
3853
- var h = u.reduce(function(c, f) {
3854
- return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3839
+ var h = u.reduce(function(f, c) {
3840
+ return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3855
3841
  }, []);
3856
3842
  return h.length <= 1 ? h[0] || "" : h;
3857
3843
  }, this.formatToParts = function(l) {
@@ -3868,13 +3854,13 @@ var yi = (
3868
3854
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3869
3855
  var s = i || {};
3870
3856
  s.formatters;
3871
- var a = Yr(s, ["formatters"]);
3872
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3857
+ var a = Zr(s, ["formatters"]);
3858
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3873
3859
  } else
3874
3860
  this.ast = t;
3875
3861
  if (!Array.isArray(this.ast))
3876
3862
  throw new TypeError("A message must be provided as a String or AST.");
3877
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3863
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3878
3864
  }
3879
3865
  return Object.defineProperty(e, "defaultLocale", {
3880
3866
  get: function() {
@@ -3887,7 +3873,7 @@ var yi = (
3887
3873
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3888
3874
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3889
3875
  }
3890
- }, e.__parse = ci, e.formats = {
3876
+ }, e.__parse = li, e.formats = {
3891
3877
  number: {
3892
3878
  integer: {
3893
3879
  maximumFractionDigits: 0
@@ -3948,7 +3934,7 @@ var yi = (
3948
3934
  }, e;
3949
3935
  }()
3950
3936
  );
3951
- function xi(e, t) {
3937
+ function yi(e, t) {
3952
3938
  if (t == null)
3953
3939
  return;
3954
3940
  if (t in e)
@@ -3969,92 +3955,92 @@ function xi(e, t) {
3969
3955
  n = void 0;
3970
3956
  return n;
3971
3957
  }
3972
- const U = {}, _i = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), cr = (e, t) => {
3958
+ const U = {}, vi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), ur = (e, t) => {
3973
3959
  if (t == null)
3974
3960
  return;
3975
3961
  if (t in U && e in U[t])
3976
3962
  return U[t][e];
3977
3963
  const r = Se(t);
3978
3964
  for (let n = 0; n < r.length; n++) {
3979
- const i = r[n], o = Si(i, e);
3965
+ const i = r[n], o = _i(i, e);
3980
3966
  if (o)
3981
- return _i(e, t, o);
3967
+ return vi(e, t, o);
3982
3968
  }
3983
3969
  };
3984
- let tt;
3970
+ let Ke;
3985
3971
  const ue = _e({});
3986
- function Ei(e) {
3987
- return tt[e] || null;
3972
+ function xi(e) {
3973
+ return Ke[e] || null;
3988
3974
  }
3989
- function fr(e) {
3990
- return e in tt;
3975
+ function lr(e) {
3976
+ return e in Ke;
3991
3977
  }
3992
- function Si(e, t) {
3993
- if (!fr(e))
3978
+ function _i(e, t) {
3979
+ if (!lr(e))
3994
3980
  return null;
3995
- const r = Ei(e);
3996
- return xi(r, t);
3981
+ const r = xi(e);
3982
+ return yi(r, t);
3997
3983
  }
3998
- function Ti(e) {
3984
+ function Ei(e) {
3999
3985
  if (e == null)
4000
3986
  return;
4001
3987
  const t = Se(e);
4002
3988
  for (let r = 0; r < t.length; r++) {
4003
3989
  const n = t[r];
4004
- if (fr(n))
3990
+ if (lr(n))
4005
3991
  return n;
4006
3992
  }
4007
3993
  }
4008
- function mr(e, ...t) {
4009
- delete U[e], ue.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
3994
+ function hr(e, ...t) {
3995
+ delete U[e], ue.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
4010
3996
  }
4011
3997
  K(
4012
3998
  [ue],
4013
3999
  ([e]) => Object.keys(e)
4014
4000
  );
4015
- ue.subscribe((e) => tt = e);
4001
+ ue.subscribe((e) => Ke = e);
4016
4002
  const be = {};
4017
- function wi(e, t) {
4003
+ function Si(e, t) {
4018
4004
  be[e].delete(t), be[e].size === 0 && delete be[e];
4019
4005
  }
4020
- function dr(e) {
4006
+ function fr(e) {
4021
4007
  return be[e];
4022
4008
  }
4023
- function Hi(e) {
4009
+ function Ti(e) {
4024
4010
  return Se(e).map((t) => {
4025
- const r = dr(t);
4011
+ const r = fr(t);
4026
4012
  return [t, r ? [...r] : []];
4027
4013
  }).filter(([, t]) => t.length > 0);
4028
4014
  }
4029
- function Qe(e) {
4015
+ function Ze(e) {
4030
4016
  return e == null ? !1 : Se(e).some(
4031
4017
  (t) => {
4032
4018
  var r;
4033
- return (r = dr(t)) == null ? void 0 : r.size;
4019
+ return (r = fr(t)) == null ? void 0 : r.size;
4034
4020
  }
4035
4021
  );
4036
4022
  }
4037
- function Bi(e, t) {
4023
+ function wi(e, t) {
4038
4024
  return Promise.all(
4039
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4040
- ).then((n) => mr(e, ...n));
4025
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4026
+ ).then((n) => hr(e, ...n));
4041
4027
  }
4042
4028
  const re = {};
4043
- function pr(e) {
4044
- if (!Qe(e))
4029
+ function cr(e) {
4030
+ if (!Ze(e))
4045
4031
  return e in re ? re[e] : Promise.resolve();
4046
- const t = Hi(e);
4032
+ const t = Ti(e);
4047
4033
  return re[e] = Promise.all(
4048
4034
  t.map(
4049
- ([r, n]) => Bi(r, n)
4035
+ ([r, n]) => wi(r, n)
4050
4036
  )
4051
4037
  ).then(() => {
4052
- if (Qe(e))
4053
- return pr(e);
4038
+ if (Ze(e))
4039
+ return cr(e);
4054
4040
  delete re[e];
4055
4041
  }), re[e];
4056
4042
  }
4057
- const Ai = {
4043
+ const Hi = {
4058
4044
  number: {
4059
4045
  scientific: { notation: "scientific" },
4060
4046
  engineering: { notation: "engineering" },
@@ -4083,57 +4069,57 @@ const Ai = {
4083
4069
  timeZoneName: "short"
4084
4070
  }
4085
4071
  }
4086
- }, Ci = {
4072
+ }, Bi = {
4087
4073
  fallbackLocale: null,
4088
4074
  loadingDelay: 200,
4089
- formats: Ai,
4075
+ formats: Hi,
4090
4076
  warnOnMissingMessages: !0,
4091
4077
  handleMissingMessage: void 0,
4092
4078
  ignoreTag: !0
4093
- }, Pi = Ci;
4079
+ }, Ai = Bi;
4094
4080
  function J() {
4095
- return Pi;
4096
- }
4097
- const Ne = _e(!1);
4098
- var Oi = Object.defineProperty, Ii = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4099
- for (var r in t || (t = {}))
4100
- Mi.call(t, r) && Bt(e, r, t[r]);
4101
- if (Ht)
4102
- for (var r of Ht(t))
4103
- Li.call(t, r) && Bt(e, r, t[r]);
4081
+ return Ai;
4082
+ }
4083
+ const Ie = _e(!1);
4084
+ var Ci = Object.defineProperty, Pi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4085
+ for (var r in t)
4086
+ Ii.call(t, r) && wt(e, r, t[r]);
4087
+ if (Tt)
4088
+ for (var r of Tt(t))
4089
+ Ni.call(t, r) && wt(e, r, t[r]);
4104
4090
  return e;
4105
- }, $i = (e, t) => Ii(e, Ni(t));
4106
- let Je;
4107
- const ve = _e(null);
4108
- function At(e) {
4091
+ }, Li = (e, t) => Pi(e, Oi(t));
4092
+ let Qe;
4093
+ const ye = _e(null);
4094
+ function Ht(e) {
4109
4095
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4110
4096
  }
4111
4097
  function Se(e, t = J().fallbackLocale) {
4112
- const r = At(e);
4113
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4098
+ const r = Ht(e);
4099
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4114
4100
  }
4115
4101
  function D() {
4116
- return Je != null ? Je : void 0;
4102
+ return Qe != null ? Qe : void 0;
4117
4103
  }
4118
- ve.subscribe((e) => {
4119
- Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4104
+ ye.subscribe((e) => {
4105
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4120
4106
  });
4121
- const Gi = (e) => {
4122
- if (e && Ti(e) && Qe(e)) {
4107
+ const Ri = (e) => {
4108
+ if (e && Ei(e) && Ze(e)) {
4123
4109
  const { loadingDelay: t } = J();
4124
4110
  let r;
4125
4111
  return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4126
- () => Ne.set(!0),
4112
+ () => Ie.set(!0),
4127
4113
  t
4128
- ) : Ne.set(!0), pr(e).then(() => {
4129
- ve.set(e);
4114
+ ) : Ie.set(!0), cr(e).then(() => {
4115
+ ye.set(e);
4130
4116
  }).finally(() => {
4131
- clearTimeout(r), Ne.set(!1);
4117
+ clearTimeout(r), Ie.set(!1);
4132
4118
  });
4133
4119
  }
4134
- return ve.set(e);
4135
- }, ee = $i(Ri({}, ve), {
4136
- set: Gi
4120
+ return ye.set(e);
4121
+ }, ee = Li(Mi({}, ye), {
4122
+ set: Ri
4137
4123
  }), Te = (e) => {
4138
4124
  const t = /* @__PURE__ */ Object.create(null);
4139
4125
  return (n) => {
@@ -4141,20 +4127,20 @@ const Gi = (e) => {
4141
4127
  return i in t ? t[i] : t[i] = e(n);
4142
4128
  };
4143
4129
  };
4144
- var Ui = Object.defineProperty, ye = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4130
+ var $i = Object.defineProperty, ve = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4145
4131
  for (var r in t || (t = {}))
4146
- br.call(t, r) && Ct(e, r, t[r]);
4147
- if (ye)
4148
- for (var r of ye(t))
4149
- gr.call(t, r) && Ct(e, r, t[r]);
4132
+ dr.call(t, r) && Bt(e, r, t[r]);
4133
+ if (ve)
4134
+ for (var r of ve(t))
4135
+ mr.call(t, r) && Bt(e, r, t[r]);
4150
4136
  return e;
4151
4137
  }, te = (e, t) => {
4152
4138
  var r = {};
4153
4139
  for (var n in e)
4154
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4155
- if (e != null && ye)
4156
- for (var n of ye(e))
4157
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4140
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
+ if (e != null && ve)
4142
+ for (var n of ve(e))
4143
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4158
4144
  return r;
4159
4145
  };
4160
4146
  const se = (e, t) => {
@@ -4162,21 +4148,21 @@ const se = (e, t) => {
4162
4148
  if (e in r && t in r[e])
4163
4149
  return r[e][t];
4164
4150
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4165
- }, Di = Te(
4151
+ }, Gi = Te(
4166
4152
  (e) => {
4167
4153
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4168
4154
  if (r == null)
4169
4155
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4170
4156
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4171
4157
  }
4172
- ), Fi = Te(
4158
+ ), Ui = Te(
4173
4159
  (e) => {
4174
4160
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4175
4161
  if (r == null)
4176
4162
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4177
4163
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4178
4164
  }
4179
- ), ji = Te(
4165
+ ), Di = Te(
4180
4166
  (e) => {
4181
4167
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4182
4168
  if (r == null)
@@ -4185,33 +4171,33 @@ const se = (e, t) => {
4185
4171
  );
4186
4172
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4187
4173
  }
4188
- ), ki = (e = {}) => {
4174
+ ), Fi = (e = {}) => {
4189
4175
  var t = e, {
4190
4176
  locale: r = D()
4191
4177
  } = t, n = te(t, [
4192
4178
  "locale"
4193
4179
  ]);
4194
- return Di(rt({ locale: r }, n));
4195
- }, Vi = (e = {}) => {
4180
+ return Gi(et({ locale: r }, n));
4181
+ }, ji = (e = {}) => {
4196
4182
  var t = e, {
4197
4183
  locale: r = D()
4198
4184
  } = t, n = te(t, [
4199
4185
  "locale"
4200
4186
  ]);
4201
- return Fi(rt({ locale: r }, n));
4202
- }, Xi = (e = {}) => {
4187
+ return Ui(et({ locale: r }, n));
4188
+ }, ki = (e = {}) => {
4203
4189
  var t = e, {
4204
4190
  locale: r = D()
4205
4191
  } = t, n = te(t, [
4206
4192
  "locale"
4207
4193
  ]);
4208
- return ji(rt({ locale: r }, n));
4209
- }, zi = Te(
4194
+ return Di(et({ locale: r }, n));
4195
+ }, Vi = Te(
4210
4196
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4211
- (e, t = D()) => new yi(e, t, J().formats, {
4197
+ (e, t = D()) => new gi(e, t, J().formats, {
4212
4198
  ignoreTag: J().ignoreTag
4213
4199
  })
4214
- ), Wi = (e, t = {}) => {
4200
+ ), Xi = (e, t = {}) => {
4215
4201
  var r, n, i, o;
4216
4202
  let s = t;
4217
4203
  typeof e == "object" && (s = e, e = s.id);
@@ -4224,7 +4210,7 @@ const se = (e, t) => {
4224
4210
  throw new Error(
4225
4211
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4226
4212
  );
4227
- let h = cr(e, l);
4213
+ let h = ur(e, l);
4228
4214
  if (!h)
4229
4215
  h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4230
4216
  else if (typeof h != "string")
@@ -4233,30 +4219,30 @@ const se = (e, t) => {
4233
4219
  ), h;
4234
4220
  if (!a)
4235
4221
  return h;
4236
- let c = h;
4222
+ let f = h;
4237
4223
  try {
4238
- c = zi(h, l).format(a);
4239
- } catch (f) {
4240
- f instanceof Error && console.warn(
4224
+ f = Vi(h, l).format(a);
4225
+ } catch (c) {
4226
+ c instanceof Error && console.warn(
4241
4227
  `[svelte-i18n] Message "${e}" has syntax error:`,
4242
- f.message
4228
+ c.message
4243
4229
  );
4244
4230
  }
4245
- return c;
4246
- }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Ji = (e, t) => ki(t).format(e), Yi = (e, t = D()) => cr(e, t), qi = K([ee, ue], () => Wi);
4231
+ return f;
4232
+ }, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = D()) => ur(e, t), Ji = K([ee, ue], () => Xi);
4233
+ K([ee], () => Wi);
4234
+ K([ee], () => zi);
4247
4235
  K([ee], () => Zi);
4248
- K([ee], () => Qi);
4249
- K([ee], () => Ji);
4250
- K([ee, ue], () => Yi);
4251
- window.emWidgets = { topic: fn };
4252
- const Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4253
- function Pt(e, t) {
4254
- mr(e, t);
4255
- }
4256
- function eo(e) {
4236
+ K([ee, ue], () => Qi);
4237
+ window.emWidgets = { topic: ln };
4238
+ const Yi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4239
+ function At(e, t) {
4240
+ hr(e, t);
4241
+ }
4242
+ function qi(e) {
4257
4243
  ee.set(e);
4258
4244
  }
4259
- const Ot = {
4245
+ const Ct = {
4260
4246
  en: {
4261
4247
  cancel: "Cancel",
4262
4248
  confirm: "Confirm"
@@ -4302,15 +4288,15 @@ const Ot = {
4302
4288
  confirm: "Confirm"
4303
4289
  }
4304
4290
  };
4305
- function to(e) {
4306
- Nr(e, "svelte-1o81iqe", '*,*::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, 20px);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, 20px)}.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}');
4291
+ function Ki(e) {
4292
+ Pr(e, "svelte-1o81iqe", '*,*::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, 20px);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, 20px)}.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}');
4307
4293
  }
4308
- const ro = (e) => ({}), It = (e) => ({});
4309
- function no(e) {
4294
+ const eo = (e) => ({}), Pt = (e) => ({});
4295
+ function to(e) {
4310
4296
  let t, r;
4311
4297
  return {
4312
4298
  c() {
4313
- t = ut("svg"), r = ut("path"), w(r, "stroke-linecap", "round"), w(r, "stroke-linejoin", "round"), w(r, "stroke-width", "2"), w(r, "d", "M6 18L18 6M6 6l12 12"), w(t, "class", "w-6 h-6"), w(t, "fill", "none"), w(t, "stroke", "currentColor"), w(t, "viewBox", "0 0 24 24"), w(t, "xmlns", "http://www.w3.org/2000/svg");
4299
+ t = st("svg"), r = st("path"), w(r, "stroke-linecap", "round"), w(r, "stroke-linejoin", "round"), w(r, "stroke-width", "2"), w(r, "d", "M6 18L18 6M6 6l12 12"), w(t, "class", "w-6 h-6"), w(t, "fill", "none"), w(t, "stroke", "currentColor"), w(t, "viewBox", "0 0 24 24"), w(t, "xmlns", "http://www.w3.org/2000/svg");
4314
4300
  },
4315
4301
  m(n, i) {
4316
4302
  ae(n, t, i), H(t, r);
@@ -4321,7 +4307,7 @@ function no(e) {
4321
4307
  }
4322
4308
  };
4323
4309
  }
4324
- function Nt(e) {
4310
+ function Ot(e) {
4325
4311
  let t, r, n;
4326
4312
  return {
4327
4313
  c() {
@@ -4346,7 +4332,7 @@ function Nt(e) {
4346
4332
  }
4347
4333
  };
4348
4334
  }
4349
- function Mt(e) {
4335
+ function It(e) {
4350
4336
  let t, r = (
4351
4337
  /*$_*/
4352
4338
  e[4]("cancel") + ""
@@ -4356,7 +4342,7 @@ function Mt(e) {
4356
4342
  t = M("button"), n = ie(r), w(t, "class", "GeneralCancelButton");
4357
4343
  },
4358
4344
  m(s, a) {
4359
- ae(s, t, a), H(t, n), i || (o = Me(
4345
+ ae(s, t, a), H(t, n), i || (o = Ne(
4360
4346
  t,
4361
4347
  "click",
4362
4348
  /*click_handler*/
@@ -4373,112 +4359,112 @@ function Mt(e) {
4373
4359
  }
4374
4360
  };
4375
4361
  }
4376
- function io(e) {
4377
- let t, r, n, i, o, s, a, l, u, h, c, f = (
4362
+ function ro(e) {
4363
+ let t, r, n, i, o, s, a, l, u, h, f, c = (
4378
4364
  /*$_*/
4379
4365
  e[4]("confirm") + ""
4380
- ), m, p, d, A;
4366
+ ), d, p, m, A;
4381
4367
  const I = (
4382
4368
  /*#slots*/
4383
4369
  e[15].close
4384
- ), C = Cr(
4370
+ ), C = Hr(
4385
4371
  I,
4386
4372
  e,
4387
4373
  /*$$scope*/
4388
4374
  e[14],
4389
- It
4390
- ), S = C || no();
4391
- let T = (
4375
+ Pt
4376
+ ), T = C || to();
4377
+ let S = (
4392
4378
  /*modaltitle*/
4393
- e[1] && Nt(e)
4379
+ e[1] && Ot(e)
4394
4380
  ), _ = (
4395
4381
  /*hascancelbutton*/
4396
- e[2] && Mt(e)
4382
+ e[2] && It(e)
4397
4383
  );
4398
4384
  return {
4399
4385
  c() {
4400
- t = M("div"), r = M("div"), n = M("span"), S && S.c(), i = le(), T && T.c(), o = le(), s = M("div"), a = ie(
4386
+ t = M("div"), r = M("div"), n = M("span"), T.c(), i = le(), S && S.c(), o = le(), s = M("div"), a = ie(
4401
4387
  /*modaltext*/
4402
4388
  e[0]
4403
- ), l = le(), u = M("div"), _ && _.c(), h = le(), c = M("button"), m = ie(f), w(n, "class", "ModalCloseBtn"), w(n, "role", "button"), w(s, "class", "GeneralConfirmationContent"), w(c, "class", "GeneralConfirmButton"), w(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4389
+ ), l = le(), u = M("div"), _ && _.c(), h = le(), f = M("button"), d = ie(c), w(n, "class", "ModalCloseBtn"), w(n, "role", "button"), w(s, "class", "GeneralConfirmationContent"), w(f, "class", "GeneralConfirmButton"), w(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4404
4390
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), w(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4405
4391
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), w(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4406
4392
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4407
4393
  },
4408
4394
  m(x, P) {
4409
- ae(x, t, P), H(t, r), H(r, n), S && S.m(n, null), H(r, i), T && T.m(r, null), H(r, o), H(r, s), H(s, a), H(r, l), H(r, u), _ && _.m(u, null), H(u, h), H(u, c), H(c, m), e[18](t), p = !0, d || (A = [
4410
- Me(
4395
+ ae(x, t, P), H(t, r), H(r, n), T.m(n, null), H(r, i), S && S.m(r, null), H(r, o), H(r, s), H(s, a), H(r, l), H(r, u), _ && _.m(u, null), H(u, h), H(u, f), H(f, d), e[18](t), p = !0, m || (A = [
4396
+ Ne(
4411
4397
  n,
4412
4398
  "click",
4413
4399
  /*close*/
4414
4400
  e[6]
4415
4401
  ),
4416
- Me(
4417
- c,
4402
+ Ne(
4403
+ f,
4418
4404
  "click",
4419
4405
  /*click_handler_1*/
4420
4406
  e[17]
4421
4407
  )
4422
- ], d = !0);
4408
+ ], m = !0);
4423
4409
  },
4424
4410
  p(x, [P]) {
4425
4411
  C && C.p && (!p || P & /*$$scope*/
4426
- 16384) && Or(
4412
+ 16384) && Ar(
4427
4413
  C,
4428
4414
  I,
4429
4415
  x,
4430
4416
  /*$$scope*/
4431
4417
  x[14],
4432
- p ? Pr(
4418
+ p ? Br(
4433
4419
  I,
4434
4420
  /*$$scope*/
4435
4421
  x[14],
4436
4422
  P,
4437
- ro
4438
- ) : Ir(
4423
+ eo
4424
+ ) : Cr(
4439
4425
  /*$$scope*/
4440
4426
  x[14]
4441
4427
  ),
4442
- It
4428
+ Pt
4443
4429
  ), /*modaltitle*/
4444
- x[1] ? T ? T.p(x, P) : (T = Nt(x), T.c(), T.m(r, o)) : T && (T.d(1), T = null), (!p || P & /*modaltext*/
4430
+ x[1] ? S ? S.p(x, P) : (S = Ot(x), S.c(), S.m(r, o)) : S && (S.d(1), S = null), (!p || P & /*modaltext*/
4445
4431
  1) && ge(
4446
4432
  a,
4447
4433
  /*modaltext*/
4448
4434
  x[0]
4449
4435
  ), /*hascancelbutton*/
4450
- x[2] ? _ ? _.p(x, P) : (_ = Mt(x), _.c(), _.m(u, h)) : _ && (_.d(1), _ = null), (!p || P & /*$_*/
4451
- 16) && f !== (f = /*$_*/
4452
- x[4]("confirm") + "") && ge(m, f);
4436
+ x[2] ? _ ? _.p(x, P) : (_ = It(x), _.c(), _.m(u, h)) : _ && (_.d(1), _ = null), (!p || P & /*$_*/
4437
+ 16) && c !== (c = /*$_*/
4438
+ x[4]("confirm") + "") && ge(d, c);
4453
4439
  },
4454
4440
  i(x) {
4455
- p || (Ut(S, x), p = !0);
4441
+ p || ($t(T, x), p = !0);
4456
4442
  },
4457
4443
  o(x) {
4458
- kr(S, x), p = !1;
4444
+ Dr(T, x), p = !1;
4459
4445
  },
4460
4446
  d(x) {
4461
- x && q(t), S && S.d(x), T && T.d(), _ && _.d(), e[18](null), d = !1, Y(A);
4447
+ x && q(t), T.d(x), S && S.d(), _ && _.d(), e[18](null), m = !1, Y(A);
4462
4448
  }
4463
4449
  };
4464
4450
  }
4465
- function oo(e, t, r) {
4451
+ function no(e, t, r) {
4466
4452
  let n;
4467
- Ar(e, qi, (b) => r(4, n = b));
4468
- 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, d, A = window.navigator.userAgent, I = Ki(A) !== "PC";
4453
+ wr(e, Ji, (b) => r(4, n = b));
4454
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: p = "" } = t, m, A = window.navigator.userAgent, I = Yi(A) !== "PC";
4469
4455
  const C = () => {
4470
4456
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4471
- }, S = (b) => {
4457
+ }, T = (b) => {
4472
4458
  b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), C();
4473
- }, T = () => {
4459
+ }, S = () => {
4474
4460
  let b = document.createElement("style");
4475
- b.innerHTML = f, d.appendChild(b);
4461
+ b.innerHTML = c, m.appendChild(b);
4476
4462
  }, _ = () => {
4477
- let b = new URL(m), R = document.createElement("style");
4463
+ let b = new URL(d), R = document.createElement("style");
4478
4464
  fetch(b.href).then((F) => F.text()).then((F) => {
4479
4465
  R.innerHTML = F, setTimeout(
4480
4466
  () => {
4481
- d.appendChild(R);
4467
+ m.appendChild(R);
4482
4468
  },
4483
4469
  1
4484
4470
  );
@@ -4486,61 +4472,61 @@ function oo(e, t, r) {
4486
4472
  }, x = () => {
4487
4473
  fetch(p).then((R) => R.json()).then((R) => {
4488
4474
  Object.keys(R).forEach((F) => {
4489
- Pt(F, R[F]);
4475
+ At(F, R[F]);
4490
4476
  });
4491
4477
  }).catch((R) => {
4492
4478
  console.log(R);
4493
4479
  });
4494
4480
  };
4495
- Object.keys(Ot).forEach((b) => {
4496
- Pt(b, Ot[b]);
4481
+ Object.keys(Ct).forEach((b) => {
4482
+ At(b, Ct[b]);
4497
4483
  });
4498
4484
  const P = () => {
4499
- eo(c);
4500
- }, vr = () => S("cancel"), yr = () => S("confirm");
4501
- function xr(b) {
4502
- Le[b ? "unshift" : "push"](() => {
4503
- d = b, r(3, d);
4485
+ qi(f);
4486
+ }, pr = () => T("cancel"), br = () => T("confirm");
4487
+ function gr(b) {
4488
+ Me[b ? "unshift" : "push"](() => {
4489
+ m = b, r(3, m);
4504
4490
  });
4505
4491
  }
4506
4492
  return e.$$set = (b) => {
4507
- "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, p = b.translationurl), "$$scope" in b && r(14, o = b.$$scope);
4493
+ "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, f = b.lang), "clientstyling" in b && r(11, c = b.clientstyling), "clientstylingurl" in b && r(12, d = b.clientstylingurl), "translationurl" in b && r(13, p = b.translationurl), "$$scope" in b && r(14, o = b.$$scope);
4508
4494
  }, e.$$.update = () => {
4509
4495
  e.$$.dirty & /*modaltext, lang*/
4510
- 1025 && s && c && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4511
- 2056 && f && d && T(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4512
- 4104 && m && d && _(), e.$$.dirty & /*translationurl*/
4496
+ 1025 && s && f && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4497
+ 2056 && c && m && S(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4498
+ 4104 && d && m && _(), e.$$.dirty & /*translationurl*/
4513
4499
  8192 && p && x();
4514
4500
  }, [
4515
4501
  s,
4516
4502
  a,
4517
4503
  l,
4518
- d,
4504
+ m,
4519
4505
  n,
4520
4506
  I,
4521
4507
  C,
4522
- S,
4508
+ T,
4523
4509
  u,
4524
4510
  h,
4525
- c,
4526
4511
  f,
4527
- m,
4512
+ c,
4513
+ d,
4528
4514
  p,
4529
4515
  o,
4530
4516
  i,
4531
- vr,
4532
- yr,
4533
- xr
4517
+ pr,
4518
+ br,
4519
+ gr
4534
4520
  ];
4535
4521
  }
4536
- class so extends Qr {
4522
+ class io extends Wr {
4537
4523
  constructor(t) {
4538
- super(), Wr(
4524
+ super(), Vr(
4539
4525
  this,
4540
4526
  t,
4541
- oo,
4542
- io,
4543
- Rt,
4527
+ no,
4528
+ ro,
4529
+ Mt,
4544
4530
  {
4545
4531
  modaltext: 0,
4546
4532
  modaltitle: 1,
@@ -4552,7 +4538,7 @@ class so extends Qr {
4552
4538
  clientstylingurl: 12,
4553
4539
  translationurl: 13
4554
4540
  },
4555
- to
4541
+ Ki
4556
4542
  );
4557
4543
  }
4558
4544
  get modaltext() {
@@ -4610,7 +4596,7 @@ class so extends Qr {
4610
4596
  this.$$set({ translationurl: t }), N();
4611
4597
  }
4612
4598
  }
4613
- Zr(so, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4599
+ Xr(io, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4614
4600
  export {
4615
- so as default
4601
+ io as default
4616
4602
  };