@everymatrix/cashier-verifications 1.77.26 → 1.77.27

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