@everymatrix/cashier-verifications 1.77.20 → 1.77.21

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