@everymatrix/cashier-error 1.90.34 → 1.90.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var nr = Object.defineProperty, ir = Object.defineProperties;
2
- var ar = Object.getOwnPropertyDescriptors;
3
- var Qe = Object.getOwnPropertySymbols;
4
- var or = Object.prototype.hasOwnProperty, sr = 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) => {
1
+ var sr = Object.defineProperty, ur = Object.defineProperties;
2
+ var lr = Object.getOwnPropertyDescriptors;
3
+ var tt = Object.getOwnPropertySymbols;
4
+ var hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
5
+ var Oe = (e, t, r) => t in e ? sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- or.call(t, r) && Be(e, r, t[r]);
8
- if (Qe)
9
- for (var r of Qe(t))
10
- sr.call(t, r) && Be(e, r, t[r]);
7
+ hr.call(t, r) && Oe(e, r, t[r]);
8
+ if (tt)
9
+ for (var r of tt(t))
10
+ cr.call(t, r) && Oe(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => ir(e, ar(t));
13
- var A = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
12
+ }, nt = (e, t) => ur(e, lr(t));
13
+ var B = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var it = (e, t, r) => new Promise((n, i) => {
15
15
  var a = (l) => {
16
16
  try {
17
17
  s(r.next(l));
@@ -28,9 +28,9 @@ var tt = (e, t, r) => new Promise((n, i) => {
28
28
  s((r = r.apply(e, t)).next());
29
29
  });
30
30
  import "../stencil/ui-image-CP8Lp7fB.js";
31
- function O() {
31
+ function N() {
32
32
  }
33
- function ur(e, t) {
33
+ function fr(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -38,50 +38,50 @@ function ur(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function At(e) {
41
+ function Ot(e) {
42
42
  return e();
43
43
  }
44
- function rt() {
44
+ function at() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function ne(e) {
48
- e.forEach(At);
47
+ function ue(e) {
48
+ e.forEach(Ot);
49
49
  }
50
- function qe(e) {
50
+ function Ze(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function St(e, t) {
53
+ function Ct(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let se;
57
- function nt(e, t) {
58
- return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
56
+ let ce;
57
+ function ot(e, t) {
58
+ return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
59
59
  }
60
- function lr(e) {
60
+ function mr(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Bt(e, ...t) {
63
+ function It(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
67
- return O;
67
+ return N;
68
68
  }
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function hr(e, t, r) {
73
- e.$$.on_destroy.push(Bt(t, r));
72
+ function dr(e, t, r) {
73
+ e.$$.on_destroy.push(It(t, r));
74
74
  }
75
- function ue(e, t, r, n) {
75
+ function fe(e, t, r, n) {
76
76
  if (e) {
77
- const i = Pt(e, t, r, n);
77
+ const i = Mt(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Pt(e, t, r, n) {
82
- return e[1] && n ? ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function Mt(e, t, r, n) {
82
+ return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function le(e, t, r, n) {
84
+ function me(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)
@@ -96,13 +96,13 @@ function le(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function he(e, t, r, n, i, a) {
99
+ function de(e, t, r, n, i, a) {
100
100
  if (i) {
101
- const o = Pt(t, r, n, a);
101
+ const o = Mt(t, r, n, a);
102
102
  e.p(o, i);
103
103
  }
104
104
  }
105
- function ce(e) {
105
+ function pe(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 ce(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- function C(e, t) {
114
+ function L(e, t) {
115
115
  e.appendChild(t);
116
116
  }
117
- function cr(e, t, r) {
118
- const n = fr(e);
117
+ function pr(e, t, r) {
118
+ const n = gr(e);
119
119
  if (!n.getElementById(t)) {
120
- const i = I("style");
121
- i.id = t, i.textContent = r, mr(n, i);
120
+ const i = P("style");
121
+ i.id = t, i.textContent = r, br(n, i);
122
122
  }
123
123
  }
124
- function fr(e) {
124
+ function gr(e) {
125
125
  if (!e)
126
126
  return document;
127
127
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -131,49 +131,49 @@ function fr(e) {
131
131
  t
132
132
  ) : e.ownerDocument;
133
133
  }
134
- function mr(e, t) {
135
- return C(
134
+ function br(e, t) {
135
+ return L(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
139
139
  ), t.sheet;
140
140
  }
141
- function X(e, t, r) {
141
+ function S(e, t, r) {
142
142
  e.insertBefore(t, r || null);
143
143
  }
144
- function N(e) {
144
+ function A(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function I(e) {
147
+ function P(e) {
148
148
  return document.createElement(e);
149
149
  }
150
- function Te(e) {
150
+ function k(e) {
151
151
  return document.createTextNode(e);
152
152
  }
153
- function Pe() {
154
- return Te(" ");
153
+ function W() {
154
+ return k(" ");
155
155
  }
156
- function dr() {
157
- return Te("");
156
+ function Ye() {
157
+ return k("");
158
158
  }
159
- function pr(e, t, r, n) {
159
+ function yr(e, t, r, n) {
160
160
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
161
161
  }
162
- function F(e, t, r) {
162
+ function R(e, t, r) {
163
163
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
164
164
  }
165
- function fe(e, t, r) {
165
+ function ge(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 : F(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 : R(e, t, r);
168
168
  }
169
- function br(e) {
169
+ function vr(e) {
170
170
  return Array.from(e.childNodes);
171
171
  }
172
- function Ot(e, t) {
172
+ function q(e, t) {
173
173
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
174
174
  t);
175
175
  }
176
- function gr(e) {
176
+ function _r(e) {
177
177
  const t = {};
178
178
  return e.childNodes.forEach(
179
179
  /** @param {Element} node */
@@ -182,105 +182,105 @@ function gr(e) {
182
182
  }
183
183
  ), t;
184
184
  }
185
- let ee;
186
- function K(e) {
187
- ee = e;
185
+ let ae;
186
+ function ie(e) {
187
+ ae = e;
188
188
  }
189
- function yr() {
190
- if (!ee)
189
+ function Er() {
190
+ if (!ae)
191
191
  throw new Error("Function called outside component initialization");
192
- return ee;
192
+ return ae;
193
193
  }
194
- function vr(e) {
195
- yr().$$.on_mount.push(e);
196
- }
197
- const k = [], $e = [];
198
- let G = [];
199
- const it = [], Er = /* @__PURE__ */ Promise.resolve();
200
- let De = !1;
201
- function _r() {
202
- De || (De = !0, Er.then(P));
203
- }
204
- function ke(e) {
205
- G.push(e);
206
- }
207
- const Oe = /* @__PURE__ */ new Set();
208
- let $ = 0;
209
- function P() {
210
- if ($ !== 0)
194
+ function xr(e) {
195
+ Er().$$.on_mount.push(e);
196
+ }
197
+ const j = [], ke = [];
198
+ let X = [];
199
+ const st = [], Tr = /* @__PURE__ */ Promise.resolve();
200
+ let Ue = !1;
201
+ function wr() {
202
+ Ue || (Ue = !0, Tr.then(M));
203
+ }
204
+ function Ge(e) {
205
+ X.push(e);
206
+ }
207
+ const Ce = /* @__PURE__ */ new Set();
208
+ let F = 0;
209
+ function M() {
210
+ if (F !== 0)
211
211
  return;
212
- const e = ee;
212
+ const e = ae;
213
213
  do {
214
214
  try {
215
- for (; $ < k.length; ) {
216
- const t = k[$];
217
- $++, K(t), xr(t.$$);
215
+ for (; F < j.length; ) {
216
+ const t = j[F];
217
+ F++, ie(t), Hr(t.$$);
218
218
  }
219
219
  } catch (t) {
220
- throw k.length = 0, $ = 0, t;
220
+ throw j.length = 0, F = 0, t;
221
221
  }
222
- for (K(null), k.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());
222
+ for (ie(null), j.length = 0, F = 0; ke.length; )
223
+ ke.pop()();
224
+ for (let t = 0; t < X.length; t += 1) {
225
+ const r = X[t];
226
+ Ce.has(r) || (Ce.add(r), r());
227
227
  }
228
- G.length = 0;
229
- } while (k.length);
230
- for (; it.length; )
231
- it.pop()();
232
- De = !1, Oe.clear(), K(e);
228
+ X.length = 0;
229
+ } while (j.length);
230
+ for (; st.length; )
231
+ st.pop()();
232
+ Ue = !1, Ce.clear(), ie(e);
233
233
  }
234
- function xr(e) {
234
+ function Hr(e) {
235
235
  if (e.fragment !== null) {
236
- e.update(), ne(e.before_update);
236
+ e.update(), ue(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(ke);
238
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
239
239
  }
240
240
  }
241
- function Tr(e) {
241
+ function Ar(e) {
242
242
  const t = [], r = [];
243
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
243
+ X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
244
244
  }
245
- const pe = /* @__PURE__ */ new Set();
246
- let Hr;
247
- function Y(e, t) {
248
- e && e.i && (pe.delete(e), e.i(t));
245
+ const ve = /* @__PURE__ */ new Set();
246
+ let Sr;
247
+ function re(e, t) {
248
+ e && e.i && (ve.delete(e), e.i(t));
249
249
  }
250
- function me(e, t, r, n) {
250
+ function be(e, t, r, n) {
251
251
  if (e && e.o) {
252
- if (pe.has(e))
252
+ if (ve.has(e))
253
253
  return;
254
- pe.add(e), Hr.c.push(() => {
255
- pe.delete(e);
254
+ ve.add(e), Sr.c.push(() => {
255
+ ve.delete(e);
256
256
  }), e.o(t);
257
257
  }
258
258
  }
259
- function wr(e, t, r) {
259
+ function Br(e, t, r) {
260
260
  const { fragment: n, after_update: i } = e.$$;
261
- n && n.m(t, r), ke(() => {
262
- const a = e.$$.on_mount.map(At).filter(qe);
263
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : ne(a), e.$$.on_mount = [];
264
- }), i.forEach(ke);
261
+ n && n.m(t, r), Ge(() => {
262
+ const a = e.$$.on_mount.map(Ot).filter(Ze);
263
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : ue(a), e.$$.on_mount = [];
264
+ }), i.forEach(Ge);
265
265
  }
266
- function Ar(e, t) {
266
+ function Lr(e, t) {
267
267
  const r = e.$$;
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 = []);
268
+ r.fragment !== null && (Ar(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
269
269
  }
270
- function Sr(e, t) {
271
- e.$$.dirty[0] === -1 && (k.push(e), _r(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
270
+ function Pr(e, t) {
271
+ e.$$.dirty[0] === -1 && (j.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
272
272
  }
273
- function Br(e, t, r, n, i, a, o = null, s = [-1]) {
274
- const l = ee;
275
- K(e);
273
+ function Or(e, t, r, n, i, a, o = null, s = [-1]) {
274
+ const l = ae;
275
+ ie(e);
276
276
  const u = e.$$ = {
277
277
  fragment: null,
278
278
  ctx: [],
279
279
  // state
280
280
  props: a,
281
- update: O,
281
+ update: N,
282
282
  not_equal: i,
283
- bound: rt(),
283
+ bound: at(),
284
284
  // lifecycle
285
285
  on_mount: [],
286
286
  on_destroy: [],
@@ -289,48 +289,48 @@ function Br(e, t, r, n, i, a, o = null, s = [-1]) {
289
289
  after_update: [],
290
290
  context: new Map(t.context || (l ? l.$$.context : [])),
291
291
  // everything else
292
- callbacks: rt(),
292
+ callbacks: at(),
293
293
  dirty: s,
294
294
  skip_bound: !1,
295
295
  root: t.target || l.$$.root
296
296
  };
297
297
  o && o(u.root);
298
298
  let h = !1;
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 && Sr(e, c)), f;
302
- }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
299
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
300
+ const g = d.length ? d[0] : f;
301
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && Pr(e, c)), f;
302
+ }) : [], u.update(), h = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
303
303
  if (t.hydrate) {
304
- const c = br(t.target);
305
- u.fragment && u.fragment.l(c), c.forEach(N);
304
+ const c = vr(t.target);
305
+ u.fragment && u.fragment.l(c), c.forEach(A);
306
306
  } else
307
307
  u.fragment && u.fragment.c();
308
- t.intro && Y(e.$$.fragment), wr(e, t.target, t.anchor), P();
308
+ t.intro && re(e.$$.fragment), Br(e, t.target, t.anchor), M();
309
309
  }
310
- K(l);
310
+ ie(l);
311
311
  }
312
- let Ct;
313
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
312
+ let Nt;
313
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
314
314
  constructor(t, r, n) {
315
315
  super();
316
316
  /** The Svelte component constructor */
317
- A(this, "$$ctor");
317
+ B(this, "$$ctor");
318
318
  /** Slots */
319
- A(this, "$$s");
319
+ B(this, "$$s");
320
320
  /** The Svelte component instance */
321
- A(this, "$$c");
321
+ B(this, "$$c");
322
322
  /** Whether or not the custom element is connected */
323
- A(this, "$$cn", !1);
323
+ B(this, "$$cn", !1);
324
324
  /** Component props data */
325
- A(this, "$$d", {});
325
+ B(this, "$$d", {});
326
326
  /** `true` if currently in the process of reflecting component props back to attributes */
327
- A(this, "$$r", !1);
327
+ B(this, "$$r", !1);
328
328
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
329
- A(this, "$$p_d", {});
329
+ B(this, "$$p_d", {});
330
330
  /** @type {Record<string, Function[]>} Event listeners */
331
- A(this, "$$l", {});
331
+ B(this, "$$l", {});
332
332
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
333
- A(this, "$$l_u", /* @__PURE__ */ new Map());
333
+ B(this, "$$l_u", /* @__PURE__ */ new Map());
334
334
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
335
335
  }
336
336
  addEventListener(t, r, n) {
@@ -347,42 +347,42 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
347
347
  }
348
348
  }
349
349
  connectedCallback() {
350
- return tt(this, null, function* () {
350
+ return it(this, null, function* () {
351
351
  if (this.$$cn = !0, !this.$$c) {
352
352
  let t = function(a) {
353
353
  return () => {
354
354
  let o;
355
355
  return {
356
356
  c: function() {
357
- o = I("slot"), a !== "default" && F(o, "name", a);
357
+ o = P("slot"), a !== "default" && R(o, "name", a);
358
358
  },
359
359
  /**
360
360
  * @param {HTMLElement} target
361
361
  * @param {HTMLElement} [anchor]
362
362
  */
363
363
  m: function(u, h) {
364
- X(u, o, h);
364
+ S(u, o, h);
365
365
  },
366
366
  d: function(u) {
367
- u && N(o);
367
+ u && A(o);
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 = gr(this);
374
+ const r = {}, n = _r(this);
375
375
  for (const a of this.$$s)
376
376
  a in n && (r[a] = [t(a)]);
377
377
  for (const a of this.attributes) {
378
378
  const o = this.$$g_p(a.name);
379
- o in this.$$d || (this.$$d[o] = be(o, a.value, this.$$p_d, "toProp"));
379
+ o in this.$$d || (this.$$d[o] = _e(o, a.value, this.$$p_d, "toProp"));
380
380
  }
381
381
  for (const a in this.$$p_d)
382
382
  !(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
383
383
  this.$$c = new this.$$ctor({
384
384
  target: this.shadowRoot || this,
385
- props: et(Ke({}, this.$$d), {
385
+ props: nt(rt({}, this.$$d), {
386
386
  $$slots: r,
387
387
  $$scope: {
388
388
  ctx: []
@@ -393,7 +393,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
393
393
  this.$$r = !0;
394
394
  for (const a in this.$$p_d)
395
395
  if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
396
- const o = be(
396
+ const o = _e(
397
397
  a,
398
398
  this.$$d[a],
399
399
  this.$$p_d,
@@ -417,7 +417,7 @@ typeof HTMLElement == "function" && (Ct = 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] = be(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] = _e(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" && (Ct = class extends HTMLElement {
430
430
  ) || t;
431
431
  }
432
432
  });
433
- function be(e, t, r, n) {
433
+ function _e(e, t, r, n) {
434
434
  var a;
435
435
  const i = (a = r[e]) == null ? void 0 : a.type;
436
436
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -460,8 +460,8 @@ function be(e, t, r, n) {
460
460
  return t;
461
461
  }
462
462
  }
463
- function Pr(e, t, r, n, i, a) {
464
- let o = class extends Ct {
463
+ function Cr(e, t, r, n, i, a) {
464
+ let o = class extends Nt {
465
465
  constructor() {
466
466
  super(e, r, i), this.$$p_d = t;
467
467
  }
@@ -478,7 +478,7 @@ function Pr(e, t, r, n, i, a) {
478
478
  },
479
479
  set(l) {
480
480
  var u;
481
- l = be(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
481
+ l = _e(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
482
482
  }
483
483
  });
484
484
  }), n.forEach((s) => {
@@ -491,7 +491,7 @@ function Pr(e, t, r, n, i, a) {
491
491
  }), e.element = /** @type {any} */
492
492
  o, o;
493
493
  }
494
- class Or {
494
+ class Ir {
495
495
  constructor() {
496
496
  /**
497
497
  * ### PRIVATE API
@@ -500,7 +500,7 @@ class Or {
500
500
  *
501
501
  * @type {any}
502
502
  */
503
- A(this, "$$");
503
+ B(this, "$$");
504
504
  /**
505
505
  * ### PRIVATE API
506
506
  *
@@ -508,11 +508,11 @@ class Or {
508
508
  *
509
509
  * @type {any}
510
510
  */
511
- A(this, "$$set");
511
+ B(this, "$$set");
512
512
  }
513
513
  /** @returns {void} */
514
514
  $destroy() {
515
- Ar(this, 1), this.$destroy = O;
515
+ Lr(this, 1), this.$destroy = N;
516
516
  }
517
517
  /**
518
518
  * @template {Extract<keyof Events, string>} K
@@ -521,8 +521,8 @@ class Or {
521
521
  * @returns {() => void}
522
522
  */
523
523
  $on(t, r) {
524
- if (!qe(r))
525
- return O;
524
+ if (!Ze(r))
525
+ return N;
526
526
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
527
527
  return n.push(r), () => {
528
528
  const i = n.indexOf(r);
@@ -534,19 +534,19 @@ class Or {
534
534
  * @returns {void}
535
535
  */
536
536
  $set(t) {
537
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
537
+ this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
538
538
  }
539
539
  }
540
- const Cr = "4";
541
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
542
- const U = "__WIDGET_GLOBAL_STYLE_CACHE__";
543
- function Lr(e, t) {
540
+ const Mr = "4";
541
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
542
+ const V = "__WIDGET_GLOBAL_STYLE_CACHE__";
543
+ function Nr(e, t) {
544
544
  if (e) {
545
545
  const r = document.createElement("style");
546
546
  r.innerHTML = t, e.appendChild(r);
547
547
  }
548
548
  }
549
- function Ir(e, t) {
549
+ function Rr(e, t) {
550
550
  if (!e || !t)
551
551
  return;
552
552
  const r = new URL(t);
@@ -557,32 +557,32 @@ function Ir(e, t) {
557
557
  console.error("There was an error while trying to load client styling from URL", n);
558
558
  });
559
559
  }
560
- function Mr(e, t, r, n = !1) {
560
+ function Dr(e, t, r, n = !1) {
561
561
  if (!window.emMessageBus)
562
562
  return;
563
563
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
564
- return r = Nr(e, t), r;
565
- window[U] || (window[U] = {}), r = Rr(e, t);
564
+ return r = $r(e, t), r;
565
+ window[V] || (window[V] = {}), r = kr(e, t);
566
566
  const a = r.unsubscribe.bind(r), o = () => {
567
- if (window[U][t]) {
568
- const s = window[U][t];
569
- s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[U][t];
567
+ if (window[V][t]) {
568
+ const s = window[V][t];
569
+ s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[V][t];
570
570
  }
571
571
  a();
572
572
  };
573
573
  return r.unsubscribe = o, r;
574
574
  }
575
- function Nr(e, t) {
575
+ function $r(e, t) {
576
576
  const r = document.createElement("style");
577
577
  return window.emMessageBus.subscribe(t, (n) => {
578
578
  e && (r.innerHTML = n, e.appendChild(r));
579
579
  });
580
580
  }
581
- function Rr(e, t) {
581
+ function kr(e, t) {
582
582
  return window.emMessageBus.subscribe(t, (r) => {
583
583
  if (!e)
584
584
  return;
585
- const n = e.getRootNode(), i = window[U];
585
+ const n = e.getRootNode(), i = window[V];
586
586
  let a = i[t] && i[t].sheet;
587
587
  a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(r), i[t] = {
588
588
  sheet: a,
@@ -592,171 +592,171 @@ function Rr(e, t) {
592
592
  o.includes(a) || (n.adoptedStyleSheets = [...o, a]);
593
593
  });
594
594
  }
595
- const D = [];
596
- function $r(e, t) {
595
+ const z = [];
596
+ function Ur(e, t) {
597
597
  return {
598
- subscribe: He(e, t).subscribe
598
+ subscribe: Se(e, t).subscribe
599
599
  };
600
600
  }
601
- function He(e, t = O) {
601
+ function Se(e, t = N) {
602
602
  let r;
603
603
  const n = /* @__PURE__ */ new Set();
604
604
  function i(s) {
605
- if (St(e, s) && (e = s, r)) {
606
- const l = !D.length;
605
+ if (Ct(e, s) && (e = s, r)) {
606
+ const l = !z.length;
607
607
  for (const u of n)
608
- u[1](), D.push(u, e);
608
+ u[1](), z.push(u, e);
609
609
  if (l) {
610
- for (let u = 0; u < D.length; u += 2)
611
- D[u][0](D[u + 1]);
612
- D.length = 0;
610
+ for (let u = 0; u < z.length; u += 2)
611
+ z[u][0](z[u + 1]);
612
+ z.length = 0;
613
613
  }
614
614
  }
615
615
  }
616
616
  function a(s) {
617
617
  i(s(e));
618
618
  }
619
- function o(s, l = O) {
619
+ function o(s, l = N) {
620
620
  const u = [s, l];
621
- return n.add(u), n.size === 1 && (r = t(i, a) || O), s(e), () => {
621
+ return n.add(u), n.size === 1 && (r = t(i, a) || N), s(e), () => {
622
622
  n.delete(u), n.size === 0 && r && (r(), r = null);
623
623
  };
624
624
  }
625
625
  return { set: i, update: a, subscribe: o };
626
626
  }
627
- function q(e, t, r) {
627
+ function K(e, t, r) {
628
628
  const n = !Array.isArray(e), i = n ? [e] : e;
629
629
  if (!i.every(Boolean))
630
630
  throw new Error("derived() expects stores as input, got a falsy value");
631
631
  const a = t.length < 2;
632
- return $r(r, (o, s) => {
632
+ return Ur(r, (o, s) => {
633
633
  let l = !1;
634
634
  const u = [];
635
- let h = 0, c = O;
635
+ let h = 0, c = N;
636
636
  const f = () => {
637
637
  if (h)
638
638
  return;
639
639
  c();
640
- const b = t(n ? u[0] : u, o, s);
641
- a ? o(b) : c = qe(b) ? b : O;
642
- }, p = i.map(
643
- (b, _) => Bt(
644
- b,
645
- (T) => {
646
- u[_] = T, h &= ~(1 << _), l && f();
640
+ const g = t(n ? u[0] : u, o, s);
641
+ a ? o(g) : c = Ze(g) ? g : N;
642
+ }, d = i.map(
643
+ (g, x) => It(
644
+ g,
645
+ (w) => {
646
+ u[x] = w, h &= ~(1 << x), l && f();
647
647
  },
648
648
  () => {
649
- h |= 1 << _;
649
+ h |= 1 << x;
650
650
  }
651
651
  )
652
652
  );
653
653
  return l = !0, f(), function() {
654
- ne(p), c(), l = !1;
654
+ ue(d), c(), l = !1;
655
655
  };
656
656
  });
657
657
  }
658
- function Dr(e) {
658
+ function Gr(e) {
659
659
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
660
660
  }
661
- var kr = function(t) {
662
- return Ur(t) && !Gr(t);
661
+ var Fr = function(t) {
662
+ return zr(t) && !jr(t);
663
663
  };
664
- function Ur(e) {
664
+ function zr(e) {
665
665
  return !!e && typeof e == "object";
666
666
  }
667
- function Gr(e) {
667
+ function jr(e) {
668
668
  var t = Object.prototype.toString.call(e);
669
- return t === "[object RegExp]" || t === "[object Date]" || jr(e);
669
+ return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
670
670
  }
671
- var Fr = typeof Symbol == "function" && Symbol.for, zr = Fr ? Symbol.for("react.element") : 60103;
672
- function jr(e) {
673
- return e.$$typeof === zr;
671
+ var Vr = typeof Symbol == "function" && Symbol.for, Wr = Vr ? Symbol.for("react.element") : 60103;
672
+ function Xr(e) {
673
+ return e.$$typeof === Wr;
674
674
  }
675
- function Vr(e) {
675
+ function qr(e) {
676
676
  return Array.isArray(e) ? [] : {};
677
677
  }
678
- function te(e, t) {
679
- return t.clone !== !1 && t.isMergeableObject(e) ? z(Vr(e), e, t) : e;
678
+ function oe(e, t) {
679
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(qr(e), e, t) : e;
680
680
  }
681
- function Wr(e, t, r) {
681
+ function Jr(e, t, r) {
682
682
  return e.concat(t).map(function(n) {
683
- return te(n, r);
683
+ return oe(n, r);
684
684
  });
685
685
  }
686
- function Xr(e, t) {
686
+ function Zr(e, t) {
687
687
  if (!t.customMerge)
688
- return z;
688
+ return J;
689
689
  var r = t.customMerge(e);
690
- return typeof r == "function" ? r : z;
690
+ return typeof r == "function" ? r : J;
691
691
  }
692
- function qr(e) {
692
+ function Yr(e) {
693
693
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
694
694
  return Object.propertyIsEnumerable.call(e, t);
695
695
  }) : [];
696
696
  }
697
- function at(e) {
698
- return Object.keys(e).concat(qr(e));
697
+ function ut(e) {
698
+ return Object.keys(e).concat(Yr(e));
699
699
  }
700
- function Lt(e, t) {
700
+ function Rt(e, t) {
701
701
  try {
702
702
  return t in e;
703
703
  } catch (r) {
704
704
  return !1;
705
705
  }
706
706
  }
707
- function Jr(e, t) {
708
- return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
707
+ function Qr(e, t) {
708
+ return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
709
709
  }
710
- function Zr(e, t, r) {
710
+ function Kr(e, t, r) {
711
711
  var n = {};
712
- return r.isMergeableObject(e) && at(e).forEach(function(i) {
713
- n[i] = te(e[i], r);
714
- }), at(t).forEach(function(i) {
715
- 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));
712
+ return r.isMergeableObject(e) && ut(e).forEach(function(i) {
713
+ n[i] = oe(e[i], r);
714
+ }), ut(t).forEach(function(i) {
715
+ Qr(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
716
716
  }), n;
717
717
  }
718
- function z(e, t, r) {
719
- r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = te;
718
+ function J(e, t, r) {
719
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = oe;
720
720
  var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
721
- return a ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : te(t, r);
721
+ return a ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : oe(t, r);
722
722
  }
723
- z.all = function(t, r) {
723
+ J.all = function(t, r) {
724
724
  if (!Array.isArray(t))
725
725
  throw new Error("first argument should be an array");
726
726
  return t.reduce(function(n, i) {
727
- return z(n, i, r);
727
+ return J(n, i, r);
728
728
  }, {});
729
729
  };
730
- var Yr = z, Qr = Yr;
731
- const Kr = /* @__PURE__ */ Dr(Qr);
732
- var Ue = function(e, t) {
733
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
730
+ var en = J, tn = en;
731
+ const rn = /* @__PURE__ */ Gr(tn);
732
+ var Fe = function(e, t) {
733
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
734
734
  r.__proto__ = n;
735
735
  } || function(r, n) {
736
736
  for (var i in n)
737
737
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
738
- }, Ue(e, t);
738
+ }, Fe(e, t);
739
739
  };
740
- function we(e, t) {
740
+ function Be(e, t) {
741
741
  if (typeof t != "function" && t !== null)
742
742
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
743
- Ue(e, t);
743
+ Fe(e, t);
744
744
  function r() {
745
745
  this.constructor = e;
746
746
  }
747
747
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
748
748
  }
749
- var B = function() {
750
- return B = Object.assign || function(t) {
749
+ var O = function() {
750
+ return O = Object.assign || function(t) {
751
751
  for (var r, n = 1, i = arguments.length; n < i; n++) {
752
752
  r = arguments[n];
753
753
  for (var a in r)
754
754
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
755
755
  }
756
756
  return t;
757
- }, B.apply(this, arguments);
757
+ }, O.apply(this, arguments);
758
758
  };
759
- function en(e, t) {
759
+ function nn(e, t) {
760
760
  var r = {};
761
761
  for (var n in e)
762
762
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -765,43 +765,43 @@ function en(e, t) {
765
765
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
766
766
  return r;
767
767
  }
768
- function Ce(e, t, r) {
768
+ function Ie(e, t, r) {
769
769
  if (r || arguments.length === 2)
770
770
  for (var n = 0, i = t.length, a; n < i; n++)
771
771
  (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
772
772
  return e.concat(a || Array.prototype.slice.call(t));
773
773
  }
774
- function Le(e, t) {
775
- var r = t && t.cache ? t.cache : un, n = t && t.serializer ? t.serializer : on, i = t && t.strategy ? t.strategy : nn;
774
+ function Me(e, t) {
775
+ var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : ln, i = t && t.strategy ? t.strategy : sn;
776
776
  return i(e, {
777
777
  cache: r,
778
778
  serializer: n
779
779
  });
780
780
  }
781
- function tn(e) {
781
+ function an(e) {
782
782
  return e == null || typeof e == "number" || typeof e == "boolean";
783
783
  }
784
- function rn(e, t, r, n) {
785
- var i = tn(n) ? n : r(n), a = t.get(i);
784
+ function on(e, t, r, n) {
785
+ var i = an(n) ? n : r(n), a = t.get(i);
786
786
  return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
787
787
  }
788
- function It(e, t, r) {
788
+ function Dt(e, t, r) {
789
789
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
790
790
  return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
791
791
  }
792
- function Mt(e, t, r, n, i) {
792
+ function $t(e, t, r, n, i) {
793
793
  return r.bind(t, e, n, i);
794
794
  }
795
- function nn(e, t) {
796
- var r = e.length === 1 ? rn : It;
797
- return Mt(e, this, r, t.cache.create(), t.serializer);
795
+ function sn(e, t) {
796
+ var r = e.length === 1 ? on : Dt;
797
+ return $t(e, this, r, t.cache.create(), t.serializer);
798
798
  }
799
- function an(e, t) {
800
- return Mt(e, this, It, t.cache.create(), t.serializer);
799
+ function un(e, t) {
800
+ return $t(e, this, Dt, t.cache.create(), t.serializer);
801
801
  }
802
- var on = function() {
802
+ var ln = function() {
803
803
  return JSON.stringify(arguments);
804
- }, sn = (
804
+ }, hn = (
805
805
  /** @class */
806
806
  function() {
807
807
  function e() {
@@ -813,71 +813,71 @@ var on = function() {
813
813
  this.cache[t] = r;
814
814
  }, e;
815
815
  }()
816
- ), un = {
816
+ ), cn = {
817
817
  create: function() {
818
- return new sn();
818
+ return new hn();
819
819
  }
820
- }, Ie = {
821
- variadic: an
822
- }, ve = function() {
823
- return ve = Object.assign || function(t) {
820
+ }, Ne = {
821
+ variadic: un
822
+ }, Te = function() {
823
+ return Te = Object.assign || function(t) {
824
824
  for (var r, n = 1, i = arguments.length; n < i; n++) {
825
825
  r = arguments[n];
826
826
  for (var a in r)
827
827
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
828
828
  }
829
829
  return t;
830
- }, ve.apply(this, arguments);
830
+ }, Te.apply(this, arguments);
831
831
  };
832
- var g;
832
+ var b;
833
833
  (function(e) {
834
834
  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";
835
- })(g || (g = {}));
836
- var v;
835
+ })(b || (b = {}));
836
+ var _;
837
837
  (function(e) {
838
838
  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";
839
- })(v || (v = {}));
840
- var j;
839
+ })(_ || (_ = {}));
840
+ var Z;
841
841
  (function(e) {
842
842
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
843
- })(j || (j = {}));
844
- function ot(e) {
845
- return e.type === v.literal;
843
+ })(Z || (Z = {}));
844
+ function lt(e) {
845
+ return e.type === _.literal;
846
846
  }
847
- function ln(e) {
848
- return e.type === v.argument;
847
+ function fn(e) {
848
+ return e.type === _.argument;
849
849
  }
850
- function Nt(e) {
851
- return e.type === v.number;
850
+ function kt(e) {
851
+ return e.type === _.number;
852
852
  }
853
- function Rt(e) {
854
- return e.type === v.date;
853
+ function Ut(e) {
854
+ return e.type === _.date;
855
855
  }
856
- function $t(e) {
857
- return e.type === v.time;
856
+ function Gt(e) {
857
+ return e.type === _.time;
858
858
  }
859
- function Dt(e) {
860
- return e.type === v.select;
859
+ function Ft(e) {
860
+ return e.type === _.select;
861
861
  }
862
- function kt(e) {
863
- return e.type === v.plural;
862
+ function zt(e) {
863
+ return e.type === _.plural;
864
864
  }
865
- function hn(e) {
866
- return e.type === v.pound;
865
+ function mn(e) {
866
+ return e.type === _.pound;
867
867
  }
868
- function Ut(e) {
869
- return e.type === v.tag;
868
+ function jt(e) {
869
+ return e.type === _.tag;
870
870
  }
871
- function Gt(e) {
872
- return !!(e && typeof e == "object" && e.type === j.number);
871
+ function Vt(e) {
872
+ return !!(e && typeof e == "object" && e.type === Z.number);
873
873
  }
874
- function Ge(e) {
875
- return !!(e && typeof e == "object" && e.type === j.dateTime);
874
+ function ze(e) {
875
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
876
876
  }
877
- 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;
878
- function fn(e) {
877
+ var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
878
+ function pn(e) {
879
879
  var t = {};
880
- return e.replace(cn, function(r) {
880
+ return e.replace(dn, function(r) {
881
881
  var n = r.length;
882
882
  switch (r[0]) {
883
883
  case "G":
@@ -976,11 +976,11 @@ var E = function() {
976
976
  return t;
977
977
  }, E.apply(this, arguments);
978
978
  };
979
- var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
980
- function dn(e) {
979
+ var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
980
+ function bn(e) {
981
981
  if (e.length === 0)
982
982
  throw new Error("Number skeleton cannot be empty");
983
- for (var t = e.split(mn).filter(function(f) {
983
+ for (var t = e.split(gn).filter(function(f) {
984
984
  return f.length > 0;
985
985
  }), r = [], n = 0, i = t; n < i.length; n++) {
986
986
  var a = i[n], o = a.split("/");
@@ -995,17 +995,17 @@ function dn(e) {
995
995
  }
996
996
  return r;
997
997
  }
998
- function pn(e) {
998
+ function yn(e) {
999
999
  return e.replace(/^(.*?)-/, "");
1000
1000
  }
1001
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, bn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
1002
- function ut(e) {
1001
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1002
+ function ct(e) {
1003
1003
  var t = {};
1004
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1004
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
1005
1005
  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)), "";
1006
1006
  }), t;
1007
1007
  }
1008
- function Vt(e) {
1008
+ function Jt(e) {
1009
1009
  switch (e) {
1010
1010
  case "sign-auto":
1011
1011
  return {
@@ -1045,7 +1045,7 @@ function Vt(e) {
1045
1045
  };
1046
1046
  }
1047
1047
  }
1048
- function gn(e) {
1048
+ function _n(e) {
1049
1049
  var t;
1050
1050
  if (e[0] === "E" && e[1] === "E" ? (t = {
1051
1051
  notation: "engineering"
@@ -1053,17 +1053,17 @@ function gn(e) {
1053
1053
  notation: "scientific"
1054
1054
  }, e = e.slice(1)), t) {
1055
1055
  var r = e.slice(0, 2);
1056
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1056
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1057
1057
  throw new Error("Malformed concise eng/scientific notation");
1058
1058
  t.minimumIntegerDigits = e.length;
1059
1059
  }
1060
1060
  return t;
1061
1061
  }
1062
- function lt(e) {
1063
- var t = {}, r = Vt(e);
1062
+ function ft(e) {
1063
+ var t = {}, r = Jt(e);
1064
1064
  return r || t;
1065
1065
  }
1066
- function yn(e) {
1066
+ function En(e) {
1067
1067
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1068
1068
  var i = n[r];
1069
1069
  switch (i.stem) {
@@ -1087,7 +1087,7 @@ function yn(e) {
1087
1087
  continue;
1088
1088
  case "measure-unit":
1089
1089
  case "unit":
1090
- t.style = "unit", t.unit = pn(i.options[0]);
1090
+ t.style = "unit", t.unit = yn(i.options[0]);
1091
1091
  continue;
1092
1092
  case "compact-short":
1093
1093
  case "K":
@@ -1099,12 +1099,12 @@ function yn(e) {
1099
1099
  continue;
1100
1100
  case "scientific":
1101
1101
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1102
- return E(E({}, l), lt(u));
1102
+ return E(E({}, l), ft(u));
1103
1103
  }, {}));
1104
1104
  continue;
1105
1105
  case "engineering":
1106
1106
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1107
- return E(E({}, l), lt(u));
1107
+ return E(E({}, l), ft(u));
1108
1108
  }, {}));
1109
1109
  continue;
1110
1110
  case "notation-simple":
@@ -1149,45 +1149,45 @@ function yn(e) {
1149
1149
  case "integer-width":
1150
1150
  if (i.options.length > 1)
1151
1151
  throw new RangeError("integer-width stems only accept a single optional option");
1152
- i.options[0].replace(bn, function(l, u, h, c, f, p) {
1152
+ i.options[0].replace(vn, function(l, u, h, c, f, d) {
1153
1153
  if (u)
1154
1154
  t.minimumIntegerDigits = h.length;
1155
1155
  else {
1156
1156
  if (c && f)
1157
1157
  throw new Error("We currently do not support maximum integer digits");
1158
- if (p)
1158
+ if (d)
1159
1159
  throw new Error("We currently do not support exact integer digits");
1160
1160
  }
1161
1161
  return "";
1162
1162
  });
1163
1163
  continue;
1164
1164
  }
1165
- if (jt.test(i.stem)) {
1165
+ if (qt.test(i.stem)) {
1166
1166
  t.minimumIntegerDigits = i.stem.length;
1167
1167
  continue;
1168
1168
  }
1169
- if (st.test(i.stem)) {
1169
+ if (ht.test(i.stem)) {
1170
1170
  if (i.options.length > 1)
1171
1171
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1172
- i.stem.replace(st, function(l, u, h, c, f, p) {
1173
- 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), "";
1172
+ i.stem.replace(ht, function(l, u, h, c, f, d) {
1173
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1174
1174
  });
1175
1175
  var a = i.options[0];
1176
- a === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = E(E({}, t), ut(a)));
1176
+ a === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = E(E({}, t), ct(a)));
1177
1177
  continue;
1178
1178
  }
1179
- if (zt.test(i.stem)) {
1180
- t = E(E({}, t), ut(i.stem));
1179
+ if (Xt.test(i.stem)) {
1180
+ t = E(E({}, t), ct(i.stem));
1181
1181
  continue;
1182
1182
  }
1183
- var o = Vt(i.stem);
1183
+ var o = Jt(i.stem);
1184
1184
  o && (t = E(E({}, t), o));
1185
- var s = gn(i.stem);
1185
+ var s = _n(i.stem);
1186
1186
  s && (t = E(E({}, t), s));
1187
1187
  }
1188
1188
  return t;
1189
1189
  }
1190
- var de = {
1190
+ var ye = {
1191
1191
  "001": [
1192
1192
  "H",
1193
1193
  "h"
@@ -2602,13 +2602,13 @@ var de = {
2602
2602
  "h"
2603
2603
  ]
2604
2604
  };
2605
- function vn(e, t) {
2605
+ function xn(e, t) {
2606
2606
  for (var r = "", n = 0; n < e.length; n++) {
2607
2607
  var i = e.charAt(n);
2608
2608
  if (i === "j") {
2609
2609
  for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2610
2610
  a++, n++;
2611
- var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = En(t);
2611
+ var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = Tn(t);
2612
2612
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2613
2613
  r += l;
2614
2614
  for (; o-- > 0; )
@@ -2618,7 +2618,7 @@ function vn(e, t) {
2618
2618
  }
2619
2619
  return r;
2620
2620
  }
2621
- function En(e) {
2621
+ function Tn(e) {
2622
2622
  var t = e.hourCycle;
2623
2623
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2624
2624
  e.hourCycles && // @ts-ignore
@@ -2637,23 +2637,23 @@ function En(e) {
2637
2637
  }
2638
2638
  var r = e.language, n;
2639
2639
  r !== "root" && (n = e.maximize().region);
2640
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2640
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2641
2641
  return i[0];
2642
2642
  }
2643
- var Me, _n = new RegExp("^".concat(Ft.source, "*")), xn = new RegExp("".concat(Ft.source, "*$"));
2643
+ var Re, wn = new RegExp("^".concat(Wt.source, "*")), Hn = new RegExp("".concat(Wt.source, "*$"));
2644
2644
  function y(e, t) {
2645
2645
  return { start: e, end: t };
2646
2646
  }
2647
- var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hn = !!String.fromCodePoint, wn = !!Object.fromEntries, An = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, On = Pn ? Number.isSafeInteger : function(e) {
2647
+ var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Bn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, On = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, In = Cn ? Number.isSafeInteger : function(e) {
2648
2648
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2649
- }, Fe = !0;
2649
+ }, je = !0;
2650
2650
  try {
2651
- var Cn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2652
- Fe = ((Me = Cn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2651
+ var Mn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2652
+ je = ((Re = Mn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2653
2653
  } catch (e) {
2654
- Fe = !1;
2654
+ je = !1;
2655
2655
  }
2656
- var ht = Tn ? (
2656
+ var mt = An ? (
2657
2657
  // Native
2658
2658
  function(t, r, n) {
2659
2659
  return t.startsWith(r, n);
@@ -2663,7 +2663,7 @@ var ht = Tn ? (
2663
2663
  function(t, r, n) {
2664
2664
  return t.slice(n, n + r.length) === r;
2665
2665
  }
2666
- ), ze = Hn ? String.fromCodePoint : (
2666
+ ), Ve = Sn ? String.fromCodePoint : (
2667
2667
  // IE11
2668
2668
  function() {
2669
2669
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2675,9 +2675,9 @@ var ht = Tn ? (
2675
2675
  }
2676
2676
  return n;
2677
2677
  }
2678
- ), ct = (
2678
+ ), dt = (
2679
2679
  // native
2680
- wn ? Object.fromEntries : (
2680
+ Bn ? Object.fromEntries : (
2681
2681
  // Ponyfill
2682
2682
  function(t) {
2683
2683
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2687,7 +2687,7 @@ var ht = Tn ? (
2687
2687
  return r;
2688
2688
  }
2689
2689
  )
2690
- ), Wt = An ? (
2690
+ ), Zt = Ln ? (
2691
2691
  // Native
2692
2692
  function(t, r) {
2693
2693
  return t.codePointAt(r);
@@ -2701,7 +2701,7 @@ var ht = Tn ? (
2701
2701
  return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2702
2702
  }
2703
2703
  }
2704
- ), Ln = Sn ? (
2704
+ ), Nn = Pn ? (
2705
2705
  // Native
2706
2706
  function(t) {
2707
2707
  return t.trimStart();
@@ -2709,9 +2709,9 @@ var ht = Tn ? (
2709
2709
  ) : (
2710
2710
  // Ponyfill
2711
2711
  function(t) {
2712
- return t.replace(_n, "");
2712
+ return t.replace(wn, "");
2713
2713
  }
2714
- ), In = Bn ? (
2714
+ ), Rn = On ? (
2715
2715
  // Native
2716
2716
  function(t) {
2717
2717
  return t.trimEnd();
@@ -2719,32 +2719,32 @@ var ht = Tn ? (
2719
2719
  ) : (
2720
2720
  // Ponyfill
2721
2721
  function(t) {
2722
- return t.replace(xn, "");
2722
+ return t.replace(Hn, "");
2723
2723
  }
2724
2724
  );
2725
- function Xt(e, t) {
2725
+ function Yt(e, t) {
2726
2726
  return new RegExp(e, t);
2727
2727
  }
2728
- var je;
2729
- if (Fe) {
2730
- var ft = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2731
- je = function(t, r) {
2728
+ var We;
2729
+ if (je) {
2730
+ var pt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2731
+ We = function(t, r) {
2732
2732
  var n;
2733
- ft.lastIndex = r;
2734
- var i = ft.exec(t);
2733
+ pt.lastIndex = r;
2734
+ var i = pt.exec(t);
2735
2735
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2736
2736
  };
2737
2737
  } else
2738
- je = function(t, r) {
2738
+ We = function(t, r) {
2739
2739
  for (var n = []; ; ) {
2740
- var i = Wt(t, r);
2741
- if (i === void 0 || qt(i) || $n(i))
2740
+ var i = Zt(t, r);
2741
+ if (i === void 0 || Qt(i) || Un(i))
2742
2742
  break;
2743
2743
  n.push(i), r += i >= 65536 ? 2 : 1;
2744
2744
  }
2745
- return ze.apply(void 0, n);
2745
+ return Ve.apply(void 0, n);
2746
2746
  };
2747
- var Mn = (
2747
+ var Dn = (
2748
2748
  /** @class */
2749
2749
  function() {
2750
2750
  function e(t, r) {
@@ -2768,14 +2768,14 @@ var Mn = (
2768
2768
  if (a === 35 && (r === "plural" || r === "selectordinal")) {
2769
2769
  var s = this.clonePosition();
2770
2770
  this.bump(), i.push({
2771
- type: v.pound,
2771
+ type: _.pound,
2772
2772
  location: y(s, this.clonePosition())
2773
2773
  });
2774
2774
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2775
2775
  if (n)
2776
2776
  break;
2777
- return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2778
- } else if (a === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2777
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2778
+ } else if (a === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
2779
2779
  var o = this.parseTag(t, r);
2780
2780
  if (o.err)
2781
2781
  return o;
@@ -2796,7 +2796,7 @@ var Mn = (
2796
2796
  if (this.bumpSpace(), this.bumpIf("/>"))
2797
2797
  return {
2798
2798
  val: {
2799
- type: v.literal,
2799
+ type: _.literal,
2800
2800
  value: "<".concat(i, "/>"),
2801
2801
  location: y(n, this.clonePosition())
2802
2802
  },
@@ -2808,25 +2808,25 @@ var Mn = (
2808
2808
  return a;
2809
2809
  var o = a.val, s = this.clonePosition();
2810
2810
  if (this.bumpIf("</")) {
2811
- if (this.isEOF() || !Ve(this.char()))
2812
- return this.error(g.INVALID_TAG, y(s, this.clonePosition()));
2811
+ if (this.isEOF() || !Xe(this.char()))
2812
+ return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
2813
2813
  var l = this.clonePosition(), u = this.parseTagName();
2814
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2814
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2815
2815
  val: {
2816
- type: v.tag,
2816
+ type: _.tag,
2817
2817
  value: i,
2818
2818
  children: o,
2819
2819
  location: y(n, this.clonePosition())
2820
2820
  },
2821
2821
  err: null
2822
- } : this.error(g.INVALID_TAG, y(s, this.clonePosition())));
2822
+ } : this.error(b.INVALID_TAG, y(s, this.clonePosition())));
2823
2823
  } else
2824
- return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
2824
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2825
2825
  } else
2826
- return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
2826
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2827
2827
  }, e.prototype.parseTagName = function() {
2828
2828
  var t = this.offset();
2829
- for (this.bump(); !this.isEOF() && Rn(this.char()); )
2829
+ for (this.bump(); !this.isEOF() && kn(this.char()); )
2830
2830
  this.bump();
2831
2831
  return this.message.slice(t, this.offset());
2832
2832
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2850,12 +2850,12 @@ var Mn = (
2850
2850
  }
2851
2851
  var l = y(n, this.clonePosition());
2852
2852
  return {
2853
- val: { type: v.literal, value: i, location: l },
2853
+ val: { type: _.literal, value: i, location: l },
2854
2854
  err: null
2855
2855
  };
2856
2856
  }, e.prototype.tryParseLeftAngleBracket = function() {
2857
2857
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2858
- !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2858
+ !$n(this.peek() || 0)) ? (this.bump(), "<") : null;
2859
2859
  }, e.prototype.tryParseQuote = function(t) {
2860
2860
  if (this.isEOF() || this.char() !== 39)
2861
2861
  return null;
@@ -2889,28 +2889,28 @@ var Mn = (
2889
2889
  r.push(n);
2890
2890
  this.bump();
2891
2891
  }
2892
- return ze.apply(void 0, r);
2892
+ return Ve.apply(void 0, r);
2893
2893
  }, e.prototype.tryParseUnquoted = function(t, r) {
2894
2894
  if (this.isEOF())
2895
2895
  return null;
2896
2896
  var n = this.char();
2897
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
2897
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
2898
2898
  }, e.prototype.parseArgument = function(t, r) {
2899
2899
  var n = this.clonePosition();
2900
2900
  if (this.bump(), this.bumpSpace(), this.isEOF())
2901
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2901
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2902
2902
  if (this.char() === 125)
2903
- return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2903
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2904
2904
  var i = this.parseIdentifierIfPossible().value;
2905
2905
  if (!i)
2906
- return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2906
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2907
2907
  if (this.bumpSpace(), this.isEOF())
2908
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2908
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2909
2909
  switch (this.char()) {
2910
2910
  case 125:
2911
2911
  return this.bump(), {
2912
2912
  val: {
2913
- type: v.argument,
2913
+ type: _.argument,
2914
2914
  // value does not include the opening and closing braces.
2915
2915
  value: i,
2916
2916
  location: y(n, this.clonePosition())
@@ -2918,12 +2918,12 @@ var Mn = (
2918
2918
  err: null
2919
2919
  };
2920
2920
  case 44:
2921
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2921
+ 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
2922
  default:
2923
- return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2923
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2924
2924
  }
2925
2925
  }, e.prototype.parseIdentifierIfPossible = function() {
2926
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2926
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
2927
2927
  this.bumpTo(i);
2928
2928
  var a = this.clonePosition(), o = y(t, a);
2929
2929
  return { value: n, location: o };
@@ -2931,7 +2931,7 @@ var Mn = (
2931
2931
  var a, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2932
2932
  switch (s) {
2933
2933
  case "":
2934
- return this.error(g.EXPECT_ARGUMENT_TYPE, y(o, l));
2934
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, l));
2935
2935
  case "number":
2936
2936
  case "date":
2937
2937
  case "time": {
@@ -2942,46 +2942,46 @@ var Mn = (
2942
2942
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2943
2943
  if (c.err)
2944
2944
  return c;
2945
- var f = In(c.val);
2945
+ var f = Rn(c.val);
2946
2946
  if (f.length === 0)
2947
- return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2948
- var p = y(h, this.clonePosition());
2949
- u = { style: f, styleLocation: p };
2947
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2948
+ var d = y(h, this.clonePosition());
2949
+ u = { style: f, styleLocation: d };
2950
2950
  }
2951
- var b = this.tryParseArgumentClose(i);
2952
- if (b.err)
2953
- return b;
2954
- var _ = y(i, this.clonePosition());
2955
- if (u && ht(u == null ? void 0 : u.style, "::", 0)) {
2956
- var T = Ln(u.style.slice(2));
2951
+ var g = this.tryParseArgumentClose(i);
2952
+ if (g.err)
2953
+ return g;
2954
+ var x = y(i, this.clonePosition());
2955
+ if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
2956
+ var w = Nn(u.style.slice(2));
2957
2957
  if (s === "number") {
2958
- var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2958
+ var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
2959
2959
  return c.err ? c : {
2960
- val: { type: v.number, value: n, location: _, style: c.val },
2960
+ val: { type: _.number, value: n, location: x, style: c.val },
2961
2961
  err: null
2962
2962
  };
2963
2963
  } else {
2964
- if (T.length === 0)
2965
- return this.error(g.EXPECT_DATE_TIME_SKELETON, _);
2966
- var x = T;
2967
- this.locale && (x = vn(T, this.locale));
2964
+ if (w.length === 0)
2965
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, x);
2966
+ var T = w;
2967
+ this.locale && (T = xn(w, this.locale));
2968
2968
  var f = {
2969
- type: j.dateTime,
2970
- pattern: x,
2969
+ type: Z.dateTime,
2970
+ pattern: T,
2971
2971
  location: u.styleLocation,
2972
- parsedOptions: this.shouldParseSkeletons ? fn(x) : {}
2973
- }, d = s === "date" ? v.date : v.time;
2972
+ parsedOptions: this.shouldParseSkeletons ? pn(T) : {}
2973
+ }, m = s === "date" ? _.date : _.time;
2974
2974
  return {
2975
- val: { type: d, value: n, location: _, style: f },
2975
+ val: { type: m, value: n, location: x, style: f },
2976
2976
  err: null
2977
2977
  };
2978
2978
  }
2979
2979
  }
2980
2980
  return {
2981
2981
  val: {
2982
- type: s === "number" ? v.number : s === "date" ? v.date : v.time,
2982
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
2983
2983
  value: n,
2984
- location: _,
2984
+ location: x,
2985
2985
  style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
2986
2986
  },
2987
2987
  err: null
@@ -2990,52 +2990,52 @@ var Mn = (
2990
2990
  case "plural":
2991
2991
  case "selectordinal":
2992
2992
  case "select": {
2993
- var m = this.clonePosition();
2993
+ var v = this.clonePosition();
2994
2994
  if (this.bumpSpace(), !this.bumpIf(","))
2995
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(m, ve({}, m)));
2995
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(v, Te({}, v)));
2996
2996
  this.bumpSpace();
2997
- var w = this.parseIdentifierIfPossible(), S = 0;
2998
- if (s !== "select" && w.value === "offset") {
2997
+ var D = this.parseIdentifierIfPossible(), C = 0;
2998
+ if (s !== "select" && D.value === "offset") {
2999
2999
  if (!this.bumpIf(":"))
3000
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3000
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3001
3001
  this.bumpSpace();
3002
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3002
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3003
3003
  if (c.err)
3004
3004
  return c;
3005
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), S = c.val;
3005
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), C = c.val;
3006
3006
  }
3007
- var oe = this.tryParsePluralOrSelectOptions(t, s, r, w);
3008
- if (oe.err)
3009
- return oe;
3010
- var b = this.tryParseArgumentClose(i);
3011
- if (b.err)
3012
- return b;
3013
- var Ye = y(i, this.clonePosition());
3007
+ var p = this.tryParsePluralOrSelectOptions(t, s, r, D);
3008
+ if (p.err)
3009
+ return p;
3010
+ var g = this.tryParseArgumentClose(i);
3011
+ if (g.err)
3012
+ return g;
3013
+ var I = y(i, this.clonePosition());
3014
3014
  return s === "select" ? {
3015
3015
  val: {
3016
- type: v.select,
3016
+ type: _.select,
3017
3017
  value: n,
3018
- options: ct(oe.val),
3019
- location: Ye
3018
+ options: dt(p.val),
3019
+ location: I
3020
3020
  },
3021
3021
  err: null
3022
3022
  } : {
3023
3023
  val: {
3024
- type: v.plural,
3024
+ type: _.plural,
3025
3025
  value: n,
3026
- options: ct(oe.val),
3027
- offset: S,
3026
+ options: dt(p.val),
3027
+ offset: C,
3028
3028
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3029
- location: Ye
3029
+ location: I
3030
3030
  },
3031
3031
  err: null
3032
3032
  };
3033
3033
  }
3034
3034
  default:
3035
- return this.error(g.INVALID_ARGUMENT_TYPE, y(o, l));
3035
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(o, l));
3036
3036
  }
3037
3037
  }, e.prototype.tryParseArgumentClose = function(t) {
3038
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3038
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3039
3039
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3040
3040
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3041
3041
  var n = this.char();
@@ -3044,7 +3044,7 @@ var Mn = (
3044
3044
  this.bump();
3045
3045
  var i = this.clonePosition();
3046
3046
  if (!this.bumpUntil("'"))
3047
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3047
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3048
3048
  this.bump();
3049
3049
  break;
3050
3050
  }
@@ -3074,16 +3074,16 @@ var Mn = (
3074
3074
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3075
3075
  var n = [];
3076
3076
  try {
3077
- n = dn(t);
3077
+ n = bn(t);
3078
3078
  } catch (i) {
3079
- return this.error(g.INVALID_NUMBER_SKELETON, r);
3079
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3080
3080
  }
3081
3081
  return {
3082
3082
  val: {
3083
- type: j.number,
3083
+ type: Z.number,
3084
3084
  tokens: n,
3085
3085
  location: r,
3086
- parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
3086
+ parsedOptions: this.shouldParseSkeletons ? En(n) : {}
3087
3087
  },
3088
3088
  err: null
3089
3089
  };
@@ -3092,7 +3092,7 @@ var Mn = (
3092
3092
  if (u.length === 0) {
3093
3093
  var c = this.clonePosition();
3094
3094
  if (r !== "select" && this.bumpIf("=")) {
3095
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3095
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3096
3096
  if (f.err)
3097
3097
  return f;
3098
3098
  h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3100,26 +3100,26 @@ var Mn = (
3100
3100
  break;
3101
3101
  }
3102
3102
  if (l.has(u))
3103
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3103
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3104
3104
  u === "other" && (o = !0), this.bumpSpace();
3105
- var p = this.clonePosition();
3105
+ var d = this.clonePosition();
3106
3106
  if (!this.bumpIf("{"))
3107
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3108
- var b = this.parseMessage(t + 1, r, n);
3109
- if (b.err)
3110
- return b;
3111
- var _ = this.tryParseArgumentClose(p);
3112
- if (_.err)
3113
- return _;
3107
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3108
+ var g = this.parseMessage(t + 1, r, n);
3109
+ if (g.err)
3110
+ return g;
3111
+ var x = this.tryParseArgumentClose(d);
3112
+ if (x.err)
3113
+ return x;
3114
3114
  s.push([
3115
3115
  u,
3116
3116
  {
3117
- value: b.val,
3118
- location: y(p, this.clonePosition())
3117
+ value: g.val,
3118
+ location: y(d, this.clonePosition())
3119
3119
  }
3120
3120
  ]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, h = a.location;
3121
3121
  }
3122
- return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3122
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3123
3123
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3124
3124
  var n = 1, i = this.clonePosition();
3125
3125
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3131,7 +3131,7 @@ var Mn = (
3131
3131
  break;
3132
3132
  }
3133
3133
  var l = y(i, this.clonePosition());
3134
- return a ? (o *= n, On(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3134
+ return a ? (o *= n, In(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3135
3135
  }, e.prototype.offset = function() {
3136
3136
  return this.position.offset;
3137
3137
  }, e.prototype.isEOF = function() {
@@ -3146,7 +3146,7 @@ var Mn = (
3146
3146
  var t = this.position.offset;
3147
3147
  if (t >= this.message.length)
3148
3148
  throw Error("out of bound");
3149
- var r = Wt(this.message, t);
3149
+ var r = Zt(this.message, t);
3150
3150
  if (r === void 0)
3151
3151
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3152
3152
  return r;
@@ -3165,7 +3165,7 @@ var Mn = (
3165
3165
  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);
3166
3166
  }
3167
3167
  }, e.prototype.bumpIf = function(t) {
3168
- if (ht(this.message, t, this.offset())) {
3168
+ if (mt(this.message, t, this.offset())) {
3169
3169
  for (var r = 0; r < t.length; r++)
3170
3170
  this.bump();
3171
3171
  return !0;
@@ -3187,7 +3187,7 @@ var Mn = (
3187
3187
  break;
3188
3188
  }
3189
3189
  }, e.prototype.bumpSpace = function() {
3190
- for (; !this.isEOF() && qt(this.char()); )
3190
+ for (; !this.isEOF() && Qt(this.char()); )
3191
3191
  this.bump();
3192
3192
  }, e.prototype.peek = function() {
3193
3193
  if (this.isEOF())
@@ -3197,47 +3197,47 @@ var Mn = (
3197
3197
  }, e;
3198
3198
  }()
3199
3199
  );
3200
- function Ve(e) {
3200
+ function Xe(e) {
3201
3201
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3202
3202
  }
3203
- function Nn(e) {
3204
- return Ve(e) || e === 47;
3203
+ function $n(e) {
3204
+ return Xe(e) || e === 47;
3205
3205
  }
3206
- function Rn(e) {
3206
+ function kn(e) {
3207
3207
  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;
3208
3208
  }
3209
- function qt(e) {
3209
+ function Qt(e) {
3210
3210
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3211
3211
  }
3212
- function $n(e) {
3212
+ function Un(e) {
3213
3213
  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;
3214
3214
  }
3215
- function We(e) {
3215
+ function qe(e) {
3216
3216
  e.forEach(function(t) {
3217
- if (delete t.location, Dt(t) || kt(t))
3217
+ if (delete t.location, Ft(t) || zt(t))
3218
3218
  for (var r in t.options)
3219
- delete t.options[r].location, We(t.options[r].value);
3219
+ delete t.options[r].location, qe(t.options[r].value);
3220
3220
  else
3221
- Nt(t) && Gt(t.style) || (Rt(t) || $t(t)) && Ge(t.style) ? delete t.style.location : Ut(t) && We(t.children);
3221
+ kt(t) && Vt(t.style) || (Ut(t) || Gt(t)) && ze(t.style) ? delete t.style.location : jt(t) && qe(t.children);
3222
3222
  });
3223
3223
  }
3224
- function Dn(e, t) {
3225
- t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3226
- var r = new Mn(e, t).parse();
3224
+ function Gn(e, t) {
3225
+ t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3226
+ var r = new Dn(e, t).parse();
3227
3227
  if (r.err) {
3228
- var n = SyntaxError(g[r.err.kind]);
3228
+ var n = SyntaxError(b[r.err.kind]);
3229
3229
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3230
3230
  }
3231
- return t != null && t.captureLocation || We(r.val), r.val;
3231
+ return t != null && t.captureLocation || qe(r.val), r.val;
3232
3232
  }
3233
- var V;
3233
+ var Y;
3234
3234
  (function(e) {
3235
3235
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3236
- })(V || (V = {}));
3237
- var Ae = (
3236
+ })(Y || (Y = {}));
3237
+ var Le = (
3238
3238
  /** @class */
3239
3239
  function(e) {
3240
- we(t, e);
3240
+ Be(t, e);
3241
3241
  function t(r, n, i) {
3242
3242
  var a = e.call(this, r) || this;
3243
3243
  return a.code = n, a.originalMessage = i, a;
@@ -3246,48 +3246,48 @@ var Ae = (
3246
3246
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3247
3247
  }, t;
3248
3248
  }(Error)
3249
- ), mt = (
3249
+ ), gt = (
3250
3250
  /** @class */
3251
3251
  function(e) {
3252
- we(t, e);
3252
+ Be(t, e);
3253
3253
  function t(r, n, i, a) {
3254
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, a) || this;
3254
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, a) || this;
3255
3255
  }
3256
3256
  return t;
3257
- }(Ae)
3258
- ), kn = (
3257
+ }(Le)
3258
+ ), Fn = (
3259
3259
  /** @class */
3260
3260
  function(e) {
3261
- we(t, e);
3261
+ Be(t, e);
3262
3262
  function t(r, n, i) {
3263
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3263
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3264
3264
  }
3265
3265
  return t;
3266
- }(Ae)
3267
- ), Un = (
3266
+ }(Le)
3267
+ ), zn = (
3268
3268
  /** @class */
3269
3269
  function(e) {
3270
- we(t, e);
3270
+ Be(t, e);
3271
3271
  function t(r, n) {
3272
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3272
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3273
3273
  }
3274
3274
  return t;
3275
- }(Ae)
3275
+ }(Le)
3276
3276
  ), H;
3277
3277
  (function(e) {
3278
3278
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3279
3279
  })(H || (H = {}));
3280
- function Gn(e) {
3280
+ function jn(e) {
3281
3281
  return e.length < 2 ? e : e.reduce(function(t, r) {
3282
3282
  var n = t[t.length - 1];
3283
3283
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3284
3284
  }, []);
3285
3285
  }
3286
- function Fn(e) {
3286
+ function Vn(e) {
3287
3287
  return typeof e == "function";
3288
3288
  }
3289
- function ge(e, t, r, n, i, a, o) {
3290
- if (e.length === 1 && ot(e[0]))
3289
+ function Ee(e, t, r, n, i, a, o) {
3290
+ if (e.length === 1 && lt(e[0]))
3291
3291
  return [
3292
3292
  {
3293
3293
  type: H.literal,
@@ -3296,14 +3296,14 @@ function ge(e, t, r, n, i, a, o) {
3296
3296
  ];
3297
3297
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3298
3298
  var h = u[l];
3299
- if (ot(h)) {
3299
+ if (lt(h)) {
3300
3300
  s.push({
3301
3301
  type: H.literal,
3302
3302
  value: h.value
3303
3303
  });
3304
3304
  continue;
3305
3305
  }
3306
- if (hn(h)) {
3306
+ if (mn(h)) {
3307
3307
  typeof a == "number" && s.push({
3308
3308
  type: H.literal,
3309
3309
  value: r.getNumberFormat(t).format(a)
@@ -3312,89 +3312,89 @@ function ge(e, t, r, n, i, a, o) {
3312
3312
  }
3313
3313
  var c = h.value;
3314
3314
  if (!(i && c in i))
3315
- throw new Un(c, o);
3315
+ throw new zn(c, o);
3316
3316
  var f = i[c];
3317
- if (ln(h)) {
3317
+ if (fn(h)) {
3318
3318
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3319
3319
  type: typeof f == "string" ? H.literal : H.object,
3320
3320
  value: f
3321
3321
  });
3322
3322
  continue;
3323
3323
  }
3324
- if (Rt(h)) {
3325
- var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3324
+ if (Ut(h)) {
3325
+ var d = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3326
3326
  s.push({
3327
3327
  type: H.literal,
3328
- value: r.getDateTimeFormat(t, p).format(f)
3328
+ value: r.getDateTimeFormat(t, d).format(f)
3329
3329
  });
3330
3330
  continue;
3331
3331
  }
3332
- if ($t(h)) {
3333
- var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3332
+ if (Gt(h)) {
3333
+ var d = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3334
3334
  s.push({
3335
3335
  type: H.literal,
3336
- value: r.getDateTimeFormat(t, p).format(f)
3336
+ value: r.getDateTimeFormat(t, d).format(f)
3337
3337
  });
3338
3338
  continue;
3339
3339
  }
3340
- if (Nt(h)) {
3341
- var p = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3342
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3340
+ if (kt(h)) {
3341
+ var d = typeof h.style == "string" ? n.number[h.style] : Vt(h.style) ? h.style.parsedOptions : void 0;
3342
+ d && d.scale && (f = f * (d.scale || 1)), s.push({
3343
3343
  type: H.literal,
3344
- value: r.getNumberFormat(t, p).format(f)
3344
+ value: r.getNumberFormat(t, d).format(f)
3345
3345
  });
3346
3346
  continue;
3347
3347
  }
3348
- if (Ut(h)) {
3349
- var b = h.children, _ = h.value, T = i[_];
3350
- if (!Fn(T))
3351
- throw new kn(_, "function", o);
3352
- var x = ge(b, t, r, n, i, a), d = T(x.map(function(S) {
3353
- return S.value;
3348
+ if (jt(h)) {
3349
+ var g = h.children, x = h.value, w = i[x];
3350
+ if (!Vn(w))
3351
+ throw new Fn(x, "function", o);
3352
+ var T = Ee(g, t, r, n, i, a), m = w(T.map(function(C) {
3353
+ return C.value;
3354
3354
  }));
3355
- Array.isArray(d) || (d = [d]), s.push.apply(s, d.map(function(S) {
3355
+ Array.isArray(m) || (m = [m]), s.push.apply(s, m.map(function(C) {
3356
3356
  return {
3357
- type: typeof S == "string" ? H.literal : H.object,
3358
- value: S
3357
+ type: typeof C == "string" ? H.literal : H.object,
3358
+ value: C
3359
3359
  };
3360
3360
  }));
3361
3361
  }
3362
- if (Dt(h)) {
3363
- var m = h.options[f] || h.options.other;
3364
- if (!m)
3365
- throw new mt(h.value, f, Object.keys(h.options), o);
3366
- s.push.apply(s, ge(m.value, t, r, n, i));
3362
+ if (Ft(h)) {
3363
+ var v = h.options[f] || h.options.other;
3364
+ if (!v)
3365
+ throw new gt(h.value, f, Object.keys(h.options), o);
3366
+ s.push.apply(s, Ee(v.value, t, r, n, i));
3367
3367
  continue;
3368
3368
  }
3369
- if (kt(h)) {
3370
- var m = h.options["=".concat(f)];
3371
- if (!m) {
3369
+ if (zt(h)) {
3370
+ var v = h.options["=".concat(f)];
3371
+ if (!v) {
3372
3372
  if (!Intl.PluralRules)
3373
- throw new Ae(`Intl.PluralRules is not available in this environment.
3373
+ throw new Le(`Intl.PluralRules is not available in this environment.
3374
3374
  Try polyfilling it using "@formatjs/intl-pluralrules"
3375
- `, V.MISSING_INTL_API, o);
3376
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3377
- m = h.options[w] || h.options.other;
3375
+ `, Y.MISSING_INTL_API, o);
3376
+ var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3377
+ v = h.options[D] || h.options.other;
3378
3378
  }
3379
- if (!m)
3380
- throw new mt(h.value, f, Object.keys(h.options), o);
3381
- s.push.apply(s, ge(m.value, t, r, n, i, f - (h.offset || 0)));
3379
+ if (!v)
3380
+ throw new gt(h.value, f, Object.keys(h.options), o);
3381
+ s.push.apply(s, Ee(v.value, t, r, n, i, f - (h.offset || 0)));
3382
3382
  continue;
3383
3383
  }
3384
3384
  }
3385
- return Gn(s);
3385
+ return jn(s);
3386
3386
  }
3387
- function zn(e, t) {
3388
- return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3389
- return r[n] = B(B({}, e[n]), t[n] || {}), r;
3387
+ function Wn(e, t) {
3388
+ return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3389
+ return r[n] = O(O({}, e[n]), t[n] || {}), r;
3390
3390
  }, {})) : e;
3391
3391
  }
3392
- function jn(e, t) {
3392
+ function Xn(e, t) {
3393
3393
  return t ? Object.keys(e).reduce(function(r, n) {
3394
- return r[n] = zn(e[n], t[n]), r;
3395
- }, B({}, e)) : e;
3394
+ return r[n] = Wn(e[n], t[n]), r;
3395
+ }, O({}, e)) : e;
3396
3396
  }
3397
- function Ne(e) {
3397
+ function De(e) {
3398
3398
  return {
3399
3399
  create: function() {
3400
3400
  return {
@@ -3408,39 +3408,39 @@ function Ne(e) {
3408
3408
  }
3409
3409
  };
3410
3410
  }
3411
- function Vn(e) {
3411
+ function qn(e) {
3412
3412
  return e === void 0 && (e = {
3413
3413
  number: {},
3414
3414
  dateTime: {},
3415
3415
  pluralRules: {}
3416
3416
  }), {
3417
- getNumberFormat: Le(function() {
3417
+ getNumberFormat: Me(function() {
3418
3418
  for (var t, r = [], n = 0; n < arguments.length; n++)
3419
3419
  r[n] = arguments[n];
3420
- return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3420
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3421
3421
  }, {
3422
- cache: Ne(e.number),
3423
- strategy: Ie.variadic
3422
+ cache: De(e.number),
3423
+ strategy: Ne.variadic
3424
3424
  }),
3425
- getDateTimeFormat: Le(function() {
3425
+ getDateTimeFormat: Me(function() {
3426
3426
  for (var t, r = [], n = 0; n < arguments.length; n++)
3427
3427
  r[n] = arguments[n];
3428
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3428
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3429
3429
  }, {
3430
- cache: Ne(e.dateTime),
3431
- strategy: Ie.variadic
3430
+ cache: De(e.dateTime),
3431
+ strategy: Ne.variadic
3432
3432
  }),
3433
- getPluralRules: Le(function() {
3433
+ getPluralRules: Me(function() {
3434
3434
  for (var t, r = [], n = 0; n < arguments.length; n++)
3435
3435
  r[n] = arguments[n];
3436
- return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3436
+ return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3437
3437
  }, {
3438
- cache: Ne(e.pluralRules),
3439
- strategy: Ie.variadic
3438
+ cache: De(e.pluralRules),
3439
+ strategy: Ne.variadic
3440
3440
  })
3441
3441
  };
3442
3442
  }
3443
- var Jt = (
3443
+ var Kt = (
3444
3444
  /** @class */
3445
3445
  function() {
3446
3446
  function e(t, r, n, i) {
@@ -3459,7 +3459,7 @@ var Jt = (
3459
3459
  }, []);
3460
3460
  return h.length <= 1 ? h[0] || "" : h;
3461
3461
  }, this.formatToParts = function(l) {
3462
- return ge(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3462
+ return Ee(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3463
3463
  }, this.resolvedOptions = function() {
3464
3464
  var l;
3465
3465
  return {
@@ -3472,13 +3472,13 @@ var Jt = (
3472
3472
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3473
3473
  var o = i || {};
3474
3474
  o.formatters;
3475
- var s = en(o, ["formatters"]);
3476
- this.ast = e.__parse(t, B(B({}, s), { locale: this.resolvedLocale }));
3475
+ var s = nn(o, ["formatters"]);
3476
+ this.ast = e.__parse(t, O(O({}, s), { locale: this.resolvedLocale }));
3477
3477
  } else
3478
3478
  this.ast = t;
3479
3479
  if (!Array.isArray(this.ast))
3480
3480
  throw new TypeError("A message must be provided as a String or AST.");
3481
- this.formats = jn(e.formats, n), this.formatters = i && i.formatters || Vn(this.formatterCache);
3481
+ this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
3482
3482
  }
3483
3483
  return Object.defineProperty(e, "defaultLocale", {
3484
3484
  get: function() {
@@ -3491,7 +3491,7 @@ var Jt = (
3491
3491
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3492
3492
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3493
3493
  }
3494
- }, e.__parse = Dn, e.formats = {
3494
+ }, e.__parse = Gn, e.formats = {
3495
3495
  number: {
3496
3496
  integer: {
3497
3497
  maximumFractionDigits: 0
@@ -3552,7 +3552,7 @@ var Jt = (
3552
3552
  }, e;
3553
3553
  }()
3554
3554
  );
3555
- function Wn(e, t) {
3555
+ function Jn(e, t) {
3556
3556
  if (t == null)
3557
3557
  return;
3558
3558
  if (t in e)
@@ -3573,101 +3573,101 @@ function Wn(e, t) {
3573
3573
  n = void 0;
3574
3574
  return n;
3575
3575
  }
3576
- const L = {}, Xn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Zt = (e, t) => {
3576
+ const $ = {}, Zn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), er = (e, t) => {
3577
3577
  if (t == null)
3578
3578
  return;
3579
- if (t in L && e in L[t])
3580
- return L[t][e];
3581
- const r = ae(t);
3579
+ if (t in $ && e in $[t])
3580
+ return $[t][e];
3581
+ const r = he(t);
3582
3582
  for (let n = 0; n < r.length; n++) {
3583
- const i = r[n], a = Jn(i, e);
3583
+ const i = r[n], a = Qn(i, e);
3584
3584
  if (a)
3585
- return Xn(e, t, a);
3585
+ return Zn(e, t, a);
3586
3586
  }
3587
3587
  };
3588
- let Je;
3589
- const ie = He({});
3590
- function qn(e) {
3591
- return Je[e] || null;
3588
+ let Qe;
3589
+ const le = Se({});
3590
+ function Yn(e) {
3591
+ return Qe[e] || null;
3592
3592
  }
3593
- function Yt(e) {
3594
- return e in Je;
3593
+ function tr(e) {
3594
+ return e in Qe;
3595
3595
  }
3596
- function Jn(e, t) {
3597
- if (!Yt(e))
3596
+ function Qn(e, t) {
3597
+ if (!tr(e))
3598
3598
  return null;
3599
- const r = qn(e);
3600
- return Wn(r, t);
3599
+ const r = Yn(e);
3600
+ return Jn(r, t);
3601
3601
  }
3602
- function Zn(e) {
3602
+ function Kn(e) {
3603
3603
  if (e == null)
3604
3604
  return;
3605
- const t = ae(e);
3605
+ const t = he(e);
3606
3606
  for (let r = 0; r < t.length; r++) {
3607
3607
  const n = t[r];
3608
- if (Yt(n))
3608
+ if (tr(n))
3609
3609
  return n;
3610
3610
  }
3611
3611
  }
3612
- function Qt(e, ...t) {
3613
- delete L[e], ie.update((r) => (r[e] = Kr.all([r[e] || {}, ...t]), r));
3612
+ function rr(e, ...t) {
3613
+ delete $[e], le.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
3614
3614
  }
3615
- q(
3616
- [ie],
3615
+ K(
3616
+ [le],
3617
3617
  ([e]) => Object.keys(e)
3618
3618
  );
3619
- ie.subscribe((e) => Je = e);
3620
- const ye = {};
3621
- function Yn(e, t) {
3622
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3619
+ le.subscribe((e) => Qe = e);
3620
+ const xe = {};
3621
+ function ei(e, t) {
3622
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3623
3623
  }
3624
- function Kt(e) {
3625
- return ye[e];
3624
+ function nr(e) {
3625
+ return xe[e];
3626
3626
  }
3627
- function Qn(e) {
3628
- return ae(e).map((t) => {
3629
- const r = Kt(t);
3627
+ function ti(e) {
3628
+ return he(e).map((t) => {
3629
+ const r = nr(t);
3630
3630
  return [t, r ? [...r] : []];
3631
3631
  }).filter(([, t]) => t.length > 0);
3632
3632
  }
3633
- function Ee(e) {
3634
- return e == null ? !1 : ae(e).some(
3633
+ function we(e) {
3634
+ return e == null ? !1 : he(e).some(
3635
3635
  (t) => {
3636
3636
  var r;
3637
- return (r = Kt(t)) == null ? void 0 : r.size;
3637
+ return (r = nr(t)) == null ? void 0 : r.size;
3638
3638
  }
3639
3639
  );
3640
3640
  }
3641
- function Kn(e, t) {
3641
+ function ri(e, t) {
3642
3642
  return Promise.all(
3643
- t.map((n) => (Yn(e, n), n().then((i) => i.default || i)))
3644
- ).then((n) => Qt(e, ...n));
3645
- }
3646
- const Z = {};
3647
- function er(e) {
3648
- if (!Ee(e))
3649
- return e in Z ? Z[e] : Promise.resolve();
3650
- const t = Qn(e);
3651
- return Z[e] = Promise.all(
3643
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3644
+ ).then((n) => rr(e, ...n));
3645
+ }
3646
+ const te = {};
3647
+ function ir(e) {
3648
+ if (!we(e))
3649
+ return e in te ? te[e] : Promise.resolve();
3650
+ const t = ti(e);
3651
+ return te[e] = Promise.all(
3652
3652
  t.map(
3653
- ([r, n]) => Kn(r, n)
3653
+ ([r, n]) => ri(r, n)
3654
3654
  )
3655
3655
  ).then(() => {
3656
- if (Ee(e))
3657
- return er(e);
3658
- delete Z[e];
3659
- }), Z[e];
3656
+ if (we(e))
3657
+ return ir(e);
3658
+ delete te[e];
3659
+ }), te[e];
3660
3660
  }
3661
- var dt = Object.getOwnPropertySymbols, ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable, ri = (e, t) => {
3661
+ var bt = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, ai = (e, t) => {
3662
3662
  var r = {};
3663
3663
  for (var n in e)
3664
- ei.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3665
- if (e != null && dt)
3666
- for (var n of dt(e))
3667
- t.indexOf(n) < 0 && ti.call(e, n) && (r[n] = e[n]);
3664
+ ni.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3665
+ if (e != null && bt)
3666
+ for (var n of bt(e))
3667
+ t.indexOf(n) < 0 && ii.call(e, n) && (r[n] = e[n]);
3668
3668
  return r;
3669
3669
  };
3670
- const ni = {
3670
+ const oi = {
3671
3671
  number: {
3672
3672
  scientific: { notation: "scientific" },
3673
3673
  engineering: { notation: "engineering" },
@@ -3697,174 +3697,174 @@ const ni = {
3697
3697
  }
3698
3698
  }
3699
3699
  };
3700
- function ii({ locale: e, id: t }) {
3700
+ function si({ locale: e, id: t }) {
3701
3701
  console.warn(
3702
- `[svelte-i18n] The message "${t}" was not found in "${ae(
3702
+ `[svelte-i18n] The message "${t}" was not found in "${he(
3703
3703
  e
3704
- ).join('", "')}".${Ee(M()) ? `
3704
+ ).join('", "')}".${we(U()) ? `
3705
3705
 
3706
3706
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3707
3707
  );
3708
3708
  }
3709
- const ai = {
3709
+ const ui = {
3710
3710
  fallbackLocale: null,
3711
3711
  loadingDelay: 200,
3712
- formats: ni,
3712
+ formats: oi,
3713
3713
  warnOnMissingMessages: !0,
3714
3714
  handleMissingMessage: void 0,
3715
3715
  ignoreTag: !0
3716
- }, Q = ai;
3717
- function W() {
3718
- return Q;
3716
+ }, ne = ui;
3717
+ function Q() {
3718
+ return ne;
3719
3719
  }
3720
- function oi(e) {
3721
- const t = e, { formats: r } = t, n = ri(t, ["formats"]);
3720
+ function li(e) {
3721
+ const t = e, { formats: r } = t, n = ai(t, ["formats"]);
3722
3722
  let i = e.fallbackLocale;
3723
3723
  if (e.initialLocale)
3724
3724
  try {
3725
- Jt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3725
+ Kt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3726
3726
  } catch (a) {
3727
3727
  console.warn(
3728
3728
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3729
3729
  );
3730
3730
  }
3731
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ii : console.warn(
3731
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = si : console.warn(
3732
3732
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3733
- )), 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);
3733
+ )), Object.assign(ne, n, { initialLocale: i }), r && ("number" in r && Object.assign(ne.formats.number, r.number), "date" in r && Object.assign(ne.formats.date, r.date), "time" in r && Object.assign(ne.formats.time, r.time)), G.set(i);
3734
3734
  }
3735
- const Re = He(!1);
3736
- var si = 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 ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
3735
+ const $e = Se(!1);
3736
+ var hi = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
3737
3737
  for (var r in t || (t = {}))
3738
- hi.call(t, r) && bt(e, r, t[r]);
3739
- if (pt)
3740
- for (var r of pt(t))
3741
- ci.call(t, r) && bt(e, r, t[r]);
3738
+ mi.call(t, r) && vt(e, r, t[r]);
3739
+ if (yt)
3740
+ for (var r of yt(t))
3741
+ di.call(t, r) && vt(e, r, t[r]);
3742
3742
  return e;
3743
- }, mi = (e, t) => ui(e, li(t));
3744
- let Xe;
3745
- const _e = He(null);
3746
- function gt(e) {
3743
+ }, gi = (e, t) => ci(e, fi(t));
3744
+ let Je;
3745
+ const He = Se(null);
3746
+ function _t(e) {
3747
3747
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3748
3748
  }
3749
- function ae(e, t = W().fallbackLocale) {
3750
- const r = gt(e);
3751
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3749
+ function he(e, t = Q().fallbackLocale) {
3750
+ const r = _t(e);
3751
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
3752
3752
  }
3753
- function M() {
3754
- return Xe != null ? Xe : void 0;
3753
+ function U() {
3754
+ return Je != null ? Je : void 0;
3755
3755
  }
3756
- _e.subscribe((e) => {
3757
- Xe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3756
+ He.subscribe((e) => {
3757
+ Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3758
3758
  });
3759
- const di = (e) => {
3760
- if (e && Zn(e) && Ee(e)) {
3761
- const { loadingDelay: t } = W();
3759
+ const bi = (e) => {
3760
+ if (e && Kn(e) && we(e)) {
3761
+ const { loadingDelay: t } = Q();
3762
3762
  let r;
3763
- return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
3764
- () => Re.set(!0),
3763
+ return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
3764
+ () => $e.set(!0),
3765
3765
  t
3766
- ) : Re.set(!0), er(e).then(() => {
3767
- _e.set(e);
3766
+ ) : $e.set(!0), ir(e).then(() => {
3767
+ He.set(e);
3768
3768
  }).finally(() => {
3769
- clearTimeout(r), Re.set(!1);
3769
+ clearTimeout(r), $e.set(!1);
3770
3770
  });
3771
3771
  }
3772
- return _e.set(e);
3773
- }, R = mi(fi({}, _e), {
3774
- set: di
3775
- }), Se = (e) => {
3772
+ return He.set(e);
3773
+ }, G = gi(pi({}, He), {
3774
+ set: bi
3775
+ }), Pe = (e) => {
3776
3776
  const t = /* @__PURE__ */ Object.create(null);
3777
3777
  return (n) => {
3778
3778
  const i = JSON.stringify(n);
3779
3779
  return i in t ? t[i] : t[i] = e(n);
3780
3780
  };
3781
3781
  };
3782
- 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) => {
3782
+ var yi = Object.defineProperty, Ae = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
3783
3783
  for (var r in t || (t = {}))
3784
- tr.call(t, r) && yt(e, r, t[r]);
3785
- if (xe)
3786
- for (var r of xe(t))
3787
- rr.call(t, r) && yt(e, r, t[r]);
3784
+ ar.call(t, r) && Et(e, r, t[r]);
3785
+ if (Ae)
3786
+ for (var r of Ae(t))
3787
+ or.call(t, r) && Et(e, r, t[r]);
3788
3788
  return e;
3789
- }, J = (e, t) => {
3789
+ }, ee = (e, t) => {
3790
3790
  var r = {};
3791
3791
  for (var n in e)
3792
- tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3793
- if (e != null && xe)
3794
- for (var n of xe(e))
3795
- t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
3792
+ ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3793
+ if (e != null && Ae)
3794
+ for (var n of Ae(e))
3795
+ t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
3796
3796
  return r;
3797
3797
  };
3798
- const re = (e, t) => {
3799
- const { formats: r } = W();
3798
+ const se = (e, t) => {
3799
+ const { formats: r } = Q();
3800
3800
  if (e in r && t in r[e])
3801
3801
  return r[e][t];
3802
3802
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3803
- }, bi = Se(
3803
+ }, vi = Pe(
3804
3804
  (e) => {
3805
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3805
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3806
3806
  if (r == null)
3807
3807
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3808
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
3808
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3809
3809
  }
3810
- ), gi = Se(
3810
+ ), _i = Pe(
3811
3811
  (e) => {
3812
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3812
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3813
3813
  if (r == null)
3814
3814
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3815
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
3815
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3816
3816
  }
3817
- ), yi = Se(
3817
+ ), Ei = Pe(
3818
3818
  (e) => {
3819
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3819
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3820
3820
  if (r == null)
3821
3821
  throw new Error(
3822
3822
  '[svelte-i18n] A "locale" must be set to format time values'
3823
3823
  );
3824
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
3824
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3825
3825
  }
3826
- ), vi = (e = {}) => {
3826
+ ), xi = (e = {}) => {
3827
3827
  var t = e, {
3828
- locale: r = M()
3829
- } = t, n = J(t, [
3828
+ locale: r = U()
3829
+ } = t, n = ee(t, [
3830
3830
  "locale"
3831
3831
  ]);
3832
- return bi(Ze({ locale: r }, n));
3833
- }, Ei = (e = {}) => {
3832
+ return vi(Ke({ locale: r }, n));
3833
+ }, Ti = (e = {}) => {
3834
3834
  var t = e, {
3835
- locale: r = M()
3836
- } = t, n = J(t, [
3835
+ locale: r = U()
3836
+ } = t, n = ee(t, [
3837
3837
  "locale"
3838
3838
  ]);
3839
- return gi(Ze({ locale: r }, n));
3840
- }, _i = (e = {}) => {
3839
+ return _i(Ke({ locale: r }, n));
3840
+ }, wi = (e = {}) => {
3841
3841
  var t = e, {
3842
- locale: r = M()
3843
- } = t, n = J(t, [
3842
+ locale: r = U()
3843
+ } = t, n = ee(t, [
3844
3844
  "locale"
3845
3845
  ]);
3846
- return yi(Ze({ locale: r }, n));
3847
- }, xi = Se(
3846
+ return Ei(Ke({ locale: r }, n));
3847
+ }, Hi = Pe(
3848
3848
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3849
- (e, t = M()) => new Jt(e, t, W().formats, {
3850
- ignoreTag: W().ignoreTag
3849
+ (e, t = U()) => new Kt(e, t, Q().formats, {
3850
+ ignoreTag: Q().ignoreTag
3851
3851
  })
3852
- ), Ti = (e, t = {}) => {
3852
+ ), Ai = (e, t = {}) => {
3853
3853
  var r, n, i, a;
3854
3854
  let o = t;
3855
3855
  typeof e == "object" && (o = e, e = o.id);
3856
3856
  const {
3857
3857
  values: s,
3858
- locale: l = M(),
3858
+ locale: l = U(),
3859
3859
  default: u
3860
3860
  } = o;
3861
3861
  if (l == null)
3862
3862
  throw new Error(
3863
3863
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3864
3864
  );
3865
- let h = Zt(e, l);
3865
+ let h = er(e, l);
3866
3866
  if (!h)
3867
- h = (a = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3867
+ h = (a = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3868
3868
  else if (typeof h != "string")
3869
3869
  return console.warn(
3870
3870
  `[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.`
@@ -3873,7 +3873,7 @@ const re = (e, t) => {
3873
3873
  return h;
3874
3874
  let c = h;
3875
3875
  try {
3876
- c = xi(h, l).format(s);
3876
+ c = Hi(h, l).format(s);
3877
3877
  } catch (f) {
3878
3878
  f instanceof Error && console.warn(
3879
3879
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3881,20 +3881,20 @@ const re = (e, t) => {
3881
3881
  );
3882
3882
  }
3883
3883
  return c;
3884
- }, Hi = (e, t) => _i(t).format(e), wi = (e, t) => Ei(t).format(e), Ai = (e, t) => vi(t).format(e), Si = (e, t = M()) => Zt(e, t), Bi = q([R, ie], () => Ti);
3885
- q([R], () => Hi);
3886
- q([R], () => wi);
3887
- q([R], () => Ai);
3888
- q([R, ie], () => Si);
3889
- function vt(e, t) {
3890
- Qt(e, t);
3891
- }
3892
- function Pi(e) {
3893
- oi({
3884
+ }, Si = (e, t) => wi(t).format(e), Bi = (e, t) => Ti(t).format(e), Li = (e, t) => xi(t).format(e), Pi = (e, t = U()) => er(e, t), Oi = K([G, le], () => Ai);
3885
+ K([G], () => Si);
3886
+ K([G], () => Bi);
3887
+ K([G], () => Li);
3888
+ K([G, le], () => Pi);
3889
+ function xt(e, t) {
3890
+ rr(e, t);
3891
+ }
3892
+ function Ci(e) {
3893
+ li({
3894
3894
  fallbackLocale: "en"
3895
- }), R.set(e);
3895
+ }), G.set(e);
3896
3896
  }
3897
- const Et = {
3897
+ const Tt = {
3898
3898
  en: {
3899
3899
  errorGeneralTitle: "Error Occurred",
3900
3900
  errorGeneralText: "Something went wrong",
@@ -3909,6 +3909,8 @@ const Et = {
3909
3909
  TransactionIsBlockedDueToNotCompletedKyc: "We apologise, but we cannot process the transaction because you haven't completed KYC. Please verify your identity or contact Customer Support for further assistance. Error Code 23601",
3910
3910
  InsufficientCasinoFunds: " Your withdrawal is over your available balance. Please check your available balance to adjust your withdrawal amount",
3911
3911
  DepositWageringLimit: "Attention! Your winnings balance has less than the amount you want to withdraw.",
3912
+ DepositWageringFetching: "Data fetching",
3913
+ DepositWageringLimitText: "Deposit wagering: ",
3912
3914
  AmountMinLimitExceeded: "Amount is smaller than PaymentMethod minimum limit",
3913
3915
  AmountMaxLimitExceeded: "Amount is bigger than PaymentMethod maximum limit",
3914
3916
  AmountIsMissing: "Amount is missing",
@@ -3950,6 +3952,8 @@ const Et = {
3950
3952
  TransactionIsBlockedDueToNotCompletedKyc: "İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. ",
3951
3953
  InsufficientCasinoFunds: "Çekmek istediğiniz tutar, mevcut bakiyenizin üzerindedir. Lütfen çekim tutarınızı belirlemek için bakiyenizi kontrol ediniz",
3952
3954
  DepositWageringLimit: "Para çekim işleminizi gerçekleştirebilmek için ana para çevriminizi tamamlamanız gerekmektedir. Ana para çevrimi hakkında bilgi almak için sitemiz genel şartlar ve kurallar bölümünü ziyaret edebilir ya da destek kanallarımız üzerinden bilgi alabilirsiniz.",
3955
+ DepositWageringFetching: "Veri yükleniyor",
3956
+ DepositWageringLimitText: "Depozit çevrim:",
3953
3957
  AmountMinLimitExceeded: "Tutar, Ödeme Yöntemi minimum sınırından daha küçük",
3954
3958
  AmountMaxLimitExceeded: "Tutar, Ödeme Yöntemi maksimum sınırından daha büyük",
3955
3959
  AmountIsMissing: "Tutar eksik",
@@ -3991,6 +3995,8 @@ const Et = {
3991
3995
  TransactionIsBlockedDueToNotCompletedKyc: "Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",
3992
3996
  InsufficientCasinoFunds: "Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",
3993
3997
  DepositWageringLimit: "Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",
3998
+ DepositWageringLimitText: "Mise de dépôt:",
3999
+ DepositWageringFetching: "Chargement des données",
3994
4000
  AmountMinLimitExceeded: "Le montant est inférieur à la limite minimale du moyen de paiement",
3995
4001
  AmountMaxLimitExceeded: "Le montant est supérieur à la limite maximale du moyen de paiement",
3996
4002
  AmountIsMissing: "Le montant est manquant",
@@ -4019,280 +4025,400 @@ const Et = {
4019
4025
  InvalidAccount: "Compte invalide"
4020
4026
  }
4021
4027
  };
4022
- function Oi(e) {
4023
- 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}");
4028
+ function Ii(e) {
4029
+ pr(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.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}');
4024
4030
  }
4025
- const Ci = (e) => ({}), _t = (e) => ({}), Li = (e) => ({}), xt = (e) => ({}), Ii = (e) => ({}), Tt = (e) => ({}), Mi = (e) => ({}), Ht = (e) => ({ class: "CashierErrorIcon" });
4026
- function wt(e) {
4031
+ const Mi = (e) => ({}), wt = (e) => ({}), Ni = (e) => ({}), Ht = (e) => ({}), Ri = (e) => ({}), At = (e) => ({}), Di = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
4032
+ function Bt(e) {
4027
4033
  let t, r;
4028
4034
  return {
4029
4035
  c() {
4030
- t = I("ui-image"), nt(t.src, r = `${/*assetsurl*/
4031
- e[0]}/error-general-icon.png`) || fe(t, "src", r), fe(t, "width", "300px"), fe(t, "alt", "error");
4036
+ t = P("ui-image"), ot(t.src, r = `${/*assetsurl*/
4037
+ e[0]}/error-general-icon.png`) || ge(t, "src", r), ge(t, "width", "300px"), ge(t, "alt", "error");
4032
4038
  },
4033
4039
  m(n, i) {
4034
- X(n, t, i);
4040
+ S(n, t, i);
4035
4041
  },
4036
4042
  p(n, i) {
4037
4043
  i & /*assetsurl*/
4038
- 1 && !nt(t.src, r = `${/*assetsurl*/
4039
- n[0]}/error-general-icon.png`) && fe(t, "src", r);
4044
+ 1 && !ot(t.src, r = `${/*assetsurl*/
4045
+ n[0]}/error-general-icon.png`) && ge(t, "src", r);
4040
4046
  },
4041
4047
  d(n) {
4042
- n && N(t);
4048
+ n && A(t);
4043
4049
  }
4044
4050
  };
4045
4051
  }
4046
- function Ni(e) {
4052
+ function $i(e) {
4047
4053
  let t, r = (
4048
4054
  /*assetsurl*/
4049
- e[0] && wt(e)
4055
+ e[0] && Bt(e)
4050
4056
  );
4051
4057
  return {
4052
4058
  c() {
4053
- r && r.c(), t = dr();
4059
+ r && r.c(), t = Ye();
4054
4060
  },
4055
4061
  m(n, i) {
4056
- r && r.m(n, i), X(n, t, i);
4062
+ r && r.m(n, i), S(n, t, i);
4057
4063
  },
4058
4064
  p(n, i) {
4059
4065
  /*assetsurl*/
4060
- n[0] ? r ? r.p(n, i) : (r = wt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4066
+ n[0] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4061
4067
  },
4062
4068
  d(n) {
4063
- n && N(t), r && r.d(n);
4069
+ n && A(t), r && r.d(n);
4064
4070
  }
4065
4071
  };
4066
4072
  }
4067
- function Ri(e) {
4073
+ function Lt(e) {
4074
+ let t;
4075
+ function r(a, o) {
4076
+ return (
4077
+ /*depositWageringAmount*/
4078
+ a[3] < 0 ? Ui : ki
4079
+ );
4080
+ }
4081
+ let n = r(e), i = n(e);
4082
+ return {
4083
+ c() {
4084
+ i.c(), t = Ye();
4085
+ },
4086
+ m(a, o) {
4087
+ i.m(a, o), S(a, t, o);
4088
+ },
4089
+ p(a, o) {
4090
+ n === (n = r(a)) && i ? i.p(a, o) : (i.d(1), i = n(a), i && (i.c(), i.m(t.parentNode, t)));
4091
+ },
4092
+ d(a) {
4093
+ a && A(t), i.d(a);
4094
+ }
4095
+ };
4096
+ }
4097
+ function ki(e) {
4068
4098
  let t, r = (
4069
4099
  /*$_*/
4070
- e[3](`${/*errorcode*/
4071
- e[1] || "errorGeneralText"}`) + ""
4072
- ), n;
4100
+ e[5]("DepositWageringLimitText") + ""
4101
+ ), n, i, a = (
4102
+ /*depositWageringAmount*/
4103
+ e[3] > 0 && Pt(e)
4104
+ );
4073
4105
  return {
4074
4106
  c() {
4075
- t = I("span"), n = Te(r), F(t, "class", "CashierErrorText");
4107
+ t = P("span"), n = k(r), i = W(), a && a.c(), R(t, "class", "CashierErrorText");
4108
+ },
4109
+ m(o, s) {
4110
+ S(o, t, s), L(t, n), L(t, i), a && a.m(t, null);
4111
+ },
4112
+ p(o, s) {
4113
+ s & /*$_*/
4114
+ 32 && r !== (r = /*$_*/
4115
+ o[5]("DepositWageringLimitText") + "") && q(n, r), /*depositWageringAmount*/
4116
+ o[3] > 0 ? a ? a.p(o, s) : (a = Pt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4117
+ },
4118
+ d(o) {
4119
+ o && A(t), a && a.d();
4120
+ }
4121
+ };
4122
+ }
4123
+ function Ui(e) {
4124
+ let t, r, n = (
4125
+ /*$_*/
4126
+ e[5]("DepositWageringFetching") + ""
4127
+ ), i;
4128
+ return {
4129
+ c() {
4130
+ t = P("div"), r = P("span"), i = k(n), R(r, "class", "CashierErrorText LoadingText"), R(t, "class", "WageringFetch");
4131
+ },
4132
+ m(a, o) {
4133
+ S(a, t, o), L(t, r), L(r, i);
4134
+ },
4135
+ p(a, o) {
4136
+ o & /*$_*/
4137
+ 32 && n !== (n = /*$_*/
4138
+ a[5]("DepositWageringFetching") + "") && q(i, n);
4139
+ },
4140
+ d(a) {
4141
+ a && A(t);
4142
+ }
4143
+ };
4144
+ }
4145
+ function Pt(e) {
4146
+ let t, r, n;
4147
+ return {
4148
+ c() {
4149
+ t = k(
4150
+ /*depositWageringAmount*/
4151
+ e[3]
4152
+ ), r = W(), n = k(
4153
+ /*depositWageringCurrency*/
4154
+ e[4]
4155
+ );
4076
4156
  },
4077
4157
  m(i, a) {
4078
- X(i, t, a), C(t, n);
4158
+ S(i, t, a), S(i, r, a), S(i, n, a);
4079
4159
  },
4080
4160
  p(i, a) {
4081
- a & /*$_, errorcode*/
4082
- 10 && r !== (r = /*$_*/
4083
- i[3](`${/*errorcode*/
4084
- i[1] || "errorGeneralText"}`) + "") && Ot(n, r);
4161
+ a & /*depositWageringAmount*/
4162
+ 8 && q(
4163
+ t,
4164
+ /*depositWageringAmount*/
4165
+ i[3]
4166
+ ), a & /*depositWageringCurrency*/
4167
+ 16 && q(
4168
+ n,
4169
+ /*depositWageringCurrency*/
4170
+ i[4]
4171
+ );
4085
4172
  },
4086
4173
  d(i) {
4087
- i && N(t);
4174
+ i && (A(t), A(r), A(n));
4088
4175
  }
4089
4176
  };
4090
4177
  }
4091
- function $i(e) {
4178
+ function Gi(e) {
4179
+ let t, r = (
4180
+ /*$_*/
4181
+ e[5](`${/*errorcode*/
4182
+ e[1] || "errorGeneralText"}`) + ""
4183
+ ), n, i, a, o = (
4184
+ /*errorcode*/
4185
+ e[1] == "DepositWageringLimit" && Lt(e)
4186
+ );
4187
+ return {
4188
+ c() {
4189
+ t = P("span"), n = k(r), i = W(), o && o.c(), a = Ye(), R(t, "class", "CashierErrorText");
4190
+ },
4191
+ m(s, l) {
4192
+ S(s, t, l), L(t, n), S(s, i, l), o && o.m(s, l), S(s, a, l);
4193
+ },
4194
+ p(s, l) {
4195
+ l & /*$_, errorcode*/
4196
+ 34 && r !== (r = /*$_*/
4197
+ s[5](`${/*errorcode*/
4198
+ s[1] || "errorGeneralText"}`) + "") && q(n, r), /*errorcode*/
4199
+ s[1] == "DepositWageringLimit" ? o ? o.p(s, l) : (o = Lt(s), o.c(), o.m(a.parentNode, a)) : o && (o.d(1), o = null);
4200
+ },
4201
+ d(s) {
4202
+ s && (A(t), A(i), A(a)), o && o.d(s);
4203
+ }
4204
+ };
4205
+ }
4206
+ function Fi(e) {
4092
4207
  let t, r, n = (
4093
4208
  /*$_*/
4094
- e[3]("errorGeneralButton") + ""
4209
+ e[5]("errorGeneralButton") + ""
4095
4210
  ), i, a, o;
4096
4211
  return {
4097
4212
  c() {
4098
- t = I("button"), r = I("span"), i = Te(n), F(t, "class", "CashierErrorButton");
4213
+ t = P("button"), r = P("span"), i = k(n), R(t, "class", "CashierErrorButton");
4099
4214
  },
4100
4215
  m(s, l) {
4101
- X(s, t, l), C(t, r), C(r, i), a || (o = pr(
4216
+ S(s, t, l), L(t, r), L(r, i), a || (o = yr(
4102
4217
  t,
4103
4218
  "click",
4104
4219
  /*close*/
4105
- e[4]
4220
+ e[6]
4106
4221
  ), a = !0);
4107
4222
  },
4108
4223
  p(s, l) {
4109
4224
  l & /*$_*/
4110
- 8 && n !== (n = /*$_*/
4111
- s[3]("errorGeneralButton") + "") && Ot(i, n);
4225
+ 32 && n !== (n = /*$_*/
4226
+ s[5]("errorGeneralButton") + "") && q(i, n);
4112
4227
  },
4113
4228
  d(s) {
4114
- s && N(t), a = !1, o();
4229
+ s && A(t), a = !1, o();
4115
4230
  }
4116
4231
  };
4117
4232
  }
4118
- function Di(e) {
4233
+ function zi(e) {
4119
4234
  let t, r, n, i, a, o;
4120
4235
  const s = (
4121
4236
  /*#slots*/
4122
- e[11].icon
4123
- ), l = ue(
4237
+ e[13].icon
4238
+ ), l = fe(
4124
4239
  s,
4125
4240
  e,
4126
4241
  /*$$scope*/
4127
- e[10],
4128
- Ht
4129
- ), u = l || Ni(e), h = (
4242
+ e[12],
4243
+ St
4244
+ ), u = l || $i(e), h = (
4130
4245
  /*#slots*/
4131
- e[11].title
4132
- ), c = ue(
4246
+ e[13].title
4247
+ ), c = fe(
4133
4248
  h,
4134
4249
  e,
4135
4250
  /*$$scope*/
4136
- e[10],
4137
- Tt
4251
+ e[12],
4252
+ At
4138
4253
  ), f = (
4139
4254
  /*#slots*/
4140
- e[11].text
4141
- ), p = ue(
4255
+ e[13].text
4256
+ ), d = fe(
4142
4257
  f,
4143
4258
  e,
4144
4259
  /*$$scope*/
4145
- e[10],
4146
- xt
4147
- ), b = p || Ri(e), _ = (
4260
+ e[12],
4261
+ Ht
4262
+ ), g = d || Gi(e), x = (
4148
4263
  /*#slots*/
4149
- e[11].button
4150
- ), T = ue(
4151
- _,
4264
+ e[13].button
4265
+ ), w = fe(
4266
+ x,
4152
4267
  e,
4153
4268
  /*$$scope*/
4154
- e[10],
4155
- _t
4156
- ), x = T || $i(e);
4269
+ e[12],
4270
+ wt
4271
+ ), T = w || Fi(e);
4157
4272
  return {
4158
4273
  c() {
4159
- t = I("div"), r = I("div"), u && u.c(), n = Pe(), c && c.c(), i = Pe(), b && b.c(), a = Pe(), x && x.c(), F(r, "class", "CashierErrorContent"), F(t, "class", "CashierError");
4274
+ t = P("div"), r = P("div"), u && u.c(), n = W(), c && c.c(), i = W(), g && g.c(), a = W(), T && T.c(), R(r, "class", "CashierErrorContent"), R(t, "class", "CashierError");
4160
4275
  },
4161
- m(d, m) {
4162
- 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, a), x && x.m(r, null), e[12](t), o = !0;
4276
+ m(m, v) {
4277
+ S(m, t, v), L(t, r), u && u.m(r, null), L(r, n), c && c.m(r, null), L(r, i), g && g.m(r, null), L(r, a), T && T.m(r, null), e[14](t), o = !0;
4163
4278
  },
4164
- p(d, [m]) {
4165
- l ? l.p && (!o || m & /*$$scope*/
4166
- 1024) && he(
4279
+ p(m, [v]) {
4280
+ l ? l.p && (!o || v & /*$$scope*/
4281
+ 4096) && de(
4167
4282
  l,
4168
4283
  s,
4169
- d,
4284
+ m,
4170
4285
  /*$$scope*/
4171
- d[10],
4172
- o ? le(
4286
+ m[12],
4287
+ o ? me(
4173
4288
  s,
4174
4289
  /*$$scope*/
4175
- d[10],
4176
- m,
4177
- Mi
4178
- ) : ce(
4290
+ m[12],
4291
+ v,
4292
+ Di
4293
+ ) : pe(
4179
4294
  /*$$scope*/
4180
- d[10]
4295
+ m[12]
4181
4296
  ),
4182
- Ht
4183
- ) : u && u.p && (!o || m & /*assetsurl*/
4184
- 1) && u.p(d, o ? m : -1), c && c.p && (!o || m & /*$$scope*/
4185
- 1024) && he(
4297
+ St
4298
+ ) : u && u.p && (!o || v & /*assetsurl*/
4299
+ 1) && u.p(m, o ? v : -1), c && c.p && (!o || v & /*$$scope*/
4300
+ 4096) && de(
4186
4301
  c,
4187
4302
  h,
4188
- d,
4303
+ m,
4189
4304
  /*$$scope*/
4190
- d[10],
4191
- o ? le(
4305
+ m[12],
4306
+ o ? me(
4192
4307
  h,
4193
4308
  /*$$scope*/
4194
- d[10],
4195
- m,
4196
- Ii
4197
- ) : ce(
4309
+ m[12],
4310
+ v,
4311
+ Ri
4312
+ ) : pe(
4198
4313
  /*$$scope*/
4199
- d[10]
4314
+ m[12]
4200
4315
  ),
4201
- Tt
4202
- ), p ? p.p && (!o || m & /*$$scope*/
4203
- 1024) && he(
4204
- p,
4205
- f,
4316
+ At
4317
+ ), d ? d.p && (!o || v & /*$$scope*/
4318
+ 4096) && de(
4206
4319
  d,
4320
+ f,
4321
+ m,
4207
4322
  /*$$scope*/
4208
- d[10],
4209
- o ? le(
4323
+ m[12],
4324
+ o ? me(
4210
4325
  f,
4211
4326
  /*$$scope*/
4212
- d[10],
4213
- m,
4214
- Li
4215
- ) : ce(
4327
+ m[12],
4328
+ v,
4329
+ Ni
4330
+ ) : pe(
4216
4331
  /*$$scope*/
4217
- d[10]
4332
+ m[12]
4218
4333
  ),
4219
- xt
4220
- ) : b && b.p && (!o || m & /*$_, errorcode*/
4221
- 10) && b.p(d, o ? m : -1), T ? T.p && (!o || m & /*$$scope*/
4222
- 1024) && he(
4223
- T,
4224
- _,
4225
- d,
4334
+ Ht
4335
+ ) : g && g.p && (!o || v & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
4336
+ 58) && g.p(m, o ? v : -1), w ? w.p && (!o || v & /*$$scope*/
4337
+ 4096) && de(
4338
+ w,
4339
+ x,
4340
+ m,
4226
4341
  /*$$scope*/
4227
- d[10],
4228
- o ? le(
4229
- _,
4342
+ m[12],
4343
+ o ? me(
4344
+ x,
4230
4345
  /*$$scope*/
4231
- d[10],
4232
- m,
4233
- Ci
4234
- ) : ce(
4346
+ m[12],
4347
+ v,
4348
+ Mi
4349
+ ) : pe(
4235
4350
  /*$$scope*/
4236
- d[10]
4351
+ m[12]
4237
4352
  ),
4238
- _t
4239
- ) : x && x.p && (!o || m & /*$_*/
4240
- 8) && x.p(d, o ? m : -1);
4353
+ wt
4354
+ ) : T && T.p && (!o || v & /*$_*/
4355
+ 32) && T.p(m, o ? v : -1);
4241
4356
  },
4242
- i(d) {
4243
- o || (Y(u, d), Y(c, d), Y(b, d), Y(x, d), o = !0);
4357
+ i(m) {
4358
+ o || (re(u, m), re(c, m), re(g, m), re(T, m), o = !0);
4244
4359
  },
4245
- o(d) {
4246
- me(u, d), me(c, d), me(b, d), me(x, d), o = !1;
4360
+ o(m) {
4361
+ be(u, m), be(c, m), be(g, m), be(T, m), o = !1;
4247
4362
  },
4248
- d(d) {
4249
- d && N(t), u && u.d(d), c && c.d(d), b && b.d(d), x && x.d(d), e[12](null);
4363
+ d(m) {
4364
+ m && A(t), u && u.d(m), c && c.d(m), g && g.d(m), T && T.d(m), e[14](null);
4250
4365
  }
4251
4366
  };
4252
4367
  }
4253
- function ki(e, t, r) {
4368
+ function ji(e, t, r) {
4254
4369
  let n;
4255
- hr(e, Bi, (m) => r(3, n = m));
4256
- let { $$slots: i = {}, $$scope: a } = t, { assetsurl: o = "" } = t, { lang: s = "en" } = t, { errorcode: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f = "" } = t, p, b;
4257
- const _ = () => {
4258
- Pi(s);
4259
- }, T = () => {
4260
- fetch(c).then((w) => w.json()).then((w) => {
4261
- Object.keys(w).forEach((S) => {
4262
- vt(S, w[S]);
4370
+ dr(e, Oi, (p) => r(5, n = p));
4371
+ let { $$slots: i = {}, $$scope: a } = t, { assetsurl: o = "" } = t, { lang: s = "en" } = t, { errorcode: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f = "" } = t, d, g, x = -1, w;
4372
+ const T = () => {
4373
+ Ci(s);
4374
+ }, m = () => {
4375
+ let p = new URL(c);
4376
+ fetch(p).then((I) => I.json()).then((I) => {
4377
+ Object.keys(I).forEach((et) => {
4378
+ xt(et, I[et]);
4263
4379
  });
4264
- }).catch((w) => {
4265
- console.error(w);
4380
+ }).catch((I) => {
4381
+ console.error(I);
4266
4382
  });
4267
4383
  };
4268
- Object.keys(Et).forEach((m) => {
4269
- vt(m, Et[m]);
4384
+ Object.keys(Tt).forEach((p) => {
4385
+ xt(p, Tt[p]);
4270
4386
  });
4271
- const x = () => {
4387
+ const v = () => {
4272
4388
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4389
+ }, D = (p) => {
4390
+ if (p.data)
4391
+ switch (p.data.type) {
4392
+ case "DepositWageringAmount":
4393
+ r(3, x = p.data.amount), r(4, w = p.data.currency);
4394
+ break;
4395
+ }
4273
4396
  };
4274
- vr(() => () => {
4275
- });
4276
- function d(m) {
4277
- $e[m ? "unshift" : "push"](() => {
4278
- p = m, r(2, p);
4397
+ xr(() => (window.addEventListener("message", D, !1), () => {
4398
+ window.removeEventListener("message", D);
4399
+ }));
4400
+ function C(p) {
4401
+ ke[p ? "unshift" : "push"](() => {
4402
+ d = p, r(2, d);
4279
4403
  });
4280
4404
  }
4281
- return e.$$set = (m) => {
4282
- "assetsurl" in m && r(0, o = m.assetsurl), "lang" in m && r(5, s = 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, a = m.$$scope);
4405
+ return e.$$set = (p) => {
4406
+ "assetsurl" in p && r(0, o = p.assetsurl), "lang" in p && r(7, s = p.lang), "errorcode" in p && r(1, l = p.errorcode), "clientstyling" in p && r(8, u = p.clientstyling), "clientstylingurl" in p && r(9, h = p.clientstylingurl), "translationurl" in p && r(10, c = p.translationurl), "mbsource" in p && r(11, f = p.mbsource), "$$scope" in p && r(12, a = p.$$scope);
4283
4407
  }, e.$$.update = () => {
4284
4408
  e.$$.dirty & /*lang*/
4285
- 32 && s && _(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4286
- 68 && u && p && Lr(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4287
- 132 && h && p && Ir(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4288
- 516 && f && p && Mr(p, `${f}.Style`, b), e.$$.dirty & /*translationurl*/
4289
- 256 && c && T();
4409
+ 128 && s && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4410
+ 260 && u && d && Nr(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4411
+ 516 && h && d && Rr(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4412
+ 2052 && f && d && Dr(d, `${f}.Style`, g), e.$$.dirty & /*translationurl*/
4413
+ 1024 && c && m();
4290
4414
  }, [
4291
4415
  o,
4292
4416
  l,
4293
- p,
4294
- n,
4417
+ d,
4295
4418
  x,
4419
+ w,
4420
+ n,
4421
+ v,
4296
4422
  s,
4297
4423
  u,
4298
4424
  h,
@@ -4300,73 +4426,73 @@ function ki(e, t, r) {
4300
4426
  f,
4301
4427
  a,
4302
4428
  i,
4303
- d
4429
+ C
4304
4430
  ];
4305
4431
  }
4306
- class Ui extends Or {
4432
+ class Vi extends Ir {
4307
4433
  constructor(t) {
4308
- super(), Br(
4434
+ super(), Or(
4309
4435
  this,
4310
4436
  t,
4311
- ki,
4312
- Di,
4313
- St,
4437
+ ji,
4438
+ zi,
4439
+ Ct,
4314
4440
  {
4315
4441
  assetsurl: 0,
4316
- lang: 5,
4442
+ lang: 7,
4317
4443
  errorcode: 1,
4318
- clientstyling: 6,
4319
- clientstylingurl: 7,
4320
- translationurl: 8,
4321
- mbsource: 9
4444
+ clientstyling: 8,
4445
+ clientstylingurl: 9,
4446
+ translationurl: 10,
4447
+ mbsource: 11
4322
4448
  },
4323
- Oi
4449
+ Ii
4324
4450
  );
4325
4451
  }
4326
4452
  get assetsurl() {
4327
4453
  return this.$$.ctx[0];
4328
4454
  }
4329
4455
  set assetsurl(t) {
4330
- this.$$set({ assetsurl: t }), P();
4456
+ this.$$set({ assetsurl: t }), M();
4331
4457
  }
4332
4458
  get lang() {
4333
- return this.$$.ctx[5];
4459
+ return this.$$.ctx[7];
4334
4460
  }
4335
4461
  set lang(t) {
4336
- this.$$set({ lang: t }), P();
4462
+ this.$$set({ lang: t }), M();
4337
4463
  }
4338
4464
  get errorcode() {
4339
4465
  return this.$$.ctx[1];
4340
4466
  }
4341
4467
  set errorcode(t) {
4342
- this.$$set({ errorcode: t }), P();
4468
+ this.$$set({ errorcode: t }), M();
4343
4469
  }
4344
4470
  get clientstyling() {
4345
- return this.$$.ctx[6];
4471
+ return this.$$.ctx[8];
4346
4472
  }
4347
4473
  set clientstyling(t) {
4348
- this.$$set({ clientstyling: t }), P();
4474
+ this.$$set({ clientstyling: t }), M();
4349
4475
  }
4350
4476
  get clientstylingurl() {
4351
- return this.$$.ctx[7];
4477
+ return this.$$.ctx[9];
4352
4478
  }
4353
4479
  set clientstylingurl(t) {
4354
- this.$$set({ clientstylingurl: t }), P();
4480
+ this.$$set({ clientstylingurl: t }), M();
4355
4481
  }
4356
4482
  get translationurl() {
4357
- return this.$$.ctx[8];
4483
+ return this.$$.ctx[10];
4358
4484
  }
4359
4485
  set translationurl(t) {
4360
- this.$$set({ translationurl: t }), P();
4486
+ this.$$set({ translationurl: t }), M();
4361
4487
  }
4362
4488
  get mbsource() {
4363
- return this.$$.ctx[9];
4489
+ return this.$$.ctx[11];
4364
4490
  }
4365
4491
  set mbsource(t) {
4366
- this.$$set({ mbsource: t }), P();
4492
+ this.$$set({ mbsource: t }), M();
4367
4493
  }
4368
4494
  }
4369
- Pr(Ui, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4495
+ Cr(Vi, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4370
4496
  export {
4371
- Ui as default
4497
+ Vi as default
4372
4498
  };