@everymatrix/cashier-verifications 1.77.19 → 1.77.20

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,15 +1,15 @@
1
- import { n as ge, s as Qt, a as Fr, r as Vr, i as Gr, S as jr, b as $r, f as ne, c as zr, d as Wr, e as fe, t as le, g as ce, h as J, j as D, k as _t, o as Xr, l as qr, m as ke, p as wt, q as Yr, u as Kt, v as W, w as er, x as Re, y as Ee, z as tr, A as Zr, B as Jr, C as Qr } from "./CashierModal-CTEDX9IF.js";
1
+ import { n as ge, s as Xt, a as Lr, r as Nr, i as kr, S as Rr, b as Ur, f as ie, c as Fr, d as Vr, e as fe, t as le, g as ce, h as J, j as L, k as gt, o as Gr, l as jr, m as ke, p as bt, q as $r, u as qt, v as W, w as Yt, x as Re, y as Ee, z as Zt, A as zr, B as Wr, C as Xr } from "./CashierModal-CTEDX9IF.js";
2
2
  const xe = [];
3
- function Kr(e, t) {
3
+ function qr(e, t) {
4
4
  return {
5
- subscribe: Ce(e, t).subscribe
5
+ subscribe: Ie(e, t).subscribe
6
6
  };
7
7
  }
8
- function Ce(e, t = ge) {
8
+ function Ie(e, t = ge) {
9
9
  let r;
10
10
  const i = /* @__PURE__ */ new Set();
11
11
  function n(a) {
12
- if (Qt(e, a) && (e = a, r)) {
12
+ if (Xt(e, a) && (e = a, r)) {
13
13
  const u = !xe.length;
14
14
  for (const h of i)
15
15
  h[1](), xe.push(h, e);
@@ -36,7 +36,7 @@ function Pe(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 qr(r, (s, a) => {
40
40
  let u = !1;
41
41
  const h = [];
42
42
  let f = 0, p = ge;
@@ -45,12 +45,12 @@ function Pe(e, t, r) {
45
45
  return;
46
46
  p();
47
47
  const S = t(i ? h[0] : h, s, a);
48
- o ? s(S) : p = Gr(S) ? S : ge;
48
+ o ? s(S) : p = kr(S) ? S : ge;
49
49
  }, y = n.map(
50
- (S, c) => Fr(
50
+ (S, c) => Lr(
51
51
  S,
52
- (L) => {
53
- h[c] = L, f &= ~(1 << c), u && v();
52
+ (N) => {
53
+ h[c] = N, f &= ~(1 << c), u && v();
54
54
  },
55
55
  () => {
56
56
  f |= 1 << c;
@@ -58,113 +58,127 @@ function Pe(e, t, r) {
58
58
  )
59
59
  );
60
60
  return u = !0, v(), function() {
61
- Vr(y), p(), u = !1;
61
+ Nr(y), p(), u = !1;
62
62
  };
63
63
  });
64
64
  }
65
- var rr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
66
- function yt(e) {
65
+ var Jt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? 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 Yr = function(t) {
70
+ return Zr(t) && !Jr(t);
71
71
  };
72
- function ti(e) {
72
+ function Zr(e) {
73
73
  return !!e && typeof e == "object";
74
74
  }
75
- function ri(e) {
75
+ function Jr(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]" || ei(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 Qr = typeof Symbol == "function" && Symbol.for, Kr = Qr ? Symbol.for("react.element") : 60103;
80
+ function ei(e) {
81
+ return e.$$typeof === Kr;
82
82
  }
83
- function si(e) {
83
+ function ti(e) {
84
84
  return Array.isArray(e) ? [] : {};
85
85
  }
86
- function Be(e, t) {
87
- return t.clone !== !1 && t.isMergeableObject(e) ? _e(si(e), e, t) : e;
86
+ function Me(e, t) {
87
+ return t.clone !== !1 && t.isMergeableObject(e) ? we(ti(e), e, t) : e;
88
88
  }
89
- function ai(e, t, r) {
89
+ function ri(e, t, r) {
90
90
  return e.concat(t).map(function(i) {
91
- return Be(i, r);
91
+ return Me(i, r);
92
92
  });
93
93
  }
94
- function ui(e, t) {
94
+ function ii(e, t) {
95
95
  if (!t.customMerge)
96
- return _e;
96
+ return we;
97
97
  var r = t.customMerge(e);
98
- return typeof r == "function" ? r : _e;
98
+ return typeof r == "function" ? r : we;
99
99
  }
100
- function li(e) {
100
+ function ni(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 St(e) {
106
- return Object.keys(e).concat(li(e));
105
+ function yt(e) {
106
+ return Object.keys(e).concat(ni(e));
107
107
  }
108
- function ir(e, t) {
108
+ function Qt(e, t) {
109
109
  try {
110
110
  return t in e;
111
111
  } catch (r) {
112
112
  return !1;
113
113
  }
114
114
  }
115
- function hi(e, t) {
116
- return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
115
+ function oi(e, t) {
116
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
117
117
  }
118
- function fi(e, t, r) {
118
+ function si(e, t, r) {
119
119
  var i = {};
120
- return r.isMergeableObject(e) && St(e).forEach(function(n) {
121
- i[n] = Be(e[n], r);
122
- }), St(t).forEach(function(n) {
123
- hi(e, n) || (ir(e, n) && r.isMergeableObject(t[n]) ? i[n] = ui(n, r)(e[n], t[n], r) : i[n] = Be(t[n], r));
120
+ return r.isMergeableObject(e) && yt(e).forEach(function(n) {
121
+ i[n] = Me(e[n], r);
122
+ }), yt(t).forEach(function(n) {
123
+ oi(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = ii(n, r)(e[n], t[n], r) : i[n] = Me(t[n], r));
124
124
  }), i;
125
125
  }
126
- function _e(e, t, r) {
127
- r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = Be;
126
+ function we(e, t, r) {
127
+ r = r || {}, r.arrayMerge = r.arrayMerge || ri, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = Me;
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) : si(e, t, r) : Me(t, r);
130
130
  }
131
- _e.all = function(t, r) {
131
+ we.all = function(t, r) {
132
132
  if (!Array.isArray(t))
133
133
  throw new Error("first argument should be an array");
134
134
  return t.reduce(function(i, n) {
135
- return _e(i, n, r);
135
+ return we(i, n, r);
136
136
  }, {});
137
137
  };
138
- var ci = _e, di = ci;
139
- const pi = /* @__PURE__ */ yt(di);
140
- var ot = function(e, t) {
141
- return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
138
+ var ai = we, ui = ai;
139
+ const li = /* @__PURE__ */ pt(ui);
140
+ /*! *****************************************************************************
141
+ Copyright (c) Microsoft Corporation.
142
+
143
+ Permission to use, copy, modify, and/or distribute this software for any
144
+ purpose with or without fee is hereby granted.
145
+
146
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
147
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
148
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
149
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
150
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
151
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
152
+ PERFORMANCE OF THIS SOFTWARE.
153
+ ***************************************************************************** */
154
+ var rt = function(e, t) {
155
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
142
156
  r.__proto__ = i;
143
157
  } || function(r, i) {
144
158
  for (var n in i)
145
159
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
146
- }, ot(e, t);
160
+ }, rt(e, t);
147
161
  };
148
- function qe(e, t) {
162
+ function oe(e, t) {
149
163
  if (typeof t != "function" && t !== null)
150
164
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
151
- ot(e, t);
165
+ rt(e, t);
152
166
  function r() {
153
167
  this.constructor = e;
154
168
  }
155
169
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
156
170
  }
157
- var ee = function() {
158
- return ee = Object.assign || function(t) {
171
+ var I = function() {
172
+ return I = Object.assign || function(t) {
159
173
  for (var r, i = 1, n = arguments.length; i < n; i++) {
160
174
  r = arguments[i];
161
175
  for (var o in r)
162
176
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
163
177
  }
164
178
  return t;
165
- }, ee.apply(this, arguments);
179
+ }, I.apply(this, arguments);
166
180
  };
167
- function mi(e, t) {
181
+ function hi(e, t) {
168
182
  var r = {};
169
183
  for (var i in e)
170
184
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -173,43 +187,75 @@ function mi(e, t) {
173
187
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
174
188
  return r;
175
189
  }
176
- function Qe(e, t, r) {
190
+ function it(e) {
191
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
192
+ if (r)
193
+ return r.call(e);
194
+ if (e && typeof e.length == "number")
195
+ return {
196
+ next: function() {
197
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
198
+ }
199
+ };
200
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
201
+ }
202
+ function nt(e, t) {
203
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
204
+ if (!r)
205
+ return e;
206
+ var i = r.call(e), n, o = [], s;
207
+ try {
208
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
209
+ o.push(n.value);
210
+ } catch (a) {
211
+ s = { error: a };
212
+ } finally {
213
+ try {
214
+ n && !n.done && (r = i.return) && r.call(i);
215
+ } finally {
216
+ if (s)
217
+ throw s.error;
218
+ }
219
+ }
220
+ return o;
221
+ }
222
+ function _e(e, t, r) {
177
223
  if (r || arguments.length === 2)
178
224
  for (var i = 0, n = t.length, o; i < n; i++)
179
225
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
180
- return e.concat(o || Array.prototype.slice.call(t));
226
+ return e.concat(o || t);
181
227
  }
182
- function Ke(e, t) {
183
- var r = t && t.cache ? t.cache : _i, i = t && t.serializer ? t.serializer : xi, n = t && t.strategy ? t.strategy : bi;
228
+ function Ze(e, t) {
229
+ var r = t && t.cache ? t.cache : gi, i = t && t.serializer ? t.serializer : mi, n = t && t.strategy ? t.strategy : di;
184
230
  return n(e, {
185
231
  cache: r,
186
232
  serializer: i
187
233
  });
188
234
  }
189
- function vi(e) {
235
+ function fi(e) {
190
236
  return e == null || typeof e == "number" || typeof e == "boolean";
191
237
  }
192
- function gi(e, t, r, i) {
193
- var n = vi(i) ? i : r(i), o = t.get(n);
238
+ function ci(e, t, r, i) {
239
+ var n = fi(i) ? i : r(i), o = t.get(n);
194
240
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
195
241
  }
196
- function nr(e, t, r) {
242
+ function Kt(e, t, r) {
197
243
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
198
244
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
199
245
  }
200
- function or(e, t, r, i, n) {
246
+ function er(e, t, r, i, n) {
201
247
  return r.bind(t, e, i, n);
202
248
  }
203
- function bi(e, t) {
204
- var r = e.length === 1 ? gi : nr;
205
- return or(e, this, r, t.cache.create(), t.serializer);
249
+ function di(e, t) {
250
+ var r = e.length === 1 ? ci : Kt;
251
+ return er(e, this, r, t.cache.create(), t.serializer);
206
252
  }
207
- function yi(e, t) {
208
- return or(e, this, nr, t.cache.create(), t.serializer);
253
+ function pi(e, t) {
254
+ return er(e, this, Kt, t.cache.create(), t.serializer);
209
255
  }
210
- var xi = function() {
256
+ var mi = function() {
211
257
  return JSON.stringify(arguments);
212
- }, Ei = (
258
+ }, vi = (
213
259
  /** @class */
214
260
  function() {
215
261
  function e() {
@@ -221,71 +267,61 @@ var xi = function() {
221
267
  this.cache[t] = r;
222
268
  }, e;
223
269
  }()
224
- ), _i = {
270
+ ), gi = {
225
271
  create: function() {
226
- return new Ei();
272
+ return new vi();
227
273
  }
228
- }, et = {
229
- variadic: yi
230
- }, $e = function() {
231
- return $e = Object.assign || function(t) {
232
- for (var r, i = 1, n = arguments.length; i < n; i++) {
233
- r = arguments[i];
234
- for (var o in r)
235
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
236
- }
237
- return t;
238
- }, $e.apply(this, arguments);
239
- };
240
- var A;
274
+ }, Je = {
275
+ variadic: pi
276
+ }, A;
241
277
  (function(e) {
242
278
  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";
243
279
  })(A || (A = {}));
244
- var U;
280
+ var F;
245
281
  (function(e) {
246
282
  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";
247
- })(U || (U = {}));
248
- var we;
283
+ })(F || (F = {}));
284
+ var Se;
249
285
  (function(e) {
250
286
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
251
- })(we || (we = {}));
252
- function Tt(e) {
253
- return e.type === U.literal;
287
+ })(Se || (Se = {}));
288
+ function xt(e) {
289
+ return e.type === F.literal;
254
290
  }
255
- function wi(e) {
256
- return e.type === U.argument;
291
+ function bi(e) {
292
+ return e.type === F.argument;
257
293
  }
258
- function sr(e) {
259
- return e.type === U.number;
294
+ function tr(e) {
295
+ return e.type === F.number;
260
296
  }
261
- function ar(e) {
262
- return e.type === U.date;
297
+ function rr(e) {
298
+ return e.type === F.date;
263
299
  }
264
- function ur(e) {
265
- return e.type === U.time;
300
+ function ir(e) {
301
+ return e.type === F.time;
266
302
  }
267
- function lr(e) {
268
- return e.type === U.select;
303
+ function nr(e) {
304
+ return e.type === F.select;
269
305
  }
270
- function hr(e) {
271
- return e.type === U.plural;
306
+ function or(e) {
307
+ return e.type === F.plural;
272
308
  }
273
- function Si(e) {
274
- return e.type === U.pound;
309
+ function yi(e) {
310
+ return e.type === F.pound;
275
311
  }
276
- function fr(e) {
277
- return e.type === U.tag;
312
+ function sr(e) {
313
+ return e.type === F.tag;
278
314
  }
279
- function cr(e) {
280
- return !!(e && typeof e == "object" && e.type === we.number);
315
+ function ar(e) {
316
+ return !!(e && typeof e == "object" && e.type === Se.number);
281
317
  }
282
- function st(e) {
283
- return !!(e && typeof e == "object" && e.type === we.dateTime);
318
+ function ot(e) {
319
+ return !!(e && typeof e == "object" && e.type === Se.dateTime);
284
320
  }
285
- var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ti = /(?:[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;
286
- function Pi(e) {
321
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
322
+ function Ei(e) {
287
323
  var t = {};
288
- return e.replace(Ti, function(r) {
324
+ return e.replace(xi, function(r) {
289
325
  var i = r.length;
290
326
  switch (r[0]) {
291
327
  case "G":
@@ -374,21 +410,11 @@ function Pi(e) {
374
410
  return "";
375
411
  }), t;
376
412
  }
377
- var V = function() {
378
- return V = Object.assign || function(t) {
379
- for (var r, i = 1, n = arguments.length; i < n; i++) {
380
- r = arguments[i];
381
- for (var o in r)
382
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
383
- }
384
- return t;
385
- }, V.apply(this, arguments);
386
- };
387
- var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
388
- function Hi(e) {
413
+ var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
414
+ function wi(e) {
389
415
  if (e.length === 0)
390
416
  throw new Error("Number skeleton cannot be empty");
391
- for (var t = e.split(Oi).filter(function(v) {
417
+ for (var t = e.split(_i).filter(function(v) {
392
418
  return v.length > 0;
393
419
  }), r = [], i = 0, n = t; i < n.length; i++) {
394
420
  var o = n[i], s = o.split("/");
@@ -403,17 +429,17 @@ function Hi(e) {
403
429
  }
404
430
  return r;
405
431
  }
406
- function Ai(e) {
432
+ function Si(e) {
407
433
  return e.replace(/^(.*?)-/, "");
408
434
  }
409
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
410
- function Ot(e) {
435
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Ti = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
436
+ function _t(e) {
411
437
  var t = {};
412
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, i, n) {
438
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
413
439
  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)), "";
414
440
  }), t;
415
441
  }
416
- function vr(e) {
442
+ function fr(e) {
417
443
  switch (e) {
418
444
  case "sign-auto":
419
445
  return {
@@ -453,7 +479,7 @@ function vr(e) {
453
479
  };
454
480
  }
455
481
  }
456
- function Mi(e) {
482
+ function Hi(e) {
457
483
  var t;
458
484
  if (e[0] === "E" && e[1] === "E" ? (t = {
459
485
  notation: "engineering"
@@ -461,17 +487,17 @@ function Mi(e) {
461
487
  notation: "scientific"
462
488
  }, e = e.slice(1)), t) {
463
489
  var r = e.slice(0, 2);
464
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
490
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
465
491
  throw new Error("Malformed concise eng/scientific notation");
466
492
  t.minimumIntegerDigits = e.length;
467
493
  }
468
494
  return t;
469
495
  }
470
- function Ht(e) {
471
- var t = {}, r = vr(e);
496
+ function wt(e) {
497
+ var t = {}, r = fr(e);
472
498
  return r || t;
473
499
  }
474
- function Ci(e) {
500
+ function Pi(e) {
475
501
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
476
502
  var n = i[r];
477
503
  switch (n.stem) {
@@ -495,7 +521,7 @@ function Ci(e) {
495
521
  continue;
496
522
  case "measure-unit":
497
523
  case "unit":
498
- t.style = "unit", t.unit = Ai(n.options[0]);
524
+ t.style = "unit", t.unit = Si(n.options[0]);
499
525
  continue;
500
526
  case "compact-short":
501
527
  case "K":
@@ -506,13 +532,13 @@ function Ci(e) {
506
532
  t.notation = "compact", t.compactDisplay = "long";
507
533
  continue;
508
534
  case "scientific":
509
- t = V(V(V({}, t), { notation: "scientific" }), n.options.reduce(function(u, h) {
510
- return V(V({}, u), Ht(h));
535
+ t = I(I(I({}, t), { notation: "scientific" }), n.options.reduce(function(u, h) {
536
+ return I(I({}, u), wt(h));
511
537
  }, {}));
512
538
  continue;
513
539
  case "engineering":
514
- t = V(V(V({}, t), { notation: "engineering" }), n.options.reduce(function(u, h) {
515
- return V(V({}, u), Ht(h));
540
+ t = I(I(I({}, t), { notation: "engineering" }), n.options.reduce(function(u, h) {
541
+ return I(I({}, u), wt(h));
516
542
  }, {}));
517
543
  continue;
518
544
  case "notation-simple":
@@ -557,7 +583,7 @@ function Ci(e) {
557
583
  case "integer-width":
558
584
  if (n.options.length > 1)
559
585
  throw new RangeError("integer-width stems only accept a single optional option");
560
- n.options[0].replace(Bi, function(u, h, f, p, v, y) {
586
+ n.options[0].replace(Ti, function(u, h, f, p, v, y) {
561
587
  if (h)
562
588
  t.minimumIntegerDigits = f.length;
563
589
  else {
@@ -570,28 +596,28 @@ function Ci(e) {
570
596
  });
571
597
  continue;
572
598
  }
573
- if (mr.test(n.stem)) {
599
+ if (hr.test(n.stem)) {
574
600
  t.minimumIntegerDigits = n.stem.length;
575
601
  continue;
576
602
  }
577
- if (Pt.test(n.stem)) {
603
+ if (Et.test(n.stem)) {
578
604
  if (n.options.length > 1)
579
605
  throw new RangeError("Fraction-precision stems only accept a single optional option");
580
- n.stem.replace(Pt, function(u, h, f, p, v, y) {
606
+ n.stem.replace(Et, function(u, h, f, p, v, y) {
581
607
  return f === "*" ? t.minimumFractionDigits = h.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : v && y ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + y.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
582
608
  });
583
609
  var o = n.options[0];
584
- o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), Ot(o)));
610
+ o === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = I(I({}, t), _t(o)));
585
611
  continue;
586
612
  }
587
- if (pr.test(n.stem)) {
588
- t = V(V({}, t), Ot(n.stem));
613
+ if (lr.test(n.stem)) {
614
+ t = I(I({}, t), _t(n.stem));
589
615
  continue;
590
616
  }
591
- var s = vr(n.stem);
592
- s && (t = V(V({}, t), s));
593
- var a = Mi(n.stem);
594
- a && (t = V(V({}, t), a));
617
+ var s = fr(n.stem);
618
+ s && (t = I(I({}, t), s));
619
+ var a = Hi(n.stem);
620
+ a && (t = I(I({}, t), a));
595
621
  }
596
622
  return t;
597
623
  }
@@ -2010,13 +2036,13 @@ var Ue = {
2010
2036
  "h"
2011
2037
  ]
2012
2038
  };
2013
- function Ii(e, t) {
2039
+ function Oi(e, t) {
2014
2040
  for (var r = "", i = 0; i < e.length; i++) {
2015
2041
  var n = e.charAt(i);
2016
2042
  if (n === "j") {
2017
2043
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2018
2044
  o++, i++;
2019
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Di(t);
2045
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Ai(t);
2020
2046
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2021
2047
  r += u;
2022
2048
  for (; s-- > 0; )
@@ -2026,7 +2052,7 @@ function Ii(e, t) {
2026
2052
  }
2027
2053
  return r;
2028
2054
  }
2029
- function Di(e) {
2055
+ function Ai(e) {
2030
2056
  var t = e.hourCycle;
2031
2057
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2032
2058
  e.hourCycles && // @ts-ignore
@@ -2048,20 +2074,20 @@ function Di(e) {
2048
2074
  var n = Ue[i || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2049
2075
  return n[0];
2050
2076
  }
2051
- var tt, Li = new RegExp("^".concat(dr.source, "*")), Ni = new RegExp("".concat(dr.source, "*$"));
2077
+ var Qe, Bi = new RegExp("^".concat(ur.source, "*")), Mi = new RegExp("".concat(ur.source, "*$"));
2052
2078
  function B(e, t) {
2053
2079
  return { start: e, end: t };
2054
2080
  }
2055
- var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Ui = !!Object.fromEntries, Fi = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, $i = ji ? Number.isSafeInteger : function(e) {
2081
+ var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ii = !!String.fromCodePoint, Di = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ni = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ui = Ri ? Number.isSafeInteger : function(e) {
2056
2082
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2057
- }, at = !0;
2083
+ }, st = !0;
2058
2084
  try {
2059
- var zi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2060
- at = ((tt = zi.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2085
+ var Fi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2086
+ st = ((Qe = Fi.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
2061
2087
  } catch (e) {
2062
- at = !1;
2088
+ st = !1;
2063
2089
  }
2064
- var At = ki ? (
2090
+ var St = Ci ? (
2065
2091
  // Native
2066
2092
  function(t, r, i) {
2067
2093
  return t.startsWith(r, i);
@@ -2071,7 +2097,7 @@ var At = ki ? (
2071
2097
  function(t, r, i) {
2072
2098
  return t.slice(i, i + r.length) === r;
2073
2099
  }
2074
- ), ut = Ri ? String.fromCodePoint : (
2100
+ ), at = Ii ? String.fromCodePoint : (
2075
2101
  // IE11
2076
2102
  function() {
2077
2103
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2083,9 +2109,9 @@ var At = ki ? (
2083
2109
  }
2084
2110
  return i;
2085
2111
  }
2086
- ), Bt = (
2112
+ ), Tt = (
2087
2113
  // native
2088
- Ui ? Object.fromEntries : (
2114
+ Di ? Object.fromEntries : (
2089
2115
  // Ponyfill
2090
2116
  function(t) {
2091
2117
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2095,7 +2121,7 @@ var At = ki ? (
2095
2121
  return r;
2096
2122
  }
2097
2123
  )
2098
- ), gr = Fi ? (
2124
+ ), cr = Li ? (
2099
2125
  // Native
2100
2126
  function(t, r) {
2101
2127
  return t.codePointAt(r);
@@ -2109,7 +2135,7 @@ var At = ki ? (
2109
2135
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2110
2136
  }
2111
2137
  }
2112
- ), Wi = Vi ? (
2138
+ ), Vi = Ni ? (
2113
2139
  // Native
2114
2140
  function(t) {
2115
2141
  return t.trimStart();
@@ -2117,9 +2143,9 @@ var At = ki ? (
2117
2143
  ) : (
2118
2144
  // Ponyfill
2119
2145
  function(t) {
2120
- return t.replace(Li, "");
2146
+ return t.replace(Bi, "");
2121
2147
  }
2122
- ), Xi = Gi ? (
2148
+ ), Gi = ki ? (
2123
2149
  // Native
2124
2150
  function(t) {
2125
2151
  return t.trimEnd();
@@ -2127,32 +2153,32 @@ var At = ki ? (
2127
2153
  ) : (
2128
2154
  // Ponyfill
2129
2155
  function(t) {
2130
- return t.replace(Ni, "");
2156
+ return t.replace(Mi, "");
2131
2157
  }
2132
2158
  );
2133
- function br(e, t) {
2159
+ function dr(e, t) {
2134
2160
  return new RegExp(e, t);
2135
2161
  }
2136
- var lt;
2137
- if (at) {
2138
- var Mt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2139
- lt = function(t, r) {
2162
+ var ut;
2163
+ if (st) {
2164
+ var Ht = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2165
+ ut = function(t, r) {
2140
2166
  var i;
2141
- Mt.lastIndex = r;
2142
- var n = Mt.exec(t);
2167
+ Ht.lastIndex = r;
2168
+ var n = Ht.exec(t);
2143
2169
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2144
2170
  };
2145
2171
  } else
2146
- lt = function(t, r) {
2172
+ ut = function(t, r) {
2147
2173
  for (var i = []; ; ) {
2148
- var n = gr(t, r);
2149
- if (n === void 0 || yr(n) || Ji(n))
2174
+ var n = cr(t, r);
2175
+ if (n === void 0 || pr(n) || Wi(n))
2150
2176
  break;
2151
2177
  i.push(n), r += n >= 65536 ? 2 : 1;
2152
2178
  }
2153
- return ut.apply(void 0, i);
2179
+ return at.apply(void 0, i);
2154
2180
  };
2155
- var qi = (
2181
+ var ji = (
2156
2182
  /** @class */
2157
2183
  function() {
2158
2184
  function e(t, r) {
@@ -2176,14 +2202,14 @@ var qi = (
2176
2202
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2177
2203
  var a = this.clonePosition();
2178
2204
  this.bump(), n.push({
2179
- type: U.pound,
2205
+ type: F.pound,
2180
2206
  location: B(a, this.clonePosition())
2181
2207
  });
2182
2208
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2183
2209
  if (i)
2184
2210
  break;
2185
2211
  return this.error(A.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
2186
- } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
2212
+ } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2187
2213
  var s = this.parseTag(t, r);
2188
2214
  if (s.err)
2189
2215
  return s;
@@ -2204,7 +2230,7 @@ var qi = (
2204
2230
  if (this.bumpSpace(), this.bumpIf("/>"))
2205
2231
  return {
2206
2232
  val: {
2207
- type: U.literal,
2233
+ type: F.literal,
2208
2234
  value: "<".concat(n, "/>"),
2209
2235
  location: B(i, this.clonePosition())
2210
2236
  },
@@ -2216,12 +2242,12 @@ var qi = (
2216
2242
  return o;
2217
2243
  var s = o.val, a = this.clonePosition();
2218
2244
  if (this.bumpIf("</")) {
2219
- if (this.isEOF() || !ht(this.char()))
2245
+ if (this.isEOF() || !lt(this.char()))
2220
2246
  return this.error(A.INVALID_TAG, B(a, this.clonePosition()));
2221
2247
  var u = this.clonePosition(), h = this.parseTagName();
2222
2248
  return n !== h ? this.error(A.UNMATCHED_CLOSING_TAG, B(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2223
2249
  val: {
2224
- type: U.tag,
2250
+ type: F.tag,
2225
2251
  value: n,
2226
2252
  children: s,
2227
2253
  location: B(i, this.clonePosition())
@@ -2234,7 +2260,7 @@ var qi = (
2234
2260
  return this.error(A.INVALID_TAG, B(i, this.clonePosition()));
2235
2261
  }, e.prototype.parseTagName = function() {
2236
2262
  var t = this.offset();
2237
- for (this.bump(); !this.isEOF() && Zi(this.char()); )
2263
+ for (this.bump(); !this.isEOF() && zi(this.char()); )
2238
2264
  this.bump();
2239
2265
  return this.message.slice(t, this.offset());
2240
2266
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2258,12 +2284,12 @@ var qi = (
2258
2284
  }
2259
2285
  var u = B(i, this.clonePosition());
2260
2286
  return {
2261
- val: { type: U.literal, value: n, location: u },
2287
+ val: { type: F.literal, value: n, location: u },
2262
2288
  err: null
2263
2289
  };
2264
2290
  }, e.prototype.tryParseLeftAngleBracket = function() {
2265
2291
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2266
- !Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
2292
+ !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
2267
2293
  }, e.prototype.tryParseQuote = function(t) {
2268
2294
  if (this.isEOF() || this.char() !== 39)
2269
2295
  return null;
@@ -2297,12 +2323,12 @@ var qi = (
2297
2323
  r.push(i);
2298
2324
  this.bump();
2299
2325
  }
2300
- return ut.apply(void 0, r);
2326
+ return at.apply(void 0, r);
2301
2327
  }, e.prototype.tryParseUnquoted = function(t, r) {
2302
2328
  if (this.isEOF())
2303
2329
  return null;
2304
2330
  var i = this.char();
2305
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ut(i));
2331
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), at(i));
2306
2332
  }, e.prototype.parseArgument = function(t, r) {
2307
2333
  var i = this.clonePosition();
2308
2334
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2318,7 +2344,7 @@ var qi = (
2318
2344
  case 125:
2319
2345
  return this.bump(), {
2320
2346
  val: {
2321
- type: U.argument,
2347
+ type: F.argument,
2322
2348
  // value does not include the opening and closing braces.
2323
2349
  value: n,
2324
2350
  location: B(i, this.clonePosition())
@@ -2331,7 +2357,7 @@ var qi = (
2331
2357
  return this.error(A.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
2332
2358
  }
2333
2359
  }, e.prototype.parseIdentifierIfPossible = function() {
2334
- var t = this.clonePosition(), r = this.offset(), i = lt(this.message, r), n = r + i.length;
2360
+ var t = this.clonePosition(), r = this.offset(), i = ut(this.message, r), n = r + i.length;
2335
2361
  this.bumpTo(n);
2336
2362
  var o = this.clonePosition(), s = B(t, o);
2337
2363
  return { value: i, location: s };
@@ -2350,7 +2376,7 @@ var qi = (
2350
2376
  var f = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2351
2377
  if (p.err)
2352
2378
  return p;
2353
- var v = Xi(p.val);
2379
+ var v = Gi(p.val);
2354
2380
  if (v.length === 0)
2355
2381
  return this.error(A.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
2356
2382
  var y = B(f, this.clonePosition());
@@ -2360,34 +2386,34 @@ var qi = (
2360
2386
  if (S.err)
2361
2387
  return S;
2362
2388
  var c = B(n, this.clonePosition());
2363
- if (h && At(h == null ? void 0 : h.style, "::", 0)) {
2364
- var L = Wi(h.style.slice(2));
2389
+ if (h && St(h == null ? void 0 : h.style, "::", 0)) {
2390
+ var N = Vi(h.style.slice(2));
2365
2391
  if (a === "number") {
2366
- var p = this.parseNumberSkeletonFromString(L, h.styleLocation);
2392
+ var p = this.parseNumberSkeletonFromString(N, h.styleLocation);
2367
2393
  return p.err ? p : {
2368
- val: { type: U.number, value: i, location: c, style: p.val },
2394
+ val: { type: F.number, value: i, location: c, style: p.val },
2369
2395
  err: null
2370
2396
  };
2371
2397
  } else {
2372
- if (L.length === 0)
2398
+ if (N.length === 0)
2373
2399
  return this.error(A.EXPECT_DATE_TIME_SKELETON, c);
2374
- var k = L;
2375
- this.locale && (k = Ii(L, this.locale));
2400
+ var R = N;
2401
+ this.locale && (R = Oi(N, this.locale));
2376
2402
  var v = {
2377
- type: we.dateTime,
2378
- pattern: k,
2403
+ type: Se.dateTime,
2404
+ pattern: R,
2379
2405
  location: h.styleLocation,
2380
- parsedOptions: this.shouldParseSkeletons ? Pi(k) : {}
2381
- }, H = a === "date" ? U.date : U.time;
2406
+ parsedOptions: this.shouldParseSkeletons ? Ei(R) : {}
2407
+ }, O = a === "date" ? F.date : F.time;
2382
2408
  return {
2383
- val: { type: H, value: i, location: c, style: v },
2409
+ val: { type: O, value: i, location: c, style: v },
2384
2410
  err: null
2385
2411
  };
2386
2412
  }
2387
2413
  }
2388
2414
  return {
2389
2415
  val: {
2390
- type: a === "number" ? U.number : a === "date" ? U.date : U.time,
2416
+ type: a === "number" ? F.number : a === "date" ? F.date : F.time,
2391
2417
  value: i,
2392
2418
  location: c,
2393
2419
  style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
@@ -2400,39 +2426,39 @@ var qi = (
2400
2426
  case "select": {
2401
2427
  var T = this.clonePosition();
2402
2428
  if (this.bumpSpace(), !this.bumpIf(","))
2403
- return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, B(T, $e({}, T)));
2429
+ return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, B(T, I({}, T)));
2404
2430
  this.bumpSpace();
2405
- var P = this.parseIdentifierIfPossible(), I = 0;
2406
- if (a !== "select" && P.value === "offset") {
2431
+ var H = this.parseIdentifierIfPossible(), D = 0;
2432
+ if (a !== "select" && H.value === "offset") {
2407
2433
  if (!this.bumpIf(":"))
2408
2434
  return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
2409
2435
  this.bumpSpace();
2410
2436
  var p = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2411
2437
  if (p.err)
2412
2438
  return p;
2413
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), I = p.val;
2439
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), D = p.val;
2414
2440
  }
2415
- var O = this.tryParsePluralOrSelectOptions(t, a, r, P);
2416
- if (O.err)
2417
- return O;
2441
+ var P = this.tryParsePluralOrSelectOptions(t, a, r, H);
2442
+ if (P.err)
2443
+ return P;
2418
2444
  var S = this.tryParseArgumentClose(n);
2419
2445
  if (S.err)
2420
2446
  return S;
2421
2447
  var X = B(n, this.clonePosition());
2422
2448
  return a === "select" ? {
2423
2449
  val: {
2424
- type: U.select,
2450
+ type: F.select,
2425
2451
  value: i,
2426
- options: Bt(O.val),
2452
+ options: Tt(P.val),
2427
2453
  location: X
2428
2454
  },
2429
2455
  err: null
2430
2456
  } : {
2431
2457
  val: {
2432
- type: U.plural,
2458
+ type: F.plural,
2433
2459
  value: i,
2434
- options: Bt(O.val),
2435
- offset: I,
2460
+ options: Tt(P.val),
2461
+ offset: D,
2436
2462
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2437
2463
  location: X
2438
2464
  },
@@ -2482,16 +2508,16 @@ var qi = (
2482
2508
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2483
2509
  var i = [];
2484
2510
  try {
2485
- i = Hi(t);
2511
+ i = wi(t);
2486
2512
  } catch (n) {
2487
2513
  return this.error(A.INVALID_NUMBER_SKELETON, r);
2488
2514
  }
2489
2515
  return {
2490
2516
  val: {
2491
- type: we.number,
2517
+ type: Se.number,
2492
2518
  tokens: i,
2493
2519
  location: r,
2494
- parsedOptions: this.shouldParseSkeletons ? Ci(i) : {}
2520
+ parsedOptions: this.shouldParseSkeletons ? Pi(i) : {}
2495
2521
  },
2496
2522
  err: null
2497
2523
  };
@@ -2539,7 +2565,7 @@ var qi = (
2539
2565
  break;
2540
2566
  }
2541
2567
  var u = B(n, this.clonePosition());
2542
- return o ? (s *= i, $i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2568
+ return o ? (s *= i, Ui(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2543
2569
  }, e.prototype.offset = function() {
2544
2570
  return this.position.offset;
2545
2571
  }, e.prototype.isEOF = function() {
@@ -2554,7 +2580,7 @@ var qi = (
2554
2580
  var t = this.position.offset;
2555
2581
  if (t >= this.message.length)
2556
2582
  throw Error("out of bound");
2557
- var r = gr(this.message, t);
2583
+ var r = cr(this.message, t);
2558
2584
  if (r === void 0)
2559
2585
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2560
2586
  return r;
@@ -2573,7 +2599,7 @@ var qi = (
2573
2599
  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);
2574
2600
  }
2575
2601
  }, e.prototype.bumpIf = function(t) {
2576
- if (At(this.message, t, this.offset())) {
2602
+ if (St(this.message, t, this.offset())) {
2577
2603
  for (var r = 0; r < t.length; r++)
2578
2604
  this.bump();
2579
2605
  return !0;
@@ -2595,7 +2621,7 @@ var qi = (
2595
2621
  break;
2596
2622
  }
2597
2623
  }, e.prototype.bumpSpace = function() {
2598
- for (; !this.isEOF() && yr(this.char()); )
2624
+ for (; !this.isEOF() && pr(this.char()); )
2599
2625
  this.bump();
2600
2626
  }, e.prototype.peek = function() {
2601
2627
  if (this.isEOF())
@@ -2605,47 +2631,47 @@ var qi = (
2605
2631
  }, e;
2606
2632
  }()
2607
2633
  );
2608
- function ht(e) {
2634
+ function lt(e) {
2609
2635
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2610
2636
  }
2611
- function Yi(e) {
2612
- return ht(e) || e === 47;
2637
+ function $i(e) {
2638
+ return lt(e) || e === 47;
2613
2639
  }
2614
- function Zi(e) {
2640
+ function zi(e) {
2615
2641
  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;
2616
2642
  }
2617
- function yr(e) {
2643
+ function pr(e) {
2618
2644
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2619
2645
  }
2620
- function Ji(e) {
2646
+ function Wi(e) {
2621
2647
  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;
2622
2648
  }
2623
- function ft(e) {
2649
+ function ht(e) {
2624
2650
  e.forEach(function(t) {
2625
- if (delete t.location, lr(t) || hr(t))
2651
+ if (delete t.location, nr(t) || or(t))
2626
2652
  for (var r in t.options)
2627
- delete t.options[r].location, ft(t.options[r].value);
2653
+ delete t.options[r].location, ht(t.options[r].value);
2628
2654
  else
2629
- sr(t) && cr(t.style) || (ar(t) || ur(t)) && st(t.style) ? delete t.style.location : fr(t) && ft(t.children);
2655
+ tr(t) && ar(t.style) || (rr(t) || ir(t)) && ot(t.style) ? delete t.style.location : sr(t) && ht(t.children);
2630
2656
  });
2631
2657
  }
2632
- function Qi(e, t) {
2633
- t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2634
- var r = new qi(e, t).parse();
2658
+ function Xi(e, t) {
2659
+ t === void 0 && (t = {}), t = I({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2660
+ var r = new ji(e, t).parse();
2635
2661
  if (r.err) {
2636
2662
  var i = SyntaxError(A[r.err.kind]);
2637
2663
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
2638
2664
  }
2639
- return t != null && t.captureLocation || ft(r.val), r.val;
2665
+ return t != null && t.captureLocation || ht(r.val), r.val;
2640
2666
  }
2641
- var Se;
2667
+ var Te;
2642
2668
  (function(e) {
2643
2669
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2644
- })(Se || (Se = {}));
2645
- var Ye = (
2670
+ })(Te || (Te = {}));
2671
+ var Xe = (
2646
2672
  /** @class */
2647
2673
  function(e) {
2648
- qe(t, e);
2674
+ oe(t, e);
2649
2675
  function t(r, i, n) {
2650
2676
  var o = e.call(this, r) || this;
2651
2677
  return o.code = i, o.originalMessage = n, o;
@@ -2654,48 +2680,48 @@ var Ye = (
2654
2680
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2655
2681
  }, t;
2656
2682
  }(Error)
2657
- ), Ct = (
2683
+ ), Pt = (
2658
2684
  /** @class */
2659
2685
  function(e) {
2660
- qe(t, e);
2686
+ oe(t, e);
2661
2687
  function t(r, i, n, o) {
2662
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Se.INVALID_VALUE, o) || this;
2688
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, o) || this;
2663
2689
  }
2664
2690
  return t;
2665
- }(Ye)
2666
- ), Ki = (
2691
+ }(Xe)
2692
+ ), qi = (
2667
2693
  /** @class */
2668
2694
  function(e) {
2669
- qe(t, e);
2695
+ oe(t, e);
2670
2696
  function t(r, i, n) {
2671
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Se.INVALID_VALUE, n) || this;
2697
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
2672
2698
  }
2673
2699
  return t;
2674
- }(Ye)
2675
- ), en = (
2700
+ }(Xe)
2701
+ ), Yi = (
2676
2702
  /** @class */
2677
2703
  function(e) {
2678
- qe(t, e);
2704
+ oe(t, e);
2679
2705
  function t(r, i) {
2680
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Se.MISSING_VALUE, i) || this;
2706
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
2681
2707
  }
2682
2708
  return t;
2683
- }(Ye)
2709
+ }(Xe)
2684
2710
  ), Y;
2685
2711
  (function(e) {
2686
2712
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2687
2713
  })(Y || (Y = {}));
2688
- function tn(e) {
2714
+ function Zi(e) {
2689
2715
  return e.length < 2 ? e : e.reduce(function(t, r) {
2690
2716
  var i = t[t.length - 1];
2691
2717
  return !i || i.type !== Y.literal || r.type !== Y.literal ? t.push(r) : i.value += r.value, t;
2692
2718
  }, []);
2693
2719
  }
2694
- function rn(e) {
2720
+ function Ji(e) {
2695
2721
  return typeof e == "function";
2696
2722
  }
2697
2723
  function Ve(e, t, r, i, n, o, s) {
2698
- if (e.length === 1 && Tt(e[0]))
2724
+ if (e.length === 1 && xt(e[0]))
2699
2725
  return [
2700
2726
  {
2701
2727
  type: Y.literal,
@@ -2704,14 +2730,14 @@ function Ve(e, t, r, i, n, o, s) {
2704
2730
  ];
2705
2731
  for (var a = [], u = 0, h = e; u < h.length; u++) {
2706
2732
  var f = h[u];
2707
- if (Tt(f)) {
2733
+ if (xt(f)) {
2708
2734
  a.push({
2709
2735
  type: Y.literal,
2710
2736
  value: f.value
2711
2737
  });
2712
2738
  continue;
2713
2739
  }
2714
- if (Si(f)) {
2740
+ if (yi(f)) {
2715
2741
  typeof o == "number" && a.push({
2716
2742
  type: Y.literal,
2717
2743
  value: r.getNumberFormat(t).format(o)
@@ -2720,89 +2746,89 @@ function Ve(e, t, r, i, n, o, s) {
2720
2746
  }
2721
2747
  var p = f.value;
2722
2748
  if (!(n && p in n))
2723
- throw new en(p, s);
2749
+ throw new Yi(p, s);
2724
2750
  var v = n[p];
2725
- if (wi(f)) {
2751
+ if (bi(f)) {
2726
2752
  (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), a.push({
2727
2753
  type: typeof v == "string" ? Y.literal : Y.object,
2728
2754
  value: v
2729
2755
  });
2730
2756
  continue;
2731
2757
  }
2732
- if (ar(f)) {
2733
- var y = typeof f.style == "string" ? i.date[f.style] : st(f.style) ? f.style.parsedOptions : void 0;
2758
+ if (rr(f)) {
2759
+ var y = typeof f.style == "string" ? i.date[f.style] : ot(f.style) ? f.style.parsedOptions : void 0;
2734
2760
  a.push({
2735
2761
  type: Y.literal,
2736
2762
  value: r.getDateTimeFormat(t, y).format(v)
2737
2763
  });
2738
2764
  continue;
2739
2765
  }
2740
- if (ur(f)) {
2741
- var y = typeof f.style == "string" ? i.time[f.style] : st(f.style) ? f.style.parsedOptions : i.time.medium;
2766
+ if (ir(f)) {
2767
+ var y = typeof f.style == "string" ? i.time[f.style] : ot(f.style) ? f.style.parsedOptions : i.time.medium;
2742
2768
  a.push({
2743
2769
  type: Y.literal,
2744
2770
  value: r.getDateTimeFormat(t, y).format(v)
2745
2771
  });
2746
2772
  continue;
2747
2773
  }
2748
- if (sr(f)) {
2749
- var y = typeof f.style == "string" ? i.number[f.style] : cr(f.style) ? f.style.parsedOptions : void 0;
2774
+ if (tr(f)) {
2775
+ var y = typeof f.style == "string" ? i.number[f.style] : ar(f.style) ? f.style.parsedOptions : void 0;
2750
2776
  y && y.scale && (v = v * (y.scale || 1)), a.push({
2751
2777
  type: Y.literal,
2752
2778
  value: r.getNumberFormat(t, y).format(v)
2753
2779
  });
2754
2780
  continue;
2755
2781
  }
2756
- if (fr(f)) {
2757
- var S = f.children, c = f.value, L = n[c];
2758
- if (!rn(L))
2759
- throw new Ki(c, "function", s);
2760
- var k = Ve(S, t, r, i, n, o), H = L(k.map(function(I) {
2761
- return I.value;
2782
+ if (sr(f)) {
2783
+ var S = f.children, c = f.value, N = n[c];
2784
+ if (!Ji(N))
2785
+ throw new qi(c, "function", s);
2786
+ var R = Ve(S, t, r, i, n, o), O = N(R.map(function(D) {
2787
+ return D.value;
2762
2788
  }));
2763
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(I) {
2789
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(D) {
2764
2790
  return {
2765
- type: typeof I == "string" ? Y.literal : Y.object,
2766
- value: I
2791
+ type: typeof D == "string" ? Y.literal : Y.object,
2792
+ value: D
2767
2793
  };
2768
2794
  }));
2769
2795
  }
2770
- if (lr(f)) {
2796
+ if (nr(f)) {
2771
2797
  var T = f.options[v] || f.options.other;
2772
2798
  if (!T)
2773
- throw new Ct(f.value, v, Object.keys(f.options), s);
2799
+ throw new Pt(f.value, v, Object.keys(f.options), s);
2774
2800
  a.push.apply(a, Ve(T.value, t, r, i, n));
2775
2801
  continue;
2776
2802
  }
2777
- if (hr(f)) {
2803
+ if (or(f)) {
2778
2804
  var T = f.options["=".concat(v)];
2779
2805
  if (!T) {
2780
2806
  if (!Intl.PluralRules)
2781
- throw new Ye(`Intl.PluralRules is not available in this environment.
2807
+ throw new Xe(`Intl.PluralRules is not available in this environment.
2782
2808
  Try polyfilling it using "@formatjs/intl-pluralrules"
2783
- `, Se.MISSING_INTL_API, s);
2784
- var P = r.getPluralRules(t, { type: f.pluralType }).select(v - (f.offset || 0));
2785
- T = f.options[P] || f.options.other;
2809
+ `, Te.MISSING_INTL_API, s);
2810
+ var H = r.getPluralRules(t, { type: f.pluralType }).select(v - (f.offset || 0));
2811
+ T = f.options[H] || f.options.other;
2786
2812
  }
2787
2813
  if (!T)
2788
- throw new Ct(f.value, v, Object.keys(f.options), s);
2814
+ throw new Pt(f.value, v, Object.keys(f.options), s);
2789
2815
  a.push.apply(a, Ve(T.value, t, r, i, n, v - (f.offset || 0)));
2790
2816
  continue;
2791
2817
  }
2792
2818
  }
2793
- return tn(a);
2819
+ return Zi(a);
2794
2820
  }
2795
- function nn(e, t) {
2796
- return t ? ee(ee(ee({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2797
- return r[i] = ee(ee({}, e[i]), t[i] || {}), r;
2821
+ function Qi(e, t) {
2822
+ return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2823
+ return r[i] = I(I({}, e[i]), t[i] || {}), r;
2798
2824
  }, {})) : e;
2799
2825
  }
2800
- function on(e, t) {
2826
+ function Ki(e, t) {
2801
2827
  return t ? Object.keys(e).reduce(function(r, i) {
2802
- return r[i] = nn(e[i], t[i]), r;
2803
- }, ee({}, e)) : e;
2828
+ return r[i] = Qi(e[i], t[i]), r;
2829
+ }, I({}, e)) : e;
2804
2830
  }
2805
- function rt(e) {
2831
+ function Ke(e) {
2806
2832
  return {
2807
2833
  create: function() {
2808
2834
  return {
@@ -2816,39 +2842,39 @@ function rt(e) {
2816
2842
  }
2817
2843
  };
2818
2844
  }
2819
- function sn(e) {
2845
+ function en(e) {
2820
2846
  return e === void 0 && (e = {
2821
2847
  number: {},
2822
2848
  dateTime: {},
2823
2849
  pluralRules: {}
2824
2850
  }), {
2825
- getNumberFormat: Ke(function() {
2851
+ getNumberFormat: Ze(function() {
2826
2852
  for (var t, r = [], i = 0; i < arguments.length; i++)
2827
2853
  r[i] = arguments[i];
2828
- return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], r, !1)))();
2854
+ return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
2829
2855
  }, {
2830
- cache: rt(e.number),
2831
- strategy: et.variadic
2856
+ cache: Ke(e.number),
2857
+ strategy: Je.variadic
2832
2858
  }),
2833
- getDateTimeFormat: Ke(function() {
2859
+ getDateTimeFormat: Ze(function() {
2834
2860
  for (var t, r = [], i = 0; i < arguments.length; i++)
2835
2861
  r[i] = arguments[i];
2836
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], r, !1)))();
2862
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
2837
2863
  }, {
2838
- cache: rt(e.dateTime),
2839
- strategy: et.variadic
2864
+ cache: Ke(e.dateTime),
2865
+ strategy: Je.variadic
2840
2866
  }),
2841
- getPluralRules: Ke(function() {
2867
+ getPluralRules: Ze(function() {
2842
2868
  for (var t, r = [], i = 0; i < arguments.length; i++)
2843
2869
  r[i] = arguments[i];
2844
- return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], r, !1)))();
2870
+ return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
2845
2871
  }, {
2846
- cache: rt(e.pluralRules),
2847
- strategy: et.variadic
2872
+ cache: Ke(e.pluralRules),
2873
+ strategy: Je.variadic
2848
2874
  })
2849
2875
  };
2850
2876
  }
2851
- var xr = (
2877
+ var mr = (
2852
2878
  /** @class */
2853
2879
  function() {
2854
2880
  function e(t, r, i, n) {
@@ -2880,13 +2906,13 @@ var xr = (
2880
2906
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2881
2907
  var s = n || {};
2882
2908
  s.formatters;
2883
- var a = mi(s, ["formatters"]);
2884
- this.ast = e.__parse(t, ee(ee({}, a), { locale: this.resolvedLocale }));
2909
+ var a = hi(s, ["formatters"]);
2910
+ this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
2885
2911
  } else
2886
2912
  this.ast = t;
2887
2913
  if (!Array.isArray(this.ast))
2888
2914
  throw new TypeError("A message must be provided as a String or AST.");
2889
- this.formats = on(e.formats, i), this.formatters = n && n.formatters || sn(this.formatterCache);
2915
+ this.formats = Ki(e.formats, i), this.formatters = n && n.formatters || en(this.formatterCache);
2890
2916
  }
2891
2917
  return Object.defineProperty(e, "defaultLocale", {
2892
2918
  get: function() {
@@ -2899,7 +2925,7 @@ var xr = (
2899
2925
  var r = Intl.NumberFormat.supportedLocalesOf(t);
2900
2926
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2901
2927
  }
2902
- }, e.__parse = Qi, e.formats = {
2928
+ }, e.__parse = Xi, e.formats = {
2903
2929
  number: {
2904
2930
  integer: {
2905
2931
  maximumFractionDigits: 0
@@ -2960,7 +2986,7 @@ var xr = (
2960
2986
  }, e;
2961
2987
  }()
2962
2988
  );
2963
- function an(e, t) {
2989
+ function tn(e, t) {
2964
2990
  if (t == null)
2965
2991
  return;
2966
2992
  if (t in e)
@@ -2981,101 +3007,101 @@ function an(e, t) {
2981
3007
  i = void 0;
2982
3008
  return i;
2983
3009
  }
2984
- const he = {}, un = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), Er = (e, t) => {
3010
+ const he = {}, rn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), vr = (e, t) => {
2985
3011
  if (t == null)
2986
3012
  return;
2987
3013
  if (t in he && e in he[t])
2988
3014
  return he[t][e];
2989
- const r = De(t);
3015
+ const r = Le(t);
2990
3016
  for (let i = 0; i < r.length; i++) {
2991
- const n = r[i], o = hn(n, e);
3017
+ const n = r[i], o = on(n, e);
2992
3018
  if (o)
2993
- return un(e, t, o);
3019
+ return rn(e, t, o);
2994
3020
  }
2995
3021
  };
2996
- let xt;
2997
- const Ie = Ce({});
2998
- function ln(e) {
2999
- return xt[e] || null;
3022
+ let mt;
3023
+ const De = Ie({});
3024
+ function nn(e) {
3025
+ return mt[e] || null;
3000
3026
  }
3001
- function _r(e) {
3002
- return e in xt;
3027
+ function gr(e) {
3028
+ return e in mt;
3003
3029
  }
3004
- function hn(e, t) {
3005
- if (!_r(e))
3030
+ function on(e, t) {
3031
+ if (!gr(e))
3006
3032
  return null;
3007
- const r = ln(e);
3008
- return an(r, t);
3033
+ const r = nn(e);
3034
+ return tn(r, t);
3009
3035
  }
3010
- function fn(e) {
3036
+ function sn(e) {
3011
3037
  if (e == null)
3012
3038
  return;
3013
- const t = De(e);
3039
+ const t = Le(e);
3014
3040
  for (let r = 0; r < t.length; r++) {
3015
3041
  const i = t[r];
3016
- if (_r(i))
3042
+ if (gr(i))
3017
3043
  return i;
3018
3044
  }
3019
3045
  }
3020
- function wr(e, ...t) {
3021
- delete he[e], Ie.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
3046
+ function br(e, ...t) {
3047
+ delete he[e], De.update((r) => (r[e] = li.all([r[e] || {}, ...t]), r));
3022
3048
  }
3023
3049
  Pe(
3024
- [Ie],
3050
+ [De],
3025
3051
  ([e]) => Object.keys(e)
3026
3052
  );
3027
- Ie.subscribe((e) => xt = e);
3053
+ De.subscribe((e) => mt = e);
3028
3054
  const Ge = {};
3029
- function cn(e, t) {
3055
+ function an(e, t) {
3030
3056
  Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
3031
3057
  }
3032
- function Sr(e) {
3058
+ function yr(e) {
3033
3059
  return Ge[e];
3034
3060
  }
3035
- function dn(e) {
3036
- return De(e).map((t) => {
3037
- const r = Sr(t);
3061
+ function un(e) {
3062
+ return Le(e).map((t) => {
3063
+ const r = yr(t);
3038
3064
  return [t, r ? [...r] : []];
3039
3065
  }).filter(([, t]) => t.length > 0);
3040
3066
  }
3041
- function ze(e) {
3042
- return e == null ? !1 : De(e).some(
3067
+ function $e(e) {
3068
+ return e == null ? !1 : Le(e).some(
3043
3069
  (t) => {
3044
3070
  var r;
3045
- return (r = Sr(t)) == null ? void 0 : r.size;
3071
+ return (r = yr(t)) == null ? void 0 : r.size;
3046
3072
  }
3047
3073
  );
3048
3074
  }
3049
- function pn(e, t) {
3075
+ function ln(e, t) {
3050
3076
  return Promise.all(
3051
- t.map((i) => (cn(e, i), i().then((n) => n.default || n)))
3052
- ).then((i) => wr(e, ...i));
3077
+ t.map((i) => (an(e, i), i().then((n) => n.default || n)))
3078
+ ).then((i) => br(e, ...i));
3053
3079
  }
3054
- const He = {};
3055
- function Tr(e) {
3056
- if (!ze(e))
3057
- return e in He ? He[e] : Promise.resolve();
3058
- const t = dn(e);
3059
- return He[e] = Promise.all(
3080
+ const Ae = {};
3081
+ function xr(e) {
3082
+ if (!$e(e))
3083
+ return e in Ae ? Ae[e] : Promise.resolve();
3084
+ const t = un(e);
3085
+ return Ae[e] = Promise.all(
3060
3086
  t.map(
3061
- ([r, i]) => pn(r, i)
3087
+ ([r, i]) => ln(r, i)
3062
3088
  )
3063
3089
  ).then(() => {
3064
- if (ze(e))
3065
- return Tr(e);
3066
- delete He[e];
3067
- }), He[e];
3090
+ if ($e(e))
3091
+ return xr(e);
3092
+ delete Ae[e];
3093
+ }), Ae[e];
3068
3094
  }
3069
- var It = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, gn = (e, t) => {
3095
+ var Ot = Object.getOwnPropertySymbols, hn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable, cn = (e, t) => {
3070
3096
  var r = {};
3071
3097
  for (var i in e)
3072
- mn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3073
- if (e != null && It)
3074
- for (var i of It(e))
3075
- t.indexOf(i) < 0 && vn.call(e, i) && (r[i] = e[i]);
3098
+ hn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3099
+ if (e != null && Ot)
3100
+ for (var i of Ot(e))
3101
+ t.indexOf(i) < 0 && fn.call(e, i) && (r[i] = e[i]);
3076
3102
  return r;
3077
3103
  };
3078
- const bn = {
3104
+ const dn = {
3079
3105
  number: {
3080
3106
  scientific: { notation: "scientific" },
3081
3107
  engineering: { notation: "engineering" },
@@ -3105,159 +3131,159 @@ const bn = {
3105
3131
  }
3106
3132
  }
3107
3133
  };
3108
- function yn({ locale: e, id: t }) {
3134
+ function pn({ locale: e, id: t }) {
3109
3135
  console.warn(
3110
- `[svelte-i18n] The message "${t}" was not found in "${De(
3136
+ `[svelte-i18n] The message "${t}" was not found in "${Le(
3111
3137
  e
3112
- ).join('", "')}".${ze(de()) ? `
3138
+ ).join('", "')}".${$e(de()) ? `
3113
3139
 
3114
3140
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3115
3141
  );
3116
3142
  }
3117
- const xn = {
3143
+ const mn = {
3118
3144
  fallbackLocale: null,
3119
3145
  loadingDelay: 200,
3120
- formats: bn,
3146
+ formats: dn,
3121
3147
  warnOnMissingMessages: !0,
3122
3148
  handleMissingMessage: void 0,
3123
3149
  ignoreTag: !0
3124
- }, Ae = xn;
3125
- function Te() {
3126
- return Ae;
3150
+ }, Be = mn;
3151
+ function He() {
3152
+ return Be;
3127
3153
  }
3128
- function En(e) {
3129
- const t = e, { formats: r } = t, i = gn(t, ["formats"]);
3154
+ function vn(e) {
3155
+ const t = e, { formats: r } = t, i = cn(t, ["formats"]);
3130
3156
  let n = e.fallbackLocale;
3131
3157
  if (e.initialLocale)
3132
3158
  try {
3133
- xr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3159
+ mr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3134
3160
  } catch (o) {
3135
3161
  console.warn(
3136
3162
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3137
3163
  );
3138
3164
  }
3139
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = yn : console.warn(
3165
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = pn : console.warn(
3140
3166
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3141
- )), Object.assign(Ae, i, { initialLocale: n }), r && ("number" in r && Object.assign(Ae.formats.number, r.number), "date" in r && Object.assign(Ae.formats.date, r.date), "time" in r && Object.assign(Ae.formats.time, r.time)), be.set(n);
3167
+ )), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), be.set(n);
3142
3168
  }
3143
- const it = Ce(!1);
3144
- var _n = Object.defineProperty, wn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3169
+ const et = Ie(!1);
3170
+ var gn = Object.defineProperty, bn = Object.defineProperties, yn = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, xn = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _n = (e, t) => {
3145
3171
  for (var r in t || (t = {}))
3146
- Tn.call(t, r) && Lt(e, r, t[r]);
3147
- if (Dt)
3148
- for (var r of Dt(t))
3149
- Pn.call(t, r) && Lt(e, r, t[r]);
3172
+ xn.call(t, r) && Bt(e, r, t[r]);
3173
+ if (At)
3174
+ for (var r of At(t))
3175
+ En.call(t, r) && Bt(e, r, t[r]);
3150
3176
  return e;
3151
- }, Hn = (e, t) => wn(e, Sn(t));
3152
- let ct;
3153
- const We = Ce(null);
3154
- function Nt(e) {
3177
+ }, wn = (e, t) => bn(e, yn(t));
3178
+ let ft;
3179
+ const ze = Ie(null);
3180
+ function Mt(e) {
3155
3181
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3156
3182
  }
3157
- function De(e, t = Te().fallbackLocale) {
3158
- const r = Nt(e);
3159
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3183
+ function Le(e, t = He().fallbackLocale) {
3184
+ const r = Mt(e);
3185
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
3160
3186
  }
3161
3187
  function de() {
3162
- return ct != null ? ct : void 0;
3188
+ return ft != null ? ft : void 0;
3163
3189
  }
3164
- We.subscribe((e) => {
3165
- ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3190
+ ze.subscribe((e) => {
3191
+ ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3166
3192
  });
3167
- const An = (e) => {
3168
- if (e && fn(e) && ze(e)) {
3169
- const { loadingDelay: t } = Te();
3193
+ const Sn = (e) => {
3194
+ if (e && sn(e) && $e(e)) {
3195
+ const { loadingDelay: t } = He();
3170
3196
  let r;
3171
3197
  return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
3172
- () => it.set(!0),
3198
+ () => et.set(!0),
3173
3199
  t
3174
- ) : it.set(!0), Tr(e).then(() => {
3175
- We.set(e);
3200
+ ) : et.set(!0), xr(e).then(() => {
3201
+ ze.set(e);
3176
3202
  }).finally(() => {
3177
- clearTimeout(r), it.set(!1);
3203
+ clearTimeout(r), et.set(!1);
3178
3204
  });
3179
3205
  }
3180
- return We.set(e);
3181
- }, be = Hn(On({}, We), {
3182
- set: An
3183
- }), Ze = (e) => {
3206
+ return ze.set(e);
3207
+ }, be = wn(_n({}, ze), {
3208
+ set: Sn
3209
+ }), qe = (e) => {
3184
3210
  const t = /* @__PURE__ */ Object.create(null);
3185
3211
  return (i) => {
3186
3212
  const n = JSON.stringify(i);
3187
3213
  return n in t ? t[n] : t[n] = e(i);
3188
3214
  };
3189
3215
  };
3190
- var Bn = Object.defineProperty, Xe = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
3216
+ var Tn = Object.defineProperty, We = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
3191
3217
  for (var r in t || (t = {}))
3192
- Pr.call(t, r) && kt(e, r, t[r]);
3193
- if (Xe)
3194
- for (var r of Xe(t))
3195
- Or.call(t, r) && kt(e, r, t[r]);
3218
+ Er.call(t, r) && Ct(e, r, t[r]);
3219
+ if (We)
3220
+ for (var r of We(t))
3221
+ _r.call(t, r) && Ct(e, r, t[r]);
3196
3222
  return e;
3197
3223
  }, Oe = (e, t) => {
3198
3224
  var r = {};
3199
3225
  for (var i in e)
3200
- Pr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3201
- if (e != null && Xe)
3202
- for (var i of Xe(e))
3203
- t.indexOf(i) < 0 && Or.call(e, i) && (r[i] = e[i]);
3226
+ Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3227
+ if (e != null && We)
3228
+ for (var i of We(e))
3229
+ t.indexOf(i) < 0 && _r.call(e, i) && (r[i] = e[i]);
3204
3230
  return r;
3205
3231
  };
3206
- const Me = (e, t) => {
3207
- const { formats: r } = Te();
3232
+ const Ce = (e, t) => {
3233
+ const { formats: r } = He();
3208
3234
  if (e in r && t in r[e])
3209
3235
  return r[e][t];
3210
3236
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3211
- }, Mn = Ze(
3237
+ }, Hn = qe(
3212
3238
  (e) => {
3213
3239
  var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3214
3240
  if (r == null)
3215
3241
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3216
- return i && (n = Me("number", i)), new Intl.NumberFormat(r, n);
3242
+ return i && (n = Ce("number", i)), new Intl.NumberFormat(r, n);
3217
3243
  }
3218
- ), Cn = Ze(
3244
+ ), Pn = qe(
3219
3245
  (e) => {
3220
3246
  var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3221
3247
  if (r == null)
3222
3248
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3223
- return i ? n = Me("date", i) : Object.keys(n).length === 0 && (n = Me("date", "short")), new Intl.DateTimeFormat(r, n);
3249
+ return i ? n = Ce("date", i) : Object.keys(n).length === 0 && (n = Ce("date", "short")), new Intl.DateTimeFormat(r, n);
3224
3250
  }
3225
- ), In = Ze(
3251
+ ), On = qe(
3226
3252
  (e) => {
3227
3253
  var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3228
3254
  if (r == null)
3229
3255
  throw new Error(
3230
3256
  '[svelte-i18n] A "locale" must be set to format time values'
3231
3257
  );
3232
- return i ? n = Me("time", i) : Object.keys(n).length === 0 && (n = Me("time", "short")), new Intl.DateTimeFormat(r, n);
3258
+ return i ? n = Ce("time", i) : Object.keys(n).length === 0 && (n = Ce("time", "short")), new Intl.DateTimeFormat(r, n);
3233
3259
  }
3234
- ), Dn = (e = {}) => {
3260
+ ), An = (e = {}) => {
3235
3261
  var t = e, {
3236
3262
  locale: r = de()
3237
3263
  } = t, i = Oe(t, [
3238
3264
  "locale"
3239
3265
  ]);
3240
- return Mn(Et({ locale: r }, i));
3241
- }, Ln = (e = {}) => {
3266
+ return Hn(vt({ locale: r }, i));
3267
+ }, Bn = (e = {}) => {
3242
3268
  var t = e, {
3243
3269
  locale: r = de()
3244
3270
  } = t, i = Oe(t, [
3245
3271
  "locale"
3246
3272
  ]);
3247
- return Cn(Et({ locale: r }, i));
3248
- }, Nn = (e = {}) => {
3273
+ return Pn(vt({ locale: r }, i));
3274
+ }, Mn = (e = {}) => {
3249
3275
  var t = e, {
3250
3276
  locale: r = de()
3251
3277
  } = t, i = Oe(t, [
3252
3278
  "locale"
3253
3279
  ]);
3254
- return In(Et({ locale: r }, i));
3255
- }, kn = Ze(
3280
+ return On(vt({ locale: r }, i));
3281
+ }, Cn = qe(
3256
3282
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3257
- (e, t = de()) => new xr(e, t, Te().formats, {
3258
- ignoreTag: Te().ignoreTag
3283
+ (e, t = de()) => new mr(e, t, He().formats, {
3284
+ ignoreTag: He().ignoreTag
3259
3285
  })
3260
- ), Rn = (e, t = {}) => {
3286
+ ), In = (e, t = {}) => {
3261
3287
  var r, i, n, o;
3262
3288
  let s = t;
3263
3289
  typeof e == "object" && (s = e, e = s.id);
@@ -3270,9 +3296,9 @@ const Me = (e, t) => {
3270
3296
  throw new Error(
3271
3297
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3272
3298
  );
3273
- let f = Er(e, u);
3299
+ let f = vr(e, u);
3274
3300
  if (!f)
3275
- f = (o = (n = (i = (r = Te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: h })) != null ? n : h) != null ? o : e;
3301
+ f = (o = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: h })) != null ? n : h) != null ? o : e;
3276
3302
  else if (typeof f != "string")
3277
3303
  return console.warn(
3278
3304
  `[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.`
@@ -3281,7 +3307,7 @@ const Me = (e, t) => {
3281
3307
  return f;
3282
3308
  let p = f;
3283
3309
  try {
3284
- p = kn(f, u).format(a);
3310
+ p = Cn(f, u).format(a);
3285
3311
  } catch (v) {
3286
3312
  v instanceof Error && console.warn(
3287
3313
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3289,20 +3315,20 @@ const Me = (e, t) => {
3289
3315
  );
3290
3316
  }
3291
3317
  return p;
3292
- }, Un = (e, t) => Nn(t).format(e), Fn = (e, t) => Ln(t).format(e), Vn = (e, t) => Dn(t).format(e), Gn = (e, t = de()) => Er(e, t), jn = Pe([be, Ie], () => Rn);
3293
- Pe([be], () => Un);
3294
- Pe([be], () => Fn);
3295
- Pe([be], () => Vn);
3296
- Pe([be, Ie], () => Gn);
3297
- function Rt(e, t) {
3298
- wr(e, t);
3318
+ }, Dn = (e, t) => Mn(t).format(e), Ln = (e, t) => Bn(t).format(e), Nn = (e, t) => An(t).format(e), kn = (e, t = de()) => vr(e, t), Rn = Pe([be, De], () => In);
3319
+ Pe([be], () => Dn);
3320
+ Pe([be], () => Ln);
3321
+ Pe([be], () => Nn);
3322
+ Pe([be, De], () => kn);
3323
+ function It(e, t) {
3324
+ br(e, t);
3299
3325
  }
3300
- function $n(e) {
3301
- En({
3326
+ function Un(e) {
3327
+ vn({
3302
3328
  fallbackLocale: "en"
3303
3329
  }), be.set(e);
3304
3330
  }
3305
- const Ut = {
3331
+ const Dt = {
3306
3332
  en: {
3307
3333
  verificationsRequired: "Verifications Required",
3308
3334
  "verification.video.how-to": "How to verify yourself?",
@@ -3361,86 +3387,17 @@ const Ut = {
3361
3387
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3362
3388
  }
3363
3389
  };
3364
- let zn = Ce(null);
3365
- /*! *****************************************************************************
3366
- Copyright (c) Microsoft Corporation.
3367
-
3368
- Permission to use, copy, modify, and/or distribute this software for any
3369
- purpose with or without fee is hereby granted.
3370
-
3371
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3372
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3373
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3374
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3375
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3376
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3377
- PERFORMANCE OF THIS SOFTWARE.
3378
- ***************************************************************************** */
3379
- var dt = function(e, t) {
3380
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
3381
- r.__proto__ = i;
3382
- } || function(r, i) {
3383
- for (var n in i)
3384
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
3385
- }, dt(e, t);
3386
- };
3387
- function Le(e, t) {
3388
- if (typeof t != "function" && t !== null)
3389
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3390
- dt(e, t);
3391
- function r() {
3392
- this.constructor = e;
3393
- }
3394
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3395
- }
3396
- function pt(e) {
3397
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
3398
- if (r)
3399
- return r.call(e);
3400
- if (e && typeof e.length == "number")
3401
- return {
3402
- next: function() {
3403
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
3404
- }
3405
- };
3406
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3407
- }
3408
- function mt(e, t) {
3409
- var r = typeof Symbol == "function" && e[Symbol.iterator];
3410
- if (!r)
3411
- return e;
3412
- var i = r.call(e), n, o = [], s;
3413
- try {
3414
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
3415
- o.push(n.value);
3416
- } catch (a) {
3417
- s = { error: a };
3418
- } finally {
3419
- try {
3420
- n && !n.done && (r = i.return) && r.call(i);
3421
- } finally {
3422
- if (s)
3423
- throw s.error;
3424
- }
3425
- }
3426
- return o;
3427
- }
3428
- function vt(e, t, r) {
3429
- if (arguments.length === 2)
3430
- for (var i = 0, n = t.length, o; i < n; i++)
3431
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
3432
- return e.concat(o || t);
3433
- }
3434
- function oe(e) {
3390
+ let Fn = Ie(null);
3391
+ function ne(e) {
3435
3392
  return typeof e == "function";
3436
3393
  }
3437
- function Hr(e) {
3394
+ function wr(e) {
3438
3395
  var t = function(i) {
3439
3396
  Error.call(i), i.stack = new Error().stack;
3440
3397
  }, r = e(t);
3441
3398
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3442
3399
  }
3443
- var nt = Hr(function(e) {
3400
+ var tt = wr(function(e) {
3444
3401
  return function(r) {
3445
3402
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3446
3403
  ` + r.map(function(i, n) {
@@ -3449,13 +3406,13 @@ var nt = Hr(function(e) {
3449
3406
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3450
3407
  };
3451
3408
  });
3452
- function gt(e, t) {
3409
+ function ct(e, t) {
3453
3410
  if (e) {
3454
3411
  var r = e.indexOf(t);
3455
3412
  0 <= r && e.splice(r, 1);
3456
3413
  }
3457
3414
  }
3458
- var Je = function() {
3415
+ var Ye = function() {
3459
3416
  function e(t) {
3460
3417
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3461
3418
  }
@@ -3467,7 +3424,7 @@ var Je = function() {
3467
3424
  if (s)
3468
3425
  if (this._parentage = null, Array.isArray(s))
3469
3426
  try {
3470
- for (var a = pt(s), u = a.next(); !u.done; u = a.next()) {
3427
+ for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
3471
3428
  var h = u.value;
3472
3429
  h.remove(this);
3473
3430
  }
@@ -3484,22 +3441,22 @@ var Je = function() {
3484
3441
  else
3485
3442
  s.remove(this);
3486
3443
  var f = this.initialTeardown;
3487
- if (oe(f))
3444
+ if (ne(f))
3488
3445
  try {
3489
3446
  f();
3490
3447
  } catch (c) {
3491
- o = c instanceof nt ? c.errors : [c];
3448
+ o = c instanceof tt ? c.errors : [c];
3492
3449
  }
3493
3450
  var p = this._finalizers;
3494
3451
  if (p) {
3495
3452
  this._finalizers = null;
3496
3453
  try {
3497
- for (var v = pt(p), y = v.next(); !y.done; y = v.next()) {
3454
+ for (var v = it(p), y = v.next(); !y.done; y = v.next()) {
3498
3455
  var S = y.value;
3499
3456
  try {
3500
- Ft(S);
3457
+ Lt(S);
3501
3458
  } catch (c) {
3502
- o = o != null ? o : [], c instanceof nt ? o = vt(vt([], mt(o)), mt(c.errors)) : o.push(c);
3459
+ o = o != null ? o : [], c instanceof tt ? o = _e(_e([], nt(o)), nt(c.errors)) : o.push(c);
3503
3460
  }
3504
3461
  }
3505
3462
  } catch (c) {
@@ -3514,13 +3471,13 @@ var Je = function() {
3514
3471
  }
3515
3472
  }
3516
3473
  if (o)
3517
- throw new nt(o);
3474
+ throw new tt(o);
3518
3475
  }
3519
3476
  }, e.prototype.add = function(t) {
3520
3477
  var r;
3521
3478
  if (t && t !== this)
3522
3479
  if (this.closed)
3523
- Ft(t);
3480
+ Lt(t);
3524
3481
  else {
3525
3482
  if (t instanceof e) {
3526
3483
  if (t.closed || t._hasParent(this))
@@ -3537,52 +3494,52 @@ var Je = function() {
3537
3494
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3538
3495
  }, e.prototype._removeParent = function(t) {
3539
3496
  var r = this._parentage;
3540
- r === t ? this._parentage = null : Array.isArray(r) && gt(r, t);
3497
+ r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
3541
3498
  }, e.prototype.remove = function(t) {
3542
3499
  var r = this._finalizers;
3543
- r && gt(r, t), t instanceof e && t._removeParent(this);
3500
+ r && ct(r, t), t instanceof e && t._removeParent(this);
3544
3501
  }, e.EMPTY = function() {
3545
3502
  var t = new e();
3546
3503
  return t.closed = !0, t;
3547
3504
  }(), e;
3548
- }(), Ar = Je.EMPTY;
3549
- function Br(e) {
3550
- return e instanceof Je || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
3505
+ }(), Sr = Ye.EMPTY;
3506
+ function Tr(e) {
3507
+ return e instanceof Ye || e && "closed" in e && ne(e.remove) && ne(e.add) && ne(e.unsubscribe);
3551
3508
  }
3552
- function Ft(e) {
3553
- oe(e) ? e() : e.unsubscribe();
3509
+ function Lt(e) {
3510
+ ne(e) ? e() : e.unsubscribe();
3554
3511
  }
3555
- var Wn = {
3512
+ var Vn = {
3556
3513
  Promise: void 0
3557
- }, Xn = {
3514
+ }, Gn = {
3558
3515
  setTimeout: function(e, t) {
3559
3516
  for (var r = [], i = 2; i < arguments.length; i++)
3560
3517
  r[i - 2] = arguments[i];
3561
- return setTimeout.apply(void 0, vt([e, t], mt(r)));
3518
+ return setTimeout.apply(void 0, _e([e, t], nt(r)));
3562
3519
  },
3563
3520
  clearTimeout: function(e) {
3564
3521
  return clearTimeout(e);
3565
3522
  },
3566
3523
  delegate: void 0
3567
3524
  };
3568
- function qn(e) {
3569
- Xn.setTimeout(function() {
3525
+ function jn(e) {
3526
+ Gn.setTimeout(function() {
3570
3527
  throw e;
3571
3528
  });
3572
3529
  }
3573
- function Vt() {
3530
+ function Nt() {
3574
3531
  }
3575
3532
  function je(e) {
3576
3533
  e();
3577
3534
  }
3578
- var Mr = function(e) {
3579
- Le(t, e);
3535
+ var Hr = function(e) {
3536
+ oe(t, e);
3580
3537
  function t(r) {
3581
3538
  var i = e.call(this) || this;
3582
- return i.isStopped = !1, r ? (i.destination = r, Br(r) && r.add(i)) : i.destination = Jn, i;
3539
+ return i.isStopped = !1, r ? (i.destination = r, Tr(r) && r.add(i)) : i.destination = Wn, i;
3583
3540
  }
3584
3541
  return t.create = function(r, i, n) {
3585
- return new bt(r, i, n);
3542
+ return new dt(r, i, n);
3586
3543
  }, t.prototype.next = function(r) {
3587
3544
  this.isStopped || this._next(r);
3588
3545
  }, t.prototype.error = function(r) {
@@ -3606,7 +3563,7 @@ var Mr = function(e) {
3606
3563
  this.unsubscribe();
3607
3564
  }
3608
3565
  }, t;
3609
- }(Je), Yn = function() {
3566
+ }(Ye), $n = function() {
3610
3567
  function e(t) {
3611
3568
  this.partialObserver = t;
3612
3569
  }
@@ -3637,43 +3594,43 @@ var Mr = function(e) {
3637
3594
  Fe(r);
3638
3595
  }
3639
3596
  }, e;
3640
- }(), bt = function(e) {
3641
- Le(t, e);
3597
+ }(), dt = function(e) {
3598
+ oe(t, e);
3642
3599
  function t(r, i, n) {
3643
3600
  var o = e.call(this) || this, s;
3644
- return oe(r) || !r ? s = {
3601
+ return ne(r) || !r ? s = {
3645
3602
  next: r != null ? r : void 0,
3646
3603
  error: i != null ? i : void 0,
3647
3604
  complete: n != null ? n : void 0
3648
- } : s = r, o.destination = new Yn(s), o;
3605
+ } : s = r, o.destination = new $n(s), o;
3649
3606
  }
3650
3607
  return t;
3651
- }(Mr);
3608
+ }(Hr);
3652
3609
  function Fe(e) {
3653
- qn(e);
3610
+ jn(e);
3654
3611
  }
3655
- function Zn(e) {
3612
+ function zn(e) {
3656
3613
  throw e;
3657
3614
  }
3658
- var Jn = {
3615
+ var Wn = {
3659
3616
  closed: !0,
3660
- next: Vt,
3661
- error: Zn,
3662
- complete: Vt
3663
- }, Qn = function() {
3617
+ next: Nt,
3618
+ error: zn,
3619
+ complete: Nt
3620
+ }, Xn = function() {
3664
3621
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3665
3622
  }();
3666
- function Kn(e) {
3623
+ function qn(e) {
3667
3624
  return e;
3668
3625
  }
3669
- function eo(e) {
3670
- return e.length === 0 ? Kn : e.length === 1 ? e[0] : function(r) {
3626
+ function Yn(e) {
3627
+ return e.length === 0 ? qn : e.length === 1 ? e[0] : function(r) {
3671
3628
  return e.reduce(function(i, n) {
3672
3629
  return n(i);
3673
3630
  }, r);
3674
3631
  };
3675
3632
  }
3676
- var Gt = function() {
3633
+ var kt = function() {
3677
3634
  function e(t) {
3678
3635
  t && (this._subscribe = t);
3679
3636
  }
@@ -3681,7 +3638,7 @@ var Gt = function() {
3681
3638
  var r = new e();
3682
3639
  return r.source = this, r.operator = t, r;
3683
3640
  }, e.prototype.subscribe = function(t, r, i) {
3684
- var n = this, o = ro(t) ? t : new bt(t, r, i);
3641
+ var n = this, o = Jn(t) ? t : new dt(t, r, i);
3685
3642
  return je(function() {
3686
3643
  var s = n, a = s.operator, u = s.source;
3687
3644
  o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
@@ -3694,8 +3651,8 @@ var Gt = function() {
3694
3651
  }
3695
3652
  }, e.prototype.forEach = function(t, r) {
3696
3653
  var i = this;
3697
- return r = jt(r), new r(function(n, o) {
3698
- var s = new bt({
3654
+ return r = Rt(r), new r(function(n, o) {
3655
+ var s = new dt({
3699
3656
  next: function(a) {
3700
3657
  try {
3701
3658
  t(a);
@@ -3711,15 +3668,15 @@ var Gt = function() {
3711
3668
  }, e.prototype._subscribe = function(t) {
3712
3669
  var r;
3713
3670
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
3714
- }, e.prototype[Qn] = function() {
3671
+ }, e.prototype[Xn] = function() {
3715
3672
  return this;
3716
3673
  }, e.prototype.pipe = function() {
3717
3674
  for (var t = [], r = 0; r < arguments.length; r++)
3718
3675
  t[r] = arguments[r];
3719
- return eo(t)(this);
3676
+ return Yn(t)(this);
3720
3677
  }, e.prototype.toPromise = function(t) {
3721
3678
  var r = this;
3722
- return t = jt(t), new t(function(i, n) {
3679
+ return t = Rt(t), new t(function(i, n) {
3723
3680
  var o;
3724
3681
  r.subscribe(function(s) {
3725
3682
  return o = s;
@@ -3733,32 +3690,32 @@ var Gt = function() {
3733
3690
  return new e(t);
3734
3691
  }, e;
3735
3692
  }();
3736
- function jt(e) {
3693
+ function Rt(e) {
3737
3694
  var t;
3738
- return (t = e != null ? e : Wn.Promise) !== null && t !== void 0 ? t : Promise;
3695
+ return (t = e != null ? e : Vn.Promise) !== null && t !== void 0 ? t : Promise;
3739
3696
  }
3740
- function to(e) {
3741
- return e && oe(e.next) && oe(e.error) && oe(e.complete);
3697
+ function Zn(e) {
3698
+ return e && ne(e.next) && ne(e.error) && ne(e.complete);
3742
3699
  }
3743
- function ro(e) {
3744
- return e && e instanceof Mr || to(e) && Br(e);
3700
+ function Jn(e) {
3701
+ return e && e instanceof Hr || Zn(e) && Tr(e);
3745
3702
  }
3746
- var io = Hr(function(e) {
3703
+ var Qn = wr(function(e) {
3747
3704
  return function() {
3748
3705
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3749
3706
  };
3750
- }), Cr = function(e) {
3751
- Le(t, e);
3707
+ }), Pr = function(e) {
3708
+ oe(t, e);
3752
3709
  function t() {
3753
3710
  var r = e.call(this) || this;
3754
3711
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
3755
3712
  }
3756
3713
  return t.prototype.lift = function(r) {
3757
- var i = new $t(this, this);
3714
+ var i = new Ut(this, this);
3758
3715
  return i.operator = r, i;
3759
3716
  }, t.prototype._throwIfClosed = function() {
3760
3717
  if (this.closed)
3761
- throw new io();
3718
+ throw new Qn();
3762
3719
  }, t.prototype.next = function(r) {
3763
3720
  var i = this;
3764
3721
  je(function() {
@@ -3766,7 +3723,7 @@ var io = Hr(function(e) {
3766
3723
  if (i._throwIfClosed(), !i.isStopped) {
3767
3724
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
3768
3725
  try {
3769
- for (var s = pt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3726
+ for (var s = it(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3770
3727
  var u = a.value;
3771
3728
  u.next(r);
3772
3729
  }
@@ -3815,20 +3772,20 @@ var io = Hr(function(e) {
3815
3772
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
3816
3773
  }, t.prototype._innerSubscribe = function(r) {
3817
3774
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
3818
- return o || s ? Ar : (this.currentObservers = null, a.push(r), new Je(function() {
3819
- i.currentObservers = null, gt(a, r);
3775
+ return o || s ? Sr : (this.currentObservers = null, a.push(r), new Ye(function() {
3776
+ i.currentObservers = null, ct(a, r);
3820
3777
  }));
3821
3778
  }, t.prototype._checkFinalizedStatuses = function(r) {
3822
3779
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
3823
3780
  n ? r.error(o) : s && r.complete();
3824
3781
  }, t.prototype.asObservable = function() {
3825
- var r = new Gt();
3782
+ var r = new kt();
3826
3783
  return r.source = this, r;
3827
3784
  }, t.create = function(r, i) {
3828
- return new $t(r, i);
3785
+ return new Ut(r, i);
3829
3786
  }, t;
3830
- }(Gt), $t = function(e) {
3831
- Le(t, e);
3787
+ }(kt), Ut = function(e) {
3788
+ oe(t, e);
3832
3789
  function t(r, i) {
3833
3790
  var n = e.call(this) || this;
3834
3791
  return n.destination = r, n.source = i, n;
@@ -3844,17 +3801,17 @@ var io = Hr(function(e) {
3844
3801
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
3845
3802
  }, t.prototype._subscribe = function(r) {
3846
3803
  var i, n;
3847
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Ar;
3804
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Sr;
3848
3805
  }, t;
3849
- }(Cr), Ir = {
3806
+ }(Pr), Or = {
3850
3807
  now: function() {
3851
- return (Ir.delegate || Date).now();
3808
+ return (Or.delegate || Date).now();
3852
3809
  },
3853
3810
  delegate: void 0
3854
- }, no = function(e) {
3855
- Le(t, e);
3811
+ }, Kn = function(e) {
3812
+ oe(t, e);
3856
3813
  function t(r, i, n) {
3857
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Ir);
3814
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Or);
3858
3815
  var o = e.call(this) || this;
3859
3816
  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;
3860
3817
  }
@@ -3874,16 +3831,16 @@ var io = Hr(function(e) {
3874
3831
  h && o.splice(0, h + 1);
3875
3832
  }
3876
3833
  }, t;
3877
- }(Cr);
3878
- const zt = [], Wt = {}, oo = (e, t = 0) => {
3879
- if (zt.indexOf(e) == -1) {
3880
- const r = new no(t);
3881
- Wt[e] = r, zt.push(e);
3834
+ }(Pr);
3835
+ const Ft = [], Vt = {}, eo = (e, t = 0) => {
3836
+ if (Ft.indexOf(e) == -1) {
3837
+ const r = new Kn(t);
3838
+ Vt[e] = r, Ft.push(e);
3882
3839
  }
3883
- return Wt[e];
3840
+ return Vt[e];
3884
3841
  };
3885
- window.emWidgets = { topic: oo };
3886
- const so = (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));
3842
+ window.emWidgets = { topic: eo };
3843
+ const to = (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));
3887
3844
  if (typeof window != "undefined") {
3888
3845
  let e = function(t) {
3889
3846
  return function(...r) {
@@ -3900,18 +3857,18 @@ if (typeof window != "undefined") {
3900
3857
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
3901
3858
  });
3902
3859
  }
3903
- var Dr = { exports: {} };
3860
+ var Ar = { exports: {} };
3904
3861
  (function(e, t) {
3905
3862
  (function(r, i) {
3906
3863
  e.exports = i();
3907
- })(rr, function() {
3908
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", h = "day", f = "week", p = "month", v = "quarter", y = "year", S = "date", c = "Invalid Date", L = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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, H = { 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) {
3864
+ })(Jt, function() {
3865
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", h = "day", f = "week", p = "month", v = "quarter", y = "year", S = "date", c = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, R = /\[([^\]]+)]|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, O = { 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) {
3909
3866
  var g = ["th", "st", "nd", "rd"], d = E % 100;
3910
3867
  return "[" + E + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3911
3868
  } }, T = function(E, g, d) {
3912
3869
  var b = String(E);
3913
3870
  return !b || b.length >= g ? E : "" + Array(g + 1 - b.length).join(d) + E;
3914
- }, P = { s: T, z: function(E) {
3871
+ }, H = { s: T, z: function(E) {
3915
3872
  var g = -E.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3916
3873
  return (g <= 0 ? "+" : "-") + T(b, 2, "0") + ":" + T(m, 2, "0");
3917
3874
  }, m: function E(g, d) {
@@ -3925,33 +3882,33 @@ var Dr = { exports: {} };
3925
3882
  return { M: p, y, w: f, d: h, D: S, h: u, m: a, s, ms: o, Q: v }[E] || String(E || "").toLowerCase().replace(/s$/, "");
3926
3883
  }, u: function(E) {
3927
3884
  return E === void 0;
3928
- } }, I = "en", O = {};
3929
- O[I] = H;
3930
- var X = "$isDayjsObject", te = function(E) {
3885
+ } }, D = "en", P = {};
3886
+ P[D] = O;
3887
+ var X = "$isDayjsObject", ee = function(E) {
3931
3888
  return E instanceof j || !(!E || !E[X]);
3932
3889
  }, Q = function E(g, d, b) {
3933
3890
  var m;
3934
3891
  if (!g)
3935
- return I;
3892
+ return D;
3936
3893
  if (typeof g == "string") {
3937
3894
  var _ = g.toLowerCase();
3938
- O[_] && (m = _), d && (O[_] = d, m = _);
3895
+ P[_] && (m = _), d && (P[_] = d, m = _);
3939
3896
  var w = g.split("-");
3940
3897
  if (!m && w.length > 1)
3941
3898
  return E(w[0]);
3942
3899
  } else {
3943
- var N = g.name;
3944
- O[N] = g, m = N;
3900
+ var k = g.name;
3901
+ P[k] = g, m = k;
3945
3902
  }
3946
- return !b && m && (I = m), m || !b && I;
3947
- }, R = function(E, g) {
3948
- if (te(E))
3903
+ return !b && m && (D = m), m || !b && D;
3904
+ }, U = function(E, g) {
3905
+ if (ee(E))
3949
3906
  return E.clone();
3950
3907
  var d = typeof g == "object" ? g : {};
3951
3908
  return d.date = E, d.args = arguments, new j(d);
3952
- }, M = P;
3953
- M.l = Q, M.i = te, M.w = function(E, g) {
3954
- return R(E, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3909
+ }, M = H;
3910
+ M.l = Q, M.i = ee, M.w = function(E, g) {
3911
+ return U(E, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3955
3912
  };
3956
3913
  var j = function() {
3957
3914
  function E(d) {
@@ -3968,10 +3925,10 @@ var Dr = { exports: {} };
3968
3925
  if (m instanceof Date)
3969
3926
  return new Date(m);
3970
3927
  if (typeof m == "string" && !/Z$/i.test(m)) {
3971
- var w = m.match(L);
3928
+ var w = m.match(N);
3972
3929
  if (w) {
3973
- var N = w[2] - 1 || 0, F = (w[7] || "0").substring(0, 3);
3974
- return _ ? new Date(Date.UTC(w[1], N, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, F)) : new Date(w[1], N, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, F);
3930
+ var k = w[2] - 1 || 0, V = (w[7] || "0").substring(0, 3);
3931
+ return _ ? new Date(Date.UTC(w[1], k, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, V)) : new Date(w[1], k, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, V);
3975
3932
  }
3976
3933
  }
3977
3934
  return new Date(m);
@@ -3984,12 +3941,12 @@ var Dr = { exports: {} };
3984
3941
  }, g.isValid = function() {
3985
3942
  return this.$d.toString() !== c;
3986
3943
  }, g.isSame = function(d, b) {
3987
- var m = R(d);
3944
+ var m = U(d);
3988
3945
  return this.startOf(b) <= m && m <= this.endOf(b);
3989
3946
  }, g.isAfter = function(d, b) {
3990
- return R(d) < this.startOf(b);
3947
+ return U(d) < this.startOf(b);
3991
3948
  }, g.isBefore = function(d, b) {
3992
- return this.endOf(b) < R(d);
3949
+ return this.endOf(b) < U(d);
3993
3950
  }, g.$g = function(d, b, m) {
3994
3951
  return M.u(d) ? this[b] : this.set(m, d);
3995
3952
  }, g.unix = function() {
@@ -3997,41 +3954,41 @@ var Dr = { exports: {} };
3997
3954
  }, g.valueOf = function() {
3998
3955
  return this.$d.getTime();
3999
3956
  }, g.startOf = function(d, b) {
4000
- var m = this, _ = !!M.u(b) || b, w = M.p(d), N = function(ie, q) {
4001
- var K = M.w(m.$u ? Date.UTC(m.$y, q, ie) : new Date(m.$y, q, ie), m);
3957
+ var m = this, _ = !!M.u(b) || b, w = M.p(d), k = function(re, q) {
3958
+ var K = M.w(m.$u ? Date.UTC(m.$y, q, re) : new Date(m.$y, q, re), m);
4002
3959
  return _ ? K : K.endOf(h);
4003
- }, F = function(ie, q) {
4004
- return M.w(m.toDate()[ie].apply(m.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(q)), m);
3960
+ }, V = function(re, q) {
3961
+ return M.w(m.toDate()[re].apply(m.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(q)), m);
4005
3962
  }, G = this.$W, $ = this.$M, Z = this.$D, ae = "set" + (this.$u ? "UTC" : "");
4006
3963
  switch (w) {
4007
3964
  case y:
4008
- return _ ? N(1, 0) : N(31, 11);
3965
+ return _ ? k(1, 0) : k(31, 11);
4009
3966
  case p:
4010
- return _ ? N(1, $) : N(0, $ + 1);
3967
+ return _ ? k(1, $) : k(0, $ + 1);
4011
3968
  case f:
4012
- var re = this.$locale().weekStart || 0, pe = (G < re ? G + 7 : G) - re;
4013
- return N(_ ? Z - pe : Z + (6 - pe), $);
3969
+ var te = this.$locale().weekStart || 0, pe = (G < te ? G + 7 : G) - te;
3970
+ return k(_ ? Z - pe : Z + (6 - pe), $);
4014
3971
  case h:
4015
3972
  case S:
4016
- return F(ae + "Hours", 0);
3973
+ return V(ae + "Hours", 0);
4017
3974
  case u:
4018
- return F(ae + "Minutes", 1);
3975
+ return V(ae + "Minutes", 1);
4019
3976
  case a:
4020
- return F(ae + "Seconds", 2);
3977
+ return V(ae + "Seconds", 2);
4021
3978
  case s:
4022
- return F(ae + "Milliseconds", 3);
3979
+ return V(ae + "Milliseconds", 3);
4023
3980
  default:
4024
3981
  return this.clone();
4025
3982
  }
4026
3983
  }, g.endOf = function(d) {
4027
3984
  return this.startOf(d, !1);
4028
3985
  }, g.$set = function(d, b) {
4029
- var m, _ = M.p(d), w = "set" + (this.$u ? "UTC" : ""), N = (m = {}, m[h] = w + "Date", m[S] = w + "Date", m[p] = w + "Month", m[y] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[_], F = _ === h ? this.$D + (b - this.$W) : b;
3986
+ var m, _ = M.p(d), w = "set" + (this.$u ? "UTC" : ""), k = (m = {}, m[h] = w + "Date", m[S] = w + "Date", m[p] = w + "Month", m[y] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[_], V = _ === h ? this.$D + (b - this.$W) : b;
4030
3987
  if (_ === p || _ === y) {
4031
3988
  var G = this.clone().set(S, 1);
4032
- G.$d[N](F), G.init(), this.$d = G.set(S, Math.min(this.$D, G.daysInMonth())).$d;
3989
+ G.$d[k](V), G.init(), this.$d = G.set(S, Math.min(this.$D, G.daysInMonth())).$d;
4033
3990
  } else
4034
- N && this.$d[N](F);
3991
+ k && this.$d[k](V);
4035
3992
  return this.init(), this;
4036
3993
  }, g.set = function(d, b) {
4037
3994
  return this.clone().$set(d, b);
@@ -4040,8 +3997,8 @@ var Dr = { exports: {} };
4040
3997
  }, g.add = function(d, b) {
4041
3998
  var m, _ = this;
4042
3999
  d = Number(d);
4043
- var w = M.p(b), N = function($) {
4044
- var Z = R(_);
4000
+ var w = M.p(b), k = function($) {
4001
+ var Z = U(_);
4045
4002
  return M.w(Z.date(Z.date() + Math.round($ * d)), _);
4046
4003
  };
4047
4004
  if (w === p)
@@ -4049,10 +4006,10 @@ var Dr = { exports: {} };
4049
4006
  if (w === y)
4050
4007
  return this.set(y, this.$y + d);
4051
4008
  if (w === h)
4052
- return N(1);
4009
+ return k(1);
4053
4010
  if (w === f)
4054
- return N(7);
4055
- var F = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[w] || 1, G = this.$d.getTime() + d * F;
4011
+ return k(7);
4012
+ var V = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[w] || 1, G = this.$d.getTime() + d * V;
4056
4013
  return M.w(G, this);
4057
4014
  }, g.subtract = function(d, b) {
4058
4015
  return this.add(-1 * d, b);
@@ -4060,15 +4017,15 @@ var Dr = { exports: {} };
4060
4017
  var b = this, m = this.$locale();
4061
4018
  if (!this.isValid())
4062
4019
  return m.invalidDate || c;
4063
- var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = M.z(this), N = this.$H, F = this.$m, G = this.$M, $ = m.weekdays, Z = m.months, ae = m.meridiem, re = function(q, K, me, ye) {
4020
+ var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = M.z(this), k = this.$H, V = this.$m, G = this.$M, $ = m.weekdays, Z = m.months, ae = m.meridiem, te = function(q, K, me, ye) {
4064
4021
  return q && (q[K] || q(b, _)) || me[K].slice(0, ye);
4065
4022
  }, pe = function(q) {
4066
- return M.s(N % 12 || 12, q, "0");
4067
- }, ie = ae || function(q, K, me) {
4023
+ return M.s(k % 12 || 12, q, "0");
4024
+ }, re = ae || function(q, K, me) {
4068
4025
  var ye = q < 12 ? "AM" : "PM";
4069
4026
  return me ? ye.toLowerCase() : ye;
4070
4027
  };
4071
- return _.replace(k, function(q, K) {
4028
+ return _.replace(R, function(q, K) {
4072
4029
  return K || function(me) {
4073
4030
  switch (me) {
4074
4031
  case "YY":
@@ -4080,9 +4037,9 @@ var Dr = { exports: {} };
4080
4037
  case "MM":
4081
4038
  return M.s(G + 1, 2, "0");
4082
4039
  case "MMM":
4083
- return re(m.monthsShort, G, Z, 3);
4040
+ return te(m.monthsShort, G, Z, 3);
4084
4041
  case "MMMM":
4085
- return re(Z, G);
4042
+ return te(Z, G);
4086
4043
  case "D":
4087
4044
  return b.$D;
4088
4045
  case "DD":
@@ -4090,27 +4047,27 @@ var Dr = { exports: {} };
4090
4047
  case "d":
4091
4048
  return String(b.$W);
4092
4049
  case "dd":
4093
- return re(m.weekdaysMin, b.$W, $, 2);
4050
+ return te(m.weekdaysMin, b.$W, $, 2);
4094
4051
  case "ddd":
4095
- return re(m.weekdaysShort, b.$W, $, 3);
4052
+ return te(m.weekdaysShort, b.$W, $, 3);
4096
4053
  case "dddd":
4097
4054
  return $[b.$W];
4098
4055
  case "H":
4099
- return String(N);
4056
+ return String(k);
4100
4057
  case "HH":
4101
- return M.s(N, 2, "0");
4058
+ return M.s(k, 2, "0");
4102
4059
  case "h":
4103
4060
  return pe(1);
4104
4061
  case "hh":
4105
4062
  return pe(2);
4106
4063
  case "a":
4107
- return ie(N, F, !0);
4064
+ return re(k, V, !0);
4108
4065
  case "A":
4109
- return ie(N, F, !1);
4066
+ return re(k, V, !1);
4110
4067
  case "m":
4111
- return String(F);
4068
+ return String(V);
4112
4069
  case "mm":
4113
- return M.s(F, 2, "0");
4070
+ return M.s(V, 2, "0");
4114
4071
  case "s":
4115
4072
  return String(b.$s);
4116
4073
  case "ss":
@@ -4126,10 +4083,10 @@ var Dr = { exports: {} };
4126
4083
  }, g.utcOffset = function() {
4127
4084
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4128
4085
  }, g.diff = function(d, b, m) {
4129
- var _, w = this, N = M.p(b), F = R(d), G = (F.utcOffset() - this.utcOffset()) * i, $ = this - F, Z = function() {
4130
- return M.m(w, F);
4086
+ var _, w = this, k = M.p(b), V = U(d), G = (V.utcOffset() - this.utcOffset()) * i, $ = this - V, Z = function() {
4087
+ return M.m(w, V);
4131
4088
  };
4132
- switch (N) {
4089
+ switch (k) {
4133
4090
  case y:
4134
4091
  _ = Z() / 12;
4135
4092
  break;
@@ -4161,7 +4118,7 @@ var Dr = { exports: {} };
4161
4118
  }, g.daysInMonth = function() {
4162
4119
  return this.endOf(p).$D;
4163
4120
  }, g.$locale = function() {
4164
- return O[this.$L];
4121
+ return P[this.$L];
4165
4122
  }, g.locale = function(d, b) {
4166
4123
  if (!d)
4167
4124
  return this.$L;
@@ -4179,33 +4136,33 @@ var Dr = { exports: {} };
4179
4136
  return this.$d.toUTCString();
4180
4137
  }, E;
4181
4138
  }(), se = j.prototype;
4182
- return R.prototype = se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", h], ["$M", p], ["$y", y], ["$D", S]].forEach(function(E) {
4139
+ return U.prototype = se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", h], ["$M", p], ["$y", y], ["$D", S]].forEach(function(E) {
4183
4140
  se[E[1]] = function(g) {
4184
4141
  return this.$g(g, E[0], E[1]);
4185
4142
  };
4186
- }), R.extend = function(E, g) {
4187
- return E.$i || (E(g, j, R), E.$i = !0), R;
4188
- }, R.locale = Q, R.isDayjs = te, R.unix = function(E) {
4189
- return R(1e3 * E);
4190
- }, R.en = O[I], R.Ls = O, R.p = {}, R;
4143
+ }), U.extend = function(E, g) {
4144
+ return E.$i || (E(g, j, U), E.$i = !0), U;
4145
+ }, U.locale = Q, U.isDayjs = ee, U.unix = function(E) {
4146
+ return U(1e3 * E);
4147
+ }, U.en = P[D], U.Ls = P, U.p = {}, U;
4191
4148
  });
4192
- })(Dr);
4193
- var ao = Dr.exports;
4194
- const Xt = /* @__PURE__ */ yt(ao);
4195
- var Lr = { exports: {} };
4149
+ })(Ar);
4150
+ var ro = Ar.exports;
4151
+ const Gt = /* @__PURE__ */ pt(ro);
4152
+ var Br = { exports: {} };
4196
4153
  (function(e, t) {
4197
4154
  (function(r, i) {
4198
4155
  e.exports = i();
4199
- })(rr, function() {
4156
+ })(Jt, function() {
4200
4157
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4201
4158
  return function(o, s, a) {
4202
4159
  var u = s.prototype;
4203
4160
  a.utc = function(c) {
4204
- var L = { date: c, utc: !0, args: arguments };
4205
- return new s(L);
4161
+ var N = { date: c, utc: !0, args: arguments };
4162
+ return new s(N);
4206
4163
  }, u.utc = function(c) {
4207
- var L = a(this.toDate(), { locale: this.$L, utc: !0 });
4208
- return c ? L.add(this.utcOffset(), r) : L;
4164
+ var N = a(this.toDate(), { locale: this.$L, utc: !0 });
4165
+ return c ? N.add(this.utcOffset(), r) : N;
4209
4166
  }, u.local = function() {
4210
4167
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4211
4168
  };
@@ -4222,33 +4179,33 @@ var Lr = { exports: {} };
4222
4179
  f.call(this);
4223
4180
  };
4224
4181
  var p = u.utcOffset;
4225
- u.utcOffset = function(c, L) {
4226
- var k = this.$utils().u;
4227
- if (k(c))
4228
- return this.$u ? 0 : k(this.$offset) ? p.call(this) : this.$offset;
4229
- if (typeof c == "string" && (c = function(I) {
4230
- I === void 0 && (I = "");
4231
- var O = I.match(i);
4232
- if (!O)
4182
+ u.utcOffset = function(c, N) {
4183
+ var R = this.$utils().u;
4184
+ if (R(c))
4185
+ return this.$u ? 0 : R(this.$offset) ? p.call(this) : this.$offset;
4186
+ if (typeof c == "string" && (c = function(D) {
4187
+ D === void 0 && (D = "");
4188
+ var P = D.match(i);
4189
+ if (!P)
4233
4190
  return null;
4234
- var X = ("" + O[0]).match(n) || ["-", 0, 0], te = X[0], Q = 60 * +X[1] + +X[2];
4235
- return Q === 0 ? 0 : te === "+" ? Q : -Q;
4191
+ var X = ("" + P[0]).match(n) || ["-", 0, 0], ee = X[0], Q = 60 * +X[1] + +X[2];
4192
+ return Q === 0 ? 0 : ee === "+" ? Q : -Q;
4236
4193
  }(c), c === null))
4237
4194
  return this;
4238
- var H = Math.abs(c) <= 16 ? 60 * c : c, T = this;
4239
- if (L)
4240
- return T.$offset = H, T.$u = c === 0, T;
4195
+ var O = Math.abs(c) <= 16 ? 60 * c : c, T = this;
4196
+ if (N)
4197
+ return T.$offset = O, T.$u = c === 0, T;
4241
4198
  if (c !== 0) {
4242
- var P = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4243
- (T = this.local().add(H + P, r)).$offset = H, T.$x.$localOffset = P;
4199
+ var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4200
+ (T = this.local().add(O + H, r)).$offset = O, T.$x.$localOffset = H;
4244
4201
  } else
4245
4202
  T = this.utc();
4246
4203
  return T;
4247
4204
  };
4248
4205
  var v = u.format;
4249
4206
  u.format = function(c) {
4250
- var L = c || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4251
- return v.call(this, L);
4207
+ var N = c || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4208
+ return v.call(this, N);
4252
4209
  }, u.valueOf = function() {
4253
4210
  var c = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4254
4211
  return this.$d.valueOf() - 6e4 * c;
@@ -4264,46 +4221,46 @@ var Lr = { exports: {} };
4264
4221
  return c === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
4265
4222
  };
4266
4223
  var S = u.diff;
4267
- u.diff = function(c, L, k) {
4224
+ u.diff = function(c, N, R) {
4268
4225
  if (c && this.$u === c.$u)
4269
- return S.call(this, c, L, k);
4270
- var H = this.local(), T = a(c).local();
4271
- return S.call(H, T, L, k);
4226
+ return S.call(this, c, N, R);
4227
+ var O = this.local(), T = a(c).local();
4228
+ return S.call(O, T, N, R);
4272
4229
  };
4273
4230
  };
4274
4231
  });
4275
- })(Lr);
4276
- var uo = Lr.exports;
4277
- const lo = /* @__PURE__ */ yt(uo);
4278
- function ho(e) {
4279
- Wr(e, "svelte-16iaxkf", "*,*::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}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--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%;background-color:var(--emw--color-white, #ffffff);border-radius:10px}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.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(--emw--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:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}p{color:var(--emw--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}.text a{color:var(--emw--color-primary, #3854FF);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--emw--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(--emw--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;fill:var(--emw--color-primary, #3854FF)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #3854FF);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4232
+ })(Br);
4233
+ var io = Br.exports;
4234
+ const no = /* @__PURE__ */ pt(io);
4235
+ function oo(e) {
4236
+ Vr(e, "svelte-16iaxkf", "*,*::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}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--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%;background-color:var(--emw--color-white, #ffffff);border-radius:10px}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.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(--emw--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:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}p{color:var(--emw--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}.text a{color:var(--emw--color-primary, #3854FF);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--emw--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(--emw--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;fill:var(--emw--color-primary, #3854FF)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #3854FF);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4280
4237
  }
4281
- function qt(e, t, r) {
4238
+ function jt(e, t, r) {
4282
4239
  const i = e.slice();
4283
4240
  return i[53] = t[r], i;
4284
4241
  }
4285
- function fo(e) {
4242
+ function so(e) {
4286
4243
  let t, r = (
4287
4244
  /*displayMessages*/
4288
- e[3].length > 0 && Yt(e)
4245
+ e[3].length > 0 && $t(e)
4289
4246
  );
4290
4247
  return {
4291
4248
  c() {
4292
- t = J("div"), r && r.c(), D(t, "class", "CashierVerificationsWrapper");
4249
+ t = J("div"), r && r.c(), L(t, "class", "CashierVerificationsWrapper");
4293
4250
  },
4294
4251
  m(i, n) {
4295
4252
  ce(i, t, n), r && r.m(t, null);
4296
4253
  },
4297
4254
  p(i, n) {
4298
4255
  /*displayMessages*/
4299
- i[3].length > 0 ? r ? r.p(i, n) : (r = Yt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4256
+ i[3].length > 0 ? r ? r.p(i, n) : (r = $t(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4300
4257
  },
4301
4258
  d(i) {
4302
4259
  i && fe(t), r && r.d();
4303
4260
  }
4304
4261
  };
4305
4262
  }
4306
- function co(e) {
4263
+ function ao(e) {
4307
4264
  let t;
4308
4265
  return {
4309
4266
  c() {
@@ -4342,94 +4299,94 @@ function co(e) {
4342
4299
  }
4343
4300
  };
4344
4301
  }
4345
- function Yt(e) {
4302
+ function $t(e) {
4346
4303
  let t, r, i, n, o, s, a, u = (
4347
4304
  /*$_*/
4348
4305
  e[8]("verificationsRequired") + ""
4349
- ), h, f, p, v, y, S, c, L, k = wt(
4306
+ ), h, f, p, v, y, S, c, N, R = bt(
4350
4307
  /*displayMessages*/
4351
4308
  e[3]
4352
- ), H = [];
4353
- for (let P = 0; P < k.length; P += 1)
4354
- H[P] = Zt(qt(e, k, P));
4309
+ ), O = [];
4310
+ for (let H = 0; H < R.length; H += 1)
4311
+ O[H] = zt(jt(e, R, H));
4355
4312
  let T = (
4356
4313
  /*videoExists*/
4357
- e[6] && Jt(e)
4314
+ e[6] && Wt(e)
4358
4315
  );
4359
4316
  return {
4360
4317
  c() {
4361
- t = J("div"), r = Re("svg"), i = Re("path"), n = Re("path"), o = Re("path"), s = Ee(), a = J("p"), h = tr(u), f = Ee(), p = J("span"), p.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', v = Ee(), y = J("div");
4362
- for (let P = 0; P < H.length; P += 1)
4363
- H[P].c();
4364
- S = Ee(), T && T.c(), D(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), D(i, "stroke", "#6E738F"), D(i, "stroke-width", "2"), D(i, "stroke-linecap", "round"), D(i, "stroke-linejoin", "round"), D(n, "d", "M12 8V12"), D(n, "stroke", "#6E738F"), D(n, "stroke-width", "2"), D(n, "stroke-linecap", "round"), D(n, "stroke-linejoin", "round"), D(o, "d", "M12 16H12.01"), D(o, "stroke", "#6E738F"), D(o, "stroke-width", "2"), D(o, "stroke-linecap", "round"), D(o, "stroke-linejoin", "round"), D(r, "width", "24"), D(r, "height", "24"), D(r, "viewBox", "0 0 24 24"), D(r, "fill", "none"), D(r, "xmlns", "http://www.w3.org/2000/svg"), D(p, "class", "CashierVerificationChevron"), le(
4318
+ t = J("div"), r = Re("svg"), i = Re("path"), n = Re("path"), o = Re("path"), s = Ee(), a = J("p"), h = Zt(u), f = Ee(), p = J("span"), p.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', v = Ee(), y = J("div");
4319
+ for (let H = 0; H < O.length; H += 1)
4320
+ O[H].c();
4321
+ S = Ee(), T && T.c(), L(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), L(i, "stroke", "#6E738F"), L(i, "stroke-width", "2"), L(i, "stroke-linecap", "round"), L(i, "stroke-linejoin", "round"), L(n, "d", "M12 8V12"), L(n, "stroke", "#6E738F"), L(n, "stroke-width", "2"), L(n, "stroke-linecap", "round"), L(n, "stroke-linejoin", "round"), L(o, "d", "M12 16H12.01"), L(o, "stroke", "#6E738F"), L(o, "stroke-width", "2"), L(o, "stroke-linecap", "round"), L(o, "stroke-linejoin", "round"), L(r, "width", "24"), L(r, "height", "24"), L(r, "viewBox", "0 0 24 24"), L(r, "fill", "none"), L(r, "xmlns", "http://www.w3.org/2000/svg"), L(p, "class", "CashierVerificationChevron"), le(
4365
4322
  p,
4366
4323
  "ShowVerifications",
4367
4324
  /*allVerificationsVisible*/
4368
4325
  e[4]
4369
- ), D(t, "class", "VerificationsHeader"), D(y, "class", "VerificationsList"), le(
4326
+ ), L(t, "class", "VerificationsHeader"), L(y, "class", "VerificationsList"), le(
4370
4327
  y,
4371
4328
  "ShowVerifications",
4372
4329
  /*allVerificationsVisible*/
4373
4330
  e[4]
4374
4331
  );
4375
4332
  },
4376
- m(P, I) {
4377
- ce(P, t, I), W(t, r), W(r, i), W(r, n), W(r, o), W(t, s), W(t, a), W(a, h), W(t, f), W(t, p), ce(P, v, I), ce(P, y, I);
4378
- for (let O = 0; O < H.length; O += 1)
4379
- H[O] && H[O].m(y, null);
4380
- W(y, S), T && T.m(y, null), c || (L = er(
4333
+ m(H, D) {
4334
+ ce(H, t, D), W(t, r), W(r, i), W(r, n), W(r, o), W(t, s), W(t, a), W(a, h), W(t, f), W(t, p), ce(H, v, D), ce(H, y, D);
4335
+ for (let P = 0; P < O.length; P += 1)
4336
+ O[P] && O[P].m(y, null);
4337
+ W(y, S), T && T.m(y, null), c || (N = Yt(
4381
4338
  t,
4382
4339
  "click",
4383
4340
  /*toggleVerifications*/
4384
4341
  e[9]
4385
4342
  ), c = !0);
4386
4343
  },
4387
- p(P, I) {
4388
- if (I[0] & /*$_*/
4344
+ p(H, D) {
4345
+ if (D[0] & /*$_*/
4389
4346
  256 && u !== (u = /*$_*/
4390
- P[8]("verificationsRequired") + "") && Kt(h, u), I[0] & /*allVerificationsVisible*/
4347
+ H[8]("verificationsRequired") + "") && qt(h, u), D[0] & /*allVerificationsVisible*/
4391
4348
  16 && le(
4392
4349
  p,
4393
4350
  "ShowVerifications",
4394
4351
  /*allVerificationsVisible*/
4395
- P[4]
4396
- ), I[0] & /*displayMessages*/
4352
+ H[4]
4353
+ ), D[0] & /*displayMessages*/
4397
4354
  8) {
4398
- k = wt(
4355
+ R = bt(
4399
4356
  /*displayMessages*/
4400
- P[3]
4357
+ H[3]
4401
4358
  );
4402
- let O;
4403
- for (O = 0; O < k.length; O += 1) {
4404
- const X = qt(P, k, O);
4405
- H[O] ? H[O].p(X, I) : (H[O] = Zt(X), H[O].c(), H[O].m(y, S));
4359
+ let P;
4360
+ for (P = 0; P < R.length; P += 1) {
4361
+ const X = jt(H, R, P);
4362
+ O[P] ? O[P].p(X, D) : (O[P] = zt(X), O[P].c(), O[P].m(y, S));
4406
4363
  }
4407
- for (; O < H.length; O += 1)
4408
- H[O].d(1);
4409
- H.length = k.length;
4364
+ for (; P < O.length; P += 1)
4365
+ O[P].d(1);
4366
+ O.length = R.length;
4410
4367
  }
4411
4368
  /*videoExists*/
4412
- P[6] ? T ? T.p(P, I) : (T = Jt(P), T.c(), T.m(y, null)) : T && (T.d(1), T = null), I[0] & /*allVerificationsVisible*/
4369
+ H[6] ? T ? T.p(H, D) : (T = Wt(H), T.c(), T.m(y, null)) : T && (T.d(1), T = null), D[0] & /*allVerificationsVisible*/
4413
4370
  16 && le(
4414
4371
  y,
4415
4372
  "ShowVerifications",
4416
4373
  /*allVerificationsVisible*/
4417
- P[4]
4374
+ H[4]
4418
4375
  );
4419
4376
  },
4420
- d(P) {
4421
- P && (fe(t), fe(v), fe(y)), Yr(H, P), T && T.d(), c = !1, L();
4377
+ d(H) {
4378
+ H && (fe(t), fe(v), fe(y)), $r(O, H), T && T.d(), c = !1, N();
4422
4379
  }
4423
4380
  };
4424
4381
  }
4425
- function Zt(e) {
4382
+ function zt(e) {
4426
4383
  let t, r, i, n, o = (
4427
4384
  /*message*/
4428
4385
  e[53] + ""
4429
4386
  );
4430
4387
  return {
4431
4388
  c() {
4432
- t = J("div"), r = J("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = Ee(), n = J("p"), D(r, "class", "IconVerification"), D(n, "class", "text"), D(t, "class", "CashierVerificationMessage Test");
4389
+ t = J("div"), r = J("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = Ee(), n = J("p"), L(r, "class", "IconVerification"), L(n, "class", "text"), L(t, "class", "CashierVerificationMessage Test");
4433
4390
  },
4434
4391
  m(s, a) {
4435
4392
  ce(s, t, a), W(t, r), W(t, i), W(t, n), n.innerHTML = o;
@@ -4444,22 +4401,22 @@ function Zt(e) {
4444
4401
  }
4445
4402
  };
4446
4403
  }
4447
- function Jt(e) {
4404
+ function Wt(e) {
4448
4405
  let t, r, i, n, o = (
4449
4406
  /*$_*/
4450
4407
  e[8]("verification.video.how-to") + ""
4451
4408
  ), s, a, u;
4452
4409
  return {
4453
4410
  c() {
4454
- t = J("div"), r = J("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 = Ee(), n = J("div"), s = tr(o), D(r, "class", "IconVideo"), D(n, "class", "CashierVerificationVideoLink"), le(
4411
+ t = J("div"), r = J("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 = Ee(), n = J("div"), s = Zt(o), L(r, "class", "IconVideo"), L(n, "class", "CashierVerificationVideoLink"), le(
4455
4412
  n,
4456
4413
  "CashierVerificationVideoLinkDesktop",
4457
4414
  /*desktopView*/
4458
4415
  e[5]
4459
- ), D(t, "class", "CashierVerificationVideo Test");
4416
+ ), L(t, "class", "CashierVerificationVideo Test");
4460
4417
  },
4461
4418
  m(h, f) {
4462
- ce(h, t, f), W(t, r), W(t, i), W(t, n), W(n, s), a || (u = er(
4419
+ ce(h, t, f), W(t, r), W(t, i), W(t, n), W(n, s), a || (u = Yt(
4463
4420
  t,
4464
4421
  "click",
4465
4422
  /*showVideo*/
@@ -4469,7 +4426,7 @@ function Jt(e) {
4469
4426
  p(h, f) {
4470
4427
  f[0] & /*$_*/
4471
4428
  256 && o !== (o = /*$_*/
4472
- h[8]("verification.video.how-to") + "") && Kt(s, o), f[0] & /*desktopView*/
4429
+ h[8]("verification.video.how-to") + "") && qt(s, o), f[0] & /*desktopView*/
4473
4430
  32 && le(
4474
4431
  n,
4475
4432
  "CashierVerificationVideoLinkDesktop",
@@ -4482,24 +4439,24 @@ function Jt(e) {
4482
4439
  }
4483
4440
  };
4484
4441
  }
4485
- function po(e) {
4442
+ function uo(e) {
4486
4443
  let t;
4487
4444
  function r(o, s) {
4488
4445
  if (
4489
4446
  /*isLoading*/
4490
4447
  o[7]
4491
4448
  )
4492
- return co;
4449
+ return ao;
4493
4450
  if (
4494
4451
  /*displayMessages*/
4495
4452
  o[3]
4496
4453
  )
4497
- return fo;
4454
+ return so;
4498
4455
  }
4499
4456
  let i = r(e), n = i && i(e);
4500
4457
  return {
4501
4458
  c() {
4502
- t = J("div"), n && n.c(), D(t, "class", "CashierVerifications"), le(
4459
+ t = J("div"), n && n.c(), L(t, "class", "CashierVerifications"), le(
4503
4460
  t,
4504
4461
  "CashierVerificationsDesktop",
4505
4462
  /*desktopView*/
@@ -4525,15 +4482,15 @@ function po(e) {
4525
4482
  }
4526
4483
  };
4527
4484
  }
4528
- const mo = "verification_explanation_video_widgets.MP4";
4529
- function vo(e, t, r) {
4485
+ const lo = "verification_explanation_video_widgets.MP4";
4486
+ function ho(e, t, r) {
4530
4487
  let i, n;
4531
- _t(e, jn, (l) => r(8, i = l)), _t(e, zn, (l) => r(27, n = l)), Xt.extend(lo);
4532
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { mbsource: y = "" } = t, S, c = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set(), k, H, T, P = !1, I = !0, O = !1, X = "", te = !1, Q = window.navigator.userAgent;
4533
- var R;
4488
+ gt(e, Rn, (l) => r(8, i = l)), gt(e, Fn, (l) => r(27, n = l)), Gt.extend(no);
4489
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { mbsource: y = "" } = t, S, c = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set(), R, O, T, H = !1, D = !0, P = !1, X = "", ee = !1, Q = window.navigator.userAgent;
4490
+ var U;
4534
4491
  (function(l) {
4535
4492
  l.Manual = "Manual", l.ShuftiPro = "ShuftiPro";
4536
- })(R || (R = {}));
4493
+ })(U || (U = {}));
4537
4494
  var M;
4538
4495
  (function(l) {
4539
4496
  l.Requested = "Requested";
@@ -4549,7 +4506,7 @@ function vo(e, t, r) {
4549
4506
  const E = (l) => {
4550
4507
  l.data && l.data.type;
4551
4508
  };
4552
- Xr(() => (window.addEventListener("message", E), Nr(), () => {
4509
+ Gr(() => (window.addEventListener("message", E), Mr(), () => {
4553
4510
  window.removeEventListener("message", E);
4554
4511
  }));
4555
4512
  const g = [
@@ -4561,42 +4518,42 @@ function vo(e, t, r) {
4561
4518
  if (l)
4562
4519
  return fetch(l).then((x) => x.json()).then((x) => {
4563
4520
  Object.keys(x).forEach((C) => {
4564
- Rt(C, x[C]);
4521
+ It(C, x[C]);
4565
4522
  });
4566
4523
  }).catch((x) => {
4567
4524
  console.log(x);
4568
4525
  });
4569
4526
  };
4570
- Object.keys(Ut).forEach((l) => {
4571
- Rt(l, Ut[l]);
4527
+ Object.keys(Dt).forEach((l) => {
4528
+ It(l, Dt[l]);
4572
4529
  });
4573
4530
  const b = () => {
4574
- $n(s);
4531
+ Un(s);
4575
4532
  }, m = () => {
4576
- r(18, H = N());
4533
+ r(18, O = k());
4577
4534
  const l = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), x = new Headers();
4578
- x.append("accept", "application/json"), x.append("Content-Type", "application/json"), x.append("x-sessionid", `${v}`), x.append("X-Client-Request-Timestamp", Xt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4535
+ x.append("accept", "application/json"), x.append("Content-Type", "application/json"), x.append("x-sessionid", `${v}`), x.append("X-Client-Request-Timestamp", Gt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4579
4536
  const C = {
4580
4537
  method: "POST",
4581
4538
  headers: x,
4582
4539
  body: JSON.stringify({})
4583
4540
  };
4584
- r(7, te = !0), fetch(l, C).then((z) => z.json()).then((z) => {
4541
+ r(7, ee = !0), fetch(l, C).then((z) => z.json()).then((z) => {
4585
4542
  const ue = _(z == null ? void 0 : z.Verifications);
4586
- k = F(ue), k.VerificationStatuses.forEach((Ne) => {
4543
+ R = V(ue), R.VerificationStatuses.forEach((Ne) => {
4587
4544
  Ne.VerificationUrlType !== "Widget" && c.add(Ne.Vendor);
4588
4545
  }), r(3, T = pe());
4589
- }).finally(() => r(7, te = !1));
4546
+ }).finally(() => r(7, ee = !1));
4590
4547
  }, _ = (l) => l ? l.sort((x, C) => new Date(C.Created).getTime() - new Date(x.Created).getTime()) : [], w = () => {
4591
4548
  n && m();
4592
- }, N = () => {
4549
+ }, k = () => {
4593
4550
  let l = (f || n).split(".")[1];
4594
4551
  if (l) {
4595
4552
  let x = JSON.parse(atob(l));
4596
4553
  return x.cdn + "/cashier/operator-assets/" + (x == null ? void 0 : x.mid);
4597
4554
  }
4598
4555
  return "";
4599
- }, F = (l) => {
4556
+ }, V = (l) => {
4600
4557
  var C;
4601
4558
  if (!l || !l.length)
4602
4559
  return {
@@ -4628,24 +4585,24 @@ function vo(e, t, r) {
4628
4585
  VerificationUrlType: (z = C.FlowInfo) == null ? void 0 : z.Type,
4629
4586
  VerificationUrl: (ue = C.FlowInfo) == null ? void 0 : ue.Url
4630
4587
  };
4631
- }), Z = (l) => l.filter((x) => g.includes(x.Status) ? x.FlowInfo && x.FlowInfo.Url || ae(x) || re(x) : !1), ae = (l) => {
4632
- const x = l.Documents && l.VendorName === R.Manual, C = l.Documents && l.Documents.some((z) => z.Status === M.Requested);
4588
+ }), Z = (l) => l.filter((x) => g.includes(x.Status) ? x.FlowInfo && x.FlowInfo.Url || ae(x) || te(x) : !1), ae = (l) => {
4589
+ const x = l.Documents && l.VendorName === U.Manual, C = l.Documents && l.Documents.some((z) => z.Status === M.Requested);
4633
4590
  return x && C;
4634
- }, re = (l) => l.VendorName === R.ShuftiPro && l.Status === j.Referred, pe = () => {
4635
- switch (k.VerificationSummaryStatus) {
4591
+ }, te = (l) => l.VendorName === U.ShuftiPro && l.Status === j.Referred, pe = () => {
4592
+ switch (R.VerificationSummaryStatus) {
4636
4593
  case j.InProgress:
4637
4594
  const l = [];
4638
4595
  return c.forEach((x) => {
4639
- l.push(ie(x));
4596
+ l.push(re(x));
4640
4597
  }), l;
4641
4598
  case j.Referred:
4642
4599
  return [i("verification.idenfy.referred-awaiting")];
4643
4600
  case j.Failed:
4644
4601
  return [i("verification.message.failed")];
4645
4602
  }
4646
- }, ie = (l) => {
4647
- const x = k.VerificationStatuses.filter((C) => C.Vendor === l);
4648
- if (l === R.ShuftiPro)
4603
+ }, re = (l) => {
4604
+ const x = R.VerificationStatuses.filter((C) => C.Vendor === l);
4605
+ if (l === U.ShuftiPro)
4649
4606
  return q(x);
4650
4607
  {
4651
4608
  const C = i("verification.idenfy.link-name"), z = {
@@ -4662,22 +4619,22 @@ function vo(e, t, r) {
4662
4619
  l.forEach((ve) => {
4663
4620
  z.includes(ve.Type) && (x.push(ve.Type), C[ve.Type] = K(ve, me(ve.Type)));
4664
4621
  });
4665
- let ue = x.every((ve) => L.has(ve)), Ne = `verification.shuftipro.in-progress.${x.sort().join(".")}`;
4622
+ let ue = x.every((ve) => N.has(ve)), Ne = `verification.shuftipro.in-progress.${x.sort().join(".")}`;
4666
4623
  return ue ? i("verification.shuftipro.validations-started") : i(Ne, { values: C });
4667
4624
  }, K = (l, x) => `<a class="verificationLink ${l.Type}" href=" ${l.VerificationUrl} " target="_blank">${x}</a>`, me = (l) => i(`verification.shuftipro.link-name.${l}`), ye = () => {
4668
- r(4, P = !P);
4669
- }, Nr = () => {
4670
- r(5, I = !so(Q));
4671
- }, kr = () => {
4672
- X = H + "/" + s + "/" + mo;
4625
+ r(4, H = !H);
4626
+ }, Mr = () => {
4627
+ r(5, D = !to(Q));
4628
+ }, Cr = () => {
4629
+ X = O + "/" + s + "/" + lo;
4673
4630
  try {
4674
4631
  fetch(X, { method: "HEAD" }).then((l) => {
4675
- r(6, O = l.ok);
4632
+ r(6, P = l.ok);
4676
4633
  });
4677
4634
  } catch (l) {
4678
- r(6, O = !1);
4635
+ r(6, P = !1);
4679
4636
  }
4680
- }, Rr = () => {
4637
+ }, Ir = () => {
4681
4638
  window.dispatchEvent(new CustomEvent(
4682
4639
  "modal-update",
4683
4640
  {
@@ -4685,8 +4642,8 @@ function vo(e, t, r) {
4685
4642
  }
4686
4643
  ));
4687
4644
  };
4688
- function Ur(l) {
4689
- qr[l ? "unshift" : "push"](() => {
4645
+ function Dr(l) {
4646
+ jr[l ? "unshift" : "push"](() => {
4690
4647
  S = l, r(2, S);
4691
4648
  });
4692
4649
  }
@@ -4698,22 +4655,22 @@ function vo(e, t, r) {
4698
4655
  83968 && o && f && v && m(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4699
4656
  83968 && o && !f && v && w(), e.$$.dirty[0] & /*translationurl*/
4700
4657
  8192 && a && d(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4701
- 5 && u && S && Zr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4702
- 6 && h && S && Jr(), e.$$.dirty[0] & /*staticCdnUrl*/
4703
- 262144 && H && kr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4704
- 131076 && y && S && Qr(S, `${y}.Style`);
4658
+ 5 && u && S && zr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4659
+ 6 && h && S && Wr(), e.$$.dirty[0] & /*staticCdnUrl*/
4660
+ 262144 && O && Cr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4661
+ 131076 && y && S && Xr(S, `${y}.Style`);
4705
4662
  }, [
4706
4663
  u,
4707
4664
  h,
4708
4665
  S,
4709
4666
  T,
4667
+ H,
4668
+ D,
4710
4669
  P,
4711
- I,
4712
- O,
4713
- te,
4670
+ ee,
4714
4671
  i,
4715
4672
  ye,
4716
- Rr,
4673
+ Ir,
4717
4674
  o,
4718
4675
  s,
4719
4676
  a,
@@ -4721,18 +4678,18 @@ function vo(e, t, r) {
4721
4678
  p,
4722
4679
  v,
4723
4680
  y,
4724
- H,
4725
- Ur
4681
+ O,
4682
+ Dr
4726
4683
  ];
4727
4684
  }
4728
- class go extends jr {
4685
+ class fo extends Rr {
4729
4686
  constructor(t) {
4730
- super(), $r(
4687
+ super(), Ur(
4731
4688
  this,
4732
4689
  t,
4733
- vo,
4734
- po,
4735
- Qt,
4690
+ ho,
4691
+ uo,
4692
+ Xt,
4736
4693
  {
4737
4694
  endpoint: 11,
4738
4695
  lang: 12,
@@ -4744,7 +4701,7 @@ class go extends jr {
4744
4701
  playersession: 16,
4745
4702
  mbsource: 17
4746
4703
  },
4747
- ho,
4704
+ oo,
4748
4705
  [-1, -1]
4749
4706
  );
4750
4707
  }
@@ -4752,58 +4709,58 @@ class go extends jr {
4752
4709
  return this.$$.ctx[11];
4753
4710
  }
4754
4711
  set endpoint(t) {
4755
- this.$$set({ endpoint: t }), ne();
4712
+ this.$$set({ endpoint: t }), ie();
4756
4713
  }
4757
4714
  get lang() {
4758
4715
  return this.$$.ctx[12];
4759
4716
  }
4760
4717
  set lang(t) {
4761
- this.$$set({ lang: t }), ne();
4718
+ this.$$set({ lang: t }), ie();
4762
4719
  }
4763
4720
  get translationurl() {
4764
4721
  return this.$$.ctx[13];
4765
4722
  }
4766
4723
  set translationurl(t) {
4767
- this.$$set({ translationurl: t }), ne();
4724
+ this.$$set({ translationurl: t }), ie();
4768
4725
  }
4769
4726
  get clientstyling() {
4770
4727
  return this.$$.ctx[0];
4771
4728
  }
4772
4729
  set clientstyling(t) {
4773
- this.$$set({ clientstyling: t }), ne();
4730
+ this.$$set({ clientstyling: t }), ie();
4774
4731
  }
4775
4732
  get clientstylingurl() {
4776
4733
  return this.$$.ctx[1];
4777
4734
  }
4778
4735
  set clientstylingurl(t) {
4779
- this.$$set({ clientstylingurl: t }), ne();
4736
+ this.$$set({ clientstylingurl: t }), ie();
4780
4737
  }
4781
4738
  get session() {
4782
4739
  return this.$$.ctx[14];
4783
4740
  }
4784
4741
  set session(t) {
4785
- this.$$set({ session: t }), ne();
4742
+ this.$$set({ session: t }), ie();
4786
4743
  }
4787
4744
  get customerid() {
4788
4745
  return this.$$.ctx[15];
4789
4746
  }
4790
4747
  set customerid(t) {
4791
- this.$$set({ customerid: t }), ne();
4748
+ this.$$set({ customerid: t }), ie();
4792
4749
  }
4793
4750
  get playersession() {
4794
4751
  return this.$$.ctx[16];
4795
4752
  }
4796
4753
  set playersession(t) {
4797
- this.$$set({ playersession: t }), ne();
4754
+ this.$$set({ playersession: t }), ie();
4798
4755
  }
4799
4756
  get mbsource() {
4800
4757
  return this.$$.ctx[17];
4801
4758
  }
4802
4759
  set mbsource(t) {
4803
- this.$$set({ mbsource: t }), ne();
4760
+ this.$$set({ mbsource: t }), ie();
4804
4761
  }
4805
4762
  }
4806
- zr(go, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4763
+ Fr(fo, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4807
4764
  export {
4808
- go as default
4765
+ fo as default
4809
4766
  };