@everymatrix/cashier-header 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- function B() {
1
+ function w() {
2
2
  }
3
- function Yt(e, t) {
3
+ function er(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,53 +8,53 @@ function Yt(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function _t(e) {
11
+ function yt(e) {
12
12
  return e();
13
13
  }
14
- function Ze() {
14
+ function Qe() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function ee(e) {
18
- e.forEach(_t);
17
+ function te(e) {
18
+ e.forEach(yt);
19
19
  }
20
- function ke(e) {
20
+ function Ve(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function yt(e, t) {
23
+ function Et(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function Kt(e) {
26
+ function tr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Et(e, ...t) {
29
+ function xt(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
33
- return B;
33
+ return w;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function er(e, t, r) {
39
- e.$$.on_destroy.push(Et(t, r));
38
+ function rr(e, t, r) {
39
+ e.$$.on_destroy.push(xt(t, r));
40
40
  }
41
- function Ee(e, t, r, n) {
41
+ function xe(e, t, r, n) {
42
42
  if (e) {
43
- const i = xt(e, t, r, n);
43
+ const i = vt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function xt(e, t, r, n) {
48
- return e[1] && n ? Yt(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function vt(e, t, r, n) {
48
+ return e[1] && n ? er(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function xe(e, t, r, n) {
50
+ function ve(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
54
54
  return i;
55
55
  if (typeof i == "object") {
56
- const s = [], u = Math.max(t.dirty.length, i.length);
57
- for (let o = 0; o < u; o += 1)
56
+ const s = [], a = Math.max(t.dirty.length, i.length);
57
+ for (let o = 0; o < a; o += 1)
58
58
  s[o] = t.dirty[o] | i[o];
59
59
  return s;
60
60
  }
@@ -62,13 +62,13 @@ function xe(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function ve(e, t, r, n, i, s) {
65
+ function He(e, t, r, n, i, s) {
66
66
  if (i) {
67
- const u = xt(t, r, n, s);
68
- e.p(u, i);
67
+ const a = vt(t, r, n, s);
68
+ e.p(a, i);
69
69
  }
70
70
  }
71
- function He(e) {
71
+ function we(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -77,17 +77,17 @@ function He(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function fe(e, t) {
80
+ function ce(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function tr(e, t, r) {
84
- const n = rr(e);
83
+ function nr(e, t, r) {
84
+ const n = ir(e);
85
85
  if (!n.getElementById(t)) {
86
- const i = X("style");
87
- i.id = t, i.textContent = r, nr(n, i);
86
+ const i = W("style");
87
+ i.id = t, i.textContent = r, sr(n, i);
88
88
  }
89
89
  }
90
- function rr(e) {
90
+ function ir(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,8 +97,8 @@ function rr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function nr(e, t) {
101
- return fe(
100
+ function sr(e, t) {
101
+ return ce(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
@@ -110,32 +110,32 @@ function I(e, t, r) {
110
110
  function P(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function X(e) {
113
+ function W(e) {
114
114
  return document.createElement(e);
115
115
  }
116
- function Ve(e) {
116
+ function Xe(e) {
117
117
  return document.createTextNode(e);
118
118
  }
119
- function Qe() {
120
- return Ve(" ");
119
+ function Je() {
120
+ return Xe(" ");
121
121
  }
122
- function vt() {
123
- return Ve("");
122
+ function Ht() {
123
+ return Xe("");
124
124
  }
125
- function Ht(e, t, r, n) {
125
+ function wt(e, t, r, n) {
126
126
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
127
127
  }
128
- function te(e, t, r) {
128
+ function re(e, t, r) {
129
129
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
130
130
  }
131
- function ir(e) {
131
+ function or(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function sr(e, t) {
134
+ function ar(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function or(e) {
138
+ function ur(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -144,105 +144,105 @@ function or(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let q;
148
- function J(e) {
149
- q = e;
147
+ let Y;
148
+ function q(e) {
149
+ Y = e;
150
150
  }
151
- function ar() {
152
- if (!q)
151
+ function hr() {
152
+ if (!Y)
153
153
  throw new Error("Function called outside component initialization");
154
- return q;
154
+ return Y;
155
155
  }
156
- function ur(e) {
157
- ar().$$.on_mount.push(e);
156
+ function lr(e) {
157
+ hr().$$.on_mount.push(e);
158
158
  }
159
- const D = [], Le = [];
160
- let G = [];
161
- const Je = [], hr = /* @__PURE__ */ Promise.resolve();
162
- let Ne = !1;
163
- function lr() {
164
- Ne || (Ne = !0, hr.then(T));
159
+ const D = [], Ne = [];
160
+ let F = [];
161
+ const qe = [], fr = /* @__PURE__ */ Promise.resolve();
162
+ let Ie = !1;
163
+ function cr() {
164
+ Ie || (Ie = !0, fr.then(B));
165
165
  }
166
- function Ie(e) {
167
- G.push(e);
166
+ function Me(e) {
167
+ F.push(e);
168
168
  }
169
169
  const Be = /* @__PURE__ */ new Set();
170
- let R = 0;
171
- function T() {
172
- if (R !== 0)
170
+ let $ = 0;
171
+ function B() {
172
+ if ($ !== 0)
173
173
  return;
174
- const e = q;
174
+ const e = Y;
175
175
  do {
176
176
  try {
177
- for (; R < D.length; ) {
178
- const t = D[R];
179
- R++, J(t), fr(t.$$);
177
+ for (; $ < D.length; ) {
178
+ const t = D[$];
179
+ $++, q(t), mr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
- throw D.length = 0, R = 0, t;
182
+ throw D.length = 0, $ = 0, t;
183
183
  }
184
- for (J(null), D.length = 0, R = 0; Le.length; )
185
- Le.pop()();
186
- for (let t = 0; t < G.length; t += 1) {
187
- const r = G[t];
184
+ for (q(null), D.length = 0, $ = 0; Ne.length; )
185
+ Ne.pop()();
186
+ for (let t = 0; t < F.length; t += 1) {
187
+ const r = F[t];
188
188
  Be.has(r) || (Be.add(r), r());
189
189
  }
190
- G.length = 0;
190
+ F.length = 0;
191
191
  } while (D.length);
192
- for (; Je.length; )
193
- Je.pop()();
194
- Ne = !1, Be.clear(), J(e);
192
+ for (; qe.length; )
193
+ qe.pop()();
194
+ Ie = !1, Be.clear(), q(e);
195
195
  }
196
- function fr(e) {
196
+ function mr(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), ee(e.before_update);
198
+ e.update(), te(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
201
201
  }
202
202
  }
203
- function cr(e) {
203
+ function pr(e) {
204
204
  const t = [], r = [];
205
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
205
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
206
206
  }
207
- const oe = /* @__PURE__ */ new Set();
208
- let mr;
209
- function ae(e, t) {
210
- e && e.i && (oe.delete(e), e.i(t));
207
+ const ae = /* @__PURE__ */ new Set();
208
+ let dr;
209
+ function ue(e, t) {
210
+ e && e.i && (ae.delete(e), e.i(t));
211
211
  }
212
- function Te(e, t, r, n) {
212
+ function Se(e, t, r, n) {
213
213
  if (e && e.o) {
214
- if (oe.has(e))
214
+ if (ae.has(e))
215
215
  return;
216
- oe.add(e), mr.c.push(() => {
217
- oe.delete(e);
216
+ ae.add(e), dr.c.push(() => {
217
+ ae.delete(e);
218
218
  }), e.o(t);
219
219
  }
220
220
  }
221
- function pr(e, t, r) {
221
+ function br(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), Ie(() => {
224
- const s = e.$$.on_mount.map(_t).filter(ke);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
226
- }), i.forEach(Ie);
223
+ n && n.m(t, r), Me(() => {
224
+ const s = e.$$.on_mount.map(yt).filter(Ve);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
226
+ }), i.forEach(Me);
227
227
  }
228
- function dr(e, t) {
228
+ function gr(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (cr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (pr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function br(e, t) {
233
- e.$$.dirty[0] === -1 && (D.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function _r(e, t) {
233
+ e.$$.dirty[0] === -1 && (D.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function gr(e, t, r, n, i, s, u = null, o = [-1]) {
236
- const l = q;
237
- J(e);
238
- const a = e.$$ = {
235
+ function yr(e, t, r, n, i, s, a = null, o = [-1]) {
236
+ const l = Y;
237
+ q(e);
238
+ const u = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
241
241
  // state
242
242
  props: s,
243
- update: B,
243
+ update: w,
244
244
  not_equal: i,
245
- bound: Ze(),
245
+ bound: Qe(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,25 +251,25 @@ function gr(e, t, r, n, i, s, u = null, o = [-1]) {
251
251
  after_update: [],
252
252
  context: new Map(t.context || (l ? l.$$.context : [])),
253
253
  // everything else
254
- callbacks: Ze(),
254
+ callbacks: Qe(),
255
255
  dirty: o,
256
256
  skip_bound: !1,
257
257
  root: t.target || l.$$.root
258
258
  };
259
- u && u(a.root);
259
+ a && a(u.root);
260
260
  let h = !1;
261
- if (a.ctx = r ? r(e, t.props || {}, (c, m, ...p) => {
261
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...p) => {
262
262
  const f = p.length ? p[0] : m;
263
- return a.ctx && i(a.ctx[c], a.ctx[c] = f) && (!a.skip_bound && a.bound[c] && a.bound[c](f), h && br(e, c)), m;
264
- }) : [], a.update(), h = !0, ee(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
263
+ return u.ctx && i(u.ctx[c], u.ctx[c] = f) && (!u.skip_bound && u.bound[c] && u.bound[c](f), h && _r(e, c)), m;
264
+ }) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const c = ir(t.target);
267
- a.fragment && a.fragment.l(c), c.forEach(P);
266
+ const c = or(t.target);
267
+ u.fragment && u.fragment.l(c), c.forEach(P);
268
268
  } else
269
- a.fragment && a.fragment.c();
270
- t.intro && ae(e.$$.fragment), pr(e, t.target, t.anchor), T();
269
+ u.fragment && u.fragment.c();
270
+ t.intro && ue(e.$$.fragment), br(e, t.target, t.anchor), B();
271
271
  }
272
- J(l);
272
+ q(l);
273
273
  }
274
274
  let Bt;
275
275
  typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
@@ -314,14 +314,14 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
314
314
  let s;
315
315
  return {
316
316
  c: function() {
317
- s = X("slot"), i !== "default" && te(s, "name", i);
317
+ s = W("slot"), i !== "default" && re(s, "name", i);
318
318
  },
319
319
  /**
320
320
  * @param {HTMLElement} target
321
321
  * @param {HTMLElement} [anchor]
322
322
  */
323
- m: function(l, a) {
324
- I(l, s, a);
323
+ m: function(l, u) {
324
+ I(l, s, u);
325
325
  },
326
326
  d: function(l) {
327
327
  l && P(s);
@@ -331,12 +331,12 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
331
331
  };
332
332
  if (await Promise.resolve(), !this.$$cn || this.$$c)
333
333
  return;
334
- const t = {}, r = or(this);
334
+ const t = {}, r = ur(this);
335
335
  for (const i of this.$$s)
336
336
  i in r && (t[i] = [e(i)]);
337
337
  for (const i of this.attributes) {
338
338
  const s = this.$$g_p(i.name);
339
- s in this.$$d || (this.$$d[s] = ue(s, i.value, this.$$p_d, "toProp"));
339
+ s in this.$$d || (this.$$d[s] = he(s, i.value, this.$$p_d, "toProp"));
340
340
  }
341
341
  for (const i in this.$$p_d)
342
342
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
354
354
  this.$$r = !0;
355
355
  for (const i in this.$$p_d)
356
356
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
357
- const s = ue(
357
+ const s = he(
358
358
  i,
359
359
  this.$$d[i],
360
360
  this.$$p_d,
@@ -367,8 +367,8 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
367
367
  this.$$c.$$.after_update.push(n), n();
368
368
  for (const i in this.$$l)
369
369
  for (const s of this.$$l[i]) {
370
- const u = this.$$c.$on(i, s);
371
- this.$$l_u.set(s, u);
370
+ const a = this.$$c.$on(i, s);
371
+ this.$$l_u.set(s, a);
372
372
  }
373
373
  this.$$l = {};
374
374
  }
@@ -376,7 +376,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
376
376
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
377
377
  // and setting attributes through setAttribute etc, this is helpful
378
378
  attributeChangedCallback(e, t, r) {
379
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ue(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
379
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = he(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
380
380
  }
381
381
  disconnectedCallback() {
382
382
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -389,7 +389,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
389
389
  ) || e;
390
390
  }
391
391
  });
392
- function ue(e, t, r, n) {
392
+ function he(e, t, r, n) {
393
393
  const i = r[e]?.type;
394
394
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
395
395
  return t;
@@ -418,8 +418,8 @@ function ue(e, t, r, n) {
418
418
  return t;
419
419
  }
420
420
  }
421
- function _r(e, t, r, n, i, s) {
422
- let u = class extends Bt {
421
+ function Er(e, t, r, n, i, s) {
422
+ let a = class extends Bt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -430,24 +430,24 @@ function _r(e, t, r, n, i, s) {
430
430
  }
431
431
  };
432
432
  return Object.keys(t).forEach((o) => {
433
- Object.defineProperty(u.prototype, o, {
433
+ Object.defineProperty(a.prototype, o, {
434
434
  get() {
435
435
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
436
436
  },
437
437
  set(l) {
438
- l = ue(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
438
+ l = he(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
439
439
  }
440
440
  });
441
441
  }), n.forEach((o) => {
442
- Object.defineProperty(u.prototype, o, {
442
+ Object.defineProperty(a.prototype, o, {
443
443
  get() {
444
444
  return this.$$c?.[o];
445
445
  }
446
446
  });
447
447
  }), e.element = /** @type {any} */
448
- u, u;
448
+ a, a;
449
449
  }
450
- class yr {
450
+ class xr {
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -466,7 +466,7 @@ class yr {
466
466
  $$set = void 0;
467
467
  /** @returns {void} */
468
468
  $destroy() {
469
- dr(this, 1), this.$destroy = B;
469
+ gr(this, 1), this.$destroy = w;
470
470
  }
471
471
  /**
472
472
  * @template {Extract<keyof Events, string>} K
@@ -475,8 +475,8 @@ class yr {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!ke(r))
479
- return B;
478
+ if (!Ve(r))
479
+ return w;
480
480
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
481
  return n.push(r), () => {
482
482
  const i = n.indexOf(r);
@@ -488,28 +488,28 @@ class yr {
488
488
  * @returns {void}
489
489
  */
490
490
  $set(t) {
491
- this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
+ this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
492
  }
493
493
  }
494
- const Er = "4";
495
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
494
+ const vr = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
496
496
  const U = [];
497
- function xr(e, t) {
497
+ function Hr(e, t) {
498
498
  return {
499
- subscribe: be(e, t).subscribe
499
+ subscribe: ge(e, t).subscribe
500
500
  };
501
501
  }
502
- function be(e, t = B) {
502
+ function ge(e, t = w) {
503
503
  let r;
504
504
  const n = /* @__PURE__ */ new Set();
505
505
  function i(o) {
506
- if (yt(e, o) && (e = o, r)) {
506
+ if (Et(e, o) && (e = o, r)) {
507
507
  const l = !U.length;
508
- for (const a of n)
509
- a[1](), U.push(a, e);
508
+ for (const u of n)
509
+ u[1](), U.push(u, e);
510
510
  if (l) {
511
- for (let a = 0; a < U.length; a += 2)
512
- U[a][0](U[a + 1]);
511
+ for (let u = 0; u < U.length; u += 2)
512
+ U[u][0](U[u + 1]);
513
513
  U.length = 0;
514
514
  }
515
515
  }
@@ -517,34 +517,34 @@ function be(e, t = B) {
517
517
  function s(o) {
518
518
  i(o(e));
519
519
  }
520
- function u(o, l = B) {
521
- const a = [o, l];
522
- return n.add(a), n.size === 1 && (r = t(i, s) || B), o(e), () => {
523
- n.delete(a), n.size === 0 && r && (r(), r = null);
520
+ function a(o, l = w) {
521
+ const u = [o, l];
522
+ return n.add(u), n.size === 1 && (r = t(i, s) || w), o(e), () => {
523
+ n.delete(u), n.size === 0 && r && (r(), r = null);
524
524
  };
525
525
  }
526
- return { set: i, update: s, subscribe: u };
526
+ return { set: i, update: s, subscribe: a };
527
527
  }
528
528
  function z(e, t, r) {
529
529
  const n = !Array.isArray(e), i = n ? [e] : e;
530
530
  if (!i.every(Boolean))
531
531
  throw new Error("derived() expects stores as input, got a falsy value");
532
532
  const s = t.length < 2;
533
- return xr(r, (u, o) => {
533
+ return Hr(r, (a, o) => {
534
534
  let l = !1;
535
- const a = [];
536
- let h = 0, c = B;
535
+ const u = [];
536
+ let h = 0, c = w;
537
537
  const m = () => {
538
538
  if (h)
539
539
  return;
540
540
  c();
541
- const f = t(n ? a[0] : a, u, o);
542
- s ? u(f) : c = ke(f) ? f : B;
541
+ const f = t(n ? u[0] : u, a, o);
542
+ s ? a(f) : c = Ve(f) ? f : w;
543
543
  }, p = i.map(
544
- (f, _) => Et(
544
+ (f, _) => xt(
545
545
  f,
546
546
  (v) => {
547
- a[_] = v, h &= ~(1 << _), l && m();
547
+ u[_] = v, h &= ~(1 << _), l && m();
548
548
  },
549
549
  () => {
550
550
  h |= 1 << _;
@@ -552,112 +552,112 @@ function z(e, t, r) {
552
552
  )
553
553
  );
554
554
  return l = !0, m(), function() {
555
- ee(p), c(), l = !1;
555
+ te(p), c(), l = !1;
556
556
  };
557
557
  });
558
558
  }
559
- function vr(e) {
559
+ function wr(e) {
560
560
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
561
561
  }
562
- var Hr = function(t) {
563
- return Br(t) && !Tr(t);
562
+ var Br = function(t) {
563
+ return Sr(t) && !Tr(t);
564
564
  };
565
- function Br(e) {
565
+ function Sr(e) {
566
566
  return !!e && typeof e == "object";
567
567
  }
568
568
  function Tr(e) {
569
569
  var t = Object.prototype.toString.call(e);
570
- return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
571
- }
572
- var wr = typeof Symbol == "function" && Symbol.for, Sr = wr ? Symbol.for("react.element") : 60103;
573
- function Ar(e) {
574
- return e.$$typeof === Sr;
570
+ return t === "[object RegExp]" || t === "[object Date]" || Or(e);
575
571
  }
572
+ var Ar = typeof Symbol == "function" && Symbol.for, Cr = Ar ? Symbol.for("react.element") : 60103;
576
573
  function Or(e) {
574
+ return e.$$typeof === Cr;
575
+ }
576
+ function Pr(e) {
577
577
  return Array.isArray(e) ? [] : {};
578
578
  }
579
- function Y(e, t) {
580
- return t.clone !== !1 && t.isMergeableObject(e) ? F(Or(e), e, t) : e;
579
+ function K(e, t) {
580
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Pr(e), e, t) : e;
581
581
  }
582
- function Cr(e, t, r) {
582
+ function Lr(e, t, r) {
583
583
  return e.concat(t).map(function(n) {
584
- return Y(n, r);
584
+ return K(n, r);
585
585
  });
586
586
  }
587
- function Pr(e, t) {
587
+ function Nr(e, t) {
588
588
  if (!t.customMerge)
589
- return F;
589
+ return j;
590
590
  var r = t.customMerge(e);
591
- return typeof r == "function" ? r : F;
591
+ return typeof r == "function" ? r : j;
592
592
  }
593
- function Lr(e) {
593
+ function Ir(e) {
594
594
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
595
595
  return Object.propertyIsEnumerable.call(e, t);
596
596
  }) : [];
597
597
  }
598
- function qe(e) {
599
- return Object.keys(e).concat(Lr(e));
598
+ function Ye(e) {
599
+ return Object.keys(e).concat(Ir(e));
600
600
  }
601
- function Tt(e, t) {
601
+ function St(e, t) {
602
602
  try {
603
603
  return t in e;
604
604
  } catch {
605
605
  return !1;
606
606
  }
607
607
  }
608
- function Nr(e, t) {
609
- return Tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
608
+ function Mr(e, t) {
609
+ return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
610
610
  }
611
- function Ir(e, t, r) {
611
+ function Rr(e, t, r) {
612
612
  var n = {};
613
- return r.isMergeableObject(e) && qe(e).forEach(function(i) {
614
- n[i] = Y(e[i], r);
615
- }), qe(t).forEach(function(i) {
616
- Nr(e, i) || (Tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
613
+ return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
614
+ n[i] = K(e[i], r);
615
+ }), Ye(t).forEach(function(i) {
616
+ Mr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
617
617
  }), n;
618
618
  }
619
- function F(e, t, r) {
620
- r = r || {}, r.arrayMerge = r.arrayMerge || Cr, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = Y;
619
+ function j(e, t, r) {
620
+ r = r || {}, r.arrayMerge = r.arrayMerge || Lr, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = K;
621
621
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
622
- return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : Y(t, r);
622
+ return s ? n ? r.arrayMerge(e, t, r) : Rr(e, t, r) : K(t, r);
623
623
  }
624
- F.all = function(t, r) {
624
+ j.all = function(t, r) {
625
625
  if (!Array.isArray(t))
626
626
  throw new Error("first argument should be an array");
627
627
  return t.reduce(function(n, i) {
628
- return F(n, i, r);
628
+ return j(n, i, r);
629
629
  }, {});
630
630
  };
631
- var Mr = F, $r = Mr;
632
- const Rr = /* @__PURE__ */ vr($r);
633
- var Me = function(e, t) {
634
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
+ var $r = j, Ur = $r;
632
+ const Dr = /* @__PURE__ */ wr(Ur);
633
+ var Re = function(e, t) {
634
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
635
635
  r.__proto__ = n;
636
636
  } || function(r, n) {
637
637
  for (var i in n)
638
638
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
639
- }, Me(e, t);
639
+ }, Re(e, t);
640
640
  };
641
- function ge(e, t) {
641
+ function _e(e, t) {
642
642
  if (typeof t != "function" && t !== null)
643
643
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
644
- Me(e, t);
644
+ Re(e, t);
645
645
  function r() {
646
646
  this.constructor = e;
647
647
  }
648
648
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
649
649
  }
650
- var w = function() {
651
- return w = Object.assign || function(t) {
650
+ var S = function() {
651
+ return S = Object.assign || function(t) {
652
652
  for (var r, n = 1, i = arguments.length; n < i; n++) {
653
653
  r = arguments[n];
654
654
  for (var s in r)
655
655
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
656
656
  }
657
657
  return t;
658
- }, w.apply(this, arguments);
658
+ }, S.apply(this, arguments);
659
659
  };
660
- function Ur(e, t) {
660
+ function Gr(e, t) {
661
661
  var r = {};
662
662
  for (var n in e)
663
663
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -666,43 +666,43 @@ function Ur(e, t) {
666
666
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
667
667
  return r;
668
668
  }
669
- function we(e, t, r) {
669
+ function Te(e, t, r) {
670
670
  if (r || arguments.length === 2)
671
671
  for (var n = 0, i = t.length, s; n < i; n++)
672
672
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
673
673
  return e.concat(s || Array.prototype.slice.call(t));
674
674
  }
675
- function Se(e, t) {
676
- var r = t && t.cache ? t.cache : Xr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Fr;
675
+ function Ae(e, t) {
676
+ var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : kr;
677
677
  return i(e, {
678
678
  cache: r,
679
679
  serializer: n
680
680
  });
681
681
  }
682
- function Dr(e) {
682
+ function Fr(e) {
683
683
  return e == null || typeof e == "number" || typeof e == "boolean";
684
684
  }
685
- function Gr(e, t, r, n) {
686
- var i = Dr(n) ? n : r(n), s = t.get(i);
685
+ function jr(e, t, r, n) {
686
+ var i = Fr(n) ? n : r(n), s = t.get(i);
687
687
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
688
688
  }
689
- function wt(e, t, r) {
689
+ function Tt(e, t, r) {
690
690
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
691
691
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
692
692
  }
693
- function St(e, t, r, n, i) {
693
+ function At(e, t, r, n, i) {
694
694
  return r.bind(t, e, n, i);
695
695
  }
696
- function Fr(e, t) {
697
- var r = e.length === 1 ? Gr : wt;
698
- return St(e, this, r, t.cache.create(), t.serializer);
696
+ function kr(e, t) {
697
+ var r = e.length === 1 ? jr : Tt;
698
+ return At(e, this, r, t.cache.create(), t.serializer);
699
699
  }
700
- function jr(e, t) {
701
- return St(e, this, wt, t.cache.create(), t.serializer);
700
+ function Vr(e, t) {
701
+ return At(e, this, Tt, t.cache.create(), t.serializer);
702
702
  }
703
- var kr = function() {
703
+ var Xr = function() {
704
704
  return JSON.stringify(arguments);
705
- }, Vr = (
705
+ }, Wr = (
706
706
  /** @class */
707
707
  function() {
708
708
  function e() {
@@ -714,21 +714,21 @@ var kr = function() {
714
714
  this.cache[t] = r;
715
715
  }, e;
716
716
  }()
717
- ), Xr = {
717
+ ), zr = {
718
718
  create: function() {
719
- return new Vr();
719
+ return new Wr();
720
720
  }
721
- }, Ae = {
722
- variadic: jr
723
- }, ce = function() {
724
- return ce = Object.assign || function(t) {
721
+ }, Ce = {
722
+ variadic: Vr
723
+ }, me = function() {
724
+ return me = Object.assign || function(t) {
725
725
  for (var r, n = 1, i = arguments.length; n < i; n++) {
726
726
  r = arguments[n];
727
727
  for (var s in r)
728
728
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
729
729
  }
730
730
  return t;
731
- }, ce.apply(this, arguments);
731
+ }, me.apply(this, arguments);
732
732
  };
733
733
  var d;
734
734
  (function(e) {
@@ -738,47 +738,47 @@ var y;
738
738
  (function(e) {
739
739
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
740
740
  })(y || (y = {}));
741
- var j;
741
+ var k;
742
742
  (function(e) {
743
743
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
744
- })(j || (j = {}));
745
- function Ye(e) {
744
+ })(k || (k = {}));
745
+ function Ke(e) {
746
746
  return e.type === y.literal;
747
747
  }
748
- function zr(e) {
748
+ function Zr(e) {
749
749
  return e.type === y.argument;
750
750
  }
751
- function At(e) {
751
+ function Ct(e) {
752
752
  return e.type === y.number;
753
753
  }
754
754
  function Ot(e) {
755
755
  return e.type === y.date;
756
756
  }
757
- function Ct(e) {
757
+ function Pt(e) {
758
758
  return e.type === y.time;
759
759
  }
760
- function Pt(e) {
760
+ function Lt(e) {
761
761
  return e.type === y.select;
762
762
  }
763
- function Lt(e) {
763
+ function Nt(e) {
764
764
  return e.type === y.plural;
765
765
  }
766
- function Wr(e) {
766
+ function Qr(e) {
767
767
  return e.type === y.pound;
768
768
  }
769
- function Nt(e) {
769
+ function It(e) {
770
770
  return e.type === y.tag;
771
771
  }
772
- function It(e) {
773
- return !!(e && typeof e == "object" && e.type === j.number);
772
+ function Mt(e) {
773
+ return !!(e && typeof e == "object" && e.type === k.number);
774
774
  }
775
775
  function $e(e) {
776
- return !!(e && typeof e == "object" && e.type === j.dateTime);
776
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
777
777
  }
778
- var Mt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
779
- function Qr(e) {
778
+ var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
779
+ function qr(e) {
780
780
  var t = {};
781
- return e.replace(Zr, function(r) {
781
+ return e.replace(Jr, function(r) {
782
782
  var n = r.length;
783
783
  switch (r[0]) {
784
784
  case "G":
@@ -877,18 +877,18 @@ var E = function() {
877
877
  return t;
878
878
  }, E.apply(this, arguments);
879
879
  };
880
- var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
- function qr(e) {
880
+ var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
+ function Kr(e) {
882
882
  if (e.length === 0)
883
883
  throw new Error("Number skeleton cannot be empty");
884
- for (var t = e.split(Jr).filter(function(m) {
884
+ for (var t = e.split(Yr).filter(function(m) {
885
885
  return m.length > 0;
886
886
  }), r = [], n = 0, i = t; n < i.length; n++) {
887
- var s = i[n], u = s.split("/");
888
- if (u.length === 0)
887
+ var s = i[n], a = s.split("/");
888
+ if (a.length === 0)
889
889
  throw new Error("Invalid number skeleton");
890
- for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
891
- var c = h[a];
890
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
891
+ var c = h[u];
892
892
  if (c.length === 0)
893
893
  throw new Error("Invalid number skeleton");
894
894
  }
@@ -896,17 +896,17 @@ function qr(e) {
896
896
  }
897
897
  return r;
898
898
  }
899
- function Yr(e) {
899
+ function en(e) {
900
900
  return e.replace(/^(.*?)-/, "");
901
901
  }
902
- var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, Kr = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
903
- function et(e) {
902
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
903
+ function tt(e) {
904
904
  var t = {};
905
905
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
906
906
  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)), "";
907
907
  }), t;
908
908
  }
909
- function Ut(e) {
909
+ function Dt(e) {
910
910
  switch (e) {
911
911
  case "sign-auto":
912
912
  return {
@@ -946,7 +946,7 @@ function Ut(e) {
946
946
  };
947
947
  }
948
948
  }
949
- function en(e) {
949
+ function rn(e) {
950
950
  var t;
951
951
  if (e[0] === "E" && e[1] === "E" ? (t = {
952
952
  notation: "engineering"
@@ -954,17 +954,17 @@ function en(e) {
954
954
  notation: "scientific"
955
955
  }, e = e.slice(1)), t) {
956
956
  var r = e.slice(0, 2);
957
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
957
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
958
958
  throw new Error("Malformed concise eng/scientific notation");
959
959
  t.minimumIntegerDigits = e.length;
960
960
  }
961
961
  return t;
962
962
  }
963
- function tt(e) {
964
- var t = {}, r = Ut(e);
963
+ function rt(e) {
964
+ var t = {}, r = Dt(e);
965
965
  return r || t;
966
966
  }
967
- function tn(e) {
967
+ function nn(e) {
968
968
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
969
969
  var i = n[r];
970
970
  switch (i.stem) {
@@ -988,7 +988,7 @@ function tn(e) {
988
988
  continue;
989
989
  case "measure-unit":
990
990
  case "unit":
991
- t.style = "unit", t.unit = Yr(i.options[0]);
991
+ t.style = "unit", t.unit = en(i.options[0]);
992
992
  continue;
993
993
  case "compact-short":
994
994
  case "K":
@@ -999,13 +999,13 @@ function tn(e) {
999
999
  t.notation = "compact", t.compactDisplay = "long";
1000
1000
  continue;
1001
1001
  case "scientific":
1002
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1003
- return E(E({}, l), tt(a));
1002
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1003
+ return E(E({}, l), rt(u));
1004
1004
  }, {}));
1005
1005
  continue;
1006
1006
  case "engineering":
1007
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1008
- return E(E({}, l), tt(a));
1007
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1008
+ return E(E({}, l), rt(u));
1009
1009
  }, {}));
1010
1010
  continue;
1011
1011
  case "notation-simple":
@@ -1050,8 +1050,8 @@ function tn(e) {
1050
1050
  case "integer-width":
1051
1051
  if (i.options.length > 1)
1052
1052
  throw new RangeError("integer-width stems only accept a single optional option");
1053
- i.options[0].replace(Kr, function(l, a, h, c, m, p) {
1054
- if (a)
1053
+ i.options[0].replace(tn, function(l, u, h, c, m, p) {
1054
+ if (u)
1055
1055
  t.minimumIntegerDigits = h.length;
1056
1056
  else {
1057
1057
  if (c && m)
@@ -1063,32 +1063,32 @@ function tn(e) {
1063
1063
  });
1064
1064
  continue;
1065
1065
  }
1066
- if (Rt.test(i.stem)) {
1066
+ if (Ut.test(i.stem)) {
1067
1067
  t.minimumIntegerDigits = i.stem.length;
1068
1068
  continue;
1069
1069
  }
1070
- if (Ke.test(i.stem)) {
1070
+ if (et.test(i.stem)) {
1071
1071
  if (i.options.length > 1)
1072
1072
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1073
- i.stem.replace(Ke, function(l, a, h, c, m, p) {
1074
- return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && p ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1073
+ i.stem.replace(et, function(l, u, h, c, m, p) {
1074
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && p ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1075
1075
  });
1076
1076
  var s = i.options[0];
1077
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), et(s)));
1077
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), tt(s)));
1078
1078
  continue;
1079
1079
  }
1080
1080
  if ($t.test(i.stem)) {
1081
- t = E(E({}, t), et(i.stem));
1081
+ t = E(E({}, t), tt(i.stem));
1082
1082
  continue;
1083
1083
  }
1084
- var u = Ut(i.stem);
1085
- u && (t = E(E({}, t), u));
1086
- var o = en(i.stem);
1084
+ var a = Dt(i.stem);
1085
+ a && (t = E(E({}, t), a));
1086
+ var o = rn(i.stem);
1087
1087
  o && (t = E(E({}, t), o));
1088
1088
  }
1089
1089
  return t;
1090
1090
  }
1091
- var se = {
1091
+ var oe = {
1092
1092
  "001": [
1093
1093
  "H",
1094
1094
  "h"
@@ -2503,23 +2503,23 @@ var se = {
2503
2503
  "h"
2504
2504
  ]
2505
2505
  };
2506
- function rn(e, t) {
2506
+ function sn(e, t) {
2507
2507
  for (var r = "", n = 0; n < e.length; n++) {
2508
2508
  var i = e.charAt(n);
2509
2509
  if (i === "j") {
2510
2510
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2511
2511
  s++, n++;
2512
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = nn(t);
2513
- for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2512
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = on(t);
2513
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2514
2514
  r += l;
2515
- for (; u-- > 0; )
2516
- r = a + r;
2515
+ for (; a-- > 0; )
2516
+ r = u + r;
2517
2517
  } else
2518
2518
  i === "J" ? r += "H" : r += i;
2519
2519
  }
2520
2520
  return r;
2521
2521
  }
2522
- function nn(e) {
2522
+ function on(e) {
2523
2523
  var t = e.hourCycle;
2524
2524
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2525
2525
  e.hourCycles && // @ts-ignore
@@ -2538,23 +2538,23 @@ function nn(e) {
2538
2538
  }
2539
2539
  var r = e.language, n;
2540
2540
  r !== "root" && (n = e.maximize().region);
2541
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2541
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2542
2542
  return i[0];
2543
2543
  }
2544
- var Oe, sn = new RegExp("^".concat(Mt.source, "*")), on = new RegExp("".concat(Mt.source, "*$"));
2544
+ var Oe, an = new RegExp("^".concat(Rt.source, "*")), un = new RegExp("".concat(Rt.source, "*$"));
2545
2545
  function b(e, t) {
2546
2546
  return { start: e, end: t };
2547
2547
  }
2548
- var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, mn = !!Number.isSafeInteger, pn = mn ? Number.isSafeInteger : function(e) {
2548
+ var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ln = !!String.fromCodePoint, fn = !!Object.fromEntries, cn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, bn = dn ? Number.isSafeInteger : function(e) {
2549
2549
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2550
- }, Re = !0;
2550
+ }, Ue = !0;
2551
2551
  try {
2552
- var dn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
- Re = ((Oe = dn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2552
+ var gn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
+ Ue = ((Oe = gn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2554
2554
  } catch {
2555
- Re = !1;
2555
+ Ue = !1;
2556
2556
  }
2557
- var rt = an ? (
2557
+ var nt = hn ? (
2558
2558
  // Native
2559
2559
  function(t, r, n) {
2560
2560
  return t.startsWith(r, n);
@@ -2564,31 +2564,31 @@ var rt = an ? (
2564
2564
  function(t, r, n) {
2565
2565
  return t.slice(n, n + r.length) === r;
2566
2566
  }
2567
- ), Ue = un ? String.fromCodePoint : (
2567
+ ), De = ln ? String.fromCodePoint : (
2568
2568
  // IE11
2569
2569
  function() {
2570
2570
  for (var t = [], r = 0; r < arguments.length; r++)
2571
2571
  t[r] = arguments[r];
2572
- for (var n = "", i = t.length, s = 0, u; i > s; ) {
2573
- if (u = t[s++], u > 1114111)
2574
- throw RangeError(u + " is not a valid code point");
2575
- n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2572
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
2573
+ if (a = t[s++], a > 1114111)
2574
+ throw RangeError(a + " is not a valid code point");
2575
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2576
2576
  }
2577
2577
  return n;
2578
2578
  }
2579
- ), nt = (
2579
+ ), it = (
2580
2580
  // native
2581
- hn ? Object.fromEntries : (
2581
+ fn ? Object.fromEntries : (
2582
2582
  // Ponyfill
2583
2583
  function(t) {
2584
2584
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2585
- var s = i[n], u = s[0], o = s[1];
2586
- r[u] = o;
2585
+ var s = i[n], a = s[0], o = s[1];
2586
+ r[a] = o;
2587
2587
  }
2588
2588
  return r;
2589
2589
  }
2590
2590
  )
2591
- ), Dt = ln ? (
2591
+ ), Gt = cn ? (
2592
2592
  // Native
2593
2593
  function(t, r) {
2594
2594
  return t.codePointAt(r);
@@ -2602,7 +2602,7 @@ var rt = an ? (
2602
2602
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2603
2603
  }
2604
2604
  }
2605
- ), bn = fn ? (
2605
+ ), _n = mn ? (
2606
2606
  // Native
2607
2607
  function(t) {
2608
2608
  return t.trimStart();
@@ -2610,9 +2610,9 @@ var rt = an ? (
2610
2610
  ) : (
2611
2611
  // Ponyfill
2612
2612
  function(t) {
2613
- return t.replace(sn, "");
2613
+ return t.replace(an, "");
2614
2614
  }
2615
- ), gn = cn ? (
2615
+ ), yn = pn ? (
2616
2616
  // Native
2617
2617
  function(t) {
2618
2618
  return t.trimEnd();
@@ -2620,32 +2620,32 @@ var rt = an ? (
2620
2620
  ) : (
2621
2621
  // Ponyfill
2622
2622
  function(t) {
2623
- return t.replace(on, "");
2623
+ return t.replace(un, "");
2624
2624
  }
2625
2625
  );
2626
- function Gt(e, t) {
2626
+ function Ft(e, t) {
2627
2627
  return new RegExp(e, t);
2628
2628
  }
2629
- var De;
2630
- if (Re) {
2631
- var it = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
- De = function(t, r) {
2629
+ var Ge;
2630
+ if (Ue) {
2631
+ var st = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
+ Ge = function(t, r) {
2633
2633
  var n;
2634
- it.lastIndex = r;
2635
- var i = it.exec(t);
2634
+ st.lastIndex = r;
2635
+ var i = st.exec(t);
2636
2636
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2637
2637
  };
2638
2638
  } else
2639
- De = function(t, r) {
2639
+ Ge = function(t, r) {
2640
2640
  for (var n = []; ; ) {
2641
- var i = Dt(t, r);
2642
- if (i === void 0 || Ft(i) || xn(i))
2641
+ var i = Gt(t, r);
2642
+ if (i === void 0 || jt(i) || Hn(i))
2643
2643
  break;
2644
2644
  n.push(i), r += i >= 65536 ? 2 : 1;
2645
2645
  }
2646
- return Ue.apply(void 0, n);
2646
+ return De.apply(void 0, n);
2647
2647
  };
2648
- var _n = (
2648
+ var En = (
2649
2649
  /** @class */
2650
2650
  function() {
2651
2651
  function e(t, r) {
@@ -2659,10 +2659,10 @@ var _n = (
2659
2659
  for (var i = []; !this.isEOF(); ) {
2660
2660
  var s = this.char();
2661
2661
  if (s === 123) {
2662
- var u = this.parseArgument(t, n);
2663
- if (u.err)
2664
- return u;
2665
- i.push(u.val);
2662
+ var a = this.parseArgument(t, n);
2663
+ if (a.err)
2664
+ return a;
2665
+ i.push(a.val);
2666
2666
  } else {
2667
2667
  if (s === 125 && t > 0)
2668
2668
  break;
@@ -2676,16 +2676,16 @@ var _n = (
2676
2676
  if (n)
2677
2677
  break;
2678
2678
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2679
- } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2680
- var u = this.parseTag(t, r);
2681
- if (u.err)
2682
- return u;
2683
- i.push(u.val);
2679
+ } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2680
+ var a = this.parseTag(t, r);
2681
+ if (a.err)
2682
+ return a;
2683
+ i.push(a.val);
2684
2684
  } else {
2685
- var u = this.parseLiteral(t, r);
2686
- if (u.err)
2687
- return u;
2688
- i.push(u.val);
2685
+ var a = this.parseLiteral(t, r);
2686
+ if (a.err)
2687
+ return a;
2688
+ i.push(a.val);
2689
2689
  }
2690
2690
  }
2691
2691
  }
@@ -2707,16 +2707,16 @@ var _n = (
2707
2707
  var s = this.parseMessage(t + 1, r, !0);
2708
2708
  if (s.err)
2709
2709
  return s;
2710
- var u = s.val, o = this.clonePosition();
2710
+ var a = s.val, o = this.clonePosition();
2711
2711
  if (this.bumpIf("</")) {
2712
- if (this.isEOF() || !Ge(this.char()))
2712
+ if (this.isEOF() || !Fe(this.char()))
2713
2713
  return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2714
- var l = this.clonePosition(), a = this.parseTagName();
2715
- return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2714
+ var l = this.clonePosition(), u = this.parseTagName();
2715
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2716
2716
  val: {
2717
2717
  type: y.tag,
2718
2718
  value: i,
2719
- children: u,
2719
+ children: a,
2720
2720
  location: b(n, this.clonePosition())
2721
2721
  },
2722
2722
  err: null
@@ -2727,7 +2727,7 @@ var _n = (
2727
2727
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2728
2728
  }, e.prototype.parseTagName = function() {
2729
2729
  var t = this.offset();
2730
- for (this.bump(); !this.isEOF() && En(this.char()); )
2730
+ for (this.bump(); !this.isEOF() && vn(this.char()); )
2731
2731
  this.bump();
2732
2732
  return this.message.slice(t, this.offset());
2733
2733
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2737,9 +2737,9 @@ var _n = (
2737
2737
  i += s;
2738
2738
  continue;
2739
2739
  }
2740
- var u = this.tryParseUnquoted(t, r);
2741
- if (u) {
2742
- i += u;
2740
+ var a = this.tryParseUnquoted(t, r);
2741
+ if (a) {
2742
+ i += a;
2743
2743
  continue;
2744
2744
  }
2745
2745
  var o = this.tryParseLeftAngleBracket();
@@ -2756,7 +2756,7 @@ var _n = (
2756
2756
  };
2757
2757
  }, e.prototype.tryParseLeftAngleBracket = function() {
2758
2758
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2759
- !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2759
+ !xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2760
2760
  }, e.prototype.tryParseQuote = function(t) {
2761
2761
  if (this.isEOF() || this.char() !== 39)
2762
2762
  return null;
@@ -2790,12 +2790,12 @@ var _n = (
2790
2790
  r.push(n);
2791
2791
  this.bump();
2792
2792
  }
2793
- return Ue.apply(void 0, r);
2793
+ return De.apply(void 0, r);
2794
2794
  }, e.prototype.tryParseUnquoted = function(t, r) {
2795
2795
  if (this.isEOF())
2796
2796
  return null;
2797
2797
  var n = this.char();
2798
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
2798
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
2799
2799
  }, e.prototype.parseArgument = function(t, r) {
2800
2800
  var n = this.clonePosition();
2801
2801
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2824,39 +2824,39 @@ var _n = (
2824
2824
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2825
2825
  }
2826
2826
  }, e.prototype.parseIdentifierIfPossible = function() {
2827
- var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2827
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2828
2828
  this.bumpTo(i);
2829
- var s = this.clonePosition(), u = b(t, s);
2830
- return { value: n, location: u };
2829
+ var s = this.clonePosition(), a = b(t, s);
2830
+ return { value: n, location: a };
2831
2831
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2832
- var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2832
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2833
2833
  switch (o) {
2834
2834
  case "":
2835
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(u, l));
2835
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2836
2836
  case "number":
2837
2837
  case "date":
2838
2838
  case "time": {
2839
2839
  this.bumpSpace();
2840
- var a = null;
2840
+ var u = null;
2841
2841
  if (this.bumpIf(",")) {
2842
2842
  this.bumpSpace();
2843
2843
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2844
2844
  if (c.err)
2845
2845
  return c;
2846
- var m = gn(c.val);
2846
+ var m = yn(c.val);
2847
2847
  if (m.length === 0)
2848
2848
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2849
2849
  var p = b(h, this.clonePosition());
2850
- a = { style: m, styleLocation: p };
2850
+ u = { style: m, styleLocation: p };
2851
2851
  }
2852
2852
  var f = this.tryParseArgumentClose(i);
2853
2853
  if (f.err)
2854
2854
  return f;
2855
2855
  var _ = b(i, this.clonePosition());
2856
- if (a && rt(a?.style, "::", 0)) {
2857
- var v = bn(a.style.slice(2));
2856
+ if (u && nt(u?.style, "::", 0)) {
2857
+ var v = _n(u.style.slice(2));
2858
2858
  if (o === "number") {
2859
- var c = this.parseNumberSkeletonFromString(v, a.styleLocation);
2859
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2860
2860
  return c.err ? c : {
2861
2861
  val: { type: y.number, value: n, location: _, style: c.val },
2862
2862
  err: null
@@ -2864,16 +2864,16 @@ var _n = (
2864
2864
  } else {
2865
2865
  if (v.length === 0)
2866
2866
  return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2867
- var A = v;
2868
- this.locale && (A = rn(v, this.locale));
2867
+ var C = v;
2868
+ this.locale && (C = sn(v, this.locale));
2869
2869
  var m = {
2870
- type: j.dateTime,
2871
- pattern: A,
2872
- location: a.styleLocation,
2873
- parsedOptions: this.shouldParseSkeletons ? Qr(A) : {}
2874
- }, O = o === "date" ? y.date : y.time;
2870
+ type: k.dateTime,
2871
+ pattern: C,
2872
+ location: u.styleLocation,
2873
+ parsedOptions: this.shouldParseSkeletons ? qr(C) : {}
2874
+ }, T = o === "date" ? y.date : y.time;
2875
2875
  return {
2876
- val: { type: O, value: n, location: _, style: m },
2876
+ val: { type: T, value: n, location: _, style: m },
2877
2877
  err: null
2878
2878
  };
2879
2879
  }
@@ -2883,7 +2883,7 @@ var _n = (
2883
2883
  type: o === "number" ? y.number : o === "date" ? y.date : y.time,
2884
2884
  value: n,
2885
2885
  location: _,
2886
- style: (s = a?.style) !== null && s !== void 0 ? s : null
2886
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
2887
2887
  },
2888
2888
  err: null
2889
2889
  };
@@ -2893,9 +2893,9 @@ var _n = (
2893
2893
  case "select": {
2894
2894
  var H = this.clonePosition();
2895
2895
  if (this.bumpSpace(), !this.bumpIf(","))
2896
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, ce({}, H)));
2896
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, me({}, H)));
2897
2897
  this.bumpSpace();
2898
- var N = this.parseIdentifierIfPossible(), S = 0;
2898
+ var N = this.parseIdentifierIfPossible(), A = 0;
2899
2899
  if (o !== "select" && N.value === "offset") {
2900
2900
  if (!this.bumpIf(":"))
2901
2901
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -2903,37 +2903,37 @@ var _n = (
2903
2903
  var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2904
2904
  if (c.err)
2905
2905
  return c;
2906
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = c.val;
2906
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = c.val;
2907
2907
  }
2908
- var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2909
- if ($.err)
2910
- return $;
2908
+ var R = this.tryParsePluralOrSelectOptions(t, o, r, N);
2909
+ if (R.err)
2910
+ return R;
2911
2911
  var f = this.tryParseArgumentClose(i);
2912
2912
  if (f.err)
2913
2913
  return f;
2914
- var ie = b(i, this.clonePosition());
2914
+ var se = b(i, this.clonePosition());
2915
2915
  return o === "select" ? {
2916
2916
  val: {
2917
2917
  type: y.select,
2918
2918
  value: n,
2919
- options: nt($.val),
2920
- location: ie
2919
+ options: it(R.val),
2920
+ location: se
2921
2921
  },
2922
2922
  err: null
2923
2923
  } : {
2924
2924
  val: {
2925
2925
  type: y.plural,
2926
2926
  value: n,
2927
- options: nt($.val),
2928
- offset: S,
2927
+ options: it(R.val),
2928
+ offset: A,
2929
2929
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2930
- location: ie
2930
+ location: se
2931
2931
  },
2932
2932
  err: null
2933
2933
  };
2934
2934
  }
2935
2935
  default:
2936
- return this.error(d.INVALID_ARGUMENT_TYPE, b(u, l));
2936
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2937
2937
  }
2938
2938
  }, e.prototype.tryParseArgumentClose = function(t) {
2939
2939
  return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2975,34 +2975,34 @@ var _n = (
2975
2975
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2976
2976
  var n = [];
2977
2977
  try {
2978
- n = qr(t);
2978
+ n = Kr(t);
2979
2979
  } catch {
2980
2980
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2981
2981
  }
2982
2982
  return {
2983
2983
  val: {
2984
- type: j.number,
2984
+ type: k.number,
2985
2985
  tokens: n,
2986
2986
  location: r,
2987
- parsedOptions: this.shouldParseSkeletons ? tn(n) : {}
2987
+ parsedOptions: this.shouldParseSkeletons ? nn(n) : {}
2988
2988
  },
2989
2989
  err: null
2990
2990
  };
2991
2991
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2992
- for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2993
- if (a.length === 0) {
2992
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2993
+ if (u.length === 0) {
2994
2994
  var c = this.clonePosition();
2995
2995
  if (r !== "select" && this.bumpIf("=")) {
2996
2996
  var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
2997
2997
  if (m.err)
2998
2998
  return m;
2999
- h = b(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2999
+ h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3000
3000
  } else
3001
3001
  break;
3002
3002
  }
3003
- if (l.has(a))
3003
+ if (l.has(u))
3004
3004
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3005
- a === "other" && (u = !0), this.bumpSpace();
3005
+ u === "other" && (a = !0), this.bumpSpace();
3006
3006
  var p = this.clonePosition();
3007
3007
  if (!this.bumpIf("{"))
3008
3008
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
@@ -3013,26 +3013,26 @@ var _n = (
3013
3013
  if (_.err)
3014
3014
  return _;
3015
3015
  o.push([
3016
- a,
3016
+ u,
3017
3017
  {
3018
3018
  value: f.val,
3019
3019
  location: b(p, this.clonePosition())
3020
3020
  }
3021
- ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3021
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3022
3022
  }
3023
- return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3023
+ return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3024
3024
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3025
3025
  var n = 1, i = this.clonePosition();
3026
3026
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3027
- for (var s = !1, u = 0; !this.isEOF(); ) {
3027
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3028
3028
  var o = this.char();
3029
3029
  if (o >= 48 && o <= 57)
3030
- s = !0, u = u * 10 + (o - 48), this.bump();
3030
+ s = !0, a = a * 10 + (o - 48), this.bump();
3031
3031
  else
3032
3032
  break;
3033
3033
  }
3034
3034
  var l = b(i, this.clonePosition());
3035
- return s ? (u *= n, pn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3035
+ return s ? (a *= n, bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3036
3036
  }, e.prototype.offset = function() {
3037
3037
  return this.position.offset;
3038
3038
  }, e.prototype.isEOF = function() {
@@ -3047,7 +3047,7 @@ var _n = (
3047
3047
  var t = this.position.offset;
3048
3048
  if (t >= this.message.length)
3049
3049
  throw Error("out of bound");
3050
- var r = Dt(this.message, t);
3050
+ var r = Gt(this.message, t);
3051
3051
  if (r === void 0)
3052
3052
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3053
3053
  return r;
@@ -3066,7 +3066,7 @@ var _n = (
3066
3066
  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);
3067
3067
  }
3068
3068
  }, e.prototype.bumpIf = function(t) {
3069
- if (rt(this.message, t, this.offset())) {
3069
+ if (nt(this.message, t, this.offset())) {
3070
3070
  for (var r = 0; r < t.length; r++)
3071
3071
  this.bump();
3072
3072
  return !0;
@@ -3088,7 +3088,7 @@ var _n = (
3088
3088
  break;
3089
3089
  }
3090
3090
  }, e.prototype.bumpSpace = function() {
3091
- for (; !this.isEOF() && Ft(this.char()); )
3091
+ for (; !this.isEOF() && jt(this.char()); )
3092
3092
  this.bump();
3093
3093
  }, e.prototype.peek = function() {
3094
3094
  if (this.isEOF())
@@ -3098,47 +3098,47 @@ var _n = (
3098
3098
  }, e;
3099
3099
  }()
3100
3100
  );
3101
- function Ge(e) {
3101
+ function Fe(e) {
3102
3102
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3103
3103
  }
3104
- function yn(e) {
3105
- return Ge(e) || e === 47;
3104
+ function xn(e) {
3105
+ return Fe(e) || e === 47;
3106
3106
  }
3107
- function En(e) {
3107
+ function vn(e) {
3108
3108
  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;
3109
3109
  }
3110
- function Ft(e) {
3110
+ function jt(e) {
3111
3111
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3112
3112
  }
3113
- function xn(e) {
3113
+ function Hn(e) {
3114
3114
  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;
3115
3115
  }
3116
- function Fe(e) {
3116
+ function je(e) {
3117
3117
  e.forEach(function(t) {
3118
- if (delete t.location, Pt(t) || Lt(t))
3118
+ if (delete t.location, Lt(t) || Nt(t))
3119
3119
  for (var r in t.options)
3120
- delete t.options[r].location, Fe(t.options[r].value);
3120
+ delete t.options[r].location, je(t.options[r].value);
3121
3121
  else
3122
- At(t) && It(t.style) || (Ot(t) || Ct(t)) && $e(t.style) ? delete t.style.location : Nt(t) && Fe(t.children);
3122
+ Ct(t) && Mt(t.style) || (Ot(t) || Pt(t)) && $e(t.style) ? delete t.style.location : It(t) && je(t.children);
3123
3123
  });
3124
3124
  }
3125
- function vn(e, t) {
3126
- t === void 0 && (t = {}), t = ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3127
- var r = new _n(e, t).parse();
3125
+ function wn(e, t) {
3126
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3127
+ var r = new En(e, t).parse();
3128
3128
  if (r.err) {
3129
3129
  var n = SyntaxError(d[r.err.kind]);
3130
3130
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3131
3131
  }
3132
- return t?.captureLocation || Fe(r.val), r.val;
3132
+ return t?.captureLocation || je(r.val), r.val;
3133
3133
  }
3134
- var k;
3134
+ var V;
3135
3135
  (function(e) {
3136
3136
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3137
- })(k || (k = {}));
3138
- var _e = (
3137
+ })(V || (V = {}));
3138
+ var ye = (
3139
3139
  /** @class */
3140
3140
  function(e) {
3141
- ge(t, e);
3141
+ _e(t, e);
3142
3142
  function t(r, n, i) {
3143
3143
  var s = e.call(this, r) || this;
3144
3144
  return s.code = n, s.originalMessage = i, s;
@@ -3147,33 +3147,33 @@ var _e = (
3147
3147
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3148
3148
  }, t;
3149
3149
  }(Error)
3150
- ), st = (
3150
+ ), ot = (
3151
3151
  /** @class */
3152
3152
  function(e) {
3153
- ge(t, e);
3153
+ _e(t, e);
3154
3154
  function t(r, n, i, s) {
3155
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3155
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3156
3156
  }
3157
3157
  return t;
3158
- }(_e)
3159
- ), Hn = (
3158
+ }(ye)
3159
+ ), Bn = (
3160
3160
  /** @class */
3161
3161
  function(e) {
3162
- ge(t, e);
3162
+ _e(t, e);
3163
3163
  function t(r, n, i) {
3164
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3164
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3165
3165
  }
3166
3166
  return t;
3167
- }(_e)
3168
- ), Bn = (
3167
+ }(ye)
3168
+ ), Sn = (
3169
3169
  /** @class */
3170
3170
  function(e) {
3171
- ge(t, e);
3171
+ _e(t, e);
3172
3172
  function t(r, n) {
3173
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3173
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3174
3174
  }
3175
3175
  return t;
3176
- }(_e)
3176
+ }(ye)
3177
3177
  ), x;
3178
3178
  (function(e) {
3179
3179
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3184,27 +3184,27 @@ function Tn(e) {
3184
3184
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3185
3185
  }, []);
3186
3186
  }
3187
- function wn(e) {
3187
+ function An(e) {
3188
3188
  return typeof e == "function";
3189
3189
  }
3190
- function he(e, t, r, n, i, s, u) {
3191
- if (e.length === 1 && Ye(e[0]))
3190
+ function le(e, t, r, n, i, s, a) {
3191
+ if (e.length === 1 && Ke(e[0]))
3192
3192
  return [
3193
3193
  {
3194
3194
  type: x.literal,
3195
3195
  value: e[0].value
3196
3196
  }
3197
3197
  ];
3198
- for (var o = [], l = 0, a = e; l < a.length; l++) {
3199
- var h = a[l];
3200
- if (Ye(h)) {
3198
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3199
+ var h = u[l];
3200
+ if (Ke(h)) {
3201
3201
  o.push({
3202
3202
  type: x.literal,
3203
3203
  value: h.value
3204
3204
  });
3205
3205
  continue;
3206
3206
  }
3207
- if (Wr(h)) {
3207
+ if (Qr(h)) {
3208
3208
  typeof s == "number" && o.push({
3209
3209
  type: x.literal,
3210
3210
  value: r.getNumberFormat(t).format(s)
@@ -3213,9 +3213,9 @@ function he(e, t, r, n, i, s, u) {
3213
3213
  }
3214
3214
  var c = h.value;
3215
3215
  if (!(i && c in i))
3216
- throw new Bn(c, u);
3216
+ throw new Sn(c, a);
3217
3217
  var m = i[c];
3218
- if (zr(h)) {
3218
+ if (Zr(h)) {
3219
3219
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3220
3220
  type: typeof m == "string" ? x.literal : x.object,
3221
3221
  value: m
@@ -3230,7 +3230,7 @@ function he(e, t, r, n, i, s, u) {
3230
3230
  });
3231
3231
  continue;
3232
3232
  }
3233
- if (Ct(h)) {
3233
+ if (Pt(h)) {
3234
3234
  var p = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3235
3235
  o.push({
3236
3236
  type: x.literal,
@@ -3238,64 +3238,64 @@ function he(e, t, r, n, i, s, u) {
3238
3238
  });
3239
3239
  continue;
3240
3240
  }
3241
- if (At(h)) {
3242
- var p = typeof h.style == "string" ? n.number[h.style] : It(h.style) ? h.style.parsedOptions : void 0;
3241
+ if (Ct(h)) {
3242
+ var p = typeof h.style == "string" ? n.number[h.style] : Mt(h.style) ? h.style.parsedOptions : void 0;
3243
3243
  p && p.scale && (m = m * (p.scale || 1)), o.push({
3244
3244
  type: x.literal,
3245
3245
  value: r.getNumberFormat(t, p).format(m)
3246
3246
  });
3247
3247
  continue;
3248
3248
  }
3249
- if (Nt(h)) {
3249
+ if (It(h)) {
3250
3250
  var f = h.children, _ = h.value, v = i[_];
3251
- if (!wn(v))
3252
- throw new Hn(_, "function", u);
3253
- var A = he(f, t, r, n, i, s), O = v(A.map(function(S) {
3254
- return S.value;
3251
+ if (!An(v))
3252
+ throw new Bn(_, "function", a);
3253
+ var C = le(f, t, r, n, i, s), T = v(C.map(function(A) {
3254
+ return A.value;
3255
3255
  }));
3256
- Array.isArray(O) || (O = [O]), o.push.apply(o, O.map(function(S) {
3256
+ Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(A) {
3257
3257
  return {
3258
- type: typeof S == "string" ? x.literal : x.object,
3259
- value: S
3258
+ type: typeof A == "string" ? x.literal : x.object,
3259
+ value: A
3260
3260
  };
3261
3261
  }));
3262
3262
  }
3263
- if (Pt(h)) {
3263
+ if (Lt(h)) {
3264
3264
  var H = h.options[m] || h.options.other;
3265
3265
  if (!H)
3266
- throw new st(h.value, m, Object.keys(h.options), u);
3267
- o.push.apply(o, he(H.value, t, r, n, i));
3266
+ throw new ot(h.value, m, Object.keys(h.options), a);
3267
+ o.push.apply(o, le(H.value, t, r, n, i));
3268
3268
  continue;
3269
3269
  }
3270
- if (Lt(h)) {
3270
+ if (Nt(h)) {
3271
3271
  var H = h.options["=".concat(m)];
3272
3272
  if (!H) {
3273
3273
  if (!Intl.PluralRules)
3274
- throw new _e(`Intl.PluralRules is not available in this environment.
3274
+ throw new ye(`Intl.PluralRules is not available in this environment.
3275
3275
  Try polyfilling it using "@formatjs/intl-pluralrules"
3276
- `, k.MISSING_INTL_API, u);
3276
+ `, V.MISSING_INTL_API, a);
3277
3277
  var N = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3278
3278
  H = h.options[N] || h.options.other;
3279
3279
  }
3280
3280
  if (!H)
3281
- throw new st(h.value, m, Object.keys(h.options), u);
3282
- o.push.apply(o, he(H.value, t, r, n, i, m - (h.offset || 0)));
3281
+ throw new ot(h.value, m, Object.keys(h.options), a);
3282
+ o.push.apply(o, le(H.value, t, r, n, i, m - (h.offset || 0)));
3283
3283
  continue;
3284
3284
  }
3285
3285
  }
3286
3286
  return Tn(o);
3287
3287
  }
3288
- function Sn(e, t) {
3289
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3290
- return r[n] = w(w({}, e[n]), t[n] || {}), r;
3288
+ function Cn(e, t) {
3289
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3290
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3291
3291
  }, {})) : e;
3292
3292
  }
3293
- function An(e, t) {
3293
+ function On(e, t) {
3294
3294
  return t ? Object.keys(e).reduce(function(r, n) {
3295
- return r[n] = Sn(e[n], t[n]), r;
3296
- }, w({}, e)) : e;
3295
+ return r[n] = Cn(e[n], t[n]), r;
3296
+ }, S({}, e)) : e;
3297
3297
  }
3298
- function Ce(e) {
3298
+ function Pe(e) {
3299
3299
  return {
3300
3300
  create: function() {
3301
3301
  return {
@@ -3309,39 +3309,39 @@ function Ce(e) {
3309
3309
  }
3310
3310
  };
3311
3311
  }
3312
- function On(e) {
3312
+ function Pn(e) {
3313
3313
  return e === void 0 && (e = {
3314
3314
  number: {},
3315
3315
  dateTime: {},
3316
3316
  pluralRules: {}
3317
3317
  }), {
3318
- getNumberFormat: Se(function() {
3318
+ getNumberFormat: Ae(function() {
3319
3319
  for (var t, r = [], n = 0; n < arguments.length; n++)
3320
3320
  r[n] = arguments[n];
3321
- return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3321
+ return new ((t = Intl.NumberFormat).bind.apply(t, Te([void 0], r, !1)))();
3322
3322
  }, {
3323
- cache: Ce(e.number),
3324
- strategy: Ae.variadic
3323
+ cache: Pe(e.number),
3324
+ strategy: Ce.variadic
3325
3325
  }),
3326
- getDateTimeFormat: Se(function() {
3326
+ getDateTimeFormat: Ae(function() {
3327
3327
  for (var t, r = [], n = 0; n < arguments.length; n++)
3328
3328
  r[n] = arguments[n];
3329
- return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3329
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Te([void 0], r, !1)))();
3330
3330
  }, {
3331
- cache: Ce(e.dateTime),
3332
- strategy: Ae.variadic
3331
+ cache: Pe(e.dateTime),
3332
+ strategy: Ce.variadic
3333
3333
  }),
3334
- getPluralRules: Se(function() {
3334
+ getPluralRules: Ae(function() {
3335
3335
  for (var t, r = [], n = 0; n < arguments.length; n++)
3336
3336
  r[n] = arguments[n];
3337
- return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3337
+ return new ((t = Intl.PluralRules).bind.apply(t, Te([void 0], r, !1)))();
3338
3338
  }, {
3339
- cache: Ce(e.pluralRules),
3340
- strategy: Ae.variadic
3339
+ cache: Pe(e.pluralRules),
3340
+ strategy: Ce.variadic
3341
3341
  })
3342
3342
  };
3343
3343
  }
3344
- var jt = (
3344
+ var kt = (
3345
3345
  /** @class */
3346
3346
  function() {
3347
3347
  function e(t, r, n, i) {
@@ -3352,15 +3352,15 @@ var jt = (
3352
3352
  dateTime: {},
3353
3353
  pluralRules: {}
3354
3354
  }, this.format = function(l) {
3355
- var a = s.formatToParts(l);
3356
- if (a.length === 1)
3357
- return a[0].value;
3358
- var h = a.reduce(function(c, m) {
3355
+ var u = s.formatToParts(l);
3356
+ if (u.length === 1)
3357
+ return u[0].value;
3358
+ var h = u.reduce(function(c, m) {
3359
3359
  return !c.length || m.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3360
3360
  }, []);
3361
3361
  return h.length <= 1 ? h[0] || "" : h;
3362
3362
  }, this.formatToParts = function(l) {
3363
- return he(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3363
+ return le(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3364
3364
  }, this.resolvedOptions = function() {
3365
3365
  var l;
3366
3366
  return {
@@ -3371,15 +3371,15 @@ var jt = (
3371
3371
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3372
3372
  if (this.message = t, !e.__parse)
3373
3373
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3374
- var u = i || {};
3375
- u.formatters;
3376
- var o = Ur(u, ["formatters"]);
3377
- this.ast = e.__parse(t, w(w({}, o), { locale: this.resolvedLocale }));
3374
+ var a = i || {};
3375
+ a.formatters;
3376
+ var o = Gr(a, ["formatters"]);
3377
+ this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3378
3378
  } else
3379
3379
  this.ast = t;
3380
3380
  if (!Array.isArray(this.ast))
3381
3381
  throw new TypeError("A message must be provided as a String or AST.");
3382
- this.formats = An(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3382
+ this.formats = On(e.formats, n), this.formatters = i && i.formatters || Pn(this.formatterCache);
3383
3383
  }
3384
3384
  return Object.defineProperty(e, "defaultLocale", {
3385
3385
  get: function() {
@@ -3392,7 +3392,7 @@ var jt = (
3392
3392
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3393
3393
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3394
3394
  }
3395
- }, e.__parse = vn, e.formats = {
3395
+ }, e.__parse = wn, e.formats = {
3396
3396
  number: {
3397
3397
  integer: {
3398
3398
  maximumFractionDigits: 0
@@ -3453,7 +3453,7 @@ var jt = (
3453
3453
  }, e;
3454
3454
  }()
3455
3455
  );
3456
- function Cn(e, t) {
3456
+ function Ln(e, t) {
3457
3457
  if (t == null)
3458
3458
  return;
3459
3459
  if (t in e)
@@ -3474,101 +3474,101 @@ function Cn(e, t) {
3474
3474
  n = void 0;
3475
3475
  return n;
3476
3476
  }
3477
- const C = {}, Pn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), kt = (e, t) => {
3477
+ const O = {}, Nn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Vt = (e, t) => {
3478
3478
  if (t == null)
3479
3479
  return;
3480
- if (t in C && e in C[t])
3481
- return C[t][e];
3482
- const r = ne(t);
3480
+ if (t in O && e in O[t])
3481
+ return O[t][e];
3482
+ const r = ie(t);
3483
3483
  for (let n = 0; n < r.length; n++) {
3484
- const i = r[n], s = Nn(i, e);
3484
+ const i = r[n], s = Mn(i, e);
3485
3485
  if (s)
3486
- return Pn(e, t, s);
3486
+ return Nn(e, t, s);
3487
3487
  }
3488
3488
  };
3489
- let Xe;
3490
- const re = be({});
3491
- function Ln(e) {
3492
- return Xe[e] || null;
3489
+ let We;
3490
+ const ne = ge({});
3491
+ function In(e) {
3492
+ return We[e] || null;
3493
3493
  }
3494
- function Vt(e) {
3495
- return e in Xe;
3494
+ function Xt(e) {
3495
+ return e in We;
3496
3496
  }
3497
- function Nn(e, t) {
3498
- if (!Vt(e))
3497
+ function Mn(e, t) {
3498
+ if (!Xt(e))
3499
3499
  return null;
3500
- const r = Ln(e);
3501
- return Cn(r, t);
3500
+ const r = In(e);
3501
+ return Ln(r, t);
3502
3502
  }
3503
- function In(e) {
3503
+ function Rn(e) {
3504
3504
  if (e == null)
3505
3505
  return;
3506
- const t = ne(e);
3506
+ const t = ie(e);
3507
3507
  for (let r = 0; r < t.length; r++) {
3508
3508
  const n = t[r];
3509
- if (Vt(n))
3509
+ if (Xt(n))
3510
3510
  return n;
3511
3511
  }
3512
3512
  }
3513
- function Xt(e, ...t) {
3514
- delete C[e], re.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3513
+ function Wt(e, ...t) {
3514
+ delete O[e], ne.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3515
3515
  }
3516
3516
  z(
3517
- [re],
3517
+ [ne],
3518
3518
  ([e]) => Object.keys(e)
3519
3519
  );
3520
- re.subscribe((e) => Xe = e);
3521
- const le = {};
3522
- function Mn(e, t) {
3523
- le[e].delete(t), le[e].size === 0 && delete le[e];
3520
+ ne.subscribe((e) => We = e);
3521
+ const fe = {};
3522
+ function $n(e, t) {
3523
+ fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3524
3524
  }
3525
3525
  function zt(e) {
3526
- return le[e];
3526
+ return fe[e];
3527
3527
  }
3528
- function $n(e) {
3529
- return ne(e).map((t) => {
3528
+ function Un(e) {
3529
+ return ie(e).map((t) => {
3530
3530
  const r = zt(t);
3531
3531
  return [t, r ? [...r] : []];
3532
3532
  }).filter(([, t]) => t.length > 0);
3533
3533
  }
3534
- function me(e) {
3535
- return e == null ? !1 : ne(e).some(
3534
+ function pe(e) {
3535
+ return e == null ? !1 : ie(e).some(
3536
3536
  (t) => {
3537
3537
  var r;
3538
3538
  return (r = zt(t)) == null ? void 0 : r.size;
3539
3539
  }
3540
3540
  );
3541
3541
  }
3542
- function Rn(e, t) {
3542
+ function Dn(e, t) {
3543
3543
  return Promise.all(
3544
- t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3545
- ).then((n) => Xt(e, ...n));
3546
- }
3547
- const Z = {};
3548
- function Wt(e) {
3549
- if (!me(e))
3550
- return e in Z ? Z[e] : Promise.resolve();
3551
- const t = $n(e);
3552
- return Z[e] = Promise.all(
3544
+ t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3545
+ ).then((n) => Wt(e, ...n));
3546
+ }
3547
+ const Q = {};
3548
+ function Zt(e) {
3549
+ if (!pe(e))
3550
+ return e in Q ? Q[e] : Promise.resolve();
3551
+ const t = Un(e);
3552
+ return Q[e] = Promise.all(
3553
3553
  t.map(
3554
- ([r, n]) => Rn(r, n)
3554
+ ([r, n]) => Dn(r, n)
3555
3555
  )
3556
3556
  ).then(() => {
3557
- if (me(e))
3558
- return Wt(e);
3559
- delete Z[e];
3560
- }), Z[e];
3557
+ if (pe(e))
3558
+ return Zt(e);
3559
+ delete Q[e];
3560
+ }), Q[e];
3561
3561
  }
3562
- var ot = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, Gn = (e, t) => {
3562
+ var at = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, jn = (e, t) => {
3563
3563
  var r = {};
3564
3564
  for (var n in e)
3565
- Un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3566
- if (e != null && ot)
3567
- for (var n of ot(e))
3568
- t.indexOf(n) < 0 && Dn.call(e, n) && (r[n] = e[n]);
3565
+ Gn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3566
+ if (e != null && at)
3567
+ for (var n of at(e))
3568
+ t.indexOf(n) < 0 && Fn.call(e, n) && (r[n] = e[n]);
3569
3569
  return r;
3570
3570
  };
3571
- const Fn = {
3571
+ const kn = {
3572
3572
  number: {
3573
3573
  scientific: { notation: "scientific" },
3574
3574
  engineering: { notation: "engineering" },
@@ -3598,174 +3598,174 @@ const Fn = {
3598
3598
  }
3599
3599
  }
3600
3600
  };
3601
- function jn({ locale: e, id: t }) {
3601
+ function Vn({ locale: e, id: t }) {
3602
3602
  console.warn(
3603
- `[svelte-i18n] The message "${t}" was not found in "${ne(
3603
+ `[svelte-i18n] The message "${t}" was not found in "${ie(
3604
3604
  e
3605
- ).join('", "')}".${me(L()) ? `
3605
+ ).join('", "')}".${pe(L()) ? `
3606
3606
 
3607
3607
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3608
3608
  );
3609
3609
  }
3610
- const kn = {
3610
+ const Xn = {
3611
3611
  fallbackLocale: null,
3612
3612
  loadingDelay: 200,
3613
- formats: Fn,
3613
+ formats: kn,
3614
3614
  warnOnMissingMessages: !0,
3615
3615
  handleMissingMessage: void 0,
3616
3616
  ignoreTag: !0
3617
- }, Q = kn;
3618
- function V() {
3619
- return Q;
3617
+ }, J = Xn;
3618
+ function X() {
3619
+ return J;
3620
3620
  }
3621
- function Vn(e) {
3622
- const t = e, { formats: r } = t, n = Gn(t, ["formats"]);
3621
+ function Wn(e) {
3622
+ const t = e, { formats: r } = t, n = jn(t, ["formats"]);
3623
3623
  let i = e.fallbackLocale;
3624
3624
  if (e.initialLocale)
3625
3625
  try {
3626
- jt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3626
+ kt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3627
3627
  } catch {
3628
3628
  console.warn(
3629
3629
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3630
3630
  );
3631
3631
  }
3632
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = jn : console.warn(
3632
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Vn : console.warn(
3633
3633
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3634
- )), Object.assign(Q, n, { initialLocale: i }), r && ("number" in r && Object.assign(Q.formats.number, r.number), "date" in r && Object.assign(Q.formats.date, r.date), "time" in r && Object.assign(Q.formats.time, r.time)), M.set(i);
3634
+ )), Object.assign(J, n, { initialLocale: i }), r && ("number" in r && Object.assign(J.formats.number, r.number), "date" in r && Object.assign(J.formats.date, r.date), "time" in r && Object.assign(J.formats.time, r.time)), M.set(i);
3635
3635
  }
3636
- const Pe = be(!1);
3637
- var Xn = Object.defineProperty, zn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
3636
+ const Le = ge(!1);
3637
+ var zn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3638
3638
  for (var r in t || (t = {}))
3639
- Zn.call(t, r) && ut(e, r, t[r]);
3640
- if (at)
3641
- for (var r of at(t))
3642
- Qn.call(t, r) && ut(e, r, t[r]);
3639
+ Jn.call(t, r) && ht(e, r, t[r]);
3640
+ if (ut)
3641
+ for (var r of ut(t))
3642
+ qn.call(t, r) && ht(e, r, t[r]);
3643
3643
  return e;
3644
- }, qn = (e, t) => zn(e, Wn(t));
3645
- let je;
3646
- const pe = be(null);
3647
- function ht(e) {
3644
+ }, Kn = (e, t) => Zn(e, Qn(t));
3645
+ let ke;
3646
+ const de = ge(null);
3647
+ function lt(e) {
3648
3648
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3649
3649
  }
3650
- function ne(e, t = V().fallbackLocale) {
3651
- const r = ht(e);
3652
- return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3650
+ function ie(e, t = X().fallbackLocale) {
3651
+ const r = lt(e);
3652
+ return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3653
3653
  }
3654
3654
  function L() {
3655
- return je ?? void 0;
3655
+ return ke ?? void 0;
3656
3656
  }
3657
- pe.subscribe((e) => {
3658
- je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3657
+ de.subscribe((e) => {
3658
+ ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3659
3659
  });
3660
- const Yn = (e) => {
3661
- if (e && In(e) && me(e)) {
3662
- const { loadingDelay: t } = V();
3660
+ const ei = (e) => {
3661
+ if (e && Rn(e) && pe(e)) {
3662
+ const { loadingDelay: t } = X();
3663
3663
  let r;
3664
3664
  return typeof window < "u" && L() != null && t ? r = window.setTimeout(
3665
- () => Pe.set(!0),
3665
+ () => Le.set(!0),
3666
3666
  t
3667
- ) : Pe.set(!0), Wt(e).then(() => {
3668
- pe.set(e);
3667
+ ) : Le.set(!0), Zt(e).then(() => {
3668
+ de.set(e);
3669
3669
  }).finally(() => {
3670
- clearTimeout(r), Pe.set(!1);
3670
+ clearTimeout(r), Le.set(!1);
3671
3671
  });
3672
3672
  }
3673
- return pe.set(e);
3674
- }, M = qn(Jn({}, pe), {
3675
- set: Yn
3676
- }), ye = (e) => {
3673
+ return de.set(e);
3674
+ }, M = Kn(Yn({}, de), {
3675
+ set: ei
3676
+ }), Ee = (e) => {
3677
3677
  const t = /* @__PURE__ */ Object.create(null);
3678
3678
  return (n) => {
3679
3679
  const i = JSON.stringify(n);
3680
3680
  return i in t ? t[i] : t[i] = e(n);
3681
3681
  };
3682
3682
  };
3683
- var Kn = Object.defineProperty, de = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3683
+ var ti = Object.defineProperty, be = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3684
3684
  for (var r in t || (t = {}))
3685
- Zt.call(t, r) && lt(e, r, t[r]);
3686
- if (de)
3687
- for (var r of de(t))
3688
- Qt.call(t, r) && lt(e, r, t[r]);
3685
+ Qt.call(t, r) && ft(e, r, t[r]);
3686
+ if (be)
3687
+ for (var r of be(t))
3688
+ Jt.call(t, r) && ft(e, r, t[r]);
3689
3689
  return e;
3690
- }, W = (e, t) => {
3690
+ }, Z = (e, t) => {
3691
3691
  var r = {};
3692
3692
  for (var n in e)
3693
- Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3694
- if (e != null && de)
3695
- for (var n of de(e))
3696
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3693
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3694
+ if (e != null && be)
3695
+ for (var n of be(e))
3696
+ t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3697
3697
  return r;
3698
3698
  };
3699
- const K = (e, t) => {
3700
- const { formats: r } = V();
3699
+ const ee = (e, t) => {
3700
+ const { formats: r } = X();
3701
3701
  if (e in r && t in r[e])
3702
3702
  return r[e][t];
3703
3703
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3704
- }, ei = ye(
3704
+ }, ri = Ee(
3705
3705
  (e) => {
3706
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3706
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3707
3707
  if (r == null)
3708
3708
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3709
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3709
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3710
3710
  }
3711
- ), ti = ye(
3711
+ ), ni = Ee(
3712
3712
  (e) => {
3713
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3713
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3714
3714
  if (r == null)
3715
3715
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3716
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3716
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3717
3717
  }
3718
- ), ri = ye(
3718
+ ), ii = Ee(
3719
3719
  (e) => {
3720
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3720
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3721
3721
  if (r == null)
3722
3722
  throw new Error(
3723
3723
  '[svelte-i18n] A "locale" must be set to format time values'
3724
3724
  );
3725
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3725
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3726
3726
  }
3727
- ), ni = (e = {}) => {
3727
+ ), si = (e = {}) => {
3728
3728
  var t = e, {
3729
3729
  locale: r = L()
3730
- } = t, n = W(t, [
3730
+ } = t, n = Z(t, [
3731
3731
  "locale"
3732
3732
  ]);
3733
- return ei(ze({ locale: r }, n));
3734
- }, ii = (e = {}) => {
3733
+ return ri(ze({ locale: r }, n));
3734
+ }, oi = (e = {}) => {
3735
3735
  var t = e, {
3736
3736
  locale: r = L()
3737
- } = t, n = W(t, [
3737
+ } = t, n = Z(t, [
3738
3738
  "locale"
3739
3739
  ]);
3740
- return ti(ze({ locale: r }, n));
3741
- }, si = (e = {}) => {
3740
+ return ni(ze({ locale: r }, n));
3741
+ }, ai = (e = {}) => {
3742
3742
  var t = e, {
3743
3743
  locale: r = L()
3744
- } = t, n = W(t, [
3744
+ } = t, n = Z(t, [
3745
3745
  "locale"
3746
3746
  ]);
3747
- return ri(ze({ locale: r }, n));
3748
- }, oi = ye(
3747
+ return ii(ze({ locale: r }, n));
3748
+ }, ui = Ee(
3749
3749
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3750
- (e, t = L()) => new jt(e, t, V().formats, {
3751
- ignoreTag: V().ignoreTag
3750
+ (e, t = L()) => new kt(e, t, X().formats, {
3751
+ ignoreTag: X().ignoreTag
3752
3752
  })
3753
- ), ai = (e, t = {}) => {
3753
+ ), hi = (e, t = {}) => {
3754
3754
  var r, n, i, s;
3755
- let u = t;
3756
- typeof e == "object" && (u = e, e = u.id);
3755
+ let a = t;
3756
+ typeof e == "object" && (a = e, e = a.id);
3757
3757
  const {
3758
3758
  values: o,
3759
3759
  locale: l = L(),
3760
- default: a
3761
- } = u;
3760
+ default: u
3761
+ } = a;
3762
3762
  if (l == null)
3763
3763
  throw new Error(
3764
3764
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3765
3765
  );
3766
- let h = kt(e, l);
3766
+ let h = Vt(e, l);
3767
3767
  if (!h)
3768
- h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3768
+ h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3769
3769
  else if (typeof h != "string")
3770
3770
  return console.warn(
3771
3771
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3774,7 +3774,7 @@ const K = (e, t) => {
3774
3774
  return h;
3775
3775
  let c = h;
3776
3776
  try {
3777
- c = oi(h, l).format(o);
3777
+ c = ui(h, l).format(o);
3778
3778
  } catch (m) {
3779
3779
  m instanceof Error && console.warn(
3780
3780
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3782,20 +3782,20 @@ const K = (e, t) => {
3782
3782
  );
3783
3783
  }
3784
3784
  return c;
3785
- }, ui = (e, t) => si(t).format(e), hi = (e, t) => ii(t).format(e), li = (e, t) => ni(t).format(e), fi = (e, t = L()) => kt(e, t), ci = z([M, re], () => ai);
3786
- z([M], () => ui);
3787
- z([M], () => hi);
3785
+ }, li = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), ci = (e, t) => si(t).format(e), mi = (e, t = L()) => Vt(e, t), pi = z([M, ne], () => hi);
3788
3786
  z([M], () => li);
3789
- z([M, re], () => fi);
3790
- function ft(e, t) {
3791
- Xt(e, t);
3792
- }
3793
- function mi(e) {
3794
- Vn({
3787
+ z([M], () => fi);
3788
+ z([M], () => ci);
3789
+ z([M, ne], () => mi);
3790
+ function ct(e, t) {
3791
+ Wt(e, t);
3792
+ }
3793
+ function di(e) {
3794
+ Wn({
3795
3795
  fallbackLocale: "en"
3796
3796
  }), M.set(e);
3797
3797
  }
3798
- const ct = {
3798
+ const mt = {
3799
3799
  en: {
3800
3800
  header: {
3801
3801
  general: "Cashier",
@@ -3817,14 +3817,14 @@ const ct = {
3817
3817
  withdraw: "Retrait"
3818
3818
  }
3819
3819
  }
3820
- };
3821
- function pi(e, t) {
3820
+ }, G = "__WIDGET_GLOBAL_STYLE_CACHE__";
3821
+ function bi(e, t) {
3822
3822
  if (e) {
3823
3823
  const r = document.createElement("style");
3824
3824
  r.innerHTML = t, e.appendChild(r);
3825
3825
  }
3826
3826
  }
3827
- function di(e, t) {
3827
+ function gi(e, t) {
3828
3828
  if (!e || !t)
3829
3829
  return;
3830
3830
  const r = new URL(t);
@@ -3835,60 +3835,87 @@ function di(e, t) {
3835
3835
  console.error("There was an error while trying to load client styling from URL", n);
3836
3836
  });
3837
3837
  }
3838
- function bi(e, t, r) {
3839
- if (window.emMessageBus) {
3840
- const n = document.createElement("style");
3841
- window.emMessageBus.subscribe(t, (i) => {
3842
- n.innerHTML = i, e && e.appendChild(n);
3838
+ function _i(e, t, r, n = !1) {
3839
+ if (!window.emMessageBus)
3840
+ return;
3841
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
3842
+ return r = yi(e, t), r;
3843
+ window[G] || (window[G] = {}), r = Ei(e, t);
3844
+ const s = r.unsubscribe.bind(r), a = () => {
3845
+ if (window[G][t]) {
3846
+ const o = window[G][t];
3847
+ o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[G][t];
3848
+ }
3849
+ s();
3850
+ };
3851
+ return r.unsubscribe = a, r;
3852
+ }
3853
+ function yi(e, t) {
3854
+ const r = document.createElement("style");
3855
+ return window.emMessageBus.subscribe(t, (n) => {
3856
+ e && (r.innerHTML = n, e.appendChild(r));
3857
+ });
3858
+ }
3859
+ function Ei(e, t) {
3860
+ return window.emMessageBus.subscribe(t, (r) => {
3861
+ if (!e)
3862
+ return;
3863
+ const n = e.getRootNode(), i = window[G];
3864
+ let s = i[t]?.sheet;
3865
+ s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
3866
+ sheet: s,
3867
+ refCount: 1
3843
3868
  });
3844
- }
3869
+ const a = n.adoptedStyleSheets || [];
3870
+ a.includes(s) || (n.adoptedStyleSheets = [...a, s]);
3871
+ });
3845
3872
  }
3846
- function gi(e) {
3847
- tr(e, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
3873
+ function xi(e) {
3874
+ nr(e, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
3848
3875
  }
3849
- const _i = (e) => ({}), mt = (e) => ({}), yi = (e) => ({}), pt = (e) => ({}), Ei = (e) => ({}), dt = (e) => ({});
3850
- function bt(e) {
3876
+ const vi = (e) => ({}), pt = (e) => ({}), Hi = (e) => ({}), dt = (e) => ({}), wi = (e) => ({}), bt = (e) => ({});
3877
+ function gt(e) {
3851
3878
  let t, r, n;
3852
3879
  return {
3853
3880
  c() {
3854
- t = X("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', te(t, "class", "CashierHeaderLeftButton");
3881
+ t = W("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', re(t, "class", "CashierHeaderLeftButton");
3855
3882
  },
3856
3883
  m(i, s) {
3857
- I(i, t, s), r || (n = Ht(
3884
+ I(i, t, s), r || (n = wt(
3858
3885
  t,
3859
3886
  "click",
3860
3887
  /*back*/
3861
3888
  e[6]
3862
3889
  ), r = !0);
3863
3890
  },
3864
- p: B,
3891
+ p: w,
3865
3892
  d(i) {
3866
3893
  i && P(t), r = !1, n();
3867
3894
  }
3868
3895
  };
3869
3896
  }
3870
- function xi(e) {
3897
+ function Bi(e) {
3871
3898
  let t, r = (
3872
3899
  /*backButton*/
3873
- e[1] && bt(e)
3900
+ e[1] && gt(e)
3874
3901
  );
3875
3902
  return {
3876
3903
  c() {
3877
- r && r.c(), t = vt();
3904
+ r && r.c(), t = Ht();
3878
3905
  },
3879
3906
  m(n, i) {
3880
3907
  r && r.m(n, i), I(n, t, i);
3881
3908
  },
3882
3909
  p(n, i) {
3883
3910
  /*backButton*/
3884
- n[1] ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3911
+ n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3885
3912
  },
3886
3913
  d(n) {
3887
3914
  n && P(t), r && r.d(n);
3888
3915
  }
3889
3916
  };
3890
3917
  }
3891
- function vi(e) {
3918
+ function Si(e) {
3892
3919
  let t, r = (
3893
3920
  /*$_*/
3894
3921
  e[4](
@@ -3898,10 +3925,10 @@ function vi(e) {
3898
3925
  ), n;
3899
3926
  return {
3900
3927
  c() {
3901
- t = X("span"), n = Ve(r), te(t, "class", "CashierHeaderTitle");
3928
+ t = W("span"), n = Xe(r), re(t, "class", "CashierHeaderTitle");
3902
3929
  },
3903
3930
  m(i, s) {
3904
- I(i, t, s), fe(t, n);
3931
+ I(i, t, s), ce(t, n);
3905
3932
  },
3906
3933
  p(i, s) {
3907
3934
  s & /*$_, titleText*/
@@ -3909,239 +3936,239 @@ function vi(e) {
3909
3936
  i[4](
3910
3937
  /*titleText*/
3911
3938
  i[2]
3912
- ) + "") && sr(n, r);
3939
+ ) + "") && ar(n, r);
3913
3940
  },
3914
3941
  d(i) {
3915
3942
  i && P(t);
3916
3943
  }
3917
3944
  };
3918
3945
  }
3919
- function gt(e) {
3946
+ function _t(e) {
3920
3947
  let t, r, n;
3921
3948
  return {
3922
3949
  c() {
3923
- t = X("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', te(t, "class", "CashierHeaderRightButton");
3950
+ t = W("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', re(t, "class", "CashierHeaderRightButton");
3924
3951
  },
3925
3952
  m(i, s) {
3926
- I(i, t, s), r || (n = Ht(
3953
+ I(i, t, s), r || (n = wt(
3927
3954
  t,
3928
3955
  "click",
3929
3956
  /*close*/
3930
3957
  e[5]
3931
3958
  ), r = !0);
3932
3959
  },
3933
- p: B,
3960
+ p: w,
3934
3961
  d(i) {
3935
3962
  i && P(t), r = !1, n();
3936
3963
  }
3937
3964
  };
3938
3965
  }
3939
- function Hi(e) {
3966
+ function Ti(e) {
3940
3967
  let t, r = (
3941
3968
  /*closeButton*/
3942
- e[3] && gt(e)
3969
+ e[3] && _t(e)
3943
3970
  );
3944
3971
  return {
3945
3972
  c() {
3946
- r && r.c(), t = vt();
3973
+ r && r.c(), t = Ht();
3947
3974
  },
3948
3975
  m(n, i) {
3949
3976
  r && r.m(n, i), I(n, t, i);
3950
3977
  },
3951
3978
  p(n, i) {
3952
3979
  /*closeButton*/
3953
- n[3] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3980
+ n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3954
3981
  },
3955
3982
  d(n) {
3956
3983
  n && P(t), r && r.d(n);
3957
3984
  }
3958
3985
  };
3959
3986
  }
3960
- function Bi(e) {
3987
+ function Ai(e) {
3961
3988
  let t, r, n, i;
3962
3989
  const s = (
3963
3990
  /*#slots*/
3964
3991
  e[16].leftButton
3965
- ), u = Ee(
3992
+ ), a = xe(
3966
3993
  s,
3967
3994
  e,
3968
3995
  /*$$scope*/
3969
3996
  e[15],
3970
- dt
3971
- ), o = u || xi(e), l = (
3997
+ bt
3998
+ ), o = a || Bi(e), l = (
3972
3999
  /*#slots*/
3973
4000
  e[16].title
3974
- ), a = Ee(
4001
+ ), u = xe(
3975
4002
  l,
3976
4003
  e,
3977
4004
  /*$$scope*/
3978
4005
  e[15],
3979
- pt
3980
- ), h = a || vi(e), c = (
4006
+ dt
4007
+ ), h = u || Si(e), c = (
3981
4008
  /*#slots*/
3982
4009
  e[16].rightButton
3983
- ), m = Ee(
4010
+ ), m = xe(
3984
4011
  c,
3985
4012
  e,
3986
4013
  /*$$scope*/
3987
4014
  e[15],
3988
- mt
3989
- ), p = m || Hi(e);
4015
+ pt
4016
+ ), p = m || Ti(e);
3990
4017
  return {
3991
4018
  c() {
3992
- t = X("div"), o && o.c(), r = Qe(), h && h.c(), n = Qe(), p && p.c(), te(t, "class", "CashierHeader");
4019
+ t = W("div"), o && o.c(), r = Je(), h && h.c(), n = Je(), p && p.c(), re(t, "class", "CashierHeader");
3993
4020
  },
3994
4021
  m(f, _) {
3995
- I(f, t, _), o && o.m(t, null), fe(t, r), h && h.m(t, null), fe(t, n), p && p.m(t, null), e[17](t), i = !0;
4022
+ I(f, t, _), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), p && p.m(t, null), e[17](t), i = !0;
3996
4023
  },
3997
4024
  p(f, [_]) {
3998
- u ? u.p && (!i || _ & /*$$scope*/
3999
- 32768) && ve(
4000
- u,
4025
+ a ? a.p && (!i || _ & /*$$scope*/
4026
+ 32768) && He(
4027
+ a,
4001
4028
  s,
4002
4029
  f,
4003
4030
  /*$$scope*/
4004
4031
  f[15],
4005
- i ? xe(
4032
+ i ? ve(
4006
4033
  s,
4007
4034
  /*$$scope*/
4008
4035
  f[15],
4009
4036
  _,
4010
- Ei
4011
- ) : He(
4037
+ wi
4038
+ ) : we(
4012
4039
  /*$$scope*/
4013
4040
  f[15]
4014
4041
  ),
4015
- dt
4042
+ bt
4016
4043
  ) : o && o.p && (!i || _ & /*backButton*/
4017
- 2) && o.p(f, i ? _ : -1), a ? a.p && (!i || _ & /*$$scope*/
4018
- 32768) && ve(
4019
- a,
4044
+ 2) && o.p(f, i ? _ : -1), u ? u.p && (!i || _ & /*$$scope*/
4045
+ 32768) && He(
4046
+ u,
4020
4047
  l,
4021
4048
  f,
4022
4049
  /*$$scope*/
4023
4050
  f[15],
4024
- i ? xe(
4051
+ i ? ve(
4025
4052
  l,
4026
4053
  /*$$scope*/
4027
4054
  f[15],
4028
4055
  _,
4029
- yi
4030
- ) : He(
4056
+ Hi
4057
+ ) : we(
4031
4058
  /*$$scope*/
4032
4059
  f[15]
4033
4060
  ),
4034
- pt
4061
+ dt
4035
4062
  ) : h && h.p && (!i || _ & /*$_, titleText*/
4036
4063
  20) && h.p(f, i ? _ : -1), m ? m.p && (!i || _ & /*$$scope*/
4037
- 32768) && ve(
4064
+ 32768) && He(
4038
4065
  m,
4039
4066
  c,
4040
4067
  f,
4041
4068
  /*$$scope*/
4042
4069
  f[15],
4043
- i ? xe(
4070
+ i ? ve(
4044
4071
  c,
4045
4072
  /*$$scope*/
4046
4073
  f[15],
4047
4074
  _,
4048
- _i
4049
- ) : He(
4075
+ vi
4076
+ ) : we(
4050
4077
  /*$$scope*/
4051
4078
  f[15]
4052
4079
  ),
4053
- mt
4080
+ pt
4054
4081
  ) : p && p.p && (!i || _ & /*closeButton*/
4055
4082
  8) && p.p(f, i ? _ : -1);
4056
4083
  },
4057
4084
  i(f) {
4058
- i || (ae(o, f), ae(h, f), ae(p, f), i = !0);
4085
+ i || (ue(o, f), ue(h, f), ue(p, f), i = !0);
4059
4086
  },
4060
4087
  o(f) {
4061
- Te(o, f), Te(h, f), Te(p, f), i = !1;
4088
+ Se(o, f), Se(h, f), Se(p, f), i = !1;
4062
4089
  },
4063
4090
  d(f) {
4064
4091
  f && P(t), o && o.d(f), h && h.d(f), p && p.d(f), e[17](null);
4065
4092
  }
4066
4093
  };
4067
4094
  }
4068
- function Ti(e, t, r) {
4095
+ function Ci(e, t, r) {
4069
4096
  let n;
4070
- er(e, ci, (g) => r(4, n = g));
4071
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: p = "" } = t, f, _ = !1, v, A = !1;
4072
- const O = () => {
4097
+ rr(e, pi, (g) => r(4, n = g));
4098
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: p = "" } = t, f, _, v = !1, C, T = !1;
4099
+ const H = () => {
4073
4100
  fetch(l).then((g) => g.json()).then((g) => {
4074
- Object.keys(g).forEach((We) => {
4075
- ft(We, g[We]);
4101
+ Object.keys(g).forEach((Ze) => {
4102
+ ct(Ze, g[Ze]);
4076
4103
  });
4077
4104
  }).catch((g) => {
4078
4105
  console.log(g);
4079
4106
  });
4080
4107
  };
4081
- Object.keys(ct).forEach((g) => {
4082
- ft(g, ct[g]);
4108
+ Object.keys(mt).forEach((g) => {
4109
+ ct(g, mt[g]);
4083
4110
  });
4084
- const H = () => {
4085
- mi(c);
4086
- }, N = () => {
4111
+ const N = () => {
4112
+ di(c);
4113
+ }, A = () => {
4087
4114
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4088
- }, S = () => {
4115
+ }, R = () => {
4089
4116
  window.postMessage({ type: "BackCashier" }, window.location.href);
4090
- }, $ = () => {
4091
- r(1, _ = !!a && a !== "false");
4092
- }, ie = () => {
4093
- r(3, A = !!m && m !== "false");
4094
- }, Jt = () => {
4095
- r(2, v = h || "header.general");
4117
+ }, se = () => {
4118
+ r(1, v = !!u && u !== "false");
4119
+ }, qt = () => {
4120
+ r(3, T = !!m && m !== "false");
4121
+ }, Yt = () => {
4122
+ r(2, C = h || "header.general");
4096
4123
  };
4097
- ur(() => () => {
4124
+ lr(() => () => {
4098
4125
  });
4099
- function qt(g) {
4100
- Le[g ? "unshift" : "push"](() => {
4126
+ function Kt(g) {
4127
+ Ne[g ? "unshift" : "push"](() => {
4101
4128
  f = g, r(0, f);
4102
4129
  });
4103
4130
  }
4104
4131
  return e.$$set = (g) => {
4105
- "clientstyling" in g && r(7, u = g.clientstyling), "clientstylingurl" in g && r(8, o = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, a = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4132
+ "clientstyling" in g && r(7, a = g.clientstyling), "clientstylingurl" in g && r(8, o = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, u = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4106
4133
  }, e.$$.update = () => {
4107
4134
  e.$$.dirty & /*lang*/
4108
- 4096 && c && H(), e.$$.dirty & /*lang, title*/
4109
- 6144 && c && h && Jt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4110
- 129 && u && f && pi(f, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4111
- 257 && o && f && di(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4112
- 16385 && p && f && bi(f, `${p}.Style`), e.$$.dirty & /*lang, translationurl*/
4113
- 4608 && c && l && O(), e.$$.dirty & /*showbackbutton*/
4114
- 1024 && a && $(), e.$$.dirty & /*showclosebutton*/
4115
- 8192 && m && ie();
4135
+ 4096 && c && N(), e.$$.dirty & /*lang, title*/
4136
+ 6144 && c && h && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4137
+ 129 && a && f && bi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4138
+ 257 && o && f && gi(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4139
+ 16385 && p && f && _i(f, `${p}.Style`, _), e.$$.dirty & /*lang, translationurl*/
4140
+ 4608 && c && l && H(), e.$$.dirty & /*showbackbutton*/
4141
+ 1024 && u && se(), e.$$.dirty & /*showclosebutton*/
4142
+ 8192 && m && qt();
4116
4143
  }, [
4117
4144
  f,
4118
- _,
4119
4145
  v,
4120
- A,
4146
+ C,
4147
+ T,
4121
4148
  n,
4122
- N,
4123
- S,
4124
- u,
4149
+ A,
4150
+ R,
4151
+ a,
4125
4152
  o,
4126
4153
  l,
4127
- a,
4154
+ u,
4128
4155
  h,
4129
4156
  c,
4130
4157
  m,
4131
4158
  p,
4132
4159
  s,
4133
4160
  i,
4134
- qt
4161
+ Kt
4135
4162
  ];
4136
4163
  }
4137
- class wi extends yr {
4164
+ class Oi extends xr {
4138
4165
  constructor(t) {
4139
- super(), gr(
4166
+ super(), yr(
4140
4167
  this,
4141
4168
  t,
4142
- Ti,
4143
- Bi,
4144
- yt,
4169
+ Ci,
4170
+ Ai,
4171
+ Et,
4145
4172
  {
4146
4173
  clientstyling: 7,
4147
4174
  clientstylingurl: 8,
@@ -4152,59 +4179,59 @@ class wi extends yr {
4152
4179
  showclosebutton: 13,
4153
4180
  mbsource: 14
4154
4181
  },
4155
- gi
4182
+ xi
4156
4183
  );
4157
4184
  }
4158
4185
  get clientstyling() {
4159
4186
  return this.$$.ctx[7];
4160
4187
  }
4161
4188
  set clientstyling(t) {
4162
- this.$$set({ clientstyling: t }), T();
4189
+ this.$$set({ clientstyling: t }), B();
4163
4190
  }
4164
4191
  get clientstylingurl() {
4165
4192
  return this.$$.ctx[8];
4166
4193
  }
4167
4194
  set clientstylingurl(t) {
4168
- this.$$set({ clientstylingurl: t }), T();
4195
+ this.$$set({ clientstylingurl: t }), B();
4169
4196
  }
4170
4197
  get translationurl() {
4171
4198
  return this.$$.ctx[9];
4172
4199
  }
4173
4200
  set translationurl(t) {
4174
- this.$$set({ translationurl: t }), T();
4201
+ this.$$set({ translationurl: t }), B();
4175
4202
  }
4176
4203
  get showbackbutton() {
4177
4204
  return this.$$.ctx[10];
4178
4205
  }
4179
4206
  set showbackbutton(t) {
4180
- this.$$set({ showbackbutton: t }), T();
4207
+ this.$$set({ showbackbutton: t }), B();
4181
4208
  }
4182
4209
  get title() {
4183
4210
  return this.$$.ctx[11];
4184
4211
  }
4185
4212
  set title(t) {
4186
- this.$$set({ title: t }), T();
4213
+ this.$$set({ title: t }), B();
4187
4214
  }
4188
4215
  get lang() {
4189
4216
  return this.$$.ctx[12];
4190
4217
  }
4191
4218
  set lang(t) {
4192
- this.$$set({ lang: t }), T();
4219
+ this.$$set({ lang: t }), B();
4193
4220
  }
4194
4221
  get showclosebutton() {
4195
4222
  return this.$$.ctx[13];
4196
4223
  }
4197
4224
  set showclosebutton(t) {
4198
- this.$$set({ showclosebutton: t }), T();
4225
+ this.$$set({ showclosebutton: t }), B();
4199
4226
  }
4200
4227
  get mbsource() {
4201
4228
  return this.$$.ctx[14];
4202
4229
  }
4203
4230
  set mbsource(t) {
4204
- this.$$set({ mbsource: t }), T();
4231
+ this.$$set({ mbsource: t }), B();
4205
4232
  }
4206
4233
  }
4207
- _r(wi, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4234
+ Er(Oi, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4208
4235
  export {
4209
- wi as C
4236
+ Oi as C
4210
4237
  };