@everymatrix/cashier-verifications 1.74.8 → 1.74.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { n as me, s as Rr, r as kr, a as Zt, i as Ur, c as Fr, S as Vr, b as Gr, f as re, d as $r, e as Q, g as ne, t as xe, h as he, j as fe, k as xt, o as jr, l as zr, m as Wr, p as Xr, q as Et, u as Ae, v as qr, w as Yr, x as Ne, y as ie, z as pt, A as Zr, B as Jr, C as Qr } from "./CashierModal-CIBHlFEE.js";
1
+ import { n as me, s as Dr, r as Lr, a as qt, i as Nr, c as Rr, S as kr, b as Ur, f as re, d as Fr, e as Q, g as ne, t as xe, h as fe, j as he, k as bt, o as Vr, l as Gr, m as $r, p as jr, q as yt, u as Ae, v as zr, w as Wr, x as Ne, y as ie, z as dt, A as Xr, B as qr, C as Yr } from "./CashierModal-DKQn-TJS.js";
2
2
  const be = [];
3
- function Kr(e, t) {
3
+ function Zr(e, t) {
4
4
  return {
5
5
  subscribe: Ce(e, t).subscribe
6
6
  };
@@ -9,7 +9,7 @@ function Ce(e, t = me) {
9
9
  let r;
10
10
  const i = /* @__PURE__ */ new Set();
11
11
  function n(a) {
12
- if (Zt(e, a) && (e = a, r)) {
12
+ if (qt(e, a) && (e = a, r)) {
13
13
  const u = !be.length;
14
14
  for (const l of i)
15
15
  l[1](), be.push(l, e);
@@ -36,97 +36,97 @@ function Te(e, t, r) {
36
36
  if (!n.every(Boolean))
37
37
  throw new Error("derived() expects stores as input, got a falsy value");
38
38
  const o = t.length < 2;
39
- return Kr(r, (s, a) => {
39
+ return Zr(r, (s, a) => {
40
40
  let u = !1;
41
41
  const l = [];
42
- let f = 0, g = me;
42
+ let h = 0, v = me;
43
43
  const p = () => {
44
- if (f)
44
+ if (h)
45
45
  return;
46
- g();
46
+ v();
47
47
  const S = t(i ? l[0] : l, s, a);
48
- o ? s(S) : g = Ur(S) ? S : me;
48
+ o ? s(S) : v = Nr(S) ? S : me;
49
49
  }, x = n.map(
50
- (S, d) => Rr(
50
+ (S, d) => Dr(
51
51
  S,
52
52
  (C) => {
53
- l[d] = C, f &= ~(1 << d), u && p();
53
+ l[d] = C, h &= ~(1 << d), u && p();
54
54
  },
55
55
  () => {
56
- f |= 1 << d;
56
+ h |= 1 << d;
57
57
  }
58
58
  )
59
59
  );
60
60
  return u = !0, p(), function() {
61
- kr(x), g(), u = !1;
61
+ Lr(x), v(), u = !1;
62
62
  };
63
63
  });
64
64
  }
65
- var Jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
66
- function mt(e) {
65
+ var Yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
66
+ function pt(e) {
67
67
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
68
68
  }
69
- var ei = function(t) {
70
- return ti(t) && !ri(t);
69
+ var Jr = function(t) {
70
+ return Qr(t) && !Kr(t);
71
71
  };
72
- function ti(e) {
72
+ function Qr(e) {
73
73
  return !!e && typeof e == "object";
74
74
  }
75
- function ri(e) {
75
+ function Kr(e) {
76
76
  var t = Object.prototype.toString.call(e);
77
- return t === "[object RegExp]" || t === "[object Date]" || oi(e);
77
+ return t === "[object RegExp]" || t === "[object Date]" || ri(e);
78
78
  }
79
- var ii = typeof Symbol == "function" && Symbol.for, ni = ii ? Symbol.for("react.element") : 60103;
80
- function oi(e) {
81
- return e.$$typeof === ni;
79
+ var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
80
+ function ri(e) {
81
+ return e.$$typeof === ti;
82
82
  }
83
- function si(e) {
83
+ function ii(e) {
84
84
  return Array.isArray(e) ? [] : {};
85
85
  }
86
86
  function Be(e, t) {
87
- return t.clone !== !1 && t.isMergeableObject(e) ? Ee(si(e), e, t) : e;
87
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ee(ii(e), e, t) : e;
88
88
  }
89
- function ai(e, t, r) {
89
+ function ni(e, t, r) {
90
90
  return e.concat(t).map(function(i) {
91
91
  return Be(i, r);
92
92
  });
93
93
  }
94
- function ui(e, t) {
94
+ function oi(e, t) {
95
95
  if (!t.customMerge)
96
96
  return Ee;
97
97
  var r = t.customMerge(e);
98
98
  return typeof r == "function" ? r : Ee;
99
99
  }
100
- function li(e) {
100
+ function si(e) {
101
101
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
102
102
  return Object.propertyIsEnumerable.call(e, t);
103
103
  }) : [];
104
104
  }
105
- function _t(e) {
106
- return Object.keys(e).concat(li(e));
105
+ function xt(e) {
106
+ return Object.keys(e).concat(si(e));
107
107
  }
108
- function Qt(e, t) {
108
+ function Zt(e, t) {
109
109
  try {
110
110
  return t in e;
111
111
  } catch {
112
112
  return !1;
113
113
  }
114
114
  }
115
- function hi(e, t) {
116
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
115
+ function ai(e, t) {
116
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
117
117
  }
118
- function fi(e, t, r) {
118
+ function ui(e, t, r) {
119
119
  var i = {};
120
- return r.isMergeableObject(e) && _t(e).forEach(function(n) {
120
+ return r.isMergeableObject(e) && xt(e).forEach(function(n) {
121
121
  i[n] = Be(e[n], r);
122
- }), _t(t).forEach(function(n) {
123
- hi(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = ui(n, r)(e[n], t[n], r) : i[n] = Be(t[n], r));
122
+ }), xt(t).forEach(function(n) {
123
+ ai(e, n) || (Zt(e, n) && r.isMergeableObject(t[n]) ? i[n] = oi(n, r)(e[n], t[n], r) : i[n] = Be(t[n], r));
124
124
  }), i;
125
125
  }
126
126
  function Ee(e, t, r) {
127
- r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = Be;
127
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = Be;
128
128
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
129
- return o ? i ? r.arrayMerge(e, t, r) : fi(e, t, r) : Be(t, r);
129
+ return o ? i ? r.arrayMerge(e, t, r) : ui(e, t, r) : Be(t, r);
130
130
  }
131
131
  Ee.all = function(t, r) {
132
132
  if (!Array.isArray(t))
@@ -135,8 +135,8 @@ Ee.all = function(t, r) {
135
135
  return Ee(i, n, r);
136
136
  }, {});
137
137
  };
138
- var ci = Ee, di = ci;
139
- const pi = /* @__PURE__ */ mt(di);
138
+ var li = Ee, fi = li;
139
+ const hi = /* @__PURE__ */ pt(fi);
140
140
  /*! *****************************************************************************
141
141
  Copyright (c) Microsoft Corporation.
142
142
 
@@ -151,18 +151,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
151
151
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
152
152
  PERFORMANCE OF THIS SOFTWARE.
153
153
  ***************************************************************************** */
154
- var rt = function(e, t) {
155
- return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
154
+ var tt = function(e, t) {
155
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
156
156
  r.__proto__ = i;
157
157
  } || function(r, i) {
158
158
  for (var n in i)
159
159
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
160
- }, rt(e, t);
160
+ }, tt(e, t);
161
161
  };
162
162
  function se(e, t) {
163
163
  if (typeof t != "function" && t !== null)
164
164
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
165
- rt(e, t);
165
+ tt(e, t);
166
166
  function r() {
167
167
  this.constructor = e;
168
168
  }
@@ -178,7 +178,7 @@ var A = function() {
178
178
  return t;
179
179
  }, A.apply(this, arguments);
180
180
  };
181
- function mi(e, t) {
181
+ function ci(e, t) {
182
182
  var r = {};
183
183
  for (var i in e)
184
184
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -187,7 +187,7 @@ function mi(e, t) {
187
187
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
188
188
  return r;
189
189
  }
190
- function it(e) {
190
+ function rt(e) {
191
191
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
192
192
  if (r)
193
193
  return r.call(e);
@@ -199,7 +199,7 @@ function it(e) {
199
199
  };
200
200
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
201
201
  }
202
- function nt(e, t) {
202
+ function it(e, t) {
203
203
  var r = typeof Symbol == "function" && e[Symbol.iterator];
204
204
  if (!r)
205
205
  return e;
@@ -226,104 +226,106 @@ function ye(e, t, r) {
226
226
  return e.concat(o || t);
227
227
  }
228
228
  function Ye(e, t) {
229
- var r = t && t.cache ? t.cache : Ei, i = t && t.serializer ? t.serializer : xi, n = t && t.strategy ? t.strategy : gi;
229
+ var r = t && t.cache ? t.cache : yi, i = t && t.serializer ? t.serializer : vi, n = t && t.strategy ? t.strategy : pi;
230
230
  return n(e, {
231
231
  cache: r,
232
232
  serializer: i
233
233
  });
234
234
  }
235
- function vi(e) {
235
+ function di(e) {
236
236
  return e == null || typeof e == "number" || typeof e == "boolean";
237
237
  }
238
- function Kt(e, t, r, i) {
239
- var n = vi(i) ? i : r(i), o = t.get(n);
238
+ function Jt(e, t, r, i) {
239
+ var n = di(i) ? i : r(i), o = t.get(n);
240
240
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
241
241
  }
242
- function er(e, t, r) {
242
+ function Qt(e, t, r) {
243
243
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
244
244
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
245
245
  }
246
- function vt(e, t, r, i, n) {
246
+ function mt(e, t, r, i, n) {
247
247
  return r.bind(t, e, i, n);
248
248
  }
249
- function gi(e, t) {
250
- var r = e.length === 1 ? Kt : er;
251
- return vt(e, this, r, t.cache.create(), t.serializer);
249
+ function pi(e, t) {
250
+ var r = e.length === 1 ? Jt : Qt;
251
+ return mt(e, this, r, t.cache.create(), t.serializer);
252
252
  }
253
- function bi(e, t) {
254
- return vt(e, this, er, t.cache.create(), t.serializer);
253
+ function mi(e, t) {
254
+ return mt(e, this, Qt, t.cache.create(), t.serializer);
255
255
  }
256
- function yi(e, t) {
257
- return vt(e, this, Kt, t.cache.create(), t.serializer);
256
+ function gi(e, t) {
257
+ return mt(e, this, Jt, t.cache.create(), t.serializer);
258
258
  }
259
- var xi = function() {
259
+ var vi = function() {
260
260
  return JSON.stringify(arguments);
261
- };
262
- function gt() {
263
- this.cache = /* @__PURE__ */ Object.create(null);
264
- }
265
- gt.prototype.get = function(e) {
266
- return this.cache[e];
267
- };
268
- gt.prototype.set = function(e, t) {
269
- this.cache[e] = t;
270
- };
271
- var Ei = {
261
+ }, bi = (
262
+ /** @class */
263
+ function() {
264
+ function e() {
265
+ this.cache = /* @__PURE__ */ Object.create(null);
266
+ }
267
+ return e.prototype.get = function(t) {
268
+ return this.cache[t];
269
+ }, e.prototype.set = function(t, r) {
270
+ this.cache[t] = r;
271
+ }, e;
272
+ }()
273
+ ), yi = {
272
274
  create: function() {
273
- return new gt();
275
+ return new bi();
274
276
  }
275
277
  }, Ze = {
276
- variadic: bi,
277
- monadic: yi
278
+ variadic: mi,
279
+ monadic: gi
278
280
  }, P;
279
281
  (function(e) {
280
282
  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";
281
283
  })(P || (P = {}));
282
- var I;
284
+ var D;
283
285
  (function(e) {
284
286
  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";
285
- })(I || (I = {}));
287
+ })(D || (D = {}));
286
288
  var _e;
287
289
  (function(e) {
288
290
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
289
291
  })(_e || (_e = {}));
290
- function wt(e) {
291
- return e.type === I.literal;
292
+ function Et(e) {
293
+ return e.type === D.literal;
294
+ }
295
+ function xi(e) {
296
+ return e.type === D.argument;
292
297
  }
293
- function _i(e) {
294
- return e.type === I.argument;
298
+ function Kt(e) {
299
+ return e.type === D.number;
300
+ }
301
+ function er(e) {
302
+ return e.type === D.date;
295
303
  }
296
304
  function tr(e) {
297
- return e.type === I.number;
305
+ return e.type === D.time;
298
306
  }
299
307
  function rr(e) {
300
- return e.type === I.date;
308
+ return e.type === D.select;
301
309
  }
302
310
  function ir(e) {
303
- return e.type === I.time;
311
+ return e.type === D.plural;
312
+ }
313
+ function Ei(e) {
314
+ return e.type === D.pound;
304
315
  }
305
316
  function nr(e) {
306
- return e.type === I.select;
317
+ return e.type === D.tag;
307
318
  }
308
319
  function or(e) {
309
- return e.type === I.plural;
310
- }
311
- function wi(e) {
312
- return e.type === I.pound;
313
- }
314
- function sr(e) {
315
- return e.type === I.tag;
316
- }
317
- function ar(e) {
318
320
  return !!(e && typeof e == "object" && e.type === _e.number);
319
321
  }
320
- function ot(e) {
322
+ function nt(e) {
321
323
  return !!(e && typeof e == "object" && e.type === _e.dateTime);
322
324
  }
323
- var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
324
- function Ti(e) {
325
+ var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _i = /(?:[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;
326
+ function wi(e) {
325
327
  var t = {};
326
- return e.replace(Si, function(r) {
328
+ return e.replace(_i, function(r) {
327
329
  var i = r.length;
328
330
  switch (r[0]) {
329
331
  case "G":
@@ -412,36 +414,36 @@ function Ti(e) {
412
414
  return "";
413
415
  }), t;
414
416
  }
415
- var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
416
- function Hi(e) {
417
+ var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
418
+ function Ti(e) {
417
419
  if (e.length === 0)
418
420
  throw new Error("Number skeleton cannot be empty");
419
- for (var t = e.split(Pi).filter(function(p) {
421
+ for (var t = e.split(Si).filter(function(p) {
420
422
  return p.length > 0;
421
423
  }), r = [], i = 0, n = t; i < n.length; i++) {
422
424
  var o = n[i], s = o.split("/");
423
425
  if (s.length === 0)
424
426
  throw new Error("Invalid number skeleton");
425
- for (var a = s[0], u = s.slice(1), l = 0, f = u; l < f.length; l++) {
426
- var g = f[l];
427
- if (g.length === 0)
427
+ for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
428
+ var v = h[l];
429
+ if (v.length === 0)
428
430
  throw new Error("Invalid number skeleton");
429
431
  }
430
432
  r.push({ stem: a, options: u });
431
433
  }
432
434
  return r;
433
435
  }
434
- function Oi(e) {
436
+ function Pi(e) {
435
437
  return e.replace(/^(.*?)-/, "");
436
438
  }
437
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
438
- function Tt(e) {
439
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Hi = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
440
+ function wt(e) {
439
441
  var t = {};
440
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
442
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, i, n) {
441
443
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
442
444
  }), t;
443
445
  }
444
- function fr(e) {
446
+ function lr(e) {
445
447
  switch (e) {
446
448
  case "sign-auto":
447
449
  return {
@@ -481,7 +483,7 @@ function fr(e) {
481
483
  };
482
484
  }
483
485
  }
484
- function Bi(e) {
486
+ function Oi(e) {
485
487
  var t;
486
488
  if (e[0] === "E" && e[1] === "E" ? (t = {
487
489
  notation: "engineering"
@@ -489,17 +491,17 @@ function Bi(e) {
489
491
  notation: "scientific"
490
492
  }, e = e.slice(1)), t) {
491
493
  var r = e.slice(0, 2);
492
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
494
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
493
495
  throw new Error("Malformed concise eng/scientific notation");
494
496
  t.minimumIntegerDigits = e.length;
495
497
  }
496
498
  return t;
497
499
  }
498
- function Pt(e) {
499
- var t = {}, r = fr(e);
500
+ function St(e) {
501
+ var t = {}, r = lr(e);
500
502
  return r || t;
501
503
  }
502
- function Mi(e) {
504
+ function Ai(e) {
503
505
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
504
506
  var n = i[r];
505
507
  switch (n.stem) {
@@ -523,7 +525,7 @@ function Mi(e) {
523
525
  continue;
524
526
  case "measure-unit":
525
527
  case "unit":
526
- t.style = "unit", t.unit = Oi(n.options[0]);
528
+ t.style = "unit", t.unit = Pi(n.options[0]);
527
529
  continue;
528
530
  case "compact-short":
529
531
  case "K":
@@ -535,12 +537,12 @@ function Mi(e) {
535
537
  continue;
536
538
  case "scientific":
537
539
  t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(u, l) {
538
- return A(A({}, u), Pt(l));
540
+ return A(A({}, u), St(l));
539
541
  }, {}));
540
542
  continue;
541
543
  case "engineering":
542
544
  t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(u, l) {
543
- return A(A({}, u), Pt(l));
545
+ return A(A({}, u), St(l));
544
546
  }, {}));
545
547
  continue;
546
548
  case "notation-simple":
@@ -585,11 +587,11 @@ function Mi(e) {
585
587
  case "integer-width":
586
588
  if (n.options.length > 1)
587
589
  throw new RangeError("integer-width stems only accept a single optional option");
588
- n.options[0].replace(Ai, function(u, l, f, g, p, x) {
590
+ n.options[0].replace(Hi, function(u, l, h, v, p, x) {
589
591
  if (l)
590
- t.minimumIntegerDigits = f.length;
592
+ t.minimumIntegerDigits = h.length;
591
593
  else {
592
- if (g && p)
594
+ if (v && p)
593
595
  throw new Error("We currently do not support maximum integer digits");
594
596
  if (x)
595
597
  throw new Error("We currently do not support exact integer digits");
@@ -598,27 +600,27 @@ function Mi(e) {
598
600
  });
599
601
  continue;
600
602
  }
601
- if (hr.test(n.stem)) {
603
+ if (ur.test(n.stem)) {
602
604
  t.minimumIntegerDigits = n.stem.length;
603
605
  continue;
604
606
  }
605
- if (St.test(n.stem)) {
607
+ if (_t.test(n.stem)) {
606
608
  if (n.options.length > 1)
607
609
  throw new RangeError("Fraction-precision stems only accept a single optional option");
608
- n.stem.replace(St, function(u, l, f, g, p, x) {
609
- return f === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
610
+ n.stem.replace(_t, function(u, l, h, v, p, x) {
611
+ return h === "*" ? t.minimumFractionDigits = l.length : v && v[0] === "#" ? t.maximumFractionDigits = v.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
610
612
  });
611
613
  var o = n.options[0];
612
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Tt(o)));
614
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), wt(o)));
613
615
  continue;
614
616
  }
615
- if (lr.test(n.stem)) {
616
- t = A(A({}, t), Tt(n.stem));
617
+ if (ar.test(n.stem)) {
618
+ t = A(A({}, t), wt(n.stem));
617
619
  continue;
618
620
  }
619
- var s = fr(n.stem);
621
+ var s = lr(n.stem);
620
622
  s && (t = A(A({}, t), s));
621
- var a = Bi(n.stem);
623
+ var a = Oi(n.stem);
622
624
  a && (t = A(A({}, t), a));
623
625
  }
624
626
  return t;
@@ -2038,13 +2040,13 @@ var Re = {
2038
2040
  "h"
2039
2041
  ]
2040
2042
  };
2041
- function Ci(e, t) {
2043
+ function Bi(e, t) {
2042
2044
  for (var r = "", i = 0; i < e.length; i++) {
2043
2045
  var n = e.charAt(i);
2044
2046
  if (n === "j") {
2045
2047
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2046
2048
  o++, i++;
2047
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Di(t);
2049
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Mi(t);
2048
2050
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2049
2051
  r += u;
2050
2052
  for (; s-- > 0; )
@@ -2054,7 +2056,7 @@ function Ci(e, t) {
2054
2056
  }
2055
2057
  return r;
2056
2058
  }
2057
- function Di(e) {
2059
+ function Mi(e) {
2058
2060
  var t = e.hourCycle;
2059
2061
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2060
2062
  e.hourCycles && // @ts-ignore
@@ -2076,20 +2078,20 @@ function Di(e) {
2076
2078
  var n = Re[i || ""] || Re[r || ""] || Re["".concat(r, "-001")] || Re["001"];
2077
2079
  return n[0];
2078
2080
  }
2079
- var Je, Ii = new RegExp("^".concat(ur.source, "*")), Li = new RegExp("".concat(ur.source, "*$"));
2081
+ var Je, Ci = new RegExp("^".concat(sr.source, "*")), Ii = new RegExp("".concat(sr.source, "*$"));
2080
2082
  function H(e, t) {
2081
2083
  return { start: e, end: t };
2082
2084
  }
2083
- var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, ki = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Vi = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, $i = Gi ? Number.isSafeInteger : function(e) {
2085
+ var Di = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Vi = Fi ? Number.isSafeInteger : function(e) {
2084
2086
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2085
- }, st = !0;
2087
+ }, ot = !0;
2086
2088
  try {
2087
- var ji = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2088
- st = ((Je = ji.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2089
+ var Gi = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2090
+ ot = ((Je = Gi.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2089
2091
  } catch {
2090
- st = !1;
2092
+ ot = !1;
2091
2093
  }
2092
- var Ht = Ni ? (
2094
+ var Tt = Di ? (
2093
2095
  // Native
2094
2096
  function(t, r, i) {
2095
2097
  return t.startsWith(r, i);
@@ -2099,7 +2101,7 @@ var Ht = Ni ? (
2099
2101
  function(t, r, i) {
2100
2102
  return t.slice(i, i + r.length) === r;
2101
2103
  }
2102
- ), at = Ri ? String.fromCodePoint : (
2104
+ ), st = Li ? String.fromCodePoint : (
2103
2105
  // IE11
2104
2106
  function() {
2105
2107
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2111,9 +2113,9 @@ var Ht = Ni ? (
2111
2113
  }
2112
2114
  return i;
2113
2115
  }
2114
- ), Ot = (
2116
+ ), Pt = (
2115
2117
  // native
2116
- ki ? Object.fromEntries : (
2118
+ Ni ? Object.fromEntries : (
2117
2119
  // Ponyfill
2118
2120
  function(t) {
2119
2121
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2123,7 +2125,7 @@ var Ht = Ni ? (
2123
2125
  return r;
2124
2126
  }
2125
2127
  )
2126
- ), cr = Ui ? (
2128
+ ), fr = Ri ? (
2127
2129
  // Native
2128
2130
  function(t, r) {
2129
2131
  return t.codePointAt(r);
@@ -2137,7 +2139,7 @@ var Ht = Ni ? (
2137
2139
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2138
2140
  }
2139
2141
  }
2140
- ), zi = Fi ? (
2142
+ ), $i = ki ? (
2141
2143
  // Native
2142
2144
  function(t) {
2143
2145
  return t.trimStart();
@@ -2145,9 +2147,9 @@ var Ht = Ni ? (
2145
2147
  ) : (
2146
2148
  // Ponyfill
2147
2149
  function(t) {
2148
- return t.replace(Ii, "");
2150
+ return t.replace(Ci, "");
2149
2151
  }
2150
- ), Wi = Vi ? (
2152
+ ), ji = Ui ? (
2151
2153
  // Native
2152
2154
  function(t) {
2153
2155
  return t.trimEnd();
@@ -2155,32 +2157,32 @@ var Ht = Ni ? (
2155
2157
  ) : (
2156
2158
  // Ponyfill
2157
2159
  function(t) {
2158
- return t.replace(Li, "");
2160
+ return t.replace(Ii, "");
2159
2161
  }
2160
2162
  );
2161
- function dr(e, t) {
2163
+ function hr(e, t) {
2162
2164
  return new RegExp(e, t);
2163
2165
  }
2164
- var ut;
2165
- if (st) {
2166
- var At = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2167
- ut = function(t, r) {
2166
+ var at;
2167
+ if (ot) {
2168
+ var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2169
+ at = function(t, r) {
2168
2170
  var i;
2169
- At.lastIndex = r;
2170
- var n = At.exec(t);
2171
+ Ht.lastIndex = r;
2172
+ var n = Ht.exec(t);
2171
2173
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2172
2174
  };
2173
2175
  } else
2174
- ut = function(t, r) {
2176
+ at = function(t, r) {
2175
2177
  for (var i = []; ; ) {
2176
- var n = cr(t, r);
2177
- if (n === void 0 || pr(n) || Zi(n))
2178
+ var n = fr(t, r);
2179
+ if (n === void 0 || cr(n) || qi(n))
2178
2180
  break;
2179
2181
  i.push(n), r += n >= 65536 ? 2 : 1;
2180
2182
  }
2181
- return at.apply(void 0, i);
2183
+ return st.apply(void 0, i);
2182
2184
  };
2183
- var Xi = (
2185
+ var zi = (
2184
2186
  /** @class */
2185
2187
  function() {
2186
2188
  function e(t, r) {
@@ -2204,14 +2206,14 @@ var Xi = (
2204
2206
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2205
2207
  var a = this.clonePosition();
2206
2208
  this.bump(), n.push({
2207
- type: I.pound,
2209
+ type: D.pound,
2208
2210
  location: H(a, this.clonePosition())
2209
2211
  });
2210
2212
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2211
2213
  if (i)
2212
2214
  break;
2213
2215
  return this.error(P.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2214
- } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2216
+ } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
2215
2217
  var s = this.parseTag(t, r);
2216
2218
  if (s.err)
2217
2219
  return s;
@@ -2232,7 +2234,7 @@ var Xi = (
2232
2234
  if (this.bumpSpace(), this.bumpIf("/>"))
2233
2235
  return {
2234
2236
  val: {
2235
- type: I.literal,
2237
+ type: D.literal,
2236
2238
  value: "<".concat(n, "/>"),
2237
2239
  location: H(i, this.clonePosition())
2238
2240
  },
@@ -2244,12 +2246,12 @@ var Xi = (
2244
2246
  return o;
2245
2247
  var s = o.val, a = this.clonePosition();
2246
2248
  if (this.bumpIf("</")) {
2247
- if (this.isEOF() || !lt(this.char()))
2249
+ if (this.isEOF() || !ut(this.char()))
2248
2250
  return this.error(P.INVALID_TAG, H(a, this.clonePosition()));
2249
2251
  var u = this.clonePosition(), l = this.parseTagName();
2250
2252
  return n !== l ? this.error(P.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2251
2253
  val: {
2252
- type: I.tag,
2254
+ type: D.tag,
2253
2255
  value: n,
2254
2256
  children: s,
2255
2257
  location: H(i, this.clonePosition())
@@ -2262,7 +2264,7 @@ var Xi = (
2262
2264
  return this.error(P.INVALID_TAG, H(i, this.clonePosition()));
2263
2265
  }, e.prototype.parseTagName = function() {
2264
2266
  var t = this.offset();
2265
- for (this.bump(); !this.isEOF() && Yi(this.char()); )
2267
+ for (this.bump(); !this.isEOF() && Xi(this.char()); )
2266
2268
  this.bump();
2267
2269
  return this.message.slice(t, this.offset());
2268
2270
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2286,12 +2288,12 @@ var Xi = (
2286
2288
  }
2287
2289
  var u = H(i, this.clonePosition());
2288
2290
  return {
2289
- val: { type: I.literal, value: n, location: u },
2291
+ val: { type: D.literal, value: n, location: u },
2290
2292
  err: null
2291
2293
  };
2292
2294
  }, e.prototype.tryParseLeftAngleBracket = function() {
2293
2295
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2294
- !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2296
+ !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
2295
2297
  }, e.prototype.tryParseQuote = function(t) {
2296
2298
  if (this.isEOF() || this.char() !== 39)
2297
2299
  return null;
@@ -2325,12 +2327,12 @@ var Xi = (
2325
2327
  r.push(i);
2326
2328
  this.bump();
2327
2329
  }
2328
- return at.apply(void 0, r);
2330
+ return st.apply(void 0, r);
2329
2331
  }, e.prototype.tryParseUnquoted = function(t, r) {
2330
2332
  if (this.isEOF())
2331
2333
  return null;
2332
2334
  var i = this.char();
2333
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), at(i));
2335
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), st(i));
2334
2336
  }, e.prototype.parseArgument = function(t, r) {
2335
2337
  var i = this.clonePosition();
2336
2338
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2346,7 +2348,7 @@ var Xi = (
2346
2348
  case 125:
2347
2349
  return this.bump(), {
2348
2350
  val: {
2349
- type: I.argument,
2351
+ type: D.argument,
2350
2352
  // value does not include the opening and closing braces.
2351
2353
  value: n,
2352
2354
  location: H(i, this.clonePosition())
@@ -2359,7 +2361,7 @@ var Xi = (
2359
2361
  return this.error(P.MALFORMED_ARGUMENT, H(i, this.clonePosition()));
2360
2362
  }
2361
2363
  }, e.prototype.parseIdentifierIfPossible = function() {
2362
- var t = this.clonePosition(), r = this.offset(), i = ut(this.message, r), n = r + i.length;
2364
+ var t = this.clonePosition(), r = this.offset(), i = at(this.message, r), n = r + i.length;
2363
2365
  this.bumpTo(n);
2364
2366
  var o = this.clonePosition(), s = H(t, o);
2365
2367
  return { value: i, location: s };
@@ -2375,38 +2377,38 @@ var Xi = (
2375
2377
  var l = null;
2376
2378
  if (this.bumpIf(",")) {
2377
2379
  this.bumpSpace();
2378
- var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2379
- if (g.err)
2380
- return g;
2381
- var p = Wi(g.val);
2380
+ var h = this.clonePosition(), v = this.parseSimpleArgStyleIfPossible();
2381
+ if (v.err)
2382
+ return v;
2383
+ var p = ji(v.val);
2382
2384
  if (p.length === 0)
2383
2385
  return this.error(P.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2384
- var x = H(f, this.clonePosition());
2386
+ var x = H(h, this.clonePosition());
2385
2387
  l = { style: p, styleLocation: x };
2386
2388
  }
2387
2389
  var S = this.tryParseArgumentClose(n);
2388
2390
  if (S.err)
2389
2391
  return S;
2390
2392
  var d = H(n, this.clonePosition());
2391
- if (l && Ht(l?.style, "::", 0)) {
2392
- var C = zi(l.style.slice(2));
2393
+ if (l && Tt(l?.style, "::", 0)) {
2394
+ var C = $i(l.style.slice(2));
2393
2395
  if (a === "number") {
2394
- var g = this.parseNumberSkeletonFromString(C, l.styleLocation);
2395
- return g.err ? g : {
2396
- val: { type: I.number, value: i, location: d, style: g.val },
2396
+ var v = this.parseNumberSkeletonFromString(C, l.styleLocation);
2397
+ return v.err ? v : {
2398
+ val: { type: D.number, value: i, location: d, style: v.val },
2397
2399
  err: null
2398
2400
  };
2399
2401
  } else {
2400
2402
  if (C.length === 0)
2401
2403
  return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
2402
2404
  var V = C;
2403
- this.locale && (V = Ci(C, this.locale));
2405
+ this.locale && (V = Bi(C, this.locale));
2404
2406
  var p = {
2405
2407
  type: _e.dateTime,
2406
2408
  pattern: V,
2407
2409
  location: l.styleLocation,
2408
- parsedOptions: this.shouldParseSkeletons ? Ti(V) : {}
2409
- }, k = a === "date" ? I.date : I.time;
2410
+ parsedOptions: this.shouldParseSkeletons ? wi(V) : {}
2411
+ }, k = a === "date" ? D.date : D.time;
2410
2412
  return {
2411
2413
  val: { type: k, value: i, location: d, style: p },
2412
2414
  err: null
@@ -2415,7 +2417,7 @@ var Xi = (
2415
2417
  }
2416
2418
  return {
2417
2419
  val: {
2418
- type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2420
+ type: a === "number" ? D.number : a === "date" ? D.date : D.time,
2419
2421
  value: i,
2420
2422
  location: d,
2421
2423
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -2435,10 +2437,10 @@ var Xi = (
2435
2437
  if (!this.bumpIf(":"))
2436
2438
  return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
2437
2439
  this.bumpSpace();
2438
- var g = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2439
- if (g.err)
2440
- return g;
2441
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), R = g.val;
2440
+ var v = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2441
+ if (v.err)
2442
+ return v;
2443
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), R = v.val;
2442
2444
  }
2443
2445
  var U = this.tryParsePluralOrSelectOptions(t, a, r, z);
2444
2446
  if (U.err)
@@ -2449,17 +2451,17 @@ var Xi = (
2449
2451
  var X = H(n, this.clonePosition());
2450
2452
  return a === "select" ? {
2451
2453
  val: {
2452
- type: I.select,
2454
+ type: D.select,
2453
2455
  value: i,
2454
- options: Ot(U.val),
2456
+ options: Pt(U.val),
2455
2457
  location: X
2456
2458
  },
2457
2459
  err: null
2458
2460
  } : {
2459
2461
  val: {
2460
- type: I.plural,
2462
+ type: D.plural,
2461
2463
  value: i,
2462
- options: Ot(U.val),
2464
+ options: Pt(U.val),
2463
2465
  offset: R,
2464
2466
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2465
2467
  location: X
@@ -2510,7 +2512,7 @@ var Xi = (
2510
2512
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2511
2513
  var i = [];
2512
2514
  try {
2513
- i = Hi(t);
2515
+ i = Ti(t);
2514
2516
  } catch {
2515
2517
  return this.error(P.INVALID_NUMBER_SKELETON, r);
2516
2518
  }
@@ -2519,24 +2521,24 @@ var Xi = (
2519
2521
  type: _e.number,
2520
2522
  tokens: i,
2521
2523
  location: r,
2522
- parsedOptions: this.shouldParseSkeletons ? Mi(i) : {}
2524
+ parsedOptions: this.shouldParseSkeletons ? Ai(i) : {}
2523
2525
  },
2524
2526
  err: null
2525
2527
  };
2526
2528
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2527
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = n.value, f = n.location; ; ) {
2529
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = n.value, h = n.location; ; ) {
2528
2530
  if (l.length === 0) {
2529
- var g = this.clonePosition();
2531
+ var v = this.clonePosition();
2530
2532
  if (r !== "select" && this.bumpIf("=")) {
2531
2533
  var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
2532
2534
  if (p.err)
2533
2535
  return p;
2534
- f = H(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
2536
+ h = H(v, this.clonePosition()), l = this.message.slice(v.offset, this.offset());
2535
2537
  } else
2536
2538
  break;
2537
2539
  }
2538
2540
  if (u.has(l))
2539
- return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2541
+ return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2540
2542
  l === "other" && (s = !0), this.bumpSpace();
2541
2543
  var x = this.clonePosition();
2542
2544
  if (!this.bumpIf("{"))
@@ -2553,7 +2555,7 @@ var Xi = (
2553
2555
  value: S.val,
2554
2556
  location: H(x, this.clonePosition())
2555
2557
  }
2556
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
2558
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
2557
2559
  }
2558
2560
  return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(P.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2559
2561
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -2567,7 +2569,7 @@ var Xi = (
2567
2569
  break;
2568
2570
  }
2569
2571
  var u = H(n, this.clonePosition());
2570
- return o ? (s *= i, $i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2572
+ return o ? (s *= i, Vi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2571
2573
  }, e.prototype.offset = function() {
2572
2574
  return this.position.offset;
2573
2575
  }, e.prototype.isEOF = function() {
@@ -2582,7 +2584,7 @@ var Xi = (
2582
2584
  var t = this.position.offset;
2583
2585
  if (t >= this.message.length)
2584
2586
  throw Error("out of bound");
2585
- var r = cr(this.message, t);
2587
+ var r = fr(this.message, t);
2586
2588
  if (r === void 0)
2587
2589
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2588
2590
  return r;
@@ -2601,7 +2603,7 @@ var Xi = (
2601
2603
  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);
2602
2604
  }
2603
2605
  }, e.prototype.bumpIf = function(t) {
2604
- if (Ht(this.message, t, this.offset())) {
2606
+ if (Tt(this.message, t, this.offset())) {
2605
2607
  for (var r = 0; r < t.length; r++)
2606
2608
  this.bump();
2607
2609
  return !0;
@@ -2623,7 +2625,7 @@ var Xi = (
2623
2625
  break;
2624
2626
  }
2625
2627
  }, e.prototype.bumpSpace = function() {
2626
- for (; !this.isEOF() && pr(this.char()); )
2628
+ for (; !this.isEOF() && cr(this.char()); )
2627
2629
  this.bump();
2628
2630
  }, e.prototype.peek = function() {
2629
2631
  if (this.isEOF())
@@ -2633,38 +2635,38 @@ var Xi = (
2633
2635
  }, e;
2634
2636
  }()
2635
2637
  );
2636
- function lt(e) {
2638
+ function ut(e) {
2637
2639
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2638
2640
  }
2639
- function qi(e) {
2640
- return lt(e) || e === 47;
2641
+ function Wi(e) {
2642
+ return ut(e) || e === 47;
2641
2643
  }
2642
- function Yi(e) {
2644
+ function Xi(e) {
2643
2645
  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;
2644
2646
  }
2645
- function pr(e) {
2647
+ function cr(e) {
2646
2648
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2647
2649
  }
2648
- function Zi(e) {
2650
+ function qi(e) {
2649
2651
  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;
2650
2652
  }
2651
- function ht(e) {
2653
+ function lt(e) {
2652
2654
  e.forEach(function(t) {
2653
- if (delete t.location, nr(t) || or(t))
2655
+ if (delete t.location, rr(t) || ir(t))
2654
2656
  for (var r in t.options)
2655
- delete t.options[r].location, ht(t.options[r].value);
2657
+ delete t.options[r].location, lt(t.options[r].value);
2656
2658
  else
2657
- tr(t) && ar(t.style) || (rr(t) || ir(t)) && ot(t.style) ? delete t.style.location : sr(t) && ht(t.children);
2659
+ Kt(t) && or(t.style) || (er(t) || tr(t)) && nt(t.style) ? delete t.style.location : nr(t) && lt(t.children);
2658
2660
  });
2659
2661
  }
2660
- function Ji(e, t) {
2662
+ function Yi(e, t) {
2661
2663
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2662
- var r = new Xi(e, t).parse();
2664
+ var r = new zi(e, t).parse();
2663
2665
  if (r.err) {
2664
2666
  var i = SyntaxError(P[r.err.kind]);
2665
2667
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
2666
2668
  }
2667
- return t?.captureLocation || ht(r.val), r.val;
2669
+ return t?.captureLocation || lt(r.val), r.val;
2668
2670
  }
2669
2671
  var we;
2670
2672
  (function(e) {
@@ -2682,7 +2684,7 @@ var ze = (
2682
2684
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2683
2685
  }, t;
2684
2686
  }(Error)
2685
- ), Bt = (
2687
+ ), Ot = (
2686
2688
  /** @class */
2687
2689
  function(e) {
2688
2690
  se(t, e);
@@ -2691,7 +2693,7 @@ var ze = (
2691
2693
  }
2692
2694
  return t;
2693
2695
  }(ze)
2694
- ), Qi = (
2696
+ ), Zi = (
2695
2697
  /** @class */
2696
2698
  function(e) {
2697
2699
  se(t, e);
@@ -2700,7 +2702,7 @@ var ze = (
2700
2702
  }
2701
2703
  return t;
2702
2704
  }(ze)
2703
- ), Ki = (
2705
+ ), Ji = (
2704
2706
  /** @class */
2705
2707
  function(e) {
2706
2708
  se(t, e);
@@ -2713,17 +2715,17 @@ var ze = (
2713
2715
  (function(e) {
2714
2716
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2715
2717
  })(j || (j = {}));
2716
- function en(e) {
2718
+ function Qi(e) {
2717
2719
  return e.length < 2 ? e : e.reduce(function(t, r) {
2718
2720
  var i = t[t.length - 1];
2719
2721
  return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
2720
2722
  }, []);
2721
2723
  }
2722
- function tn(e) {
2724
+ function Ki(e) {
2723
2725
  return typeof e == "function";
2724
2726
  }
2725
2727
  function Ue(e, t, r, i, n, o, s) {
2726
- if (e.length === 1 && wt(e[0]))
2728
+ if (e.length === 1 && Et(e[0]))
2727
2729
  return [
2728
2730
  {
2729
2731
  type: j.literal,
@@ -2731,60 +2733,60 @@ function Ue(e, t, r, i, n, o, s) {
2731
2733
  }
2732
2734
  ];
2733
2735
  for (var a = [], u = 0, l = e; u < l.length; u++) {
2734
- var f = l[u];
2735
- if (wt(f)) {
2736
+ var h = l[u];
2737
+ if (Et(h)) {
2736
2738
  a.push({
2737
2739
  type: j.literal,
2738
- value: f.value
2740
+ value: h.value
2739
2741
  });
2740
2742
  continue;
2741
2743
  }
2742
- if (wi(f)) {
2744
+ if (Ei(h)) {
2743
2745
  typeof o == "number" && a.push({
2744
2746
  type: j.literal,
2745
2747
  value: r.getNumberFormat(t).format(o)
2746
2748
  });
2747
2749
  continue;
2748
2750
  }
2749
- var g = f.value;
2750
- if (!(n && g in n))
2751
- throw new Ki(g, s);
2752
- var p = n[g];
2753
- if (_i(f)) {
2751
+ var v = h.value;
2752
+ if (!(n && v in n))
2753
+ throw new Ji(v, s);
2754
+ var p = n[v];
2755
+ if (xi(h)) {
2754
2756
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
2755
2757
  type: typeof p == "string" ? j.literal : j.object,
2756
2758
  value: p
2757
2759
  });
2758
2760
  continue;
2759
2761
  }
2760
- if (rr(f)) {
2761
- var x = typeof f.style == "string" ? i.date[f.style] : ot(f.style) ? f.style.parsedOptions : void 0;
2762
+ if (er(h)) {
2763
+ var x = typeof h.style == "string" ? i.date[h.style] : nt(h.style) ? h.style.parsedOptions : void 0;
2762
2764
  a.push({
2763
2765
  type: j.literal,
2764
2766
  value: r.getDateTimeFormat(t, x).format(p)
2765
2767
  });
2766
2768
  continue;
2767
2769
  }
2768
- if (ir(f)) {
2769
- var x = typeof f.style == "string" ? i.time[f.style] : ot(f.style) ? f.style.parsedOptions : i.time.medium;
2770
+ if (tr(h)) {
2771
+ var x = typeof h.style == "string" ? i.time[h.style] : nt(h.style) ? h.style.parsedOptions : i.time.medium;
2770
2772
  a.push({
2771
2773
  type: j.literal,
2772
2774
  value: r.getDateTimeFormat(t, x).format(p)
2773
2775
  });
2774
2776
  continue;
2775
2777
  }
2776
- if (tr(f)) {
2777
- var x = typeof f.style == "string" ? i.number[f.style] : ar(f.style) ? f.style.parsedOptions : void 0;
2778
+ if (Kt(h)) {
2779
+ var x = typeof h.style == "string" ? i.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
2778
2780
  x && x.scale && (p = p * (x.scale || 1)), a.push({
2779
2781
  type: j.literal,
2780
2782
  value: r.getNumberFormat(t, x).format(p)
2781
2783
  });
2782
2784
  continue;
2783
2785
  }
2784
- if (sr(f)) {
2785
- var S = f.children, d = f.value, C = n[d];
2786
- if (!tn(C))
2787
- throw new Qi(d, "function", s);
2786
+ if (nr(h)) {
2787
+ var S = h.children, d = h.value, C = n[d];
2788
+ if (!Ki(C))
2789
+ throw new Zi(d, "function", s);
2788
2790
  var V = Ue(S, t, r, i, n, o), k = C(V.map(function(R) {
2789
2791
  return R.value;
2790
2792
  }));
@@ -2795,39 +2797,39 @@ function Ue(e, t, r, i, n, o, s) {
2795
2797
  };
2796
2798
  }));
2797
2799
  }
2798
- if (nr(f)) {
2799
- var B = f.options[p] || f.options.other;
2800
+ if (rr(h)) {
2801
+ var B = h.options[p] || h.options.other;
2800
2802
  if (!B)
2801
- throw new Bt(f.value, p, Object.keys(f.options), s);
2803
+ throw new Ot(h.value, p, Object.keys(h.options), s);
2802
2804
  a.push.apply(a, Ue(B.value, t, r, i, n));
2803
2805
  continue;
2804
2806
  }
2805
- if (or(f)) {
2806
- var B = f.options["=".concat(p)];
2807
+ if (ir(h)) {
2808
+ var B = h.options["=".concat(p)];
2807
2809
  if (!B) {
2808
2810
  if (!Intl.PluralRules)
2809
2811
  throw new ze(`Intl.PluralRules is not available in this environment.
2810
2812
  Try polyfilling it using "@formatjs/intl-pluralrules"
2811
2813
  `, we.MISSING_INTL_API, s);
2812
- var z = r.getPluralRules(t, { type: f.pluralType }).select(p - (f.offset || 0));
2813
- B = f.options[z] || f.options.other;
2814
+ var z = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
2815
+ B = h.options[z] || h.options.other;
2814
2816
  }
2815
2817
  if (!B)
2816
- throw new Bt(f.value, p, Object.keys(f.options), s);
2817
- a.push.apply(a, Ue(B.value, t, r, i, n, p - (f.offset || 0)));
2818
+ throw new Ot(h.value, p, Object.keys(h.options), s);
2819
+ a.push.apply(a, Ue(B.value, t, r, i, n, p - (h.offset || 0)));
2818
2820
  continue;
2819
2821
  }
2820
2822
  }
2821
- return en(a);
2823
+ return Qi(a);
2822
2824
  }
2823
- function rn(e, t) {
2825
+ function en(e, t) {
2824
2826
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2825
2827
  return r[i] = A(A({}, e[i]), t[i] || {}), r;
2826
2828
  }, {})) : e;
2827
2829
  }
2828
- function nn(e, t) {
2830
+ function tn(e, t) {
2829
2831
  return t ? Object.keys(e).reduce(function(r, i) {
2830
- return r[i] = rn(e[i], t[i]), r;
2832
+ return r[i] = en(e[i], t[i]), r;
2831
2833
  }, A({}, e)) : e;
2832
2834
  }
2833
2835
  function Qe(e) {
@@ -2844,7 +2846,7 @@ function Qe(e) {
2844
2846
  }
2845
2847
  };
2846
2848
  }
2847
- function on(e) {
2849
+ function rn(e) {
2848
2850
  return e === void 0 && (e = {
2849
2851
  number: {},
2850
2852
  dateTime: {},
@@ -2876,7 +2878,7 @@ function on(e) {
2876
2878
  })
2877
2879
  };
2878
2880
  }
2879
- var mr = (
2881
+ var dr = (
2880
2882
  /** @class */
2881
2883
  function() {
2882
2884
  function e(t, r, i, n) {
@@ -2890,10 +2892,10 @@ var mr = (
2890
2892
  var l = o.formatToParts(u);
2891
2893
  if (l.length === 1)
2892
2894
  return l[0].value;
2893
- var f = l.reduce(function(g, p) {
2894
- return !g.length || p.type !== j.literal || typeof g[g.length - 1] != "string" ? g.push(p.value) : g[g.length - 1] += p.value, g;
2895
+ var h = l.reduce(function(v, p) {
2896
+ return !v.length || p.type !== j.literal || typeof v[v.length - 1] != "string" ? v.push(p.value) : v[v.length - 1] += p.value, v;
2895
2897
  }, []);
2896
- return f.length <= 1 ? f[0] || "" : f;
2898
+ return h.length <= 1 ? h[0] || "" : h;
2897
2899
  }, this.formatToParts = function(u) {
2898
2900
  return Ue(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
2899
2901
  }, this.resolvedOptions = function() {
@@ -2908,13 +2910,13 @@ var mr = (
2908
2910
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2909
2911
  var s = n || {};
2910
2912
  s.formatters;
2911
- var a = mi(s, ["formatters"]);
2913
+ var a = ci(s, ["formatters"]);
2912
2914
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
2913
2915
  } else
2914
2916
  this.ast = t;
2915
2917
  if (!Array.isArray(this.ast))
2916
2918
  throw new TypeError("A message must be provided as a String or AST.");
2917
- this.formats = nn(e.formats, i), this.formatters = n && n.formatters || on(this.formatterCache);
2919
+ this.formats = tn(e.formats, i), this.formatters = n && n.formatters || rn(this.formatterCache);
2918
2920
  }
2919
2921
  return Object.defineProperty(e, "defaultLocale", {
2920
2922
  get: function() {
@@ -2927,7 +2929,7 @@ var mr = (
2927
2929
  var r = Intl.NumberFormat.supportedLocalesOf(t);
2928
2930
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2929
2931
  }
2930
- }, e.__parse = Ji, e.formats = {
2932
+ }, e.__parse = Yi, e.formats = {
2931
2933
  number: {
2932
2934
  integer: {
2933
2935
  maximumFractionDigits: 0
@@ -2988,7 +2990,7 @@ var mr = (
2988
2990
  }, e;
2989
2991
  }()
2990
2992
  );
2991
- function sn(e, t) {
2993
+ function nn(e, t) {
2992
2994
  if (t == null)
2993
2995
  return;
2994
2996
  if (t in e)
@@ -3009,101 +3011,101 @@ function sn(e, t) {
3009
3011
  i = void 0;
3010
3012
  return i;
3011
3013
  }
3012
- const le = {}, an = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), vr = (e, t) => {
3014
+ const le = {}, on = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), pr = (e, t) => {
3013
3015
  if (t == null)
3014
3016
  return;
3015
3017
  if (t in le && e in le[t])
3016
3018
  return le[t][e];
3017
- const r = Ie(t);
3019
+ const r = De(t);
3018
3020
  for (let i = 0; i < r.length; i++) {
3019
- const n = r[i], o = ln(n, e);
3021
+ const n = r[i], o = an(n, e);
3020
3022
  if (o)
3021
- return an(e, t, o);
3023
+ return on(e, t, o);
3022
3024
  }
3023
3025
  };
3024
- let bt;
3025
- const De = Ce({});
3026
- function un(e) {
3027
- return bt[e] || null;
3026
+ let gt;
3027
+ const Ie = Ce({});
3028
+ function sn(e) {
3029
+ return gt[e] || null;
3028
3030
  }
3029
- function gr(e) {
3030
- return e in bt;
3031
+ function mr(e) {
3032
+ return e in gt;
3031
3033
  }
3032
- function ln(e, t) {
3033
- if (!gr(e))
3034
+ function an(e, t) {
3035
+ if (!mr(e))
3034
3036
  return null;
3035
- const r = un(e);
3036
- return sn(r, t);
3037
+ const r = sn(e);
3038
+ return nn(r, t);
3037
3039
  }
3038
- function hn(e) {
3040
+ function un(e) {
3039
3041
  if (e == null)
3040
3042
  return;
3041
- const t = Ie(e);
3043
+ const t = De(e);
3042
3044
  for (let r = 0; r < t.length; r++) {
3043
3045
  const i = t[r];
3044
- if (gr(i))
3046
+ if (mr(i))
3045
3047
  return i;
3046
3048
  }
3047
3049
  }
3048
- function br(e, ...t) {
3049
- delete le[e], De.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
3050
+ function gr(e, ...t) {
3051
+ delete le[e], Ie.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
3050
3052
  }
3051
3053
  Te(
3052
- [De],
3054
+ [Ie],
3053
3055
  ([e]) => Object.keys(e)
3054
3056
  );
3055
- De.subscribe((e) => bt = e);
3057
+ Ie.subscribe((e) => gt = e);
3056
3058
  const Fe = {};
3057
- function fn(e, t) {
3059
+ function ln(e, t) {
3058
3060
  Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
3059
3061
  }
3060
- function yr(e) {
3062
+ function vr(e) {
3061
3063
  return Fe[e];
3062
3064
  }
3063
- function cn(e) {
3064
- return Ie(e).map((t) => {
3065
- const r = yr(t);
3065
+ function fn(e) {
3066
+ return De(e).map((t) => {
3067
+ const r = vr(t);
3066
3068
  return [t, r ? [...r] : []];
3067
3069
  }).filter(([, t]) => t.length > 0);
3068
3070
  }
3069
3071
  function Ge(e) {
3070
- return e == null ? !1 : Ie(e).some(
3072
+ return e == null ? !1 : De(e).some(
3071
3073
  (t) => {
3072
3074
  var r;
3073
- return (r = yr(t)) == null ? void 0 : r.size;
3075
+ return (r = vr(t)) == null ? void 0 : r.size;
3074
3076
  }
3075
3077
  );
3076
3078
  }
3077
- function dn(e, t) {
3079
+ function hn(e, t) {
3078
3080
  return Promise.all(
3079
- t.map((i) => (fn(e, i), i().then((n) => n.default || n)))
3080
- ).then((i) => br(e, ...i));
3081
+ t.map((i) => (ln(e, i), i().then((n) => n.default || n)))
3082
+ ).then((i) => gr(e, ...i));
3081
3083
  }
3082
3084
  const He = {};
3083
- function xr(e) {
3085
+ function br(e) {
3084
3086
  if (!Ge(e))
3085
3087
  return e in He ? He[e] : Promise.resolve();
3086
- const t = cn(e);
3088
+ const t = fn(e);
3087
3089
  return He[e] = Promise.all(
3088
3090
  t.map(
3089
- ([r, i]) => dn(r, i)
3091
+ ([r, i]) => hn(r, i)
3090
3092
  )
3091
3093
  ).then(() => {
3092
3094
  if (Ge(e))
3093
- return xr(e);
3095
+ return br(e);
3094
3096
  delete He[e];
3095
3097
  }), He[e];
3096
3098
  }
3097
- var Mt = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, vn = (e, t) => {
3099
+ var At = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, pn = (e, t) => {
3098
3100
  var r = {};
3099
3101
  for (var i in e)
3100
- pn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3101
- if (e != null && Mt)
3102
- for (var i of Mt(e))
3103
- t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
3102
+ cn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3103
+ if (e != null && At)
3104
+ for (var i of At(e))
3105
+ t.indexOf(i) < 0 && dn.call(e, i) && (r[i] = e[i]);
3104
3106
  return r;
3105
3107
  };
3106
- const gn = {
3108
+ const mn = {
3107
3109
  number: {
3108
3110
  scientific: { notation: "scientific" },
3109
3111
  engineering: { notation: "engineering" },
@@ -3133,58 +3135,58 @@ const gn = {
3133
3135
  }
3134
3136
  }
3135
3137
  };
3136
- function bn({ locale: e, id: t }) {
3138
+ function gn({ locale: e, id: t }) {
3137
3139
  console.warn(
3138
- `[svelte-i18n] The message "${t}" was not found in "${Ie(
3140
+ `[svelte-i18n] The message "${t}" was not found in "${De(
3139
3141
  e
3140
3142
  ).join('", "')}".${Ge(ce()) ? `
3141
3143
 
3142
3144
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3143
3145
  );
3144
3146
  }
3145
- const yn = {
3147
+ const vn = {
3146
3148
  fallbackLocale: null,
3147
3149
  loadingDelay: 200,
3148
- formats: gn,
3150
+ formats: mn,
3149
3151
  warnOnMissingMessages: !0,
3150
3152
  handleMissingMessage: void 0,
3151
3153
  ignoreTag: !0
3152
- }, Oe = yn;
3154
+ }, Oe = vn;
3153
3155
  function Se() {
3154
3156
  return Oe;
3155
3157
  }
3156
- function xn(e) {
3157
- const t = e, { formats: r } = t, i = vn(t, ["formats"]);
3158
+ function bn(e) {
3159
+ const t = e, { formats: r } = t, i = pn(t, ["formats"]);
3158
3160
  let n = e.fallbackLocale;
3159
3161
  if (e.initialLocale)
3160
3162
  try {
3161
- mr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3163
+ dr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3162
3164
  } catch {
3163
3165
  console.warn(
3164
3166
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3165
3167
  );
3166
3168
  }
3167
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bn : console.warn(
3169
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = gn : console.warn(
3168
3170
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3169
- )), Object.assign(Oe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), ve.set(n);
3171
+ )), Object.assign(Oe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), ge.set(n);
3170
3172
  }
3171
3173
  const Ke = Ce(!1);
3172
- var En = Object.defineProperty, _n = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3173
- for (var r in t || (t = {}))
3174
- Sn.call(t, r) && Dt(e, r, t[r]);
3175
- if (Ct)
3176
- for (var r of Ct(t))
3177
- Tn.call(t, r) && Dt(e, r, t[r]);
3174
+ var yn = Object.defineProperty, xn = Object.defineProperties, En = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, _n = Object.prototype.hasOwnProperty, wn = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
3175
+ for (var r in t)
3176
+ _n.call(t, r) && Mt(e, r, t[r]);
3177
+ if (Bt)
3178
+ for (var r of Bt(t))
3179
+ wn.call(t, r) && Mt(e, r, t[r]);
3178
3180
  return e;
3179
- }, Hn = (e, t) => _n(e, wn(t));
3181
+ }, Tn = (e, t) => xn(e, En(t));
3180
3182
  let ft;
3181
3183
  const $e = Ce(null);
3182
- function It(e) {
3184
+ function Ct(e) {
3183
3185
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3184
3186
  }
3185
- function Ie(e, t = Se().fallbackLocale) {
3186
- const r = It(e);
3187
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3187
+ function De(e, t = Se().fallbackLocale) {
3188
+ const r = Ct(e);
3189
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3188
3190
  }
3189
3191
  function ce() {
3190
3192
  return ft ?? void 0;
@@ -3192,22 +3194,22 @@ function ce() {
3192
3194
  $e.subscribe((e) => {
3193
3195
  ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3194
3196
  });
3195
- const On = (e) => {
3196
- if (e && hn(e) && Ge(e)) {
3197
+ const Pn = (e) => {
3198
+ if (e && un(e) && Ge(e)) {
3197
3199
  const { loadingDelay: t } = Se();
3198
3200
  let r;
3199
3201
  return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
3200
3202
  () => Ke.set(!0),
3201
3203
  t
3202
- ) : Ke.set(!0), xr(e).then(() => {
3204
+ ) : Ke.set(!0), br(e).then(() => {
3203
3205
  $e.set(e);
3204
3206
  }).finally(() => {
3205
3207
  clearTimeout(r), Ke.set(!1);
3206
3208
  });
3207
3209
  }
3208
3210
  return $e.set(e);
3209
- }, ve = Hn(Pn({}, $e), {
3210
- set: On
3211
+ }, ge = Tn(Sn({}, $e), {
3212
+ set: Pn
3211
3213
  }), We = (e) => {
3212
3214
  const t = /* @__PURE__ */ Object.create(null);
3213
3215
  return (i) => {
@@ -3215,20 +3217,20 @@ const On = (e) => {
3215
3217
  return n in t ? t[n] : t[n] = e(i);
3216
3218
  };
3217
3219
  };
3218
- var An = Object.defineProperty, je = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
3220
+ var Hn = Object.defineProperty, je = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
3219
3221
  for (var r in t || (t = {}))
3220
- Er.call(t, r) && Lt(e, r, t[r]);
3222
+ yr.call(t, r) && It(e, r, t[r]);
3221
3223
  if (je)
3222
3224
  for (var r of je(t))
3223
- _r.call(t, r) && Lt(e, r, t[r]);
3225
+ xr.call(t, r) && It(e, r, t[r]);
3224
3226
  return e;
3225
3227
  }, Pe = (e, t) => {
3226
3228
  var r = {};
3227
3229
  for (var i in e)
3228
- Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3230
+ yr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3229
3231
  if (e != null && je)
3230
3232
  for (var i of je(e))
3231
- t.indexOf(i) < 0 && _r.call(e, i) && (r[i] = e[i]);
3233
+ t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
3232
3234
  return r;
3233
3235
  };
3234
3236
  const Me = (e, t) => {
@@ -3236,21 +3238,21 @@ const Me = (e, t) => {
3236
3238
  if (e in r && t in r[e])
3237
3239
  return r[e][t];
3238
3240
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3239
- }, Bn = We(
3241
+ }, On = We(
3240
3242
  (e) => {
3241
3243
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3242
3244
  if (r == null)
3243
3245
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3244
3246
  return i && (n = Me("number", i)), new Intl.NumberFormat(r, n);
3245
3247
  }
3246
- ), Mn = We(
3248
+ ), An = We(
3247
3249
  (e) => {
3248
3250
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3249
3251
  if (r == null)
3250
3252
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3251
3253
  return i ? n = Me("date", i) : Object.keys(n).length === 0 && (n = Me("date", "short")), new Intl.DateTimeFormat(r, n);
3252
3254
  }
3253
- ), Cn = We(
3255
+ ), Bn = We(
3254
3256
  (e) => {
3255
3257
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3256
3258
  if (r == null)
@@ -3259,33 +3261,33 @@ const Me = (e, t) => {
3259
3261
  );
3260
3262
  return i ? n = Me("time", i) : Object.keys(n).length === 0 && (n = Me("time", "short")), new Intl.DateTimeFormat(r, n);
3261
3263
  }
3262
- ), Dn = (e = {}) => {
3264
+ ), Mn = (e = {}) => {
3263
3265
  var t = e, {
3264
3266
  locale: r = ce()
3265
3267
  } = t, i = Pe(t, [
3266
3268
  "locale"
3267
3269
  ]);
3268
- return Bn(yt({ locale: r }, i));
3269
- }, In = (e = {}) => {
3270
+ return On(vt({ locale: r }, i));
3271
+ }, Cn = (e = {}) => {
3270
3272
  var t = e, {
3271
3273
  locale: r = ce()
3272
3274
  } = t, i = Pe(t, [
3273
3275
  "locale"
3274
3276
  ]);
3275
- return Mn(yt({ locale: r }, i));
3276
- }, Ln = (e = {}) => {
3277
+ return An(vt({ locale: r }, i));
3278
+ }, In = (e = {}) => {
3277
3279
  var t = e, {
3278
3280
  locale: r = ce()
3279
3281
  } = t, i = Pe(t, [
3280
3282
  "locale"
3281
3283
  ]);
3282
- return Cn(yt({ locale: r }, i));
3283
- }, Nn = We(
3284
+ return Bn(vt({ locale: r }, i));
3285
+ }, Dn = We(
3284
3286
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3285
- (e, t = ce()) => new mr(e, t, Se().formats, {
3287
+ (e, t = ce()) => new dr(e, t, Se().formats, {
3286
3288
  ignoreTag: Se().ignoreTag
3287
3289
  })
3288
- ), Rn = (e, t = {}) => {
3290
+ ), Ln = (e, t = {}) => {
3289
3291
  var r, i, n, o;
3290
3292
  let s = t;
3291
3293
  typeof e == "object" && (s = e, e = s.id);
@@ -3298,39 +3300,39 @@ const Me = (e, t) => {
3298
3300
  throw new Error(
3299
3301
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3300
3302
  );
3301
- let f = vr(e, u);
3302
- if (!f)
3303
- f = (o = (n = (i = (r = Se()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3304
- else if (typeof f != "string")
3303
+ let h = pr(e, u);
3304
+ if (!h)
3305
+ h = (o = (n = (i = (r = Se()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3306
+ else if (typeof h != "string")
3305
3307
  return console.warn(
3306
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3307
- ), f;
3308
+ `[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.`
3309
+ ), h;
3308
3310
  if (!a)
3309
- return f;
3310
- let g = f;
3311
+ return h;
3312
+ let v = h;
3311
3313
  try {
3312
- g = Nn(f, u).format(a);
3314
+ v = Dn(h, u).format(a);
3313
3315
  } catch (p) {
3314
3316
  p instanceof Error && console.warn(
3315
3317
  `[svelte-i18n] Message "${e}" has syntax error:`,
3316
3318
  p.message
3317
3319
  );
3318
3320
  }
3319
- return g;
3320
- }, kn = (e, t) => Ln(t).format(e), Un = (e, t) => In(t).format(e), Fn = (e, t) => Dn(t).format(e), Vn = (e, t = ce()) => vr(e, t), Gn = Te([ve, De], () => Rn);
3321
- Te([ve], () => kn);
3322
- Te([ve], () => Un);
3323
- Te([ve], () => Fn);
3324
- Te([ve, De], () => Vn);
3325
- function Nt(e, t) {
3326
- br(e, t);
3321
+ return v;
3322
+ }, Nn = (e, t) => In(t).format(e), Rn = (e, t) => Cn(t).format(e), kn = (e, t) => Mn(t).format(e), Un = (e, t = ce()) => pr(e, t), Fn = Te([ge, Ie], () => Ln);
3323
+ Te([ge], () => Nn);
3324
+ Te([ge], () => Rn);
3325
+ Te([ge], () => kn);
3326
+ Te([ge, Ie], () => Un);
3327
+ function Dt(e, t) {
3328
+ gr(e, t);
3327
3329
  }
3328
- function $n(e) {
3329
- xn({
3330
+ function Vn(e) {
3331
+ bn({
3330
3332
  fallbackLocale: "en"
3331
- }), ve.set(e);
3333
+ }), ge.set(e);
3332
3334
  }
3333
- const Rt = {
3335
+ const Lt = {
3334
3336
  en: {
3335
3337
  "verification.video.how-to": "How to verify yourself",
3336
3338
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3386,17 +3388,17 @@ const Rt = {
3386
3388
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3387
3389
  }
3388
3390
  };
3389
- let jn = Ce(null);
3391
+ let Gn = Ce(null);
3390
3392
  function oe(e) {
3391
3393
  return typeof e == "function";
3392
3394
  }
3393
- function wr(e) {
3395
+ function Er(e) {
3394
3396
  var t = function(i) {
3395
3397
  Error.call(i), i.stack = new Error().stack;
3396
3398
  }, r = e(t);
3397
3399
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3398
3400
  }
3399
- var et = wr(function(e) {
3401
+ var et = Er(function(e) {
3400
3402
  return function(r) {
3401
3403
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3402
3404
  ` + r.map(function(i, n) {
@@ -3405,7 +3407,7 @@ var et = wr(function(e) {
3405
3407
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3406
3408
  };
3407
3409
  });
3408
- function ct(e, t) {
3410
+ function ht(e, t) {
3409
3411
  if (e) {
3410
3412
  var r = e.indexOf(t);
3411
3413
  0 <= r && e.splice(r, 1);
@@ -3423,7 +3425,7 @@ var Xe = function() {
3423
3425
  if (s)
3424
3426
  if (this._parentage = null, Array.isArray(s))
3425
3427
  try {
3426
- for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
3428
+ for (var a = rt(s), u = a.next(); !u.done; u = a.next()) {
3427
3429
  var l = u.value;
3428
3430
  l.remove(this);
3429
3431
  }
@@ -3439,23 +3441,23 @@ var Xe = function() {
3439
3441
  }
3440
3442
  else
3441
3443
  s.remove(this);
3442
- var f = this.initialTeardown;
3443
- if (oe(f))
3444
+ var h = this.initialTeardown;
3445
+ if (oe(h))
3444
3446
  try {
3445
- f();
3447
+ h();
3446
3448
  } catch (d) {
3447
3449
  o = d instanceof et ? d.errors : [d];
3448
3450
  }
3449
- var g = this._finalizers;
3450
- if (g) {
3451
+ var v = this._finalizers;
3452
+ if (v) {
3451
3453
  this._finalizers = null;
3452
3454
  try {
3453
- for (var p = it(g), x = p.next(); !x.done; x = p.next()) {
3455
+ for (var p = rt(v), x = p.next(); !x.done; x = p.next()) {
3454
3456
  var S = x.value;
3455
3457
  try {
3456
- kt(S);
3458
+ Nt(S);
3457
3459
  } catch (d) {
3458
- o = o ?? [], d instanceof et ? o = ye(ye([], nt(o)), nt(d.errors)) : o.push(d);
3460
+ o = o ?? [], d instanceof et ? o = ye(ye([], it(o)), it(d.errors)) : o.push(d);
3459
3461
  }
3460
3462
  }
3461
3463
  } catch (d) {
@@ -3476,7 +3478,7 @@ var Xe = function() {
3476
3478
  var r;
3477
3479
  if (t && t !== this)
3478
3480
  if (this.closed)
3479
- kt(t);
3481
+ Nt(t);
3480
3482
  else {
3481
3483
  if (t instanceof e) {
3482
3484
  if (t.closed || t._hasParent(this))
@@ -3493,56 +3495,56 @@ var Xe = function() {
3493
3495
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3494
3496
  }, e.prototype._removeParent = function(t) {
3495
3497
  var r = this._parentage;
3496
- r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
3498
+ r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
3497
3499
  }, e.prototype.remove = function(t) {
3498
3500
  var r = this._finalizers;
3499
- r && ct(r, t), t instanceof e && t._removeParent(this);
3501
+ r && ht(r, t), t instanceof e && t._removeParent(this);
3500
3502
  }, e.EMPTY = function() {
3501
3503
  var t = new e();
3502
3504
  return t.closed = !0, t;
3503
3505
  }(), e;
3504
- }(), Sr = Xe.EMPTY;
3505
- function Tr(e) {
3506
+ }(), _r = Xe.EMPTY;
3507
+ function wr(e) {
3506
3508
  return e instanceof Xe || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
3507
3509
  }
3508
- function kt(e) {
3510
+ function Nt(e) {
3509
3511
  oe(e) ? e() : e.unsubscribe();
3510
3512
  }
3511
- var Pr = {
3513
+ var $n = {
3512
3514
  onUnhandledError: null,
3513
3515
  onStoppedNotification: null,
3514
3516
  Promise: void 0,
3515
3517
  useDeprecatedSynchronousErrorHandling: !1,
3516
3518
  useDeprecatedNextContext: !1
3517
- }, zn = {
3519
+ }, jn = {
3518
3520
  setTimeout: function(e, t) {
3519
3521
  for (var r = [], i = 2; i < arguments.length; i++)
3520
3522
  r[i - 2] = arguments[i];
3521
- return setTimeout.apply(void 0, ye([e, t], nt(r)));
3523
+ return setTimeout.apply(void 0, ye([e, t], it(r)));
3522
3524
  },
3523
3525
  clearTimeout: function(e) {
3524
3526
  return clearTimeout(e);
3525
3527
  },
3526
3528
  delegate: void 0
3527
3529
  };
3528
- function Wn(e) {
3529
- zn.setTimeout(function() {
3530
+ function zn(e) {
3531
+ jn.setTimeout(function() {
3530
3532
  throw e;
3531
3533
  });
3532
3534
  }
3533
- function Ut() {
3535
+ function Rt() {
3534
3536
  }
3535
3537
  function Ve(e) {
3536
3538
  e();
3537
3539
  }
3538
- var Hr = function(e) {
3540
+ var Sr = function(e) {
3539
3541
  se(t, e);
3540
3542
  function t(r) {
3541
3543
  var i = e.call(this) || this;
3542
- return i.isStopped = !1, r ? (i.destination = r, Tr(r) && r.add(i)) : i.destination = Zn, i;
3544
+ return i.isStopped = !1, r ? (i.destination = r, wr(r) && r.add(i)) : i.destination = qn, i;
3543
3545
  }
3544
3546
  return t.create = function(r, i, n) {
3545
- return new dt(r, i, n);
3547
+ return new ct(r, i, n);
3546
3548
  }, t.prototype.next = function(r) {
3547
3549
  this.isStopped || this._next(r);
3548
3550
  }, t.prototype.error = function(r) {
@@ -3566,11 +3568,7 @@ var Hr = function(e) {
3566
3568
  this.unsubscribe();
3567
3569
  }
3568
3570
  }, t;
3569
- }(Xe), Xn = Function.prototype.bind;
3570
- function tt(e, t) {
3571
- return Xn.call(e, t);
3572
- }
3573
- var qn = function() {
3571
+ }(Xe), Wn = function() {
3574
3572
  function e(t) {
3575
3573
  this.partialObserver = t;
3576
3574
  }
@@ -3601,55 +3599,43 @@ var qn = function() {
3601
3599
  ke(r);
3602
3600
  }
3603
3601
  }, e;
3604
- }(), dt = function(e) {
3602
+ }(), ct = function(e) {
3605
3603
  se(t, e);
3606
3604
  function t(r, i, n) {
3607
3605
  var o = e.call(this) || this, s;
3608
- if (oe(r) || !r)
3609
- s = {
3610
- next: r ?? void 0,
3611
- error: i ?? void 0,
3612
- complete: n ?? void 0
3613
- };
3614
- else {
3615
- var a;
3616
- o && Pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
3617
- return o.unsubscribe();
3618
- }, s = {
3619
- next: r.next && tt(r.next, a),
3620
- error: r.error && tt(r.error, a),
3621
- complete: r.complete && tt(r.complete, a)
3622
- }) : s = r;
3623
- }
3624
- return o.destination = new qn(s), o;
3606
+ return oe(r) || !r ? s = {
3607
+ next: r ?? void 0,
3608
+ error: i ?? void 0,
3609
+ complete: n ?? void 0
3610
+ } : s = r, o.destination = new Wn(s), o;
3625
3611
  }
3626
3612
  return t;
3627
- }(Hr);
3613
+ }(Sr);
3628
3614
  function ke(e) {
3629
- Wn(e);
3615
+ zn(e);
3630
3616
  }
3631
- function Yn(e) {
3617
+ function Xn(e) {
3632
3618
  throw e;
3633
3619
  }
3634
- var Zn = {
3620
+ var qn = {
3635
3621
  closed: !0,
3636
- next: Ut,
3637
- error: Yn,
3638
- complete: Ut
3639
- }, Jn = function() {
3622
+ next: Rt,
3623
+ error: Xn,
3624
+ complete: Rt
3625
+ }, Yn = function() {
3640
3626
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3641
3627
  }();
3642
- function Qn(e) {
3628
+ function Zn(e) {
3643
3629
  return e;
3644
3630
  }
3645
- function Kn(e) {
3646
- return e.length === 0 ? Qn : e.length === 1 ? e[0] : function(r) {
3631
+ function Jn(e) {
3632
+ return e.length === 0 ? Zn : e.length === 1 ? e[0] : function(r) {
3647
3633
  return e.reduce(function(i, n) {
3648
3634
  return n(i);
3649
3635
  }, r);
3650
3636
  };
3651
3637
  }
3652
- var Ft = function() {
3638
+ var kt = function() {
3653
3639
  function e(t) {
3654
3640
  t && (this._subscribe = t);
3655
3641
  }
@@ -3657,7 +3643,7 @@ var Ft = function() {
3657
3643
  var r = new e();
3658
3644
  return r.source = this, r.operator = t, r;
3659
3645
  }, e.prototype.subscribe = function(t, r, i) {
3660
- var n = this, o = to(t) ? t : new dt(t, r, i);
3646
+ var n = this, o = Kn(t) ? t : new ct(t, r, i);
3661
3647
  return Ve(function() {
3662
3648
  var s = n, a = s.operator, u = s.source;
3663
3649
  o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
@@ -3670,8 +3656,8 @@ var Ft = function() {
3670
3656
  }
3671
3657
  }, e.prototype.forEach = function(t, r) {
3672
3658
  var i = this;
3673
- return r = Vt(r), new r(function(n, o) {
3674
- var s = new dt({
3659
+ return r = Ut(r), new r(function(n, o) {
3660
+ var s = new ct({
3675
3661
  next: function(a) {
3676
3662
  try {
3677
3663
  t(a);
@@ -3687,15 +3673,15 @@ var Ft = function() {
3687
3673
  }, e.prototype._subscribe = function(t) {
3688
3674
  var r;
3689
3675
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
3690
- }, e.prototype[Jn] = function() {
3676
+ }, e.prototype[Yn] = function() {
3691
3677
  return this;
3692
3678
  }, e.prototype.pipe = function() {
3693
3679
  for (var t = [], r = 0; r < arguments.length; r++)
3694
3680
  t[r] = arguments[r];
3695
- return Kn(t)(this);
3681
+ return Jn(t)(this);
3696
3682
  }, e.prototype.toPromise = function(t) {
3697
3683
  var r = this;
3698
- return t = Vt(t), new t(function(i, n) {
3684
+ return t = Ut(t), new t(function(i, n) {
3699
3685
  var o;
3700
3686
  r.subscribe(function(s) {
3701
3687
  return o = s;
@@ -3709,32 +3695,32 @@ var Ft = function() {
3709
3695
  return new e(t);
3710
3696
  }, e;
3711
3697
  }();
3712
- function Vt(e) {
3698
+ function Ut(e) {
3713
3699
  var t;
3714
- return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
3700
+ return (t = e ?? $n.Promise) !== null && t !== void 0 ? t : Promise;
3715
3701
  }
3716
- function eo(e) {
3702
+ function Qn(e) {
3717
3703
  return e && oe(e.next) && oe(e.error) && oe(e.complete);
3718
3704
  }
3719
- function to(e) {
3720
- return e && e instanceof Hr || eo(e) && Tr(e);
3705
+ function Kn(e) {
3706
+ return e && e instanceof Sr || Qn(e) && wr(e);
3721
3707
  }
3722
- var ro = wr(function(e) {
3708
+ var eo = Er(function(e) {
3723
3709
  return function() {
3724
3710
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3725
3711
  };
3726
- }), Or = function(e) {
3712
+ }), Tr = function(e) {
3727
3713
  se(t, e);
3728
3714
  function t() {
3729
3715
  var r = e.call(this) || this;
3730
3716
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
3731
3717
  }
3732
3718
  return t.prototype.lift = function(r) {
3733
- var i = new Gt(this, this);
3719
+ var i = new Ft(this, this);
3734
3720
  return i.operator = r, i;
3735
3721
  }, t.prototype._throwIfClosed = function() {
3736
3722
  if (this.closed)
3737
- throw new ro();
3723
+ throw new eo();
3738
3724
  }, t.prototype.next = function(r) {
3739
3725
  var i = this;
3740
3726
  Ve(function() {
@@ -3742,7 +3728,7 @@ var ro = wr(function(e) {
3742
3728
  if (i._throwIfClosed(), !i.isStopped) {
3743
3729
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
3744
3730
  try {
3745
- for (var s = it(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3731
+ for (var s = rt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3746
3732
  var u = a.value;
3747
3733
  u.next(r);
3748
3734
  }
@@ -3791,19 +3777,19 @@ var ro = wr(function(e) {
3791
3777
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
3792
3778
  }, t.prototype._innerSubscribe = function(r) {
3793
3779
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
3794
- return o || s ? Sr : (this.currentObservers = null, a.push(r), new Xe(function() {
3795
- i.currentObservers = null, ct(a, r);
3780
+ return o || s ? _r : (this.currentObservers = null, a.push(r), new Xe(function() {
3781
+ i.currentObservers = null, ht(a, r);
3796
3782
  }));
3797
3783
  }, t.prototype._checkFinalizedStatuses = function(r) {
3798
3784
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
3799
3785
  n ? r.error(o) : s && r.complete();
3800
3786
  }, t.prototype.asObservable = function() {
3801
- var r = new Ft();
3787
+ var r = new kt();
3802
3788
  return r.source = this, r;
3803
3789
  }, t.create = function(r, i) {
3804
- return new Gt(r, i);
3790
+ return new Ft(r, i);
3805
3791
  }, t;
3806
- }(Ft), Gt = function(e) {
3792
+ }(kt), Ft = function(e) {
3807
3793
  se(t, e);
3808
3794
  function t(r, i) {
3809
3795
  var n = e.call(this) || this;
@@ -3820,17 +3806,17 @@ var ro = wr(function(e) {
3820
3806
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
3821
3807
  }, t.prototype._subscribe = function(r) {
3822
3808
  var i, n;
3823
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Sr;
3809
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : _r;
3824
3810
  }, t;
3825
- }(Or), Ar = {
3811
+ }(Tr), Pr = {
3826
3812
  now: function() {
3827
- return (Ar.delegate || Date).now();
3813
+ return (Pr.delegate || Date).now();
3828
3814
  },
3829
3815
  delegate: void 0
3830
- }, io = function(e) {
3816
+ }, to = function(e) {
3831
3817
  se(t, e);
3832
3818
  function t(r, i, n) {
3833
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Ar);
3819
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Pr);
3834
3820
  var o = e.call(this) || this;
3835
3821
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
3836
3822
  }
@@ -3845,21 +3831,21 @@ var ro = wr(function(e) {
3845
3831
  }, t.prototype._trimBuffer = function() {
3846
3832
  var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
3847
3833
  if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
3848
- for (var u = n.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
3849
- l = f;
3834
+ for (var u = n.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
3835
+ l = h;
3850
3836
  l && o.splice(0, l + 1);
3851
3837
  }
3852
3838
  }, t;
3853
- }(Or);
3854
- const $t = [], jt = {}, no = (e, t = 0) => {
3855
- if ($t.indexOf(e) == -1) {
3856
- const r = new io(t);
3857
- jt[e] = r, $t.push(e);
3839
+ }(Tr);
3840
+ const Vt = [], Gt = {}, ro = (e, t = 0) => {
3841
+ if (Vt.indexOf(e) == -1) {
3842
+ const r = new to(t);
3843
+ Gt[e] = r, Vt.push(e);
3858
3844
  }
3859
- return jt[e];
3845
+ return Gt[e];
3860
3846
  };
3861
- window.emWidgets = { topic: no };
3862
- const oo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
3847
+ window.emWidgets = { topic: ro };
3848
+ const io = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
3863
3849
  if (typeof window < "u") {
3864
3850
  let e = function(t) {
3865
3851
  return function(...r) {
@@ -3872,69 +3858,69 @@ if (typeof window < "u") {
3872
3858
  }
3873
3859
  };
3874
3860
  };
3875
- customElements.define = e(customElements.define), import("./CashierModal-CIBHlFEE.js").then((t) => t.D).then(({ default: t }) => {
3861
+ customElements.define = e(customElements.define), import("./CashierModal-DKQn-TJS.js").then((t) => t.D).then(({ default: t }) => {
3876
3862
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
3877
3863
  });
3878
3864
  }
3879
- var Br = { exports: {} };
3865
+ var Hr = { exports: {} };
3880
3866
  (function(e, t) {
3881
3867
  (function(r, i) {
3882
3868
  e.exports = i();
3883
- })(Jt, function() {
3884
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", g = "month", p = "quarter", x = "year", S = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
3885
- var v = ["th", "st", "nd", "rd"], c = E % 100;
3886
- return "[" + E + (v[(c - 20) % 10] || v[c] || v[0]) + "]";
3887
- } }, B = function(E, v, c) {
3869
+ })(Yt, function() {
3870
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", h = "week", v = "month", p = "quarter", x = "year", S = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
3871
+ var g = ["th", "st", "nd", "rd"], c = E % 100;
3872
+ return "[" + E + (g[(c - 20) % 10] || g[c] || g[0]) + "]";
3873
+ } }, B = function(E, g, c) {
3888
3874
  var b = String(E);
3889
- return !b || b.length >= v ? E : "" + Array(v + 1 - b.length).join(c) + E;
3875
+ return !b || b.length >= g ? E : "" + Array(g + 1 - b.length).join(c) + E;
3890
3876
  }, z = { s: B, z: function(E) {
3891
- var v = -E.utcOffset(), c = Math.abs(v), b = Math.floor(c / 60), m = c % 60;
3892
- return (v <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3893
- }, m: function E(v, c) {
3894
- if (v.date() < c.date())
3895
- return -E(c, v);
3896
- var b = 12 * (c.year() - v.year()) + (c.month() - v.month()), m = v.clone().add(b, g), _ = c - m < 0, w = v.clone().add(b + (_ ? -1 : 1), g);
3877
+ var g = -E.utcOffset(), c = Math.abs(g), b = Math.floor(c / 60), m = c % 60;
3878
+ return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3879
+ }, m: function E(g, c) {
3880
+ if (g.date() < c.date())
3881
+ return -E(c, g);
3882
+ var b = 12 * (c.year() - g.year()) + (c.month() - g.month()), m = g.clone().add(b, v), _ = c - m < 0, w = g.clone().add(b + (_ ? -1 : 1), v);
3897
3883
  return +(-(b + (c - m) / (_ ? m - w : w - m)) || 0);
3898
3884
  }, a: function(E) {
3899
3885
  return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
3900
3886
  }, p: function(E) {
3901
- return { M: g, y: x, w: f, d: l, D: S, h: u, m: a, s, ms: o, Q: p }[E] || String(E || "").toLowerCase().replace(/s$/, "");
3887
+ return { M: v, y: x, w: h, d: l, D: S, h: u, m: a, s, ms: o, Q: p }[E] || String(E || "").toLowerCase().replace(/s$/, "");
3902
3888
  }, u: function(E) {
3903
3889
  return E === void 0;
3904
3890
  } }, R = "en", U = {};
3905
3891
  U[R] = k;
3906
3892
  var X = "$isDayjsObject", K = function(E) {
3907
3893
  return E instanceof F || !(!E || !E[X]);
3908
- }, Y = function E(v, c, b) {
3894
+ }, Y = function E(g, c, b) {
3909
3895
  var m;
3910
- if (!v)
3896
+ if (!g)
3911
3897
  return R;
3912
- if (typeof v == "string") {
3913
- var _ = v.toLowerCase();
3898
+ if (typeof g == "string") {
3899
+ var _ = g.toLowerCase();
3914
3900
  U[_] && (m = _), c && (U[_] = c, m = _);
3915
- var w = v.split("-");
3901
+ var w = g.split("-");
3916
3902
  if (!m && w.length > 1)
3917
3903
  return E(w[0]);
3918
3904
  } else {
3919
- var M = v.name;
3920
- U[M] = v, m = M;
3905
+ var M = g.name;
3906
+ U[M] = g, m = M;
3921
3907
  }
3922
3908
  return !b && m && (R = m), m || !b && R;
3923
- }, D = function(E, v) {
3909
+ }, I = function(E, g) {
3924
3910
  if (K(E))
3925
3911
  return E.clone();
3926
- var c = typeof v == "object" ? v : {};
3912
+ var c = typeof g == "object" ? g : {};
3927
3913
  return c.date = E, c.args = arguments, new F(c);
3928
3914
  }, O = z;
3929
- O.l = Y, O.i = K, O.w = function(E, v) {
3930
- return D(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
3915
+ O.l = Y, O.i = K, O.w = function(E, g) {
3916
+ return I(E, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3931
3917
  };
3932
3918
  var F = function() {
3933
3919
  function E(c) {
3934
3920
  this.$L = Y(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[X] = !0;
3935
3921
  }
3936
- var v = E.prototype;
3937
- return v.parse = function(c) {
3922
+ var g = E.prototype;
3923
+ return g.parse = function(c) {
3938
3924
  this.$d = function(b) {
3939
3925
  var m = b.date, _ = b.utc;
3940
3926
  if (m === null)
@@ -3952,27 +3938,27 @@ var Br = { exports: {} };
3952
3938
  }
3953
3939
  return new Date(m);
3954
3940
  }(c), this.init();
3955
- }, v.init = function() {
3941
+ }, g.init = function() {
3956
3942
  var c = this.$d;
3957
3943
  this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
3958
- }, v.$utils = function() {
3944
+ }, g.$utils = function() {
3959
3945
  return O;
3960
- }, v.isValid = function() {
3946
+ }, g.isValid = function() {
3961
3947
  return this.$d.toString() !== d;
3962
- }, v.isSame = function(c, b) {
3963
- var m = D(c);
3948
+ }, g.isSame = function(c, b) {
3949
+ var m = I(c);
3964
3950
  return this.startOf(b) <= m && m <= this.endOf(b);
3965
- }, v.isAfter = function(c, b) {
3966
- return D(c) < this.startOf(b);
3967
- }, v.isBefore = function(c, b) {
3968
- return this.endOf(b) < D(c);
3969
- }, v.$g = function(c, b, m) {
3951
+ }, g.isAfter = function(c, b) {
3952
+ return I(c) < this.startOf(b);
3953
+ }, g.isBefore = function(c, b) {
3954
+ return this.endOf(b) < I(c);
3955
+ }, g.$g = function(c, b, m) {
3970
3956
  return O.u(c) ? this[b] : this.set(m, c);
3971
- }, v.unix = function() {
3957
+ }, g.unix = function() {
3972
3958
  return Math.floor(this.valueOf() / 1e3);
3973
- }, v.valueOf = function() {
3959
+ }, g.valueOf = function() {
3974
3960
  return this.$d.getTime();
3975
- }, v.startOf = function(c, b) {
3961
+ }, g.startOf = function(c, b) {
3976
3962
  var m = this, _ = !!O.u(b) || b, w = O.p(c), M = function(ee, $) {
3977
3963
  var J = O.w(m.$u ? Date.UTC(m.$y, $, ee) : new Date(m.$y, $, ee), m);
3978
3964
  return _ ? J : J.endOf(l);
@@ -3982,9 +3968,9 @@ var Br = { exports: {} };
3982
3968
  switch (w) {
3983
3969
  case x:
3984
3970
  return _ ? M(1, 0) : M(31, 11);
3985
- case g:
3971
+ case v:
3986
3972
  return _ ? M(1, G) : M(0, G + 1);
3987
- case f:
3973
+ case h:
3988
3974
  var Z = this.$locale().weekStart || 0, de = (N < Z ? N + 7 : N) - Z;
3989
3975
  return M(_ ? W - de : W + (6 - de), G);
3990
3976
  case l:
@@ -3999,50 +3985,50 @@ var Br = { exports: {} };
3999
3985
  default:
4000
3986
  return this.clone();
4001
3987
  }
4002
- }, v.endOf = function(c) {
3988
+ }, g.endOf = function(c) {
4003
3989
  return this.startOf(c, !1);
4004
- }, v.$set = function(c, b) {
4005
- var m, _ = O.p(c), w = "set" + (this.$u ? "UTC" : ""), M = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[g] = w + "Month", m[x] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[_], L = _ === l ? this.$D + (b - this.$W) : b;
4006
- if (_ === g || _ === x) {
3990
+ }, g.$set = function(c, b) {
3991
+ var m, _ = O.p(c), w = "set" + (this.$u ? "UTC" : ""), M = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[v] = w + "Month", m[x] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[_], L = _ === l ? this.$D + (b - this.$W) : b;
3992
+ if (_ === v || _ === x) {
4007
3993
  var N = this.clone().set(S, 1);
4008
3994
  N.$d[M](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4009
3995
  } else
4010
3996
  M && this.$d[M](L);
4011
3997
  return this.init(), this;
4012
- }, v.set = function(c, b) {
3998
+ }, g.set = function(c, b) {
4013
3999
  return this.clone().$set(c, b);
4014
- }, v.get = function(c) {
4000
+ }, g.get = function(c) {
4015
4001
  return this[O.p(c)]();
4016
- }, v.add = function(c, b) {
4002
+ }, g.add = function(c, b) {
4017
4003
  var m, _ = this;
4018
4004
  c = Number(c);
4019
4005
  var w = O.p(b), M = function(G) {
4020
- var W = D(_);
4006
+ var W = I(_);
4021
4007
  return O.w(W.date(W.date() + Math.round(G * c)), _);
4022
4008
  };
4023
- if (w === g)
4024
- return this.set(g, this.$M + c);
4009
+ if (w === v)
4010
+ return this.set(v, this.$M + c);
4025
4011
  if (w === x)
4026
4012
  return this.set(x, this.$y + c);
4027
4013
  if (w === l)
4028
4014
  return M(1);
4029
- if (w === f)
4015
+ if (w === h)
4030
4016
  return M(7);
4031
4017
  var L = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[w] || 1, N = this.$d.getTime() + c * L;
4032
4018
  return O.w(N, this);
4033
- }, v.subtract = function(c, b) {
4019
+ }, g.subtract = function(c, b) {
4034
4020
  return this.add(-1 * c, b);
4035
- }, v.format = function(c) {
4021
+ }, g.format = function(c) {
4036
4022
  var b = this, m = this.$locale();
4037
4023
  if (!this.isValid())
4038
4024
  return m.invalidDate || d;
4039
- var _ = c || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), M = this.$H, L = this.$m, N = this.$M, G = m.weekdays, W = m.months, ue = m.meridiem, Z = function($, J, te, ge) {
4040
- return $ && ($[J] || $(b, _)) || te[J].slice(0, ge);
4025
+ var _ = c || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), M = this.$H, L = this.$m, N = this.$M, G = m.weekdays, W = m.months, ue = m.meridiem, Z = function($, J, te, ve) {
4026
+ return $ && ($[J] || $(b, _)) || te[J].slice(0, ve);
4041
4027
  }, de = function($) {
4042
4028
  return O.s(M % 12 || 12, $, "0");
4043
4029
  }, ee = ue || function($, J, te) {
4044
- var ge = $ < 12 ? "AM" : "PM";
4045
- return te ? ge.toLowerCase() : ge;
4030
+ var ve = $ < 12 ? "AM" : "PM";
4031
+ return te ? ve.toLowerCase() : ve;
4046
4032
  };
4047
4033
  return _.replace(V, function($, J) {
4048
4034
  return J || function(te) {
@@ -4099,23 +4085,23 @@ var Br = { exports: {} };
4099
4085
  return null;
4100
4086
  }($) || w.replace(":", "");
4101
4087
  });
4102
- }, v.utcOffset = function() {
4088
+ }, g.utcOffset = function() {
4103
4089
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4104
- }, v.diff = function(c, b, m) {
4105
- var _, w = this, M = O.p(b), L = D(c), N = (L.utcOffset() - this.utcOffset()) * i, G = this - L, W = function() {
4090
+ }, g.diff = function(c, b, m) {
4091
+ var _, w = this, M = O.p(b), L = I(c), N = (L.utcOffset() - this.utcOffset()) * i, G = this - L, W = function() {
4106
4092
  return O.m(w, L);
4107
4093
  };
4108
4094
  switch (M) {
4109
4095
  case x:
4110
4096
  _ = W() / 12;
4111
4097
  break;
4112
- case g:
4098
+ case v:
4113
4099
  _ = W();
4114
4100
  break;
4115
4101
  case p:
4116
4102
  _ = W() / 3;
4117
4103
  break;
4118
- case f:
4104
+ case h:
4119
4105
  _ = (G - N) / 6048e5;
4120
4106
  break;
4121
4107
  case l:
@@ -4134,45 +4120,45 @@ var Br = { exports: {} };
4134
4120
  _ = G;
4135
4121
  }
4136
4122
  return m ? _ : O.a(_);
4137
- }, v.daysInMonth = function() {
4138
- return this.endOf(g).$D;
4139
- }, v.$locale = function() {
4123
+ }, g.daysInMonth = function() {
4124
+ return this.endOf(v).$D;
4125
+ }, g.$locale = function() {
4140
4126
  return U[this.$L];
4141
- }, v.locale = function(c, b) {
4127
+ }, g.locale = function(c, b) {
4142
4128
  if (!c)
4143
4129
  return this.$L;
4144
4130
  var m = this.clone(), _ = Y(c, b, !0);
4145
4131
  return _ && (m.$L = _), m;
4146
- }, v.clone = function() {
4132
+ }, g.clone = function() {
4147
4133
  return O.w(this.$d, this);
4148
- }, v.toDate = function() {
4134
+ }, g.toDate = function() {
4149
4135
  return new Date(this.valueOf());
4150
- }, v.toJSON = function() {
4136
+ }, g.toJSON = function() {
4151
4137
  return this.isValid() ? this.toISOString() : null;
4152
- }, v.toISOString = function() {
4138
+ }, g.toISOString = function() {
4153
4139
  return this.$d.toISOString();
4154
- }, v.toString = function() {
4140
+ }, g.toString = function() {
4155
4141
  return this.$d.toUTCString();
4156
4142
  }, E;
4157
4143
  }(), ae = F.prototype;
4158
- return D.prototype = ae, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", g], ["$y", x], ["$D", S]].forEach(function(E) {
4159
- ae[E[1]] = function(v) {
4160
- return this.$g(v, E[0], E[1]);
4144
+ return I.prototype = ae, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", v], ["$y", x], ["$D", S]].forEach(function(E) {
4145
+ ae[E[1]] = function(g) {
4146
+ return this.$g(g, E[0], E[1]);
4161
4147
  };
4162
- }), D.extend = function(E, v) {
4163
- return E.$i || (E(v, F, D), E.$i = !0), D;
4164
- }, D.locale = Y, D.isDayjs = K, D.unix = function(E) {
4165
- return D(1e3 * E);
4166
- }, D.en = U[R], D.Ls = U, D.p = {}, D;
4148
+ }), I.extend = function(E, g) {
4149
+ return E.$i || (E(g, F, I), E.$i = !0), I;
4150
+ }, I.locale = Y, I.isDayjs = K, I.unix = function(E) {
4151
+ return I(1e3 * E);
4152
+ }, I.en = U[R], I.Ls = U, I.p = {}, I;
4167
4153
  });
4168
- })(Br);
4169
- var so = Br.exports;
4170
- const zt = /* @__PURE__ */ mt(so);
4171
- var Mr = { exports: {} };
4154
+ })(Hr);
4155
+ var no = Hr.exports;
4156
+ const $t = /* @__PURE__ */ pt(no);
4157
+ var Or = { exports: {} };
4172
4158
  (function(e, t) {
4173
4159
  (function(r, i) {
4174
4160
  e.exports = i();
4175
- })(Jt, function() {
4161
+ })(Yt, function() {
4176
4162
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4177
4163
  return function(o, s, a) {
4178
4164
  var u = s.prototype;
@@ -4189,19 +4175,19 @@ var Mr = { exports: {} };
4189
4175
  u.parse = function(d) {
4190
4176
  d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
4191
4177
  };
4192
- var f = u.init;
4178
+ var h = u.init;
4193
4179
  u.init = function() {
4194
4180
  if (this.$u) {
4195
4181
  var d = this.$d;
4196
4182
  this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
4197
4183
  } else
4198
- f.call(this);
4184
+ h.call(this);
4199
4185
  };
4200
- var g = u.utcOffset;
4186
+ var v = u.utcOffset;
4201
4187
  u.utcOffset = function(d, C) {
4202
4188
  var V = this.$utils().u;
4203
4189
  if (V(d))
4204
- return this.$u ? 0 : V(this.$offset) ? g.call(this) : this.$offset;
4190
+ return this.$u ? 0 : V(this.$offset) ? v.call(this) : this.$offset;
4205
4191
  if (typeof d == "string" && (d = function(R) {
4206
4192
  R === void 0 && (R = "");
4207
4193
  var U = R.match(i);
@@ -4248,65 +4234,65 @@ var Mr = { exports: {} };
4248
4234
  };
4249
4235
  };
4250
4236
  });
4251
- })(Mr);
4252
- var ao = Mr.exports;
4253
- const uo = /* @__PURE__ */ mt(ao);
4254
- function lo(e) {
4255
- $r(e, "svelte-3ui5us", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4237
+ })(Or);
4238
+ var oo = Or.exports;
4239
+ const so = /* @__PURE__ */ pt(oo);
4240
+ function ao(e) {
4241
+ Fr(e, "svelte-3ui5us", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4256
4242
  }
4257
- function Wt(e, t, r) {
4243
+ function jt(e, t, r) {
4258
4244
  const i = e.slice();
4259
4245
  return i[53] = t[r], i[55] = r, i;
4260
4246
  }
4261
- function ho(e) {
4262
- let t, r, i, n = Et(
4247
+ function uo(e) {
4248
+ let t, r, i, n = yt(
4263
4249
  /*displayMessages*/
4264
4250
  e[3]
4265
4251
  ), o = [];
4266
4252
  for (let a = 0; a < n.length; a += 1)
4267
- o[a] = qt(Wt(e, n, a));
4253
+ o[a] = Wt(jt(e, n, a));
4268
4254
  let s = (
4269
4255
  /*videoExists*/
4270
- e[6] && Yt(e)
4256
+ e[6] && Xt(e)
4271
4257
  );
4272
4258
  return {
4273
4259
  c() {
4274
4260
  t = Q("div");
4275
4261
  for (let a = 0; a < o.length; a += 1)
4276
4262
  o[a].c();
4277
- r = Ae(), s && s.c(), i = qr(), ne(t, "class", "CashierVerificationsWrapper");
4263
+ r = Ae(), s && s.c(), i = zr(), ne(t, "class", "CashierVerificationsWrapper");
4278
4264
  },
4279
4265
  m(a, u) {
4280
- he(a, t, u);
4266
+ fe(a, t, u);
4281
4267
  for (let l = 0; l < o.length; l += 1)
4282
4268
  o[l] && o[l].m(t, null);
4283
- he(a, r, u), s && s.m(a, u), he(a, i, u);
4269
+ fe(a, r, u), s && s.m(a, u), fe(a, i, u);
4284
4270
  },
4285
4271
  p(a, u) {
4286
4272
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4287
4273
  536) {
4288
- n = Et(
4274
+ n = yt(
4289
4275
  /*displayMessages*/
4290
4276
  a[3]
4291
4277
  );
4292
4278
  let l;
4293
4279
  for (l = 0; l < n.length; l += 1) {
4294
- const f = Wt(a, n, l);
4295
- o[l] ? o[l].p(f, u) : (o[l] = qt(f), o[l].c(), o[l].m(t, null));
4280
+ const h = jt(a, n, l);
4281
+ o[l] ? o[l].p(h, u) : (o[l] = Wt(h), o[l].c(), o[l].m(t, null));
4296
4282
  }
4297
4283
  for (; l < o.length; l += 1)
4298
4284
  o[l].d(1);
4299
4285
  o.length = n.length;
4300
4286
  }
4301
4287
  /*videoExists*/
4302
- a[6] ? s ? s.p(a, u) : (s = Yt(a), s.c(), s.m(i.parentNode, i)) : s && (s.d(1), s = null);
4288
+ a[6] ? s ? s.p(a, u) : (s = Xt(a), s.c(), s.m(i.parentNode, i)) : s && (s.d(1), s = null);
4303
4289
  },
4304
4290
  d(a) {
4305
- a && (fe(t), fe(r), fe(i)), Yr(o, a), s && s.d(a);
4291
+ a && (he(t), he(r), he(i)), Wr(o, a), s && s.d(a);
4306
4292
  }
4307
4293
  };
4308
4294
  }
4309
- function fo(e) {
4295
+ function lo(e) {
4310
4296
  let t;
4311
4297
  return {
4312
4298
  c() {
@@ -4323,7 +4309,7 @@ function fo(e) {
4323
4309
  );
4324
4310
  },
4325
4311
  m(r, i) {
4326
- he(r, t, i);
4312
+ fe(r, t, i);
4327
4313
  },
4328
4314
  p(r, i) {
4329
4315
  i[0] & /*clientstylingurl*/
@@ -4341,11 +4327,11 @@ function fo(e) {
4341
4327
  );
4342
4328
  },
4343
4329
  d(r) {
4344
- r && fe(t);
4330
+ r && he(t);
4345
4331
  }
4346
4332
  };
4347
4333
  }
4348
- function Xt(e) {
4334
+ function zt(e) {
4349
4335
  let t, r, i;
4350
4336
  function n(...o) {
4351
4337
  return (
@@ -4362,26 +4348,26 @@ function Xt(e) {
4362
4348
  t = Q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ne(t, "class", "CashierVerificationChevron");
4363
4349
  },
4364
4350
  m(o, s) {
4365
- he(o, t, s), r || (i = pt(t, "click", n), r = !0);
4351
+ fe(o, t, s), r || (i = dt(t, "click", n), r = !0);
4366
4352
  },
4367
4353
  p(o, s) {
4368
4354
  e = o;
4369
4355
  },
4370
4356
  d(o) {
4371
- o && fe(t), r = !1, i();
4357
+ o && he(t), r = !1, i();
4372
4358
  }
4373
4359
  };
4374
4360
  }
4375
- function qt(e) {
4361
+ function Wt(e) {
4376
4362
  let t, r, i, n, o = (
4377
4363
  /*message*/
4378
4364
  e[53] + ""
4379
- ), s, a, u, l, f = (
4365
+ ), s, a, u, l, h = (
4380
4366
  /*displayMessages*/
4381
4367
  e[3].length > 1 && /*index*/
4382
- e[55] === 0 && Xt(e)
4368
+ e[55] === 0 && zt(e)
4383
4369
  );
4384
- function g(...p) {
4370
+ function v(...p) {
4385
4371
  return (
4386
4372
  /*click_handler_1*/
4387
4373
  e[20](
@@ -4393,7 +4379,7 @@ function qt(e) {
4393
4379
  }
4394
4380
  return {
4395
4381
  c() {
4396
- t = Q("div"), r = Q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ae(), n = Q("p"), s = Ae(), f && f.c(), a = Ae(), ne(r, "class", "IconVerification"), ne(n, "class", "text"), ne(t, "class", "CashierVerificationMessage"), xe(
4382
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ae(), n = Q("p"), s = Ae(), h && h.c(), a = Ae(), ne(r, "class", "IconVerification"), ne(n, "class", "text"), ne(t, "class", "CashierVerificationMessage"), xe(
4397
4383
  t,
4398
4384
  "ShowAll",
4399
4385
  /*allVerificationsVisible*/
@@ -4401,14 +4387,14 @@ function qt(e) {
4401
4387
  );
4402
4388
  },
4403
4389
  m(p, x) {
4404
- he(p, t, x), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = o, ie(t, s), f && f.m(t, null), ie(t, a), u || (l = pt(t, "click", g), u = !0);
4390
+ fe(p, t, x), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = o, ie(t, s), h && h.m(t, null), ie(t, a), u || (l = dt(t, "click", v), u = !0);
4405
4391
  },
4406
4392
  p(p, x) {
4407
4393
  e = p, x[0] & /*displayMessages*/
4408
4394
  8 && o !== (o = /*message*/
4409
4395
  e[53] + "") && (n.innerHTML = o), /*displayMessages*/
4410
4396
  e[3].length > 1 && /*index*/
4411
- e[55] === 0 ? f ? f.p(e, x) : (f = Xt(e), f.c(), f.m(t, a)) : f && (f.d(1), f = null), x[0] & /*allVerificationsVisible*/
4397
+ e[55] === 0 ? h ? h.p(e, x) : (h = zt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), x[0] & /*allVerificationsVisible*/
4412
4398
  16 && xe(
4413
4399
  t,
4414
4400
  "ShowAll",
@@ -4417,36 +4403,36 @@ function qt(e) {
4417
4403
  );
4418
4404
  },
4419
4405
  d(p) {
4420
- p && fe(t), f && f.d(), u = !1, l();
4406
+ p && he(t), h && h.d(), u = !1, l();
4421
4407
  }
4422
4408
  };
4423
4409
  }
4424
- function Yt(e) {
4410
+ function Xt(e) {
4425
4411
  let t, r, i, n, o = (
4426
4412
  /*$_*/
4427
4413
  e[8]("verification.video.how-to") + ""
4428
4414
  ), s, a, u;
4429
4415
  return {
4430
4416
  c() {
4431
- t = Q("div"), r = Q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ae(), n = Q("div"), s = Zr(o), ne(r, "class", "IconVideo"), ne(n, "class", "CashierVerificationVideoLink"), xe(
4417
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ae(), n = Q("div"), s = Xr(o), ne(r, "class", "IconVideo"), ne(n, "class", "CashierVerificationVideoLink"), xe(
4432
4418
  n,
4433
4419
  "CashierVerificationVideoLinkDesktop",
4434
4420
  /*desktopView*/
4435
4421
  e[5]
4436
4422
  ), ne(t, "class", "CashierVerificationVideo");
4437
4423
  },
4438
- m(l, f) {
4439
- he(l, t, f), ie(t, r), ie(t, i), ie(t, n), ie(n, s), a || (u = pt(
4424
+ m(l, h) {
4425
+ fe(l, t, h), ie(t, r), ie(t, i), ie(t, n), ie(n, s), a || (u = dt(
4440
4426
  n,
4441
4427
  "click",
4442
4428
  /*showVideo*/
4443
4429
  e[10]
4444
4430
  ), a = !0);
4445
4431
  },
4446
- p(l, f) {
4447
- f[0] & /*$_*/
4432
+ p(l, h) {
4433
+ h[0] & /*$_*/
4448
4434
  256 && o !== (o = /*$_*/
4449
- l[8]("verification.video.how-to") + "") && Jr(s, o), f[0] & /*desktopView*/
4435
+ l[8]("verification.video.how-to") + "") && qr(s, o), h[0] & /*desktopView*/
4450
4436
  32 && xe(
4451
4437
  n,
4452
4438
  "CashierVerificationVideoLinkDesktop",
@@ -4455,23 +4441,23 @@ function Yt(e) {
4455
4441
  );
4456
4442
  },
4457
4443
  d(l) {
4458
- l && fe(t), a = !1, u();
4444
+ l && he(t), a = !1, u();
4459
4445
  }
4460
4446
  };
4461
4447
  }
4462
- function co(e) {
4448
+ function fo(e) {
4463
4449
  let t;
4464
4450
  function r(o, s) {
4465
4451
  if (
4466
4452
  /*isLoading*/
4467
4453
  o[7]
4468
4454
  )
4469
- return fo;
4455
+ return lo;
4470
4456
  if (
4471
4457
  /*displayMessages*/
4472
4458
  o[3]
4473
4459
  )
4474
- return ho;
4460
+ return uo;
4475
4461
  }
4476
4462
  let i = r(e), n = i && i(e);
4477
4463
  return {
@@ -4484,7 +4470,7 @@ function co(e) {
4484
4470
  );
4485
4471
  },
4486
4472
  m(o, s) {
4487
- he(o, t, s), n && n.m(t, null), e[21](t);
4473
+ fe(o, t, s), n && n.m(t, null), e[21](t);
4488
4474
  },
4489
4475
  p(o, s) {
4490
4476
  i === (i = r(o)) && n ? n.p(o, s) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t, null))), s[0] & /*desktopView*/
@@ -4498,83 +4484,83 @@ function co(e) {
4498
4484
  i: me,
4499
4485
  o: me,
4500
4486
  d(o) {
4501
- o && fe(t), n && n.d(), e[21](null);
4487
+ o && he(t), n && n.d(), e[21](null);
4502
4488
  }
4503
4489
  };
4504
4490
  }
4505
- const po = "verification_explanation_video_widgets.MP4";
4506
- function mo(e, t, r) {
4491
+ const ho = "verification_explanation_video_widgets.MP4";
4492
+ function co(e, t, r) {
4507
4493
  let i, n;
4508
- xt(e, Gn, (h) => r(8, i = h)), xt(e, jn, (h) => r(28, n = h)), zt.extend(uo);
4509
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: g = "" } = t, { playersession: p = "" } = t, { mbsource: x = "" } = t, S, d = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set(), V, k, B, z = !0, R = !0, U = !1, X = "", K = !1, Y = window.navigator.userAgent;
4510
- var D;
4511
- (function(h) {
4512
- h.Manual = "Manual", h.ShuftiPro = "ShuftiPro";
4513
- })(D || (D = {}));
4494
+ bt(e, Fn, (f) => r(8, i = f)), bt(e, Gn, (f) => r(28, n = f)), $t.extend(so);
4495
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: h = "" } = t, { customerid: v = "" } = t, { playersession: p = "" } = t, { mbsource: x = "" } = t, S, d = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set(), V, k, B, z = !0, R = !0, U = !1, X = "", K = !1, Y = window.navigator.userAgent;
4496
+ var I;
4497
+ (function(f) {
4498
+ f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4499
+ })(I || (I = {}));
4514
4500
  var O;
4515
- (function(h) {
4516
- h.Requested = "Requested";
4501
+ (function(f) {
4502
+ f.Requested = "Requested";
4517
4503
  })(O || (O = {}));
4518
4504
  var F;
4519
- (function(h) {
4520
- h.Unknown = "Unknown", h.Unverified = "Unverified", h.InProgress = "InProgress", h.Failed = "Failed", h.Verified = "Verified", h.Referred = "Referred", h.True = "True", h.False = "False", h.AwaitingForResponse = "AwaitingForResponse";
4505
+ (function(f) {
4506
+ f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
4521
4507
  })(F || (F = {}));
4522
4508
  var ae;
4523
- (function(h) {
4524
- h.Unknown = "Unknown", h.Documents = "Documents", h.Age = "Age", h.Pep = "Pep", h.Sanction = "Sanction", h.Aml = "Aml", h.ProofOfAddress = "ProofOfAddress", h.SourceOfWealth = "SourceOfWealth", h.SocialMedia = "SocialMedia", h.Biometric = "Biometric";
4525
- })(ae || (ae = {})), jr(() => (ge(), () => {
4509
+ (function(f) {
4510
+ f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
4511
+ })(ae || (ae = {})), Vr(() => (ve(), () => {
4526
4512
  }));
4527
4513
  const E = [
4528
4514
  F.InProgress,
4529
4515
  F.Referred,
4530
4516
  F.AwaitingForResponse
4531
- ], v = () => {
4532
- let h = a;
4533
- if (h)
4534
- return fetch(h).then((y) => y.json()).then((y) => {
4517
+ ], g = () => {
4518
+ let f = a;
4519
+ if (f)
4520
+ return fetch(f).then((y) => y.json()).then((y) => {
4535
4521
  Object.keys(y).forEach((T) => {
4536
- Nt(T, y[T]);
4522
+ Dt(T, y[T]);
4537
4523
  });
4538
4524
  }).catch((y) => {
4539
4525
  console.log(y);
4540
4526
  });
4541
4527
  };
4542
- Object.keys(Rt).forEach((h) => {
4543
- Nt(h, Rt[h]);
4528
+ Object.keys(Lt).forEach((f) => {
4529
+ Dt(f, Lt[f]);
4544
4530
  });
4545
4531
  const c = () => {
4546
- $n(s);
4532
+ Vn(s);
4547
4533
  }, b = () => {
4548
4534
  r(18, k = w());
4549
- const h = new URL(`${o}/v1/player/${g}/verification/GetKYCCustomerStatus?language=${s}`), y = new Headers();
4550
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${p}`), y.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4535
+ const f = new URL(`${o}/v1/player/${v}/verification/GetKYCCustomerStatus?language=${s}`), y = new Headers();
4536
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${p}`), y.append("X-Client-Request-Timestamp", $t.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4551
4537
  const T = {
4552
4538
  method: "POST",
4553
4539
  headers: y,
4554
4540
  body: JSON.stringify({})
4555
4541
  };
4556
- r(7, K = !0), fetch(h, T).then((q) => q.json()).then((q) => {
4542
+ r(7, K = !0), fetch(f, T).then((q) => q.json()).then((q) => {
4557
4543
  const qe = m(q?.Verifications);
4558
4544
  V = M(qe), V.VerificationStatuses.forEach((Le) => {
4559
4545
  Le.VerificationUrlType !== "Widget" && d.add(Le.Vendor);
4560
4546
  }), r(3, B = Z());
4561
4547
  }).finally(() => r(7, K = !1));
4562
- }, m = (h) => h ? h.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], _ = () => {
4548
+ }, m = (f) => f ? f.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], _ = () => {
4563
4549
  n && b();
4564
4550
  }, w = () => {
4565
- let h = (f || n).split(".")[1];
4566
- if (h) {
4567
- let y = JSON.parse(atob(h));
4551
+ let f = (h || n).split(".")[1];
4552
+ if (f) {
4553
+ let y = JSON.parse(atob(f));
4568
4554
  return y.cdn + "/cashier/operator-assets/" + y?.mid;
4569
4555
  }
4570
4556
  return "";
4571
- }, M = (h) => {
4572
- if (!h || !h.length)
4557
+ }, M = (f) => {
4558
+ if (!f || !f.length)
4573
4559
  return {
4574
4560
  VerificationSummaryStatus: F.Unverified,
4575
4561
  VerificationStatuses: []
4576
4562
  };
4577
- const y = G(h);
4563
+ const y = G(f);
4578
4564
  if (y && y.length) {
4579
4565
  const T = L(y);
4580
4566
  return {
@@ -4584,36 +4570,36 @@ function mo(e, t, r) {
4584
4570
  };
4585
4571
  } else
4586
4572
  return {
4587
- VerificationSummaryStatus: h.some((q) => q.Status === F.Failed) ? F.Failed : F.Verified,
4588
- VerificationStatuses: N(h, [F.Failed])
4573
+ VerificationSummaryStatus: f.some((q) => q.Status === F.Failed) ? F.Failed : F.Verified,
4574
+ VerificationStatuses: N(f, [F.Failed])
4589
4575
  };
4590
- }, L = (h) => h.reduce(
4576
+ }, L = (f) => f.reduce(
4591
4577
  (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4592
4578
  0
4593
- ), N = (h, y) => h.filter((T) => y.includes(T.Status)).map((T) => ({
4579
+ ), N = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
4594
4580
  Type: T.Type,
4595
4581
  Vendor: T.VendorName,
4596
4582
  VerificationDocuments: T.Documents ? [...T.Documents] : [],
4597
4583
  VerificationUrlType: T.FlowInfo?.Type,
4598
4584
  VerificationUrl: T.FlowInfo?.Url
4599
- })), G = (h) => h.filter((y) => E.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || W(y) || ue(y) : !1), W = (h) => {
4600
- const y = h.Documents && h.VendorName === D.Manual, T = h.Documents && h.Documents.some((q) => q.Status === O.Requested);
4585
+ })), G = (f) => f.filter((y) => E.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || W(y) || ue(y) : !1), W = (f) => {
4586
+ const y = f.Documents && f.VendorName === I.Manual, T = f.Documents && f.Documents.some((q) => q.Status === O.Requested);
4601
4587
  return y && T;
4602
- }, ue = (h) => h.VendorName === D.ShuftiPro && h.Status === F.Referred, Z = () => {
4588
+ }, ue = (f) => f.VendorName === I.ShuftiPro && f.Status === F.Referred, Z = () => {
4603
4589
  switch (V.VerificationSummaryStatus) {
4604
4590
  case F.InProgress:
4605
- const h = [];
4591
+ const f = [];
4606
4592
  return d.forEach((y) => {
4607
- h.push(de(y));
4608
- }), h;
4593
+ f.push(de(y));
4594
+ }), f;
4609
4595
  case F.Referred:
4610
4596
  return [i("verification.idenfy.referred-awaiting")];
4611
4597
  case F.Failed:
4612
4598
  return [i("verification.message.failed")];
4613
4599
  }
4614
- }, de = (h) => {
4615
- const y = V.VerificationStatuses.filter((T) => T.Vendor === h);
4616
- if (h === D.ShuftiPro)
4600
+ }, de = (f) => {
4601
+ const y = V.VerificationStatuses.filter((T) => T.Vendor === f);
4602
+ if (f === I.ShuftiPro)
4617
4603
  return ee(y);
4618
4604
  {
4619
4605
  const T = i("verification.idenfy.link-name"), q = {
@@ -4621,57 +4607,57 @@ function mo(e, t, r) {
4621
4607
  };
4622
4608
  return i("verification.idenfy.in-progress", { values: q });
4623
4609
  }
4624
- }, ee = (h) => {
4610
+ }, ee = (f) => {
4625
4611
  const y = [], T = {}, q = [
4626
4612
  ae.Biometric,
4627
4613
  ae.Documents,
4628
4614
  ae.ProofOfAddress
4629
4615
  ];
4630
- h.forEach((pe) => {
4616
+ f.forEach((pe) => {
4631
4617
  q.includes(pe.Type) && (y.push(pe.Type), T[pe.Type] = $(pe, J(pe.Type)));
4632
4618
  });
4633
4619
  let qe = y.every((pe) => C.has(pe)), Le = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4634
4620
  return qe ? i("verification.shuftipro.validations-started") : i(Le, { values: T });
4635
- }, $ = (h, y) => `<a class="verificationLink ${h.Type}" href=" ${h.VerificationUrl} " target="_blank">${y}</a>`, J = (h) => i(`verification.shuftipro.link-name.${h}`), te = (h, y) => {
4636
- if (h.stopPropagation(), h.target && (h.target.href || h.target.closest("a"))) {
4637
- if (h.target.closest(".verificationLink")) {
4638
- const T = h.target.className.split(" ")[1];
4621
+ }, $ = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, J = (f) => i(`verification.shuftipro.link-name.${f}`), te = (f, y) => {
4622
+ if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4623
+ if (f.target.closest(".verificationLink")) {
4624
+ const T = f.target.className.split(" ")[1];
4639
4625
  C.add(T), r(3, B = Z());
4640
4626
  }
4641
4627
  return;
4642
4628
  }
4643
4629
  y === 0 && r(4, z = !z);
4644
- }, ge = () => {
4645
- r(5, R = !oo(Y));
4646
- }, Cr = () => {
4647
- X = k + "/" + s + "/" + po;
4630
+ }, ve = () => {
4631
+ r(5, R = !io(Y));
4632
+ }, Ar = () => {
4633
+ X = k + "/" + s + "/" + ho;
4648
4634
  try {
4649
- fetch(X, { method: "HEAD" }).then((h) => {
4650
- r(6, U = h.ok);
4635
+ fetch(X, { method: "HEAD" }).then((f) => {
4636
+ r(6, U = f.ok);
4651
4637
  });
4652
4638
  } catch {
4653
4639
  r(6, U = !1);
4654
4640
  }
4655
- }, Dr = () => {
4641
+ }, Br = () => {
4656
4642
  window.postMessage({ type: "ShowVideoModal", videoSrc: X }, window.location.href);
4657
- }, Ir = (h, y) => te(y, h), Lr = (h, y) => te(y, h);
4658
- function Nr(h) {
4659
- Xr[h ? "unshift" : "push"](() => {
4660
- S = h, r(2, S);
4643
+ }, Mr = (f, y) => te(y, f), Cr = (f, y) => te(y, f);
4644
+ function Ir(f) {
4645
+ Gr[f ? "unshift" : "push"](() => {
4646
+ S = f, r(2, S);
4661
4647
  });
4662
4648
  }
4663
- return e.$$set = (h) => {
4664
- "endpoint" in h && r(11, o = h.endpoint), "lang" in h && r(12, s = h.lang), "translationurl" in h && r(13, a = h.translationurl), "clientstyling" in h && r(0, u = h.clientstyling), "clientstylingurl" in h && r(1, l = h.clientstylingurl), "session" in h && r(14, f = h.session), "customerid" in h && r(15, g = h.customerid), "playersession" in h && r(16, p = h.playersession), "mbsource" in h && r(17, x = h.mbsource);
4649
+ return e.$$set = (f) => {
4650
+ "endpoint" in f && r(11, o = f.endpoint), "lang" in f && r(12, s = f.lang), "translationurl" in f && r(13, a = f.translationurl), "clientstyling" in f && r(0, u = f.clientstyling), "clientstylingurl" in f && r(1, l = f.clientstylingurl), "session" in f && r(14, h = f.session), "customerid" in f && r(15, v = f.customerid), "playersession" in f && r(16, p = f.playersession), "mbsource" in f && r(17, x = f.mbsource);
4665
4651
  }, e.$$.update = () => {
4666
4652
  e.$$.dirty[0] & /*lang*/
4667
4653
  4096 && s && c(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4668
- 83968 && o && f && p && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4669
- 83968 && o && !f && p && _(), e.$$.dirty[0] & /*translationurl*/
4670
- 8192 && a && v(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4671
- 5 && u && S && Qr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4672
- 6 && l && S && zr(), e.$$.dirty[0] & /*staticCdnUrl*/
4673
- 262144 && k && Cr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4674
- 131076 && x && S && Wr(S, `${x}.Style`);
4654
+ 83968 && o && h && p && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4655
+ 83968 && o && !h && p && _(), e.$$.dirty[0] & /*translationurl*/
4656
+ 8192 && a && g(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4657
+ 5 && u && S && Yr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4658
+ 6 && l && S && $r(), e.$$.dirty[0] & /*staticCdnUrl*/
4659
+ 262144 && k && Ar(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4660
+ 131076 && x && S && jr(S, `${x}.Style`);
4675
4661
  }, [
4676
4662
  u,
4677
4663
  l,
@@ -4683,28 +4669,28 @@ function mo(e, t, r) {
4683
4669
  K,
4684
4670
  i,
4685
4671
  te,
4686
- Dr,
4672
+ Br,
4687
4673
  o,
4688
4674
  s,
4689
4675
  a,
4690
- f,
4691
- g,
4676
+ h,
4677
+ v,
4692
4678
  p,
4693
4679
  x,
4694
4680
  k,
4695
- Ir,
4696
- Lr,
4697
- Nr
4681
+ Mr,
4682
+ Cr,
4683
+ Ir
4698
4684
  ];
4699
4685
  }
4700
- class vo extends Vr {
4686
+ class po extends kr {
4701
4687
  constructor(t) {
4702
- super(), Gr(
4688
+ super(), Ur(
4703
4689
  this,
4704
4690
  t,
4705
- mo,
4706
4691
  co,
4707
- Zt,
4692
+ fo,
4693
+ qt,
4708
4694
  {
4709
4695
  endpoint: 11,
4710
4696
  lang: 12,
@@ -4716,7 +4702,7 @@ class vo extends Vr {
4716
4702
  playersession: 16,
4717
4703
  mbsource: 17
4718
4704
  },
4719
- lo,
4705
+ ao,
4720
4706
  [-1, -1]
4721
4707
  );
4722
4708
  }
@@ -4775,7 +4761,7 @@ class vo extends Vr {
4775
4761
  this.$$set({ mbsource: t }), re();
4776
4762
  }
4777
4763
  }
4778
- Fr(vo, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4764
+ Rr(po, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4779
4765
  export {
4780
- vo as C
4766
+ po as C
4781
4767
  };