@everymatrix/cashier-error 1.87.26 → 1.87.28

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,36 +1,36 @@
1
- var rr = Object.defineProperty, nr = Object.defineProperties;
2
- var ir = Object.getOwnPropertyDescriptors;
1
+ var nr = Object.defineProperty, ir = Object.defineProperties;
2
+ var or = Object.getOwnPropertyDescriptors;
3
3
  var Qe = Object.getOwnPropertySymbols;
4
- var or = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4
+ var sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
+ var Be = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- or.call(t, r) && Be(e, r, t[r]);
7
+ sr.call(t, r) && Be(e, r, t[r]);
8
8
  if (Qe)
9
9
  for (var r of Qe(t))
10
10
  ar.call(t, r) && Be(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => nr(e, ir(t));
12
+ }, et = (e, t) => ir(e, or(t));
13
13
  var w = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (e, t, r) => new Promise((n, i) => {
14
+ var tt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
- u(r.next(l));
18
- } catch (s) {
19
- i(s);
17
+ a(r.next(l));
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
- }, a = (l) => {
21
+ }, s = (l) => {
22
22
  try {
23
- u(r.throw(l));
24
- } catch (s) {
25
- i(s);
23
+ a(r.throw(l));
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
- }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
- u((r = r.apply(e, t)).next());
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
30
  import "../stencil/ui-image-CP8Lp7fB.js";
31
- function A() {
31
+ function O() {
32
32
  }
33
- function sr(e, t) {
33
+ function ur(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -41,68 +41,68 @@ function sr(e, t) {
41
41
  function wt(e) {
42
42
  return e();
43
43
  }
44
- function tt() {
44
+ function rt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function re(e) {
47
+ function ne(e) {
48
48
  e.forEach(wt);
49
49
  }
50
- function We(e) {
50
+ function qe(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function St(e, t) {
53
+ function At(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let ae;
57
- function rt(e, t) {
57
+ function nt(e, t) {
58
58
  return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
59
59
  }
60
- function ur(e) {
60
+ function lr(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
63
  function Bt(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
67
- return A;
67
+ return O;
68
68
  }
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function lr(e, t, r) {
72
+ function hr(e, t, r) {
73
73
  e.$$.on_destroy.push(Bt(t, r));
74
74
  }
75
- function se(e, t, r, n) {
75
+ function ue(e, t, r, n) {
76
76
  if (e) {
77
- const i = At(e, t, r, n);
77
+ const i = Pt(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function At(e, t, r, n) {
82
- return e[1] && n ? sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function Pt(e, t, r, n) {
82
+ return e[1] && n ? ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function ue(e, t, r, n) {
84
+ function le(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
88
88
  return i;
89
89
  if (typeof i == "object") {
90
- const o = [], a = Math.max(t.dirty.length, i.length);
91
- for (let u = 0; u < a; u += 1)
92
- o[u] = t.dirty[u] | i[u];
90
+ const o = [], s = Math.max(t.dirty.length, i.length);
91
+ for (let a = 0; a < s; a += 1)
92
+ o[a] = t.dirty[a] | i[a];
93
93
  return o;
94
94
  }
95
95
  return t.dirty | i;
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function le(e, t, r, n, i, o) {
99
+ function he(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const a = At(t, r, n, o);
102
- e.p(a, i);
101
+ const s = Pt(t, r, n, o);
102
+ e.p(s, i);
103
103
  }
104
104
  }
105
- function he(e) {
105
+ function ce(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], r = e.ctx.length / 32;
108
108
  for (let n = 0; n < r; n++)
@@ -111,17 +111,17 @@ function he(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- function O(e, t) {
114
+ function C(e, t) {
115
115
  e.appendChild(t);
116
116
  }
117
- function hr(e, t, r) {
118
- const n = cr(e);
117
+ function cr(e, t, r) {
118
+ const n = fr(e);
119
119
  if (!n.getElementById(t)) {
120
120
  const i = I("style");
121
- i.id = t, i.textContent = r, fr(n, i);
121
+ i.id = t, i.textContent = r, mr(n, i);
122
122
  }
123
123
  }
124
- function cr(e) {
124
+ function fr(e) {
125
125
  if (!e)
126
126
  return document;
127
127
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -131,8 +131,8 @@ function cr(e) {
131
131
  t
132
132
  ) : e.ownerDocument;
133
133
  }
134
- function fr(e, t) {
135
- return O(
134
+ function mr(e, t) {
135
+ return C(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
@@ -141,39 +141,39 @@ function fr(e, t) {
141
141
  function X(e, t, r) {
142
142
  e.insertBefore(t, r || null);
143
143
  }
144
- function N(e) {
144
+ function M(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
147
  function I(e) {
148
148
  return document.createElement(e);
149
149
  }
150
- function xe(e) {
150
+ function Te(e) {
151
151
  return document.createTextNode(e);
152
152
  }
153
- function Ae() {
154
- return xe(" ");
153
+ function Pe() {
154
+ return Te(" ");
155
155
  }
156
- function mr() {
157
- return xe("");
156
+ function dr() {
157
+ return Te("");
158
158
  }
159
- function dr(e, t, r, n) {
159
+ function pr(e, t, r, n) {
160
160
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
161
161
  }
162
- function G(e, t, r) {
162
+ function F(e, t, r) {
163
163
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
164
164
  }
165
- function ce(e, t, r) {
165
+ function fe(e, t, r) {
166
166
  const n = t.toLowerCase();
167
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : G(e, t, r);
167
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : F(e, t, r);
168
168
  }
169
- function pr(e) {
169
+ function br(e) {
170
170
  return Array.from(e.childNodes);
171
171
  }
172
- function Pt(e, t) {
172
+ function Ot(e, t) {
173
173
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
174
174
  t);
175
175
  }
176
- function br(e) {
176
+ function gr(e) {
177
177
  const t = {};
178
178
  return e.childNodes.forEach(
179
179
  /** @param {Element} node */
@@ -182,105 +182,105 @@ function br(e) {
182
182
  }
183
183
  ), t;
184
184
  }
185
- let K;
186
- function Y(e) {
187
- K = e;
185
+ let ee;
186
+ function K(e) {
187
+ ee = e;
188
188
  }
189
- function gr() {
190
- if (!K)
189
+ function yr() {
190
+ if (!ee)
191
191
  throw new Error("Function called outside component initialization");
192
- return K;
192
+ return ee;
193
193
  }
194
- function yr(e) {
195
- gr().$$.on_mount.push(e);
194
+ function vr(e) {
195
+ yr().$$.on_mount.push(e);
196
196
  }
197
- const U = [], Re = [];
198
- let k = [];
199
- const nt = [], vr = /* @__PURE__ */ Promise.resolve();
200
- let $e = !1;
197
+ const U = [], $e = [];
198
+ let G = [];
199
+ const it = [], _r = /* @__PURE__ */ Promise.resolve();
200
+ let De = !1;
201
201
  function Er() {
202
- $e || ($e = !0, vr.then(B));
202
+ De || (De = !0, _r.then(P));
203
203
  }
204
- function De(e) {
205
- k.push(e);
204
+ function Ue(e) {
205
+ G.push(e);
206
206
  }
207
- const Pe = /* @__PURE__ */ new Set();
207
+ const Oe = /* @__PURE__ */ new Set();
208
208
  let $ = 0;
209
- function B() {
209
+ function P() {
210
210
  if ($ !== 0)
211
211
  return;
212
- const e = K;
212
+ const e = ee;
213
213
  do {
214
214
  try {
215
215
  for (; $ < U.length; ) {
216
216
  const t = U[$];
217
- $++, Y(t), _r(t.$$);
217
+ $++, K(t), xr(t.$$);
218
218
  }
219
219
  } catch (t) {
220
220
  throw U.length = 0, $ = 0, t;
221
221
  }
222
- for (Y(null), U.length = 0, $ = 0; Re.length; )
223
- Re.pop()();
224
- for (let t = 0; t < k.length; t += 1) {
225
- const r = k[t];
226
- Pe.has(r) || (Pe.add(r), r());
222
+ for (K(null), U.length = 0, $ = 0; $e.length; )
223
+ $e.pop()();
224
+ for (let t = 0; t < G.length; t += 1) {
225
+ const r = G[t];
226
+ Oe.has(r) || (Oe.add(r), r());
227
227
  }
228
- k.length = 0;
228
+ G.length = 0;
229
229
  } while (U.length);
230
- for (; nt.length; )
231
- nt.pop()();
232
- $e = !1, Pe.clear(), Y(e);
230
+ for (; it.length; )
231
+ it.pop()();
232
+ De = !1, Oe.clear(), K(e);
233
233
  }
234
- function _r(e) {
234
+ function xr(e) {
235
235
  if (e.fragment !== null) {
236
- e.update(), re(e.before_update);
236
+ e.update(), ne(e.before_update);
237
237
  const t = e.dirty;
238
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
238
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
239
239
  }
240
240
  }
241
- function xr(e) {
241
+ function Tr(e) {
242
242
  const t = [], r = [];
243
- k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
243
+ G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
244
244
  }
245
- const de = /* @__PURE__ */ new Set();
246
- let Tr;
247
- function Z(e, t) {
248
- e && e.i && (de.delete(e), e.i(t));
245
+ const pe = /* @__PURE__ */ new Set();
246
+ let Hr;
247
+ function Y(e, t) {
248
+ e && e.i && (pe.delete(e), e.i(t));
249
249
  }
250
- function fe(e, t, r, n) {
250
+ function me(e, t, r, n) {
251
251
  if (e && e.o) {
252
- if (de.has(e))
252
+ if (pe.has(e))
253
253
  return;
254
- de.add(e), Tr.c.push(() => {
255
- de.delete(e);
254
+ pe.add(e), Hr.c.push(() => {
255
+ pe.delete(e);
256
256
  }), e.o(t);
257
257
  }
258
258
  }
259
- function Hr(e, t, r) {
259
+ function Sr(e, t, r) {
260
260
  const { fragment: n, after_update: i } = e.$$;
261
- n && n.m(t, r), De(() => {
262
- const o = e.$$.on_mount.map(wt).filter(We);
263
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
264
- }), i.forEach(De);
261
+ n && n.m(t, r), Ue(() => {
262
+ const o = e.$$.on_mount.map(wt).filter(qe);
263
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
264
+ }), i.forEach(Ue);
265
265
  }
266
266
  function wr(e, t) {
267
267
  const r = e.$$;
268
- r.fragment !== null && (xr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
268
+ r.fragment !== null && (Tr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
269
269
  }
270
- function Sr(e, t) {
270
+ function Ar(e, t) {
271
271
  e.$$.dirty[0] === -1 && (U.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
272
272
  }
273
- function Br(e, t, r, n, i, o, a = null, u = [-1]) {
274
- const l = K;
275
- Y(e);
276
- const s = e.$$ = {
273
+ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
274
+ const l = ee;
275
+ K(e);
276
+ const u = e.$$ = {
277
277
  fragment: null,
278
278
  ctx: [],
279
279
  // state
280
280
  props: o,
281
- update: A,
281
+ update: O,
282
282
  not_equal: i,
283
- bound: tt(),
283
+ bound: rt(),
284
284
  // lifecycle
285
285
  on_mount: [],
286
286
  on_destroy: [],
@@ -289,28 +289,28 @@ function Br(e, t, r, n, i, o, a = null, u = [-1]) {
289
289
  after_update: [],
290
290
  context: new Map(t.context || (l ? l.$$.context : [])),
291
291
  // everything else
292
- callbacks: tt(),
293
- dirty: u,
292
+ callbacks: rt(),
293
+ dirty: a,
294
294
  skip_bound: !1,
295
295
  root: t.target || l.$$.root
296
296
  };
297
- a && a(s.root);
297
+ s && s(u.root);
298
298
  let h = !1;
299
- if (s.ctx = r ? r(e, t.props || {}, (f, m, ...d) => {
300
- const p = d.length ? d[0] : m;
301
- return s.ctx && i(s.ctx[f], s.ctx[f] = p) && (!s.skip_bound && s.bound[f] && s.bound[f](p), h && Sr(e, f)), m;
302
- }) : [], s.update(), h = !0, re(s.before_update), s.fragment = n ? n(s.ctx) : !1, t.target) {
299
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
300
+ const b = p.length ? p[0] : f;
301
+ return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && Ar(e, c)), f;
302
+ }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
303
303
  if (t.hydrate) {
304
- const f = pr(t.target);
305
- s.fragment && s.fragment.l(f), f.forEach(N);
304
+ const c = br(t.target);
305
+ u.fragment && u.fragment.l(c), c.forEach(M);
306
306
  } else
307
- s.fragment && s.fragment.c();
308
- t.intro && Z(e.$$.fragment), Hr(e, t.target, t.anchor), B();
307
+ u.fragment && u.fragment.c();
308
+ t.intro && Y(e.$$.fragment), Sr(e, t.target, t.anchor), P();
309
309
  }
310
- Y(l);
310
+ K(l);
311
311
  }
312
- let Ot;
313
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
312
+ let Ct;
313
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
314
314
  constructor(t, r, n) {
315
315
  super();
316
316
  /** The Svelte component constructor */
@@ -347,42 +347,42 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
347
347
  }
348
348
  }
349
349
  connectedCallback() {
350
- return et(this, null, function* () {
350
+ return tt(this, null, function* () {
351
351
  if (this.$$cn = !0, !this.$$c) {
352
352
  let t = function(o) {
353
353
  return () => {
354
- let a;
354
+ let s;
355
355
  return {
356
356
  c: function() {
357
- a = I("slot"), o !== "default" && G(a, "name", o);
357
+ s = I("slot"), o !== "default" && F(s, "name", o);
358
358
  },
359
359
  /**
360
360
  * @param {HTMLElement} target
361
361
  * @param {HTMLElement} [anchor]
362
362
  */
363
- m: function(s, h) {
364
- X(s, a, h);
363
+ m: function(u, h) {
364
+ X(u, s, h);
365
365
  },
366
- d: function(s) {
367
- s && N(a);
366
+ d: function(u) {
367
+ u && M(s);
368
368
  }
369
369
  };
370
370
  };
371
371
  };
372
372
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
373
373
  return;
374
- const r = {}, n = br(this);
374
+ const r = {}, n = gr(this);
375
375
  for (const o of this.$$s)
376
376
  o in n && (r[o] = [t(o)]);
377
377
  for (const o of this.attributes) {
378
- const a = this.$$g_p(o.name);
379
- a in this.$$d || (this.$$d[a] = pe(a, o.value, this.$$p_d, "toProp"));
378
+ const s = this.$$g_p(o.name);
379
+ s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
380
380
  }
381
381
  for (const o in this.$$p_d)
382
382
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
383
383
  this.$$c = new this.$$ctor({
384
384
  target: this.shadowRoot || this,
385
- props: Ke(Ye({}, this.$$d), {
385
+ props: et(Ke({}, this.$$d), {
386
386
  $$slots: r,
387
387
  $$scope: {
388
388
  ctx: []
@@ -393,21 +393,21 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
393
393
  this.$$r = !0;
394
394
  for (const o in this.$$p_d)
395
395
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
396
- const a = pe(
396
+ const s = be(
397
397
  o,
398
398
  this.$$d[o],
399
399
  this.$$p_d,
400
400
  "toAttribute"
401
401
  );
402
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
402
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
403
403
  }
404
404
  this.$$r = !1;
405
405
  };
406
406
  this.$$c.$$.after_update.push(i), i();
407
407
  for (const o in this.$$l)
408
- for (const a of this.$$l[o]) {
409
- const u = this.$$c.$on(o, a);
410
- this.$$l_u.set(a, u);
408
+ for (const s of this.$$l[o]) {
409
+ const a = this.$$c.$on(o, s);
410
+ this.$$l_u.set(s, a);
411
411
  }
412
412
  this.$$l = {};
413
413
  }
@@ -417,7 +417,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
417
417
  // and setting attributes through setAttribute etc, this is helpful
418
418
  attributeChangedCallback(t, r, n) {
419
419
  var i;
420
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
420
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
421
421
  }
422
422
  disconnectedCallback() {
423
423
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -430,7 +430,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
430
430
  ) || t;
431
431
  }
432
432
  });
433
- function pe(e, t, r, n) {
433
+ function be(e, t, r, n) {
434
434
  var o;
435
435
  const i = (o = r[e]) == null ? void 0 : o.type;
436
436
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -460,38 +460,38 @@ function pe(e, t, r, n) {
460
460
  return t;
461
461
  }
462
462
  }
463
- function Ar(e, t, r, n, i, o) {
464
- let a = class extends Ot {
463
+ function Pr(e, t, r, n, i, o) {
464
+ let s = class extends Ct {
465
465
  constructor() {
466
466
  super(e, r, i), this.$$p_d = t;
467
467
  }
468
468
  static get observedAttributes() {
469
469
  return Object.keys(t).map(
470
- (u) => (t[u].attribute || u).toLowerCase()
470
+ (a) => (t[a].attribute || a).toLowerCase()
471
471
  );
472
472
  }
473
473
  };
474
- return Object.keys(t).forEach((u) => {
475
- Object.defineProperty(a.prototype, u, {
474
+ return Object.keys(t).forEach((a) => {
475
+ Object.defineProperty(s.prototype, a, {
476
476
  get() {
477
- return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
477
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
478
478
  },
479
479
  set(l) {
480
- var s;
481
- l = pe(u, l, t), this.$$d[u] = l, (s = this.$$c) == null || s.$set({ [u]: l });
480
+ var u;
481
+ l = be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
482
482
  }
483
483
  });
484
- }), n.forEach((u) => {
485
- Object.defineProperty(a.prototype, u, {
484
+ }), n.forEach((a) => {
485
+ Object.defineProperty(s.prototype, a, {
486
486
  get() {
487
487
  var l;
488
- return (l = this.$$c) == null ? void 0 : l[u];
488
+ return (l = this.$$c) == null ? void 0 : l[a];
489
489
  }
490
490
  });
491
491
  }), e.element = /** @type {any} */
492
- a, a;
492
+ s, s;
493
493
  }
494
- class Pr {
494
+ class Or {
495
495
  constructor() {
496
496
  /**
497
497
  * ### PRIVATE API
@@ -512,7 +512,7 @@ class Pr {
512
512
  }
513
513
  /** @returns {void} */
514
514
  $destroy() {
515
- wr(this, 1), this.$destroy = A;
515
+ wr(this, 1), this.$destroy = O;
516
516
  }
517
517
  /**
518
518
  * @template {Extract<keyof Events, string>} K
@@ -521,8 +521,8 @@ class Pr {
521
521
  * @returns {() => void}
522
522
  */
523
523
  $on(t, r) {
524
- if (!We(r))
525
- return A;
524
+ if (!qe(r))
525
+ return O;
526
526
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
527
527
  return n.push(r), () => {
528
528
  const i = n.indexOf(r);
@@ -534,12 +534,13 @@ class Pr {
534
534
  * @returns {void}
535
535
  */
536
536
  $set(t) {
537
- this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
537
+ this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
538
538
  }
539
539
  }
540
- const Or = "4";
541
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
542
- function Cr(e, t) {
540
+ const Cr = "4";
541
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
542
+ const k = "__WIDGET_GLOBAL_STYLE_CACHE__";
543
+ function Lr(e, t) {
543
544
  if (e) {
544
545
  const r = document.createElement("style");
545
546
  r.innerHTML = t, e.appendChild(r);
@@ -556,179 +557,207 @@ function Ir(e, t) {
556
557
  console.error("There was an error while trying to load client styling from URL", n);
557
558
  });
558
559
  }
559
- function Lr(e, t, r) {
560
- if (window.emMessageBus) {
561
- const n = document.createElement("style");
562
- window.emMessageBus.subscribe(t, (i) => {
563
- n.innerHTML = i, e && e.appendChild(n);
560
+ function Nr(e, t, r, n = !1) {
561
+ if (!window.emMessageBus)
562
+ return;
563
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
564
+ return r = Mr(e, t), r;
565
+ window[k] || (window[k] = {}), r = Rr(e, t);
566
+ const o = r.unsubscribe.bind(r), s = () => {
567
+ if (window[k][t]) {
568
+ const a = window[k][t];
569
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[k][t];
570
+ }
571
+ o();
572
+ };
573
+ return r.unsubscribe = s, r;
574
+ }
575
+ function Mr(e, t) {
576
+ const r = document.createElement("style");
577
+ return window.emMessageBus.subscribe(t, (n) => {
578
+ e && (r.innerHTML = n, e.appendChild(r));
579
+ });
580
+ }
581
+ function Rr(e, t) {
582
+ return window.emMessageBus.subscribe(t, (r) => {
583
+ var a;
584
+ if (!e)
585
+ return;
586
+ const n = e.getRootNode(), i = window[k];
587
+ let o = (a = i[t]) == null ? void 0 : a.sheet;
588
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
589
+ sheet: o,
590
+ refCount: 1
564
591
  });
565
- }
592
+ const s = n.adoptedStyleSheets || [];
593
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
594
+ });
566
595
  }
567
596
  const D = [];
568
- function Mr(e, t) {
597
+ function $r(e, t) {
569
598
  return {
570
- subscribe: Te(e, t).subscribe
599
+ subscribe: He(e, t).subscribe
571
600
  };
572
601
  }
573
- function Te(e, t = A) {
602
+ function He(e, t = O) {
574
603
  let r;
575
604
  const n = /* @__PURE__ */ new Set();
576
- function i(u) {
577
- if (St(e, u) && (e = u, r)) {
605
+ function i(a) {
606
+ if (At(e, a) && (e = a, r)) {
578
607
  const l = !D.length;
579
- for (const s of n)
580
- s[1](), D.push(s, e);
608
+ for (const u of n)
609
+ u[1](), D.push(u, e);
581
610
  if (l) {
582
- for (let s = 0; s < D.length; s += 2)
583
- D[s][0](D[s + 1]);
611
+ for (let u = 0; u < D.length; u += 2)
612
+ D[u][0](D[u + 1]);
584
613
  D.length = 0;
585
614
  }
586
615
  }
587
616
  }
588
- function o(u) {
589
- i(u(e));
617
+ function o(a) {
618
+ i(a(e));
590
619
  }
591
- function a(u, l = A) {
592
- const s = [u, l];
593
- return n.add(s), n.size === 1 && (r = t(i, o) || A), u(e), () => {
594
- n.delete(s), n.size === 0 && r && (r(), r = null);
620
+ function s(a, l = O) {
621
+ const u = [a, l];
622
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
623
+ n.delete(u), n.size === 0 && r && (r(), r = null);
595
624
  };
596
625
  }
597
- return { set: i, update: o, subscribe: a };
626
+ return { set: i, update: o, subscribe: s };
598
627
  }
599
- function W(e, t, r) {
628
+ function q(e, t, r) {
600
629
  const n = !Array.isArray(e), i = n ? [e] : e;
601
630
  if (!i.every(Boolean))
602
631
  throw new Error("derived() expects stores as input, got a falsy value");
603
632
  const o = t.length < 2;
604
- return Mr(r, (a, u) => {
633
+ return $r(r, (s, a) => {
605
634
  let l = !1;
606
- const s = [];
607
- let h = 0, f = A;
608
- const m = () => {
635
+ const u = [];
636
+ let h = 0, c = O;
637
+ const f = () => {
609
638
  if (h)
610
639
  return;
611
- f();
612
- const p = t(n ? s[0] : s, a, u);
613
- o ? a(p) : f = We(p) ? p : A;
614
- }, d = i.map(
615
- (p, _) => Bt(
616
- p,
640
+ c();
641
+ const b = t(n ? u[0] : u, s, a);
642
+ o ? s(b) : c = qe(b) ? b : O;
643
+ }, p = i.map(
644
+ (b, E) => Bt(
645
+ b,
617
646
  (T) => {
618
- s[_] = T, h &= ~(1 << _), l && m();
647
+ u[E] = T, h &= ~(1 << E), l && f();
619
648
  },
620
649
  () => {
621
- h |= 1 << _;
650
+ h |= 1 << E;
622
651
  }
623
652
  )
624
653
  );
625
- return l = !0, m(), function() {
626
- re(d), f(), l = !1;
654
+ return l = !0, f(), function() {
655
+ ne(p), c(), l = !1;
627
656
  };
628
657
  });
629
658
  }
630
- function Nr(e) {
659
+ function Dr(e) {
631
660
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
632
661
  }
633
- var Rr = function(t) {
634
- return $r(t) && !Dr(t);
662
+ var Ur = function(t) {
663
+ return kr(t) && !Gr(t);
635
664
  };
636
- function $r(e) {
665
+ function kr(e) {
637
666
  return !!e && typeof e == "object";
638
667
  }
639
- function Dr(e) {
668
+ function Gr(e) {
640
669
  var t = Object.prototype.toString.call(e);
641
- return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
670
+ return t === "[object RegExp]" || t === "[object Date]" || jr(e);
642
671
  }
643
- var Ur = typeof Symbol == "function" && Symbol.for, kr = Ur ? Symbol.for("react.element") : 60103;
644
- function Gr(e) {
645
- return e.$$typeof === kr;
672
+ var Fr = typeof Symbol == "function" && Symbol.for, zr = Fr ? Symbol.for("react.element") : 60103;
673
+ function jr(e) {
674
+ return e.$$typeof === zr;
646
675
  }
647
- function Fr(e) {
676
+ function Vr(e) {
648
677
  return Array.isArray(e) ? [] : {};
649
678
  }
650
- function ee(e, t) {
651
- return t.clone !== !1 && t.isMergeableObject(e) ? F(Fr(e), e, t) : e;
679
+ function te(e, t) {
680
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(Vr(e), e, t) : e;
652
681
  }
653
- function zr(e, t, r) {
682
+ function Wr(e, t, r) {
654
683
  return e.concat(t).map(function(n) {
655
- return ee(n, r);
684
+ return te(n, r);
656
685
  });
657
686
  }
658
- function jr(e, t) {
687
+ function Xr(e, t) {
659
688
  if (!t.customMerge)
660
- return F;
689
+ return z;
661
690
  var r = t.customMerge(e);
662
- return typeof r == "function" ? r : F;
691
+ return typeof r == "function" ? r : z;
663
692
  }
664
- function Vr(e) {
693
+ function qr(e) {
665
694
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
666
695
  return Object.propertyIsEnumerable.call(e, t);
667
696
  }) : [];
668
697
  }
669
- function it(e) {
670
- return Object.keys(e).concat(Vr(e));
698
+ function ot(e) {
699
+ return Object.keys(e).concat(qr(e));
671
700
  }
672
- function Ct(e, t) {
701
+ function Lt(e, t) {
673
702
  try {
674
703
  return t in e;
675
704
  } catch (r) {
676
705
  return !1;
677
706
  }
678
707
  }
679
- function Xr(e, t) {
680
- return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
708
+ function Jr(e, t) {
709
+ return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
681
710
  }
682
- function Wr(e, t, r) {
711
+ function Zr(e, t, r) {
683
712
  var n = {};
684
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
685
- n[i] = ee(e[i], r);
686
- }), it(t).forEach(function(i) {
687
- Xr(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
713
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
714
+ n[i] = te(e[i], r);
715
+ }), ot(t).forEach(function(i) {
716
+ Jr(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xr(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
688
717
  }), n;
689
718
  }
690
- function F(e, t, r) {
691
- r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = ee;
719
+ function z(e, t, r) {
720
+ r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = te;
692
721
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
693
- return o ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
722
+ return o ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : te(t, r);
694
723
  }
695
- F.all = function(t, r) {
724
+ z.all = function(t, r) {
696
725
  if (!Array.isArray(t))
697
726
  throw new Error("first argument should be an array");
698
727
  return t.reduce(function(n, i) {
699
- return F(n, i, r);
728
+ return z(n, i, r);
700
729
  }, {});
701
730
  };
702
- var qr = F, Jr = qr;
703
- const Zr = /* @__PURE__ */ Nr(Jr);
704
- var Ue = function(e, t) {
705
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
731
+ var Yr = z, Qr = Yr;
732
+ const Kr = /* @__PURE__ */ Dr(Qr);
733
+ var ke = function(e, t) {
734
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
706
735
  r.__proto__ = n;
707
736
  } || function(r, n) {
708
737
  for (var i in n)
709
738
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
710
- }, Ue(e, t);
739
+ }, ke(e, t);
711
740
  };
712
- function He(e, t) {
741
+ function Se(e, t) {
713
742
  if (typeof t != "function" && t !== null)
714
743
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
715
- Ue(e, t);
744
+ ke(e, t);
716
745
  function r() {
717
746
  this.constructor = e;
718
747
  }
719
748
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
720
749
  }
721
- var S = function() {
722
- return S = Object.assign || function(t) {
750
+ var B = function() {
751
+ return B = Object.assign || function(t) {
723
752
  for (var r, n = 1, i = arguments.length; n < i; n++) {
724
753
  r = arguments[n];
725
754
  for (var o in r)
726
755
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
727
756
  }
728
757
  return t;
729
- }, S.apply(this, arguments);
758
+ }, B.apply(this, arguments);
730
759
  };
731
- function Qr(e, t) {
760
+ function en(e, t) {
732
761
  var r = {};
733
762
  for (var n in e)
734
763
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -737,43 +766,43 @@ function Qr(e, t) {
737
766
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
738
767
  return r;
739
768
  }
740
- function Oe(e, t, r) {
769
+ function Ce(e, t, r) {
741
770
  if (r || arguments.length === 2)
742
771
  for (var n = 0, i = t.length, o; n < i; n++)
743
772
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
744
773
  return e.concat(o || Array.prototype.slice.call(t));
745
774
  }
746
- function Ce(e, t) {
747
- var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
775
+ function Le(e, t) {
776
+ var r = t && t.cache ? t.cache : un, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : nn;
748
777
  return i(e, {
749
778
  cache: r,
750
779
  serializer: n
751
780
  });
752
781
  }
753
- function Yr(e) {
782
+ function tn(e) {
754
783
  return e == null || typeof e == "number" || typeof e == "boolean";
755
784
  }
756
- function Kr(e, t, r, n) {
757
- var i = Yr(n) ? n : r(n), o = t.get(i);
785
+ function rn(e, t, r, n) {
786
+ var i = tn(n) ? n : r(n), o = t.get(i);
758
787
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
759
788
  }
760
789
  function It(e, t, r) {
761
790
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
762
791
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
763
792
  }
764
- function Lt(e, t, r, n, i) {
793
+ function Nt(e, t, r, n, i) {
765
794
  return r.bind(t, e, n, i);
766
795
  }
767
- function en(e, t) {
768
- var r = e.length === 1 ? Kr : It;
769
- return Lt(e, this, r, t.cache.create(), t.serializer);
796
+ function nn(e, t) {
797
+ var r = e.length === 1 ? rn : It;
798
+ return Nt(e, this, r, t.cache.create(), t.serializer);
770
799
  }
771
- function tn(e, t) {
772
- return Lt(e, this, It, t.cache.create(), t.serializer);
800
+ function on(e, t) {
801
+ return Nt(e, this, It, t.cache.create(), t.serializer);
773
802
  }
774
- var rn = function() {
803
+ var sn = function() {
775
804
  return JSON.stringify(arguments);
776
- }, nn = (
805
+ }, an = (
777
806
  /** @class */
778
807
  function() {
779
808
  function e() {
@@ -785,71 +814,71 @@ var rn = function() {
785
814
  this.cache[t] = r;
786
815
  }, e;
787
816
  }()
788
- ), on = {
817
+ ), un = {
789
818
  create: function() {
790
- return new nn();
819
+ return new an();
791
820
  }
792
821
  }, Ie = {
793
- variadic: tn
794
- }, ye = function() {
795
- return ye = Object.assign || function(t) {
822
+ variadic: on
823
+ }, ve = function() {
824
+ return ve = Object.assign || function(t) {
796
825
  for (var r, n = 1, i = arguments.length; n < i; n++) {
797
826
  r = arguments[n];
798
827
  for (var o in r)
799
828
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
800
829
  }
801
830
  return t;
802
- }, ye.apply(this, arguments);
831
+ }, ve.apply(this, arguments);
803
832
  };
804
- var b;
833
+ var g;
805
834
  (function(e) {
806
835
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
807
- })(b || (b = {}));
836
+ })(g || (g = {}));
808
837
  var v;
809
838
  (function(e) {
810
839
  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";
811
840
  })(v || (v = {}));
812
- var z;
841
+ var j;
813
842
  (function(e) {
814
843
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
815
- })(z || (z = {}));
816
- function ot(e) {
844
+ })(j || (j = {}));
845
+ function st(e) {
817
846
  return e.type === v.literal;
818
847
  }
819
- function an(e) {
848
+ function ln(e) {
820
849
  return e.type === v.argument;
821
850
  }
822
851
  function Mt(e) {
823
852
  return e.type === v.number;
824
853
  }
825
- function Nt(e) {
854
+ function Rt(e) {
826
855
  return e.type === v.date;
827
856
  }
828
- function Rt(e) {
857
+ function $t(e) {
829
858
  return e.type === v.time;
830
859
  }
831
- function $t(e) {
860
+ function Dt(e) {
832
861
  return e.type === v.select;
833
862
  }
834
- function Dt(e) {
863
+ function Ut(e) {
835
864
  return e.type === v.plural;
836
865
  }
837
- function sn(e) {
866
+ function hn(e) {
838
867
  return e.type === v.pound;
839
868
  }
840
- function Ut(e) {
869
+ function kt(e) {
841
870
  return e.type === v.tag;
842
871
  }
843
- function kt(e) {
844
- return !!(e && typeof e == "object" && e.type === z.number);
872
+ function Gt(e) {
873
+ return !!(e && typeof e == "object" && e.type === j.number);
845
874
  }
846
- function ke(e) {
847
- return !!(e && typeof e == "object" && e.type === z.dateTime);
875
+ function Ge(e) {
876
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
848
877
  }
849
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
850
- function ln(e) {
878
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
879
+ function fn(e) {
851
880
  var t = {};
852
- return e.replace(un, function(r) {
881
+ return e.replace(cn, function(r) {
853
882
  var n = r.length;
854
883
  switch (r[0]) {
855
884
  case "G":
@@ -938,46 +967,46 @@ function ln(e) {
938
967
  return "";
939
968
  }), t;
940
969
  }
941
- var E = function() {
942
- return E = Object.assign || function(t) {
970
+ var _ = function() {
971
+ return _ = Object.assign || function(t) {
943
972
  for (var r, n = 1, i = arguments.length; n < i; n++) {
944
973
  r = arguments[n];
945
974
  for (var o in r)
946
975
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
947
976
  }
948
977
  return t;
949
- }, E.apply(this, arguments);
978
+ }, _.apply(this, arguments);
950
979
  };
951
- var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
952
- function cn(e) {
980
+ var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
981
+ function dn(e) {
953
982
  if (e.length === 0)
954
983
  throw new Error("Number skeleton cannot be empty");
955
- for (var t = e.split(hn).filter(function(m) {
956
- return m.length > 0;
984
+ for (var t = e.split(mn).filter(function(f) {
985
+ return f.length > 0;
957
986
  }), r = [], n = 0, i = t; n < i.length; n++) {
958
- var o = i[n], a = o.split("/");
959
- if (a.length === 0)
987
+ var o = i[n], s = o.split("/");
988
+ if (s.length === 0)
960
989
  throw new Error("Invalid number skeleton");
961
- for (var u = a[0], l = a.slice(1), s = 0, h = l; s < h.length; s++) {
962
- var f = h[s];
963
- if (f.length === 0)
990
+ for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
991
+ var c = h[u];
992
+ if (c.length === 0)
964
993
  throw new Error("Invalid number skeleton");
965
994
  }
966
- r.push({ stem: u, options: l });
995
+ r.push({ stem: a, options: l });
967
996
  }
968
997
  return r;
969
998
  }
970
- function fn(e) {
999
+ function pn(e) {
971
1000
  return e.replace(/^(.*?)-/, "");
972
1001
  }
973
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
974
- function st(e) {
1002
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, bn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
1003
+ function ut(e) {
975
1004
  var t = {};
976
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
1005
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
977
1006
  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)), "";
978
1007
  }), t;
979
1008
  }
980
- function jt(e) {
1009
+ function Vt(e) {
981
1010
  switch (e) {
982
1011
  case "sign-auto":
983
1012
  return {
@@ -1017,7 +1046,7 @@ function jt(e) {
1017
1046
  };
1018
1047
  }
1019
1048
  }
1020
- function dn(e) {
1049
+ function gn(e) {
1021
1050
  var t;
1022
1051
  if (e[0] === "E" && e[1] === "E" ? (t = {
1023
1052
  notation: "engineering"
@@ -1025,17 +1054,17 @@ function dn(e) {
1025
1054
  notation: "scientific"
1026
1055
  }, e = e.slice(1)), t) {
1027
1056
  var r = e.slice(0, 2);
1028
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1057
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1029
1058
  throw new Error("Malformed concise eng/scientific notation");
1030
1059
  t.minimumIntegerDigits = e.length;
1031
1060
  }
1032
1061
  return t;
1033
1062
  }
1034
- function ut(e) {
1035
- var t = {}, r = jt(e);
1063
+ function lt(e) {
1064
+ var t = {}, r = Vt(e);
1036
1065
  return r || t;
1037
1066
  }
1038
- function pn(e) {
1067
+ function yn(e) {
1039
1068
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1040
1069
  var i = n[r];
1041
1070
  switch (i.stem) {
@@ -1059,7 +1088,7 @@ function pn(e) {
1059
1088
  continue;
1060
1089
  case "measure-unit":
1061
1090
  case "unit":
1062
- t.style = "unit", t.unit = fn(i.options[0]);
1091
+ t.style = "unit", t.unit = pn(i.options[0]);
1063
1092
  continue;
1064
1093
  case "compact-short":
1065
1094
  case "K":
@@ -1070,13 +1099,13 @@ function pn(e) {
1070
1099
  t.notation = "compact", t.compactDisplay = "long";
1071
1100
  continue;
1072
1101
  case "scientific":
1073
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, s) {
1074
- return E(E({}, l), ut(s));
1102
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1103
+ return _(_({}, l), lt(u));
1075
1104
  }, {}));
1076
1105
  continue;
1077
1106
  case "engineering":
1078
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, s) {
1079
- return E(E({}, l), ut(s));
1107
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1108
+ return _(_({}, l), lt(u));
1080
1109
  }, {}));
1081
1110
  continue;
1082
1111
  case "notation-simple":
@@ -1121,45 +1150,45 @@ function pn(e) {
1121
1150
  case "integer-width":
1122
1151
  if (i.options.length > 1)
1123
1152
  throw new RangeError("integer-width stems only accept a single optional option");
1124
- i.options[0].replace(mn, function(l, s, h, f, m, d) {
1125
- if (s)
1153
+ i.options[0].replace(bn, function(l, u, h, c, f, p) {
1154
+ if (u)
1126
1155
  t.minimumIntegerDigits = h.length;
1127
1156
  else {
1128
- if (f && m)
1157
+ if (c && f)
1129
1158
  throw new Error("We currently do not support maximum integer digits");
1130
- if (d)
1159
+ if (p)
1131
1160
  throw new Error("We currently do not support exact integer digits");
1132
1161
  }
1133
1162
  return "";
1134
1163
  });
1135
1164
  continue;
1136
1165
  }
1137
- if (zt.test(i.stem)) {
1166
+ if (jt.test(i.stem)) {
1138
1167
  t.minimumIntegerDigits = i.stem.length;
1139
1168
  continue;
1140
1169
  }
1141
1170
  if (at.test(i.stem)) {
1142
1171
  if (i.options.length > 1)
1143
1172
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1144
- i.stem.replace(at, function(l, s, h, f, m, d) {
1145
- return h === "*" ? t.minimumFractionDigits = s.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
1173
+ i.stem.replace(at, function(l, u, h, c, f, p) {
1174
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1146
1175
  });
1147
1176
  var o = i.options[0];
1148
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), st(o)));
1177
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ut(o)));
1149
1178
  continue;
1150
1179
  }
1151
- if (Ft.test(i.stem)) {
1152
- t = E(E({}, t), st(i.stem));
1180
+ if (zt.test(i.stem)) {
1181
+ t = _(_({}, t), ut(i.stem));
1153
1182
  continue;
1154
1183
  }
1155
- var a = jt(i.stem);
1156
- a && (t = E(E({}, t), a));
1157
- var u = dn(i.stem);
1158
- u && (t = E(E({}, t), u));
1184
+ var s = Vt(i.stem);
1185
+ s && (t = _(_({}, t), s));
1186
+ var a = gn(i.stem);
1187
+ a && (t = _(_({}, t), a));
1159
1188
  }
1160
1189
  return t;
1161
1190
  }
1162
- var me = {
1191
+ var de = {
1163
1192
  "001": [
1164
1193
  "H",
1165
1194
  "h"
@@ -2574,23 +2603,23 @@ var me = {
2574
2603
  "h"
2575
2604
  ]
2576
2605
  };
2577
- function bn(e, t) {
2606
+ function vn(e, t) {
2578
2607
  for (var r = "", n = 0; n < e.length; n++) {
2579
2608
  var i = e.charAt(n);
2580
2609
  if (i === "j") {
2581
2610
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2582
2611
  o++, n++;
2583
- var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", s = gn(t);
2584
- for ((s == "H" || s == "k") && (u = 0); u-- > 0; )
2612
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = _n(t);
2613
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2585
2614
  r += l;
2586
- for (; a-- > 0; )
2587
- r = s + r;
2615
+ for (; s-- > 0; )
2616
+ r = u + r;
2588
2617
  } else
2589
2618
  i === "J" ? r += "H" : r += i;
2590
2619
  }
2591
2620
  return r;
2592
2621
  }
2593
- function gn(e) {
2622
+ function _n(e) {
2594
2623
  var t = e.hourCycle;
2595
2624
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2596
2625
  e.hourCycles && // @ts-ignore
@@ -2609,23 +2638,23 @@ function gn(e) {
2609
2638
  }
2610
2639
  var r = e.language, n;
2611
2640
  r !== "root" && (n = e.maximize().region);
2612
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2641
+ var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2613
2642
  return i[0];
2614
2643
  }
2615
- var Le, yn = new RegExp("^".concat(Gt.source, "*")), vn = new RegExp("".concat(Gt.source, "*$"));
2644
+ var Ne, En = new RegExp("^".concat(Ft.source, "*")), xn = new RegExp("".concat(Ft.source, "*$"));
2616
2645
  function y(e, t) {
2617
2646
  return { start: e, end: t };
2618
2647
  }
2619
- var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, xn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, Bn = Sn ? Number.isSafeInteger : function(e) {
2648
+ var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hn = !!String.fromCodePoint, Sn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, On = Pn ? Number.isSafeInteger : function(e) {
2620
2649
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2621
- }, Ge = !0;
2650
+ }, Fe = !0;
2622
2651
  try {
2623
- var An = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
- Ge = ((Le = An.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2652
+ var Cn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2653
+ Fe = ((Ne = Cn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2625
2654
  } catch (e) {
2626
- Ge = !1;
2655
+ Fe = !1;
2627
2656
  }
2628
- var lt = En ? (
2657
+ var ht = Tn ? (
2629
2658
  // Native
2630
2659
  function(t, r, n) {
2631
2660
  return t.startsWith(r, n);
@@ -2635,31 +2664,31 @@ var lt = En ? (
2635
2664
  function(t, r, n) {
2636
2665
  return t.slice(n, n + r.length) === r;
2637
2666
  }
2638
- ), Fe = _n ? String.fromCodePoint : (
2667
+ ), ze = Hn ? String.fromCodePoint : (
2639
2668
  // IE11
2640
2669
  function() {
2641
2670
  for (var t = [], r = 0; r < arguments.length; r++)
2642
2671
  t[r] = arguments[r];
2643
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
2644
- if (a = t[o++], a > 1114111)
2645
- throw RangeError(a + " is not a valid code point");
2646
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2672
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2673
+ if (s = t[o++], s > 1114111)
2674
+ throw RangeError(s + " is not a valid code point");
2675
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2647
2676
  }
2648
2677
  return n;
2649
2678
  }
2650
- ), ht = (
2679
+ ), ct = (
2651
2680
  // native
2652
- xn ? Object.fromEntries : (
2681
+ Sn ? Object.fromEntries : (
2653
2682
  // Ponyfill
2654
2683
  function(t) {
2655
2684
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2656
- var o = i[n], a = o[0], u = o[1];
2657
- r[a] = u;
2685
+ var o = i[n], s = o[0], a = o[1];
2686
+ r[s] = a;
2658
2687
  }
2659
2688
  return r;
2660
2689
  }
2661
2690
  )
2662
- ), Vt = Tn ? (
2691
+ ), Wt = wn ? (
2663
2692
  // Native
2664
2693
  function(t, r) {
2665
2694
  return t.codePointAt(r);
@@ -2673,7 +2702,7 @@ var lt = En ? (
2673
2702
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2674
2703
  }
2675
2704
  }
2676
- ), Pn = Hn ? (
2705
+ ), Ln = An ? (
2677
2706
  // Native
2678
2707
  function(t) {
2679
2708
  return t.trimStart();
@@ -2681,9 +2710,9 @@ var lt = En ? (
2681
2710
  ) : (
2682
2711
  // Ponyfill
2683
2712
  function(t) {
2684
- return t.replace(yn, "");
2713
+ return t.replace(En, "");
2685
2714
  }
2686
- ), On = wn ? (
2715
+ ), In = Bn ? (
2687
2716
  // Native
2688
2717
  function(t) {
2689
2718
  return t.trimEnd();
@@ -2691,32 +2720,32 @@ var lt = En ? (
2691
2720
  ) : (
2692
2721
  // Ponyfill
2693
2722
  function(t) {
2694
- return t.replace(vn, "");
2723
+ return t.replace(xn, "");
2695
2724
  }
2696
2725
  );
2697
2726
  function Xt(e, t) {
2698
2727
  return new RegExp(e, t);
2699
2728
  }
2700
- var ze;
2701
- if (Ge) {
2702
- var ct = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2703
- ze = function(t, r) {
2729
+ var je;
2730
+ if (Fe) {
2731
+ var ft = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2732
+ je = function(t, r) {
2704
2733
  var n;
2705
- ct.lastIndex = r;
2706
- var i = ct.exec(t);
2734
+ ft.lastIndex = r;
2735
+ var i = ft.exec(t);
2707
2736
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2708
2737
  };
2709
2738
  } else
2710
- ze = function(t, r) {
2739
+ je = function(t, r) {
2711
2740
  for (var n = []; ; ) {
2712
- var i = Vt(t, r);
2713
- if (i === void 0 || Wt(i) || Mn(i))
2741
+ var i = Wt(t, r);
2742
+ if (i === void 0 || qt(i) || $n(i))
2714
2743
  break;
2715
2744
  n.push(i), r += i >= 65536 ? 2 : 1;
2716
2745
  }
2717
- return Fe.apply(void 0, n);
2746
+ return ze.apply(void 0, n);
2718
2747
  };
2719
- var Cn = (
2748
+ var Nn = (
2720
2749
  /** @class */
2721
2750
  function() {
2722
2751
  function e(t, r) {
@@ -2730,33 +2759,33 @@ var Cn = (
2730
2759
  for (var i = []; !this.isEOF(); ) {
2731
2760
  var o = this.char();
2732
2761
  if (o === 123) {
2733
- var a = this.parseArgument(t, n);
2734
- if (a.err)
2735
- return a;
2736
- i.push(a.val);
2762
+ var s = this.parseArgument(t, n);
2763
+ if (s.err)
2764
+ return s;
2765
+ i.push(s.val);
2737
2766
  } else {
2738
2767
  if (o === 125 && t > 0)
2739
2768
  break;
2740
2769
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2741
- var u = this.clonePosition();
2770
+ var a = this.clonePosition();
2742
2771
  this.bump(), i.push({
2743
2772
  type: v.pound,
2744
- location: y(u, this.clonePosition())
2773
+ location: y(a, this.clonePosition())
2745
2774
  });
2746
2775
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2747
2776
  if (n)
2748
2777
  break;
2749
- return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2750
- } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2751
- var a = this.parseTag(t, r);
2752
- if (a.err)
2753
- return a;
2754
- i.push(a.val);
2778
+ return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2779
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2780
+ var s = this.parseTag(t, r);
2781
+ if (s.err)
2782
+ return s;
2783
+ i.push(s.val);
2755
2784
  } else {
2756
- var a = this.parseLiteral(t, r);
2757
- if (a.err)
2758
- return a;
2759
- i.push(a.val);
2785
+ var s = this.parseLiteral(t, r);
2786
+ if (s.err)
2787
+ return s;
2788
+ i.push(s.val);
2760
2789
  }
2761
2790
  }
2762
2791
  }
@@ -2778,27 +2807,27 @@ var Cn = (
2778
2807
  var o = this.parseMessage(t + 1, r, !0);
2779
2808
  if (o.err)
2780
2809
  return o;
2781
- var a = o.val, u = this.clonePosition();
2810
+ var s = o.val, a = this.clonePosition();
2782
2811
  if (this.bumpIf("</")) {
2783
- if (this.isEOF() || !je(this.char()))
2784
- return this.error(b.INVALID_TAG, y(u, this.clonePosition()));
2785
- var l = this.clonePosition(), s = this.parseTagName();
2786
- return i !== s ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2812
+ if (this.isEOF() || !Ve(this.char()))
2813
+ return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
2814
+ var l = this.clonePosition(), u = this.parseTagName();
2815
+ return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2787
2816
  val: {
2788
2817
  type: v.tag,
2789
2818
  value: i,
2790
- children: a,
2819
+ children: s,
2791
2820
  location: y(n, this.clonePosition())
2792
2821
  },
2793
2822
  err: null
2794
- } : this.error(b.INVALID_TAG, y(u, this.clonePosition())));
2823
+ } : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
2795
2824
  } else
2796
- return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2825
+ return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
2797
2826
  } else
2798
- return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2827
+ return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
2799
2828
  }, e.prototype.parseTagName = function() {
2800
2829
  var t = this.offset();
2801
- for (this.bump(); !this.isEOF() && Ln(this.char()); )
2830
+ for (this.bump(); !this.isEOF() && Rn(this.char()); )
2802
2831
  this.bump();
2803
2832
  return this.message.slice(t, this.offset());
2804
2833
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2808,14 +2837,14 @@ var Cn = (
2808
2837
  i += o;
2809
2838
  continue;
2810
2839
  }
2811
- var a = this.tryParseUnquoted(t, r);
2812
- if (a) {
2813
- i += a;
2840
+ var s = this.tryParseUnquoted(t, r);
2841
+ if (s) {
2842
+ i += s;
2814
2843
  continue;
2815
2844
  }
2816
- var u = this.tryParseLeftAngleBracket();
2817
- if (u) {
2818
- i += u;
2845
+ var a = this.tryParseLeftAngleBracket();
2846
+ if (a) {
2847
+ i += a;
2819
2848
  continue;
2820
2849
  }
2821
2850
  break;
@@ -2827,7 +2856,7 @@ var Cn = (
2827
2856
  };
2828
2857
  }, e.prototype.tryParseLeftAngleBracket = function() {
2829
2858
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2830
- !In(this.peek() || 0)) ? (this.bump(), "<") : null;
2859
+ !Mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2831
2860
  }, e.prototype.tryParseQuote = function(t) {
2832
2861
  if (this.isEOF() || this.char() !== 39)
2833
2862
  return null;
@@ -2861,23 +2890,23 @@ var Cn = (
2861
2890
  r.push(n);
2862
2891
  this.bump();
2863
2892
  }
2864
- return Fe.apply(void 0, r);
2893
+ return ze.apply(void 0, r);
2865
2894
  }, e.prototype.tryParseUnquoted = function(t, r) {
2866
2895
  if (this.isEOF())
2867
2896
  return null;
2868
2897
  var n = this.char();
2869
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2898
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
2870
2899
  }, e.prototype.parseArgument = function(t, r) {
2871
2900
  var n = this.clonePosition();
2872
2901
  if (this.bump(), this.bumpSpace(), this.isEOF())
2873
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2902
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2874
2903
  if (this.char() === 125)
2875
- return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2904
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2876
2905
  var i = this.parseIdentifierIfPossible().value;
2877
2906
  if (!i)
2878
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2907
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2879
2908
  if (this.bumpSpace(), this.isEOF())
2880
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2909
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2881
2910
  switch (this.char()) {
2882
2911
  case 125:
2883
2912
  return this.bump(), {
@@ -2890,71 +2919,71 @@ var Cn = (
2890
2919
  err: null
2891
2920
  };
2892
2921
  case 44:
2893
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2922
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2894
2923
  default:
2895
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2924
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2896
2925
  }
2897
2926
  }, e.prototype.parseIdentifierIfPossible = function() {
2898
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2927
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2899
2928
  this.bumpTo(i);
2900
- var o = this.clonePosition(), a = y(t, o);
2901
- return { value: n, location: a };
2929
+ var o = this.clonePosition(), s = y(t, o);
2930
+ return { value: n, location: s };
2902
2931
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2903
- var o, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2904
- switch (u) {
2932
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2933
+ switch (a) {
2905
2934
  case "":
2906
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, l));
2935
+ return this.error(g.EXPECT_ARGUMENT_TYPE, y(s, l));
2907
2936
  case "number":
2908
2937
  case "date":
2909
2938
  case "time": {
2910
2939
  this.bumpSpace();
2911
- var s = null;
2940
+ var u = null;
2912
2941
  if (this.bumpIf(",")) {
2913
2942
  this.bumpSpace();
2914
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2915
- if (f.err)
2916
- return f;
2917
- var m = On(f.val);
2918
- if (m.length === 0)
2919
- return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2920
- var d = y(h, this.clonePosition());
2921
- s = { style: m, styleLocation: d };
2943
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2944
+ if (c.err)
2945
+ return c;
2946
+ var f = In(c.val);
2947
+ if (f.length === 0)
2948
+ return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2949
+ var p = y(h, this.clonePosition());
2950
+ u = { style: f, styleLocation: p };
2922
2951
  }
2923
- var p = this.tryParseArgumentClose(i);
2924
- if (p.err)
2925
- return p;
2926
- var _ = y(i, this.clonePosition());
2927
- if (s && lt(s == null ? void 0 : s.style, "::", 0)) {
2928
- var T = Pn(s.style.slice(2));
2929
- if (u === "number") {
2930
- var f = this.parseNumberSkeletonFromString(T, s.styleLocation);
2931
- return f.err ? f : {
2932
- val: { type: v.number, value: n, location: _, style: f.val },
2952
+ var b = this.tryParseArgumentClose(i);
2953
+ if (b.err)
2954
+ return b;
2955
+ var E = y(i, this.clonePosition());
2956
+ if (u && ht(u == null ? void 0 : u.style, "::", 0)) {
2957
+ var T = Ln(u.style.slice(2));
2958
+ if (a === "number") {
2959
+ var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2960
+ return c.err ? c : {
2961
+ val: { type: v.number, value: n, location: E, style: c.val },
2933
2962
  err: null
2934
2963
  };
2935
2964
  } else {
2936
2965
  if (T.length === 0)
2937
- return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
2966
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, E);
2938
2967
  var x = T;
2939
- this.locale && (x = bn(T, this.locale));
2940
- var m = {
2941
- type: z.dateTime,
2968
+ this.locale && (x = vn(T, this.locale));
2969
+ var f = {
2970
+ type: j.dateTime,
2942
2971
  pattern: x,
2943
- location: s.styleLocation,
2944
- parsedOptions: this.shouldParseSkeletons ? ln(x) : {}
2945
- }, c = u === "date" ? v.date : v.time;
2972
+ location: u.styleLocation,
2973
+ parsedOptions: this.shouldParseSkeletons ? fn(x) : {}
2974
+ }, d = a === "date" ? v.date : v.time;
2946
2975
  return {
2947
- val: { type: c, value: n, location: _, style: m },
2976
+ val: { type: d, value: n, location: E, style: f },
2948
2977
  err: null
2949
2978
  };
2950
2979
  }
2951
2980
  }
2952
2981
  return {
2953
2982
  val: {
2954
- type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2983
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
2955
2984
  value: n,
2956
- location: _,
2957
- style: (o = s == null ? void 0 : s.style) !== null && o !== void 0 ? o : null
2985
+ location: E,
2986
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2958
2987
  },
2959
2988
  err: null
2960
2989
  };
@@ -2962,52 +2991,52 @@ var Cn = (
2962
2991
  case "plural":
2963
2992
  case "selectordinal":
2964
2993
  case "select": {
2965
- var g = this.clonePosition();
2994
+ var m = this.clonePosition();
2966
2995
  if (this.bumpSpace(), !this.bumpIf(","))
2967
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, ye({}, g)));
2996
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(m, ve({}, m)));
2968
2997
  this.bumpSpace();
2969
- var P = this.parseIdentifierIfPossible(), M = 0;
2970
- if (u !== "select" && P.value === "offset") {
2998
+ var S = this.parseIdentifierIfPossible(), A = 0;
2999
+ if (a !== "select" && S.value === "offset") {
2971
3000
  if (!this.bumpIf(":"))
2972
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3001
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2973
3002
  this.bumpSpace();
2974
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2975
- if (f.err)
2976
- return f;
2977
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), M = f.val;
3003
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3004
+ if (c.err)
3005
+ return c;
3006
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), A = c.val;
2978
3007
  }
2979
- var oe = this.tryParsePluralOrSelectOptions(t, u, r, P);
2980
- if (oe.err)
2981
- return oe;
2982
- var p = this.tryParseArgumentClose(i);
2983
- if (p.err)
2984
- return p;
2985
- var Ze = y(i, this.clonePosition());
2986
- return u === "select" ? {
3008
+ var se = this.tryParsePluralOrSelectOptions(t, a, r, S);
3009
+ if (se.err)
3010
+ return se;
3011
+ var b = this.tryParseArgumentClose(i);
3012
+ if (b.err)
3013
+ return b;
3014
+ var Ye = y(i, this.clonePosition());
3015
+ return a === "select" ? {
2987
3016
  val: {
2988
3017
  type: v.select,
2989
3018
  value: n,
2990
- options: ht(oe.val),
2991
- location: Ze
3019
+ options: ct(se.val),
3020
+ location: Ye
2992
3021
  },
2993
3022
  err: null
2994
3023
  } : {
2995
3024
  val: {
2996
3025
  type: v.plural,
2997
3026
  value: n,
2998
- options: ht(oe.val),
2999
- offset: M,
3000
- pluralType: u === "plural" ? "cardinal" : "ordinal",
3001
- location: Ze
3027
+ options: ct(se.val),
3028
+ offset: A,
3029
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3030
+ location: Ye
3002
3031
  },
3003
3032
  err: null
3004
3033
  };
3005
3034
  }
3006
3035
  default:
3007
- return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
3036
+ return this.error(g.INVALID_ARGUMENT_TYPE, y(s, l));
3008
3037
  }
3009
3038
  }, e.prototype.tryParseArgumentClose = function(t) {
3010
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3039
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3011
3040
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3012
3041
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3013
3042
  var n = this.char();
@@ -3016,7 +3045,7 @@ var Cn = (
3016
3045
  this.bump();
3017
3046
  var i = this.clonePosition();
3018
3047
  if (!this.bumpUntil("'"))
3019
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3048
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3020
3049
  this.bump();
3021
3050
  break;
3022
3051
  }
@@ -3046,64 +3075,64 @@ var Cn = (
3046
3075
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3047
3076
  var n = [];
3048
3077
  try {
3049
- n = cn(t);
3078
+ n = dn(t);
3050
3079
  } catch (i) {
3051
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3080
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3052
3081
  }
3053
3082
  return {
3054
3083
  val: {
3055
- type: z.number,
3084
+ type: j.number,
3056
3085
  tokens: n,
3057
3086
  location: r,
3058
- parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
3087
+ parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
3059
3088
  },
3060
3089
  err: null
3061
3090
  };
3062
3091
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3063
- for (var o, a = !1, u = [], l = /* @__PURE__ */ new Set(), s = i.value, h = i.location; ; ) {
3064
- if (s.length === 0) {
3065
- var f = this.clonePosition();
3092
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3093
+ if (u.length === 0) {
3094
+ var c = this.clonePosition();
3066
3095
  if (r !== "select" && this.bumpIf("=")) {
3067
- var m = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3068
- if (m.err)
3069
- return m;
3070
- h = y(f, this.clonePosition()), s = this.message.slice(f.offset, this.offset());
3096
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3097
+ if (f.err)
3098
+ return f;
3099
+ h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3071
3100
  } else
3072
3101
  break;
3073
3102
  }
3074
- if (l.has(s))
3075
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3076
- s === "other" && (a = !0), this.bumpSpace();
3077
- var d = this.clonePosition();
3103
+ if (l.has(u))
3104
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3105
+ u === "other" && (s = !0), this.bumpSpace();
3106
+ var p = this.clonePosition();
3078
3107
  if (!this.bumpIf("{"))
3079
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3080
- var p = this.parseMessage(t + 1, r, n);
3081
- if (p.err)
3082
- return p;
3083
- var _ = this.tryParseArgumentClose(d);
3084
- if (_.err)
3085
- return _;
3086
- u.push([
3087
- s,
3108
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3109
+ var b = this.parseMessage(t + 1, r, n);
3110
+ if (b.err)
3111
+ return b;
3112
+ var E = this.tryParseArgumentClose(p);
3113
+ if (E.err)
3114
+ return E;
3115
+ a.push([
3116
+ u,
3088
3117
  {
3089
- value: p.val,
3090
- location: y(d, this.clonePosition())
3118
+ value: b.val,
3119
+ location: y(p, this.clonePosition())
3091
3120
  }
3092
- ]), l.add(s), this.bumpSpace(), o = this.parseIdentifierIfPossible(), s = o.value, h = o.location;
3121
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3093
3122
  }
3094
- return u.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3123
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3095
3124
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3096
3125
  var n = 1, i = this.clonePosition();
3097
3126
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3098
- for (var o = !1, a = 0; !this.isEOF(); ) {
3099
- var u = this.char();
3100
- if (u >= 48 && u <= 57)
3101
- o = !0, a = a * 10 + (u - 48), this.bump();
3127
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3128
+ var a = this.char();
3129
+ if (a >= 48 && a <= 57)
3130
+ o = !0, s = s * 10 + (a - 48), this.bump();
3102
3131
  else
3103
3132
  break;
3104
3133
  }
3105
3134
  var l = y(i, this.clonePosition());
3106
- return o ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3135
+ return o ? (s *= n, On(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3107
3136
  }, e.prototype.offset = function() {
3108
3137
  return this.position.offset;
3109
3138
  }, e.prototype.isEOF = function() {
@@ -3118,7 +3147,7 @@ var Cn = (
3118
3147
  var t = this.position.offset;
3119
3148
  if (t >= this.message.length)
3120
3149
  throw Error("out of bound");
3121
- var r = Vt(this.message, t);
3150
+ var r = Wt(this.message, t);
3122
3151
  if (r === void 0)
3123
3152
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3124
3153
  return r;
@@ -3137,7 +3166,7 @@ var Cn = (
3137
3166
  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);
3138
3167
  }
3139
3168
  }, e.prototype.bumpIf = function(t) {
3140
- if (lt(this.message, t, this.offset())) {
3169
+ if (ht(this.message, t, this.offset())) {
3141
3170
  for (var r = 0; r < t.length; r++)
3142
3171
  this.bump();
3143
3172
  return !0;
@@ -3159,7 +3188,7 @@ var Cn = (
3159
3188
  break;
3160
3189
  }
3161
3190
  }, e.prototype.bumpSpace = function() {
3162
- for (; !this.isEOF() && Wt(this.char()); )
3191
+ for (; !this.isEOF() && qt(this.char()); )
3163
3192
  this.bump();
3164
3193
  }, e.prototype.peek = function() {
3165
3194
  if (this.isEOF())
@@ -3169,47 +3198,47 @@ var Cn = (
3169
3198
  }, e;
3170
3199
  }()
3171
3200
  );
3172
- function je(e) {
3201
+ function Ve(e) {
3173
3202
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3174
3203
  }
3175
- function In(e) {
3176
- return je(e) || e === 47;
3204
+ function Mn(e) {
3205
+ return Ve(e) || e === 47;
3177
3206
  }
3178
- function Ln(e) {
3207
+ function Rn(e) {
3179
3208
  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;
3180
3209
  }
3181
- function Wt(e) {
3210
+ function qt(e) {
3182
3211
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3183
3212
  }
3184
- function Mn(e) {
3213
+ function $n(e) {
3185
3214
  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;
3186
3215
  }
3187
- function Ve(e) {
3216
+ function We(e) {
3188
3217
  e.forEach(function(t) {
3189
- if (delete t.location, $t(t) || Dt(t))
3218
+ if (delete t.location, Dt(t) || Ut(t))
3190
3219
  for (var r in t.options)
3191
- delete t.options[r].location, Ve(t.options[r].value);
3220
+ delete t.options[r].location, We(t.options[r].value);
3192
3221
  else
3193
- Mt(t) && kt(t.style) || (Nt(t) || Rt(t)) && ke(t.style) ? delete t.style.location : Ut(t) && Ve(t.children);
3222
+ Mt(t) && Gt(t.style) || (Rt(t) || $t(t)) && Ge(t.style) ? delete t.style.location : kt(t) && We(t.children);
3194
3223
  });
3195
3224
  }
3196
- function Nn(e, t) {
3197
- t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3198
- var r = new Cn(e, t).parse();
3225
+ function Dn(e, t) {
3226
+ t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3227
+ var r = new Nn(e, t).parse();
3199
3228
  if (r.err) {
3200
- var n = SyntaxError(b[r.err.kind]);
3229
+ var n = SyntaxError(g[r.err.kind]);
3201
3230
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3202
3231
  }
3203
- return t != null && t.captureLocation || Ve(r.val), r.val;
3232
+ return t != null && t.captureLocation || We(r.val), r.val;
3204
3233
  }
3205
- var j;
3234
+ var V;
3206
3235
  (function(e) {
3207
3236
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3208
- })(j || (j = {}));
3237
+ })(V || (V = {}));
3209
3238
  var we = (
3210
3239
  /** @class */
3211
3240
  function(e) {
3212
- He(t, e);
3241
+ Se(t, e);
3213
3242
  function t(r, n, i) {
3214
3243
  var o = e.call(this, r) || this;
3215
3244
  return o.code = n, o.originalMessage = i, o;
@@ -3218,30 +3247,30 @@ var we = (
3218
3247
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3219
3248
  }, t;
3220
3249
  }(Error)
3221
- ), ft = (
3250
+ ), mt = (
3222
3251
  /** @class */
3223
3252
  function(e) {
3224
- He(t, e);
3253
+ Se(t, e);
3225
3254
  function t(r, n, i, o) {
3226
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3255
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3227
3256
  }
3228
3257
  return t;
3229
3258
  }(we)
3230
- ), Rn = (
3259
+ ), Un = (
3231
3260
  /** @class */
3232
3261
  function(e) {
3233
- He(t, e);
3262
+ Se(t, e);
3234
3263
  function t(r, n, i) {
3235
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3264
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3236
3265
  }
3237
3266
  return t;
3238
3267
  }(we)
3239
- ), $n = (
3268
+ ), kn = (
3240
3269
  /** @class */
3241
3270
  function(e) {
3242
- He(t, e);
3271
+ Se(t, e);
3243
3272
  function t(r, n) {
3244
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3273
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3245
3274
  }
3246
3275
  return t;
3247
3276
  }(we)
@@ -3249,122 +3278,122 @@ var we = (
3249
3278
  (function(e) {
3250
3279
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3251
3280
  })(H || (H = {}));
3252
- function Dn(e) {
3281
+ function Gn(e) {
3253
3282
  return e.length < 2 ? e : e.reduce(function(t, r) {
3254
3283
  var n = t[t.length - 1];
3255
3284
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3256
3285
  }, []);
3257
3286
  }
3258
- function Un(e) {
3287
+ function Fn(e) {
3259
3288
  return typeof e == "function";
3260
3289
  }
3261
- function be(e, t, r, n, i, o, a) {
3262
- if (e.length === 1 && ot(e[0]))
3290
+ function ge(e, t, r, n, i, o, s) {
3291
+ if (e.length === 1 && st(e[0]))
3263
3292
  return [
3264
3293
  {
3265
3294
  type: H.literal,
3266
3295
  value: e[0].value
3267
3296
  }
3268
3297
  ];
3269
- for (var u = [], l = 0, s = e; l < s.length; l++) {
3270
- var h = s[l];
3271
- if (ot(h)) {
3272
- u.push({
3298
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3299
+ var h = u[l];
3300
+ if (st(h)) {
3301
+ a.push({
3273
3302
  type: H.literal,
3274
3303
  value: h.value
3275
3304
  });
3276
3305
  continue;
3277
3306
  }
3278
- if (sn(h)) {
3279
- typeof o == "number" && u.push({
3307
+ if (hn(h)) {
3308
+ typeof o == "number" && a.push({
3280
3309
  type: H.literal,
3281
3310
  value: r.getNumberFormat(t).format(o)
3282
3311
  });
3283
3312
  continue;
3284
3313
  }
3285
- var f = h.value;
3286
- if (!(i && f in i))
3287
- throw new $n(f, a);
3288
- var m = i[f];
3289
- if (an(h)) {
3290
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), u.push({
3291
- type: typeof m == "string" ? H.literal : H.object,
3292
- value: m
3314
+ var c = h.value;
3315
+ if (!(i && c in i))
3316
+ throw new kn(c, s);
3317
+ var f = i[c];
3318
+ if (ln(h)) {
3319
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3320
+ type: typeof f == "string" ? H.literal : H.object,
3321
+ value: f
3293
3322
  });
3294
3323
  continue;
3295
3324
  }
3296
- if (Nt(h)) {
3297
- var d = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3298
- u.push({
3325
+ if (Rt(h)) {
3326
+ var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3327
+ a.push({
3299
3328
  type: H.literal,
3300
- value: r.getDateTimeFormat(t, d).format(m)
3329
+ value: r.getDateTimeFormat(t, p).format(f)
3301
3330
  });
3302
3331
  continue;
3303
3332
  }
3304
- if (Rt(h)) {
3305
- var d = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
3306
- u.push({
3333
+ if ($t(h)) {
3334
+ var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3335
+ a.push({
3307
3336
  type: H.literal,
3308
- value: r.getDateTimeFormat(t, d).format(m)
3337
+ value: r.getDateTimeFormat(t, p).format(f)
3309
3338
  });
3310
3339
  continue;
3311
3340
  }
3312
3341
  if (Mt(h)) {
3313
- var d = typeof h.style == "string" ? n.number[h.style] : kt(h.style) ? h.style.parsedOptions : void 0;
3314
- d && d.scale && (m = m * (d.scale || 1)), u.push({
3342
+ var p = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3343
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3315
3344
  type: H.literal,
3316
- value: r.getNumberFormat(t, d).format(m)
3345
+ value: r.getNumberFormat(t, p).format(f)
3317
3346
  });
3318
3347
  continue;
3319
3348
  }
3320
- if (Ut(h)) {
3321
- var p = h.children, _ = h.value, T = i[_];
3322
- if (!Un(T))
3323
- throw new Rn(_, "function", a);
3324
- var x = be(p, t, r, n, i, o), c = T(x.map(function(M) {
3325
- return M.value;
3349
+ if (kt(h)) {
3350
+ var b = h.children, E = h.value, T = i[E];
3351
+ if (!Fn(T))
3352
+ throw new Un(E, "function", s);
3353
+ var x = ge(b, t, r, n, i, o), d = T(x.map(function(A) {
3354
+ return A.value;
3326
3355
  }));
3327
- Array.isArray(c) || (c = [c]), u.push.apply(u, c.map(function(M) {
3356
+ Array.isArray(d) || (d = [d]), a.push.apply(a, d.map(function(A) {
3328
3357
  return {
3329
- type: typeof M == "string" ? H.literal : H.object,
3330
- value: M
3358
+ type: typeof A == "string" ? H.literal : H.object,
3359
+ value: A
3331
3360
  };
3332
3361
  }));
3333
3362
  }
3334
- if ($t(h)) {
3335
- var g = h.options[m] || h.options.other;
3336
- if (!g)
3337
- throw new ft(h.value, m, Object.keys(h.options), a);
3338
- u.push.apply(u, be(g.value, t, r, n, i));
3363
+ if (Dt(h)) {
3364
+ var m = h.options[f] || h.options.other;
3365
+ if (!m)
3366
+ throw new mt(h.value, f, Object.keys(h.options), s);
3367
+ a.push.apply(a, ge(m.value, t, r, n, i));
3339
3368
  continue;
3340
3369
  }
3341
- if (Dt(h)) {
3342
- var g = h.options["=".concat(m)];
3343
- if (!g) {
3370
+ if (Ut(h)) {
3371
+ var m = h.options["=".concat(f)];
3372
+ if (!m) {
3344
3373
  if (!Intl.PluralRules)
3345
3374
  throw new we(`Intl.PluralRules is not available in this environment.
3346
3375
  Try polyfilling it using "@formatjs/intl-pluralrules"
3347
- `, j.MISSING_INTL_API, a);
3348
- var P = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3349
- g = h.options[P] || h.options.other;
3376
+ `, V.MISSING_INTL_API, s);
3377
+ var S = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3378
+ m = h.options[S] || h.options.other;
3350
3379
  }
3351
- if (!g)
3352
- throw new ft(h.value, m, Object.keys(h.options), a);
3353
- u.push.apply(u, be(g.value, t, r, n, i, m - (h.offset || 0)));
3380
+ if (!m)
3381
+ throw new mt(h.value, f, Object.keys(h.options), s);
3382
+ a.push.apply(a, ge(m.value, t, r, n, i, f - (h.offset || 0)));
3354
3383
  continue;
3355
3384
  }
3356
3385
  }
3357
- return Dn(u);
3386
+ return Gn(a);
3358
3387
  }
3359
- function kn(e, t) {
3360
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3361
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3388
+ function zn(e, t) {
3389
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3390
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3362
3391
  }, {})) : e;
3363
3392
  }
3364
- function Gn(e, t) {
3393
+ function jn(e, t) {
3365
3394
  return t ? Object.keys(e).reduce(function(r, n) {
3366
- return r[n] = kn(e[n], t[n]), r;
3367
- }, S({}, e)) : e;
3395
+ return r[n] = zn(e[n], t[n]), r;
3396
+ }, B({}, e)) : e;
3368
3397
  }
3369
3398
  function Me(e) {
3370
3399
  return {
@@ -3380,39 +3409,39 @@ function Me(e) {
3380
3409
  }
3381
3410
  };
3382
3411
  }
3383
- function Fn(e) {
3412
+ function Vn(e) {
3384
3413
  return e === void 0 && (e = {
3385
3414
  number: {},
3386
3415
  dateTime: {},
3387
3416
  pluralRules: {}
3388
3417
  }), {
3389
- getNumberFormat: Ce(function() {
3418
+ getNumberFormat: Le(function() {
3390
3419
  for (var t, r = [], n = 0; n < arguments.length; n++)
3391
3420
  r[n] = arguments[n];
3392
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3421
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3393
3422
  }, {
3394
3423
  cache: Me(e.number),
3395
3424
  strategy: Ie.variadic
3396
3425
  }),
3397
- getDateTimeFormat: Ce(function() {
3426
+ getDateTimeFormat: Le(function() {
3398
3427
  for (var t, r = [], n = 0; n < arguments.length; n++)
3399
3428
  r[n] = arguments[n];
3400
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3429
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3401
3430
  }, {
3402
3431
  cache: Me(e.dateTime),
3403
3432
  strategy: Ie.variadic
3404
3433
  }),
3405
- getPluralRules: Ce(function() {
3434
+ getPluralRules: Le(function() {
3406
3435
  for (var t, r = [], n = 0; n < arguments.length; n++)
3407
3436
  r[n] = arguments[n];
3408
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3437
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3409
3438
  }, {
3410
3439
  cache: Me(e.pluralRules),
3411
3440
  strategy: Ie.variadic
3412
3441
  })
3413
3442
  };
3414
3443
  }
3415
- var qt = (
3444
+ var Jt = (
3416
3445
  /** @class */
3417
3446
  function() {
3418
3447
  function e(t, r, n, i) {
@@ -3423,15 +3452,15 @@ var qt = (
3423
3452
  dateTime: {},
3424
3453
  pluralRules: {}
3425
3454
  }, this.format = function(l) {
3426
- var s = o.formatToParts(l);
3427
- if (s.length === 1)
3428
- return s[0].value;
3429
- var h = s.reduce(function(f, m) {
3430
- return !f.length || m.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(m.value) : f[f.length - 1] += m.value, f;
3455
+ var u = o.formatToParts(l);
3456
+ if (u.length === 1)
3457
+ return u[0].value;
3458
+ var h = u.reduce(function(c, f) {
3459
+ return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3431
3460
  }, []);
3432
3461
  return h.length <= 1 ? h[0] || "" : h;
3433
3462
  }, this.formatToParts = function(l) {
3434
- return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3463
+ return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3435
3464
  }, this.resolvedOptions = function() {
3436
3465
  var l;
3437
3466
  return {
@@ -3442,15 +3471,15 @@ var qt = (
3442
3471
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3443
3472
  if (this.message = t, !e.__parse)
3444
3473
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3445
- var a = i || {};
3446
- a.formatters;
3447
- var u = Qr(a, ["formatters"]);
3448
- this.ast = e.__parse(t, S(S({}, u), { locale: this.resolvedLocale }));
3474
+ var s = i || {};
3475
+ s.formatters;
3476
+ var a = en(s, ["formatters"]);
3477
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3449
3478
  } else
3450
3479
  this.ast = t;
3451
3480
  if (!Array.isArray(this.ast))
3452
3481
  throw new TypeError("A message must be provided as a String or AST.");
3453
- this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3482
+ this.formats = jn(e.formats, n), this.formatters = i && i.formatters || Vn(this.formatterCache);
3454
3483
  }
3455
3484
  return Object.defineProperty(e, "defaultLocale", {
3456
3485
  get: function() {
@@ -3463,7 +3492,7 @@ var qt = (
3463
3492
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3464
3493
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3465
3494
  }
3466
- }, e.__parse = Nn, e.formats = {
3495
+ }, e.__parse = Dn, e.formats = {
3467
3496
  number: {
3468
3497
  integer: {
3469
3498
  maximumFractionDigits: 0
@@ -3524,7 +3553,7 @@ var qt = (
3524
3553
  }, e;
3525
3554
  }()
3526
3555
  );
3527
- function zn(e, t) {
3556
+ function Wn(e, t) {
3528
3557
  if (t == null)
3529
3558
  return;
3530
3559
  if (t in e)
@@ -3545,101 +3574,101 @@ function zn(e, t) {
3545
3574
  n = void 0;
3546
3575
  return n;
3547
3576
  }
3548
- const C = {}, jn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Jt = (e, t) => {
3577
+ const L = {}, Xn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Zt = (e, t) => {
3549
3578
  if (t == null)
3550
3579
  return;
3551
- if (t in C && e in C[t])
3552
- return C[t][e];
3553
- const r = ie(t);
3580
+ if (t in L && e in L[t])
3581
+ return L[t][e];
3582
+ const r = oe(t);
3554
3583
  for (let n = 0; n < r.length; n++) {
3555
- const i = r[n], o = Xn(i, e);
3584
+ const i = r[n], o = Jn(i, e);
3556
3585
  if (o)
3557
- return jn(e, t, o);
3586
+ return Xn(e, t, o);
3558
3587
  }
3559
3588
  };
3560
- let qe;
3561
- const ne = Te({});
3562
- function Vn(e) {
3563
- return qe[e] || null;
3589
+ let Je;
3590
+ const ie = He({});
3591
+ function qn(e) {
3592
+ return Je[e] || null;
3564
3593
  }
3565
- function Zt(e) {
3566
- return e in qe;
3594
+ function Yt(e) {
3595
+ return e in Je;
3567
3596
  }
3568
- function Xn(e, t) {
3569
- if (!Zt(e))
3597
+ function Jn(e, t) {
3598
+ if (!Yt(e))
3570
3599
  return null;
3571
- const r = Vn(e);
3572
- return zn(r, t);
3600
+ const r = qn(e);
3601
+ return Wn(r, t);
3573
3602
  }
3574
- function Wn(e) {
3603
+ function Zn(e) {
3575
3604
  if (e == null)
3576
3605
  return;
3577
- const t = ie(e);
3606
+ const t = oe(e);
3578
3607
  for (let r = 0; r < t.length; r++) {
3579
3608
  const n = t[r];
3580
- if (Zt(n))
3609
+ if (Yt(n))
3581
3610
  return n;
3582
3611
  }
3583
3612
  }
3584
3613
  function Qt(e, ...t) {
3585
- delete C[e], ne.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3614
+ delete L[e], ie.update((r) => (r[e] = Kr.all([r[e] || {}, ...t]), r));
3586
3615
  }
3587
- W(
3588
- [ne],
3616
+ q(
3617
+ [ie],
3589
3618
  ([e]) => Object.keys(e)
3590
3619
  );
3591
- ne.subscribe((e) => qe = e);
3592
- const ge = {};
3593
- function qn(e, t) {
3594
- ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3620
+ ie.subscribe((e) => Je = e);
3621
+ const ye = {};
3622
+ function Yn(e, t) {
3623
+ ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3595
3624
  }
3596
- function Yt(e) {
3597
- return ge[e];
3625
+ function Kt(e) {
3626
+ return ye[e];
3598
3627
  }
3599
- function Jn(e) {
3600
- return ie(e).map((t) => {
3601
- const r = Yt(t);
3628
+ function Qn(e) {
3629
+ return oe(e).map((t) => {
3630
+ const r = Kt(t);
3602
3631
  return [t, r ? [...r] : []];
3603
3632
  }).filter(([, t]) => t.length > 0);
3604
3633
  }
3605
- function ve(e) {
3606
- return e == null ? !1 : ie(e).some(
3634
+ function _e(e) {
3635
+ return e == null ? !1 : oe(e).some(
3607
3636
  (t) => {
3608
3637
  var r;
3609
- return (r = Yt(t)) == null ? void 0 : r.size;
3638
+ return (r = Kt(t)) == null ? void 0 : r.size;
3610
3639
  }
3611
3640
  );
3612
3641
  }
3613
- function Zn(e, t) {
3642
+ function Kn(e, t) {
3614
3643
  return Promise.all(
3615
- t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
3644
+ t.map((n) => (Yn(e, n), n().then((i) => i.default || i)))
3616
3645
  ).then((n) => Qt(e, ...n));
3617
3646
  }
3618
- const J = {};
3619
- function Kt(e) {
3620
- if (!ve(e))
3621
- return e in J ? J[e] : Promise.resolve();
3622
- const t = Jn(e);
3623
- return J[e] = Promise.all(
3647
+ const Z = {};
3648
+ function er(e) {
3649
+ if (!_e(e))
3650
+ return e in Z ? Z[e] : Promise.resolve();
3651
+ const t = Qn(e);
3652
+ return Z[e] = Promise.all(
3624
3653
  t.map(
3625
- ([r, n]) => Zn(r, n)
3654
+ ([r, n]) => Kn(r, n)
3626
3655
  )
3627
3656
  ).then(() => {
3628
- if (ve(e))
3629
- return Kt(e);
3630
- delete J[e];
3631
- }), J[e];
3657
+ if (_e(e))
3658
+ return er(e);
3659
+ delete Z[e];
3660
+ }), Z[e];
3632
3661
  }
3633
- var mt = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3662
+ var dt = Object.getOwnPropertySymbols, ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable, ri = (e, t) => {
3634
3663
  var r = {};
3635
3664
  for (var n in e)
3636
- Qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3637
- if (e != null && mt)
3638
- for (var n of mt(e))
3639
- t.indexOf(n) < 0 && Yn.call(e, n) && (r[n] = e[n]);
3665
+ ei.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3666
+ if (e != null && dt)
3667
+ for (var n of dt(e))
3668
+ t.indexOf(n) < 0 && ti.call(e, n) && (r[n] = e[n]);
3640
3669
  return r;
3641
3670
  };
3642
- const ei = {
3671
+ const ni = {
3643
3672
  number: {
3644
3673
  scientific: { notation: "scientific" },
3645
3674
  engineering: { notation: "engineering" },
@@ -3669,204 +3698,204 @@ const ei = {
3669
3698
  }
3670
3699
  }
3671
3700
  };
3672
- function ti({ locale: e, id: t }) {
3701
+ function ii({ locale: e, id: t }) {
3673
3702
  console.warn(
3674
- `[svelte-i18n] The message "${t}" was not found in "${ie(
3703
+ `[svelte-i18n] The message "${t}" was not found in "${oe(
3675
3704
  e
3676
- ).join('", "')}".${ve(L()) ? `
3705
+ ).join('", "')}".${_e(N()) ? `
3677
3706
 
3678
3707
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3679
3708
  );
3680
3709
  }
3681
- const ri = {
3710
+ const oi = {
3682
3711
  fallbackLocale: null,
3683
3712
  loadingDelay: 200,
3684
- formats: ei,
3713
+ formats: ni,
3685
3714
  warnOnMissingMessages: !0,
3686
3715
  handleMissingMessage: void 0,
3687
3716
  ignoreTag: !0
3688
- }, Q = ri;
3689
- function V() {
3717
+ }, Q = oi;
3718
+ function W() {
3690
3719
  return Q;
3691
3720
  }
3692
- function ni(e) {
3693
- const t = e, { formats: r } = t, n = Kn(t, ["formats"]);
3721
+ function si(e) {
3722
+ const t = e, { formats: r } = t, n = ri(t, ["formats"]);
3694
3723
  let i = e.fallbackLocale;
3695
3724
  if (e.initialLocale)
3696
3725
  try {
3697
- qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3726
+ Jt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3698
3727
  } catch (o) {
3699
3728
  console.warn(
3700
3729
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3701
3730
  );
3702
3731
  }
3703
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ti : console.warn(
3732
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ii : console.warn(
3704
3733
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3705
3734
  )), 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)), R.set(i);
3706
3735
  }
3707
- const Ne = Te(!1);
3708
- var ii = Object.defineProperty, oi = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
3736
+ const Re = He(!1);
3737
+ var ai = Object.defineProperty, ui = Object.defineProperties, li = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
3709
3738
  for (var r in t || (t = {}))
3710
- si.call(t, r) && pt(e, r, t[r]);
3711
- if (dt)
3712
- for (var r of dt(t))
3713
- ui.call(t, r) && pt(e, r, t[r]);
3739
+ hi.call(t, r) && bt(e, r, t[r]);
3740
+ if (pt)
3741
+ for (var r of pt(t))
3742
+ ci.call(t, r) && bt(e, r, t[r]);
3714
3743
  return e;
3715
- }, hi = (e, t) => oi(e, ai(t));
3744
+ }, mi = (e, t) => ui(e, li(t));
3716
3745
  let Xe;
3717
- const Ee = Te(null);
3718
- function bt(e) {
3746
+ const Ee = He(null);
3747
+ function gt(e) {
3719
3748
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3720
3749
  }
3721
- function ie(e, t = V().fallbackLocale) {
3722
- const r = bt(e);
3723
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3750
+ function oe(e, t = W().fallbackLocale) {
3751
+ const r = gt(e);
3752
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3724
3753
  }
3725
- function L() {
3754
+ function N() {
3726
3755
  return Xe != null ? Xe : void 0;
3727
3756
  }
3728
3757
  Ee.subscribe((e) => {
3729
3758
  Xe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3730
3759
  });
3731
- const ci = (e) => {
3732
- if (e && Wn(e) && ve(e)) {
3733
- const { loadingDelay: t } = V();
3760
+ const di = (e) => {
3761
+ if (e && Zn(e) && _e(e)) {
3762
+ const { loadingDelay: t } = W();
3734
3763
  let r;
3735
- return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3736
- () => Ne.set(!0),
3764
+ return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
3765
+ () => Re.set(!0),
3737
3766
  t
3738
- ) : Ne.set(!0), Kt(e).then(() => {
3767
+ ) : Re.set(!0), er(e).then(() => {
3739
3768
  Ee.set(e);
3740
3769
  }).finally(() => {
3741
- clearTimeout(r), Ne.set(!1);
3770
+ clearTimeout(r), Re.set(!1);
3742
3771
  });
3743
3772
  }
3744
3773
  return Ee.set(e);
3745
- }, R = hi(li({}, Ee), {
3746
- set: ci
3747
- }), Se = (e) => {
3774
+ }, R = mi(fi({}, Ee), {
3775
+ set: di
3776
+ }), Ae = (e) => {
3748
3777
  const t = /* @__PURE__ */ Object.create(null);
3749
3778
  return (n) => {
3750
3779
  const i = JSON.stringify(n);
3751
3780
  return i in t ? t[i] : t[i] = e(n);
3752
3781
  };
3753
3782
  };
3754
- var fi = Object.defineProperty, _e = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3783
+ var pi = Object.defineProperty, xe = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3755
3784
  for (var r in t || (t = {}))
3756
- er.call(t, r) && gt(e, r, t[r]);
3757
- if (_e)
3758
- for (var r of _e(t))
3759
- tr.call(t, r) && gt(e, r, t[r]);
3785
+ tr.call(t, r) && yt(e, r, t[r]);
3786
+ if (xe)
3787
+ for (var r of xe(t))
3788
+ rr.call(t, r) && yt(e, r, t[r]);
3760
3789
  return e;
3761
- }, q = (e, t) => {
3790
+ }, J = (e, t) => {
3762
3791
  var r = {};
3763
3792
  for (var n in e)
3764
- er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3765
- if (e != null && _e)
3766
- for (var n of _e(e))
3767
- t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3793
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3794
+ if (e != null && xe)
3795
+ for (var n of xe(e))
3796
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
3768
3797
  return r;
3769
3798
  };
3770
- const te = (e, t) => {
3771
- const { formats: r } = V();
3799
+ const re = (e, t) => {
3800
+ const { formats: r } = W();
3772
3801
  if (e in r && t in r[e])
3773
3802
  return r[e][t];
3774
3803
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3775
- }, mi = Se(
3804
+ }, bi = Ae(
3776
3805
  (e) => {
3777
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3806
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3778
3807
  if (r == null)
3779
3808
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3780
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3809
+ return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
3781
3810
  }
3782
- ), di = Se(
3811
+ ), gi = Ae(
3783
3812
  (e) => {
3784
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3813
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3785
3814
  if (r == null)
3786
3815
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3787
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3816
+ return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
3788
3817
  }
3789
- ), pi = Se(
3818
+ ), yi = Ae(
3790
3819
  (e) => {
3791
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3820
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3792
3821
  if (r == null)
3793
3822
  throw new Error(
3794
3823
  '[svelte-i18n] A "locale" must be set to format time values'
3795
3824
  );
3796
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3825
+ return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
3797
3826
  }
3798
- ), bi = (e = {}) => {
3827
+ ), vi = (e = {}) => {
3799
3828
  var t = e, {
3800
- locale: r = L()
3801
- } = t, n = q(t, [
3829
+ locale: r = N()
3830
+ } = t, n = J(t, [
3802
3831
  "locale"
3803
3832
  ]);
3804
- return mi(Je({ locale: r }, n));
3805
- }, gi = (e = {}) => {
3833
+ return bi(Ze({ locale: r }, n));
3834
+ }, _i = (e = {}) => {
3806
3835
  var t = e, {
3807
- locale: r = L()
3808
- } = t, n = q(t, [
3836
+ locale: r = N()
3837
+ } = t, n = J(t, [
3809
3838
  "locale"
3810
3839
  ]);
3811
- return di(Je({ locale: r }, n));
3812
- }, yi = (e = {}) => {
3840
+ return gi(Ze({ locale: r }, n));
3841
+ }, Ei = (e = {}) => {
3813
3842
  var t = e, {
3814
- locale: r = L()
3815
- } = t, n = q(t, [
3843
+ locale: r = N()
3844
+ } = t, n = J(t, [
3816
3845
  "locale"
3817
3846
  ]);
3818
- return pi(Je({ locale: r }, n));
3819
- }, vi = Se(
3847
+ return yi(Ze({ locale: r }, n));
3848
+ }, xi = Ae(
3820
3849
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3821
- (e, t = L()) => new qt(e, t, V().formats, {
3822
- ignoreTag: V().ignoreTag
3850
+ (e, t = N()) => new Jt(e, t, W().formats, {
3851
+ ignoreTag: W().ignoreTag
3823
3852
  })
3824
- ), Ei = (e, t = {}) => {
3853
+ ), Ti = (e, t = {}) => {
3825
3854
  var r, n, i, o;
3826
- let a = t;
3827
- typeof e == "object" && (a = e, e = a.id);
3855
+ let s = t;
3856
+ typeof e == "object" && (s = e, e = s.id);
3828
3857
  const {
3829
- values: u,
3830
- locale: l = L(),
3831
- default: s
3832
- } = a;
3858
+ values: a,
3859
+ locale: l = N(),
3860
+ default: u
3861
+ } = s;
3833
3862
  if (l == null)
3834
3863
  throw new Error(
3835
3864
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3836
3865
  );
3837
- let h = Jt(e, l);
3866
+ let h = Zt(e, l);
3838
3867
  if (!h)
3839
- h = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: s })) != null ? i : s) != null ? o : e;
3868
+ h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3840
3869
  else if (typeof h != "string")
3841
3870
  return console.warn(
3842
3871
  `[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.`
3843
3872
  ), h;
3844
- if (!u)
3873
+ if (!a)
3845
3874
  return h;
3846
- let f = h;
3875
+ let c = h;
3847
3876
  try {
3848
- f = vi(h, l).format(u);
3849
- } catch (m) {
3850
- m instanceof Error && console.warn(
3877
+ c = xi(h, l).format(a);
3878
+ } catch (f) {
3879
+ f instanceof Error && console.warn(
3851
3880
  `[svelte-i18n] Message "${e}" has syntax error:`,
3852
- m.message
3881
+ f.message
3853
3882
  );
3854
3883
  }
3855
- return f;
3856
- }, _i = (e, t) => yi(t).format(e), xi = (e, t) => gi(t).format(e), Ti = (e, t) => bi(t).format(e), Hi = (e, t = L()) => Jt(e, t), wi = W([R, ne], () => Ei);
3857
- W([R], () => _i);
3858
- W([R], () => xi);
3859
- W([R], () => Ti);
3860
- W([R, ne], () => Hi);
3861
- function yt(e, t) {
3884
+ return c;
3885
+ }, Hi = (e, t) => Ei(t).format(e), Si = (e, t) => _i(t).format(e), wi = (e, t) => vi(t).format(e), Ai = (e, t = N()) => Zt(e, t), Bi = q([R, ie], () => Ti);
3886
+ q([R], () => Hi);
3887
+ q([R], () => Si);
3888
+ q([R], () => wi);
3889
+ q([R, ie], () => Ai);
3890
+ function vt(e, t) {
3862
3891
  Qt(e, t);
3863
3892
  }
3864
- function Si(e) {
3865
- ni({
3893
+ function Pi(e) {
3894
+ si({
3866
3895
  fallbackLocale: "en"
3867
3896
  }), R.set(e);
3868
3897
  }
3869
- const vt = {
3898
+ const _t = {
3870
3899
  en: {
3871
3900
  errorGeneralTitle: "Error Occurred",
3872
3901
  errorGeneralText: "Something went wrong",
@@ -3894,7 +3923,9 @@ const vt = {
3894
3923
  DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",
3895
3924
  FraudSuspectedError: "We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",
3896
3925
  OnlyOnePendingTransactionPerUserlsAllowed: "Only one pending transaction per user is allowed",
3897
- TransactionFrequencyLimitReached: "Transaction frequency limit reached"
3926
+ TransactionFrequencyLimitReached: "Transaction frequency limit reached",
3927
+ NotMappedVendorError: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",
3928
+ LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider"
3898
3929
  },
3899
3930
  tr: {
3900
3931
  errorGeneralTitle: "Hata oluştu",
@@ -3923,7 +3954,9 @@ const vt = {
3923
3954
  DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",
3924
3955
  FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",
3925
3956
  OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
3926
- TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
3957
+ TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı",
3958
+ NotMappedVendorError: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",
3959
+ LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin"
3927
3960
  },
3928
3961
  fr: {
3929
3962
  errorGeneralTitle: "Une erreur s’est produite",
@@ -3952,55 +3985,57 @@ const vt = {
3952
3985
  DeclinedByMerchant: "Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",
3953
3986
  FraudSuspectedError: "Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",
3954
3987
  OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
3955
- TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
3988
+ TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte",
3989
+ NotMappedVendorError: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",
3990
+ LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication"
3956
3991
  }
3957
3992
  };
3958
- function Bi(e) {
3959
- hr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
3993
+ function Oi(e) {
3994
+ cr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
3960
3995
  }
3961
- const Ai = (e) => ({}), Et = (e) => ({}), Pi = (e) => ({}), _t = (e) => ({}), Oi = (e) => ({}), xt = (e) => ({}), Ci = (e) => ({}), Tt = (e) => ({ class: "CashierErrorIcon" });
3962
- function Ht(e) {
3996
+ const Ci = (e) => ({}), Et = (e) => ({}), Li = (e) => ({}), xt = (e) => ({}), Ii = (e) => ({}), Tt = (e) => ({}), Ni = (e) => ({}), Ht = (e) => ({ class: "CashierErrorIcon" });
3997
+ function St(e) {
3963
3998
  let t, r;
3964
3999
  return {
3965
4000
  c() {
3966
- t = I("ui-image"), rt(t.src, r = `${/*assetsurl*/
3967
- e[0]}/error-general-icon.png`) || ce(t, "src", r), ce(t, "width", "300px"), ce(t, "alt", "error");
4001
+ t = I("ui-image"), nt(t.src, r = `${/*assetsurl*/
4002
+ e[0]}/error-general-icon.png`) || fe(t, "src", r), fe(t, "width", "300px"), fe(t, "alt", "error");
3968
4003
  },
3969
4004
  m(n, i) {
3970
4005
  X(n, t, i);
3971
4006
  },
3972
4007
  p(n, i) {
3973
4008
  i & /*assetsurl*/
3974
- 1 && !rt(t.src, r = `${/*assetsurl*/
3975
- n[0]}/error-general-icon.png`) && ce(t, "src", r);
4009
+ 1 && !nt(t.src, r = `${/*assetsurl*/
4010
+ n[0]}/error-general-icon.png`) && fe(t, "src", r);
3976
4011
  },
3977
4012
  d(n) {
3978
- n && N(t);
4013
+ n && M(t);
3979
4014
  }
3980
4015
  };
3981
4016
  }
3982
- function Ii(e) {
4017
+ function Mi(e) {
3983
4018
  let t, r = (
3984
4019
  /*assetsurl*/
3985
- e[0] && Ht(e)
4020
+ e[0] && St(e)
3986
4021
  );
3987
4022
  return {
3988
4023
  c() {
3989
- r && r.c(), t = mr();
4024
+ r && r.c(), t = dr();
3990
4025
  },
3991
4026
  m(n, i) {
3992
4027
  r && r.m(n, i), X(n, t, i);
3993
4028
  },
3994
4029
  p(n, i) {
3995
4030
  /*assetsurl*/
3996
- n[0] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4031
+ n[0] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3997
4032
  },
3998
4033
  d(n) {
3999
- n && N(t), r && r.d(n);
4034
+ n && M(t), r && r.d(n);
4000
4035
  }
4001
4036
  };
4002
4037
  }
4003
- function Li(e) {
4038
+ function Ri(e) {
4004
4039
  let t, r = (
4005
4040
  /*$_*/
4006
4041
  e[3](`${/*errorcode*/
@@ -4008,245 +4043,245 @@ function Li(e) {
4008
4043
  ), n;
4009
4044
  return {
4010
4045
  c() {
4011
- t = I("span"), n = xe(r), G(t, "class", "CashierErrorText");
4046
+ t = I("span"), n = Te(r), F(t, "class", "CashierErrorText");
4012
4047
  },
4013
4048
  m(i, o) {
4014
- X(i, t, o), O(t, n);
4049
+ X(i, t, o), C(t, n);
4015
4050
  },
4016
4051
  p(i, o) {
4017
4052
  o & /*$_, errorcode*/
4018
4053
  10 && r !== (r = /*$_*/
4019
4054
  i[3](`${/*errorcode*/
4020
- i[1] || "errorGeneralText"}`) + "") && Pt(n, r);
4055
+ i[1] || "errorGeneralText"}`) + "") && Ot(n, r);
4021
4056
  },
4022
4057
  d(i) {
4023
- i && N(t);
4058
+ i && M(t);
4024
4059
  }
4025
4060
  };
4026
4061
  }
4027
- function Mi(e) {
4062
+ function $i(e) {
4028
4063
  let t, r, n = (
4029
4064
  /*$_*/
4030
4065
  e[3]("errorGeneralButton") + ""
4031
- ), i, o, a;
4066
+ ), i, o, s;
4032
4067
  return {
4033
4068
  c() {
4034
- t = I("button"), r = I("span"), i = xe(n), G(t, "class", "CashierErrorButton");
4069
+ t = I("button"), r = I("span"), i = Te(n), F(t, "class", "CashierErrorButton");
4035
4070
  },
4036
- m(u, l) {
4037
- X(u, t, l), O(t, r), O(r, i), o || (a = dr(
4071
+ m(a, l) {
4072
+ X(a, t, l), C(t, r), C(r, i), o || (s = pr(
4038
4073
  t,
4039
4074
  "click",
4040
4075
  /*close*/
4041
4076
  e[4]
4042
4077
  ), o = !0);
4043
4078
  },
4044
- p(u, l) {
4079
+ p(a, l) {
4045
4080
  l & /*$_*/
4046
4081
  8 && n !== (n = /*$_*/
4047
- u[3]("errorGeneralButton") + "") && Pt(i, n);
4082
+ a[3]("errorGeneralButton") + "") && Ot(i, n);
4048
4083
  },
4049
- d(u) {
4050
- u && N(t), o = !1, a();
4084
+ d(a) {
4085
+ a && M(t), o = !1, s();
4051
4086
  }
4052
4087
  };
4053
4088
  }
4054
- function Ni(e) {
4055
- let t, r, n, i, o, a;
4056
- const u = (
4089
+ function Di(e) {
4090
+ let t, r, n, i, o, s;
4091
+ const a = (
4057
4092
  /*#slots*/
4058
4093
  e[11].icon
4059
- ), l = se(
4060
- u,
4094
+ ), l = ue(
4095
+ a,
4061
4096
  e,
4062
4097
  /*$$scope*/
4063
4098
  e[10],
4064
- Tt
4065
- ), s = l || Ii(e), h = (
4099
+ Ht
4100
+ ), u = l || Mi(e), h = (
4066
4101
  /*#slots*/
4067
4102
  e[11].title
4068
- ), f = se(
4103
+ ), c = ue(
4069
4104
  h,
4070
4105
  e,
4071
4106
  /*$$scope*/
4072
4107
  e[10],
4073
- xt
4074
- ), m = (
4108
+ Tt
4109
+ ), f = (
4075
4110
  /*#slots*/
4076
4111
  e[11].text
4077
- ), d = se(
4078
- m,
4112
+ ), p = ue(
4113
+ f,
4079
4114
  e,
4080
4115
  /*$$scope*/
4081
4116
  e[10],
4082
- _t
4083
- ), p = d || Li(e), _ = (
4117
+ xt
4118
+ ), b = p || Ri(e), E = (
4084
4119
  /*#slots*/
4085
4120
  e[11].button
4086
- ), T = se(
4087
- _,
4121
+ ), T = ue(
4122
+ E,
4088
4123
  e,
4089
4124
  /*$$scope*/
4090
4125
  e[10],
4091
4126
  Et
4092
- ), x = T || Mi(e);
4127
+ ), x = T || $i(e);
4093
4128
  return {
4094
4129
  c() {
4095
- t = I("div"), r = I("div"), s && s.c(), n = Ae(), f && f.c(), i = Ae(), p && p.c(), o = Ae(), x && x.c(), G(r, "class", "CashierErrorContent"), G(t, "class", "CashierError");
4130
+ t = I("div"), r = I("div"), u && u.c(), n = Pe(), c && c.c(), i = Pe(), b && b.c(), o = Pe(), x && x.c(), F(r, "class", "CashierErrorContent"), F(t, "class", "CashierError");
4096
4131
  },
4097
- m(c, g) {
4098
- X(c, t, g), O(t, r), s && s.m(r, null), O(r, n), f && f.m(r, null), O(r, i), p && p.m(r, null), O(r, o), x && x.m(r, null), e[12](t), a = !0;
4132
+ m(d, m) {
4133
+ X(d, t, m), C(t, r), u && u.m(r, null), C(r, n), c && c.m(r, null), C(r, i), b && b.m(r, null), C(r, o), x && x.m(r, null), e[12](t), s = !0;
4099
4134
  },
4100
- p(c, [g]) {
4101
- l ? l.p && (!a || g & /*$$scope*/
4102
- 1024) && le(
4135
+ p(d, [m]) {
4136
+ l ? l.p && (!s || m & /*$$scope*/
4137
+ 1024) && he(
4103
4138
  l,
4104
- u,
4105
- c,
4139
+ a,
4140
+ d,
4106
4141
  /*$$scope*/
4107
- c[10],
4108
- a ? ue(
4109
- u,
4142
+ d[10],
4143
+ s ? le(
4144
+ a,
4110
4145
  /*$$scope*/
4111
- c[10],
4112
- g,
4113
- Ci
4114
- ) : he(
4146
+ d[10],
4147
+ m,
4148
+ Ni
4149
+ ) : ce(
4115
4150
  /*$$scope*/
4116
- c[10]
4151
+ d[10]
4117
4152
  ),
4118
- Tt
4119
- ) : s && s.p && (!a || g & /*assetsurl*/
4120
- 1) && s.p(c, a ? g : -1), f && f.p && (!a || g & /*$$scope*/
4121
- 1024) && le(
4122
- f,
4123
- h,
4153
+ Ht
4154
+ ) : u && u.p && (!s || m & /*assetsurl*/
4155
+ 1) && u.p(d, s ? m : -1), c && c.p && (!s || m & /*$$scope*/
4156
+ 1024) && he(
4124
4157
  c,
4158
+ h,
4159
+ d,
4125
4160
  /*$$scope*/
4126
- c[10],
4127
- a ? ue(
4161
+ d[10],
4162
+ s ? le(
4128
4163
  h,
4129
4164
  /*$$scope*/
4130
- c[10],
4131
- g,
4132
- Oi
4133
- ) : he(
4165
+ d[10],
4166
+ m,
4167
+ Ii
4168
+ ) : ce(
4134
4169
  /*$$scope*/
4135
- c[10]
4170
+ d[10]
4136
4171
  ),
4137
- xt
4138
- ), d ? d.p && (!a || g & /*$$scope*/
4139
- 1024) && le(
4172
+ Tt
4173
+ ), p ? p.p && (!s || m & /*$$scope*/
4174
+ 1024) && he(
4175
+ p,
4176
+ f,
4140
4177
  d,
4141
- m,
4142
- c,
4143
4178
  /*$$scope*/
4144
- c[10],
4145
- a ? ue(
4146
- m,
4179
+ d[10],
4180
+ s ? le(
4181
+ f,
4147
4182
  /*$$scope*/
4148
- c[10],
4149
- g,
4150
- Pi
4151
- ) : he(
4183
+ d[10],
4184
+ m,
4185
+ Li
4186
+ ) : ce(
4152
4187
  /*$$scope*/
4153
- c[10]
4188
+ d[10]
4154
4189
  ),
4155
- _t
4156
- ) : p && p.p && (!a || g & /*$_, errorcode*/
4157
- 10) && p.p(c, a ? g : -1), T ? T.p && (!a || g & /*$$scope*/
4158
- 1024) && le(
4190
+ xt
4191
+ ) : b && b.p && (!s || m & /*$_, errorcode*/
4192
+ 10) && b.p(d, s ? m : -1), T ? T.p && (!s || m & /*$$scope*/
4193
+ 1024) && he(
4159
4194
  T,
4160
- _,
4161
- c,
4195
+ E,
4196
+ d,
4162
4197
  /*$$scope*/
4163
- c[10],
4164
- a ? ue(
4165
- _,
4198
+ d[10],
4199
+ s ? le(
4200
+ E,
4166
4201
  /*$$scope*/
4167
- c[10],
4168
- g,
4169
- Ai
4170
- ) : he(
4202
+ d[10],
4203
+ m,
4204
+ Ci
4205
+ ) : ce(
4171
4206
  /*$$scope*/
4172
- c[10]
4207
+ d[10]
4173
4208
  ),
4174
4209
  Et
4175
- ) : x && x.p && (!a || g & /*$_*/
4176
- 8) && x.p(c, a ? g : -1);
4210
+ ) : x && x.p && (!s || m & /*$_*/
4211
+ 8) && x.p(d, s ? m : -1);
4177
4212
  },
4178
- i(c) {
4179
- a || (Z(s, c), Z(f, c), Z(p, c), Z(x, c), a = !0);
4213
+ i(d) {
4214
+ s || (Y(u, d), Y(c, d), Y(b, d), Y(x, d), s = !0);
4180
4215
  },
4181
- o(c) {
4182
- fe(s, c), fe(f, c), fe(p, c), fe(x, c), a = !1;
4216
+ o(d) {
4217
+ me(u, d), me(c, d), me(b, d), me(x, d), s = !1;
4183
4218
  },
4184
- d(c) {
4185
- c && N(t), s && s.d(c), f && f.d(c), p && p.d(c), x && x.d(c), e[12](null);
4219
+ d(d) {
4220
+ d && M(t), u && u.d(d), c && c.d(d), b && b.d(d), x && x.d(d), e[12](null);
4186
4221
  }
4187
4222
  };
4188
4223
  }
4189
- function Ri(e, t, r) {
4224
+ function Ui(e, t, r) {
4190
4225
  let n;
4191
- lr(e, wi, (c) => r(3, n = c));
4192
- let { $$slots: i = {}, $$scope: o } = t, { assetsurl: a = "" } = t, { lang: u = "en" } = t, { errorcode: l = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m = "" } = t, d;
4193
- const p = () => {
4194
- Si(u);
4195
- }, _ = () => {
4196
- fetch(f).then((g) => g.json()).then((g) => {
4197
- Object.keys(g).forEach((P) => {
4198
- yt(P, g[P]);
4226
+ hr(e, Bi, (m) => r(3, n = m));
4227
+ let { $$slots: i = {}, $$scope: o } = t, { assetsurl: s = "" } = t, { lang: a = "en" } = t, { errorcode: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f = "" } = t, p, b;
4228
+ const E = () => {
4229
+ Pi(a);
4230
+ }, T = () => {
4231
+ fetch(c).then((S) => S.json()).then((S) => {
4232
+ Object.keys(S).forEach((A) => {
4233
+ vt(A, S[A]);
4199
4234
  });
4200
- }).catch((g) => {
4201
- console.error(g);
4235
+ }).catch((S) => {
4236
+ console.error(S);
4202
4237
  });
4203
4238
  };
4204
- Object.keys(vt).forEach((c) => {
4205
- yt(c, vt[c]);
4239
+ Object.keys(_t).forEach((m) => {
4240
+ vt(m, _t[m]);
4206
4241
  });
4207
- const T = () => {
4242
+ const x = () => {
4208
4243
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4209
4244
  };
4210
- yr(() => () => {
4245
+ vr(() => () => {
4211
4246
  });
4212
- function x(c) {
4213
- Re[c ? "unshift" : "push"](() => {
4214
- d = c, r(2, d);
4247
+ function d(m) {
4248
+ $e[m ? "unshift" : "push"](() => {
4249
+ p = m, r(2, p);
4215
4250
  });
4216
4251
  }
4217
- return e.$$set = (c) => {
4218
- "assetsurl" in c && r(0, a = c.assetsurl), "lang" in c && r(5, u = c.lang), "errorcode" in c && r(1, l = c.errorcode), "clientstyling" in c && r(6, s = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "translationurl" in c && r(8, f = c.translationurl), "mbsource" in c && r(9, m = c.mbsource), "$$scope" in c && r(10, o = c.$$scope);
4252
+ return e.$$set = (m) => {
4253
+ "assetsurl" in m && r(0, s = m.assetsurl), "lang" in m && r(5, a = m.lang), "errorcode" in m && r(1, l = m.errorcode), "clientstyling" in m && r(6, u = m.clientstyling), "clientstylingurl" in m && r(7, h = m.clientstylingurl), "translationurl" in m && r(8, c = m.translationurl), "mbsource" in m && r(9, f = m.mbsource), "$$scope" in m && r(10, o = m.$$scope);
4219
4254
  }, e.$$.update = () => {
4220
4255
  e.$$.dirty & /*lang*/
4221
- 32 && u && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4222
- 68 && s && d && Cr(d, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4223
- 132 && h && d && Ir(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4224
- 516 && m && d && Lr(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4225
- 256 && f && _();
4256
+ 32 && a && E(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4257
+ 68 && u && p && Lr(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4258
+ 132 && h && p && Ir(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4259
+ 516 && f && p && Nr(p, `${f}.Style`, b), e.$$.dirty & /*translationurl*/
4260
+ 256 && c && T();
4226
4261
  }, [
4227
- a,
4262
+ s,
4228
4263
  l,
4229
- d,
4264
+ p,
4230
4265
  n,
4231
- T,
4266
+ x,
4267
+ a,
4232
4268
  u,
4233
- s,
4234
4269
  h,
4270
+ c,
4235
4271
  f,
4236
- m,
4237
4272
  o,
4238
4273
  i,
4239
- x
4274
+ d
4240
4275
  ];
4241
4276
  }
4242
- class $i extends Pr {
4277
+ class ki extends Or {
4243
4278
  constructor(t) {
4244
4279
  super(), Br(
4245
4280
  this,
4246
4281
  t,
4247
- Ri,
4248
- Ni,
4249
- St,
4282
+ Ui,
4283
+ Di,
4284
+ At,
4250
4285
  {
4251
4286
  assetsurl: 0,
4252
4287
  lang: 5,
@@ -4256,53 +4291,53 @@ class $i extends Pr {
4256
4291
  translationurl: 8,
4257
4292
  mbsource: 9
4258
4293
  },
4259
- Bi
4294
+ Oi
4260
4295
  );
4261
4296
  }
4262
4297
  get assetsurl() {
4263
4298
  return this.$$.ctx[0];
4264
4299
  }
4265
4300
  set assetsurl(t) {
4266
- this.$$set({ assetsurl: t }), B();
4301
+ this.$$set({ assetsurl: t }), P();
4267
4302
  }
4268
4303
  get lang() {
4269
4304
  return this.$$.ctx[5];
4270
4305
  }
4271
4306
  set lang(t) {
4272
- this.$$set({ lang: t }), B();
4307
+ this.$$set({ lang: t }), P();
4273
4308
  }
4274
4309
  get errorcode() {
4275
4310
  return this.$$.ctx[1];
4276
4311
  }
4277
4312
  set errorcode(t) {
4278
- this.$$set({ errorcode: t }), B();
4313
+ this.$$set({ errorcode: t }), P();
4279
4314
  }
4280
4315
  get clientstyling() {
4281
4316
  return this.$$.ctx[6];
4282
4317
  }
4283
4318
  set clientstyling(t) {
4284
- this.$$set({ clientstyling: t }), B();
4319
+ this.$$set({ clientstyling: t }), P();
4285
4320
  }
4286
4321
  get clientstylingurl() {
4287
4322
  return this.$$.ctx[7];
4288
4323
  }
4289
4324
  set clientstylingurl(t) {
4290
- this.$$set({ clientstylingurl: t }), B();
4325
+ this.$$set({ clientstylingurl: t }), P();
4291
4326
  }
4292
4327
  get translationurl() {
4293
4328
  return this.$$.ctx[8];
4294
4329
  }
4295
4330
  set translationurl(t) {
4296
- this.$$set({ translationurl: t }), B();
4331
+ this.$$set({ translationurl: t }), P();
4297
4332
  }
4298
4333
  get mbsource() {
4299
4334
  return this.$$.ctx[9];
4300
4335
  }
4301
4336
  set mbsource(t) {
4302
- this.$$set({ mbsource: t }), B();
4337
+ this.$$set({ mbsource: t }), P();
4303
4338
  }
4304
4339
  }
4305
- Ar($i, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4340
+ Pr(ki, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4306
4341
  export {
4307
- $i as default
4342
+ ki as default
4308
4343
  };