@everymatrix/cashier-verifications 1.76.4 → 1.76.5

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,170 +1,170 @@
1
- import { n as ve, s as er, a as Vr, r as Gr, i as jr, c as $r, S as zr, b as Wr, f as oe, d as Xr, e as se, t as xe, g as ae, h as z, j, k as wt, o as qr, l as Yr, m as Y, p as St, q as Zr, u as Tt, v as Z, w as _e, x as yt, y as Jr, z as Qr, A as Kr, B as ei, C as ti } from "./CashierModal-C6RR3TRt.js";
2
- const ye = [];
3
- function ri(e, t) {
1
+ import { n as ve, s as Qt, a as Ur, r as Fr, i as Vr, c as Gr, S as jr, b as $r, f as re, d as zr, e as fe, t as ye, g as ce, h as Q, j as ne, k as Et, o as Wr, l as Xr, m as Ne, p as wt, q as qr, u as He, v as Yr, w as ie, x as bt, y as Zr, z as Jr, A as Qr, B as Kr, C as ei } from "./CashierModal-CHmM89CT.js";
2
+ const be = [];
3
+ function ti(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 (er(e, a) && (e = a, r)) {
13
- const l = !ye.length;
14
- for (const f of i)
15
- f[1](), ye.push(f, e);
16
- if (l) {
17
- for (let f = 0; f < ye.length; f += 2)
18
- ye[f][0](ye[f + 1]);
19
- ye.length = 0;
12
+ if (Qt(e, a) && (e = a, r)) {
13
+ const u = !be.length;
14
+ for (const l of i)
15
+ l[1](), be.push(l, e);
16
+ if (u) {
17
+ for (let l = 0; l < be.length; l += 2)
18
+ be[l][0](be[l + 1]);
19
+ be.length = 0;
20
20
  }
21
21
  }
22
22
  }
23
23
  function o(a) {
24
24
  n(a(e));
25
25
  }
26
- function s(a, l = ve) {
27
- const f = [a, l];
28
- return i.add(f), i.size === 1 && (r = t(n, o) || ve), a(e), () => {
29
- i.delete(f), i.size === 0 && r && (r(), r = null);
26
+ function s(a, u = ve) {
27
+ const l = [a, u];
28
+ return i.add(l), i.size === 1 && (r = t(n, o) || ve), a(e), () => {
29
+ i.delete(l), i.size === 0 && r && (r(), r = null);
30
30
  };
31
31
  }
32
32
  return { set: n, update: o, subscribe: s };
33
33
  }
34
- function Pe(e, t, r) {
34
+ function Se(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 ri(r, (s, a) => {
40
- let l = !1;
41
- const f = [];
42
- let h = 0, m = ve;
43
- const d = () => {
44
- if (h)
39
+ return ti(r, (s, a) => {
40
+ let u = !1;
41
+ const l = [];
42
+ let f = 0, g = ve;
43
+ const p = () => {
44
+ if (f)
45
45
  return;
46
- m();
47
- const x = t(i ? f[0] : f, s, a);
48
- o ? s(x) : m = jr(x) ? x : ve;
49
- }, y = n.map(
50
- (x, c) => Vr(
51
- x,
52
- (b) => {
53
- f[c] = b, h &= ~(1 << c), l && d();
46
+ g();
47
+ const S = t(i ? l[0] : l, s, a);
48
+ o ? s(S) : g = Vr(S) ? S : ve;
49
+ }, x = n.map(
50
+ (S, d) => Ur(
51
+ S,
52
+ (M) => {
53
+ l[d] = M, f &= ~(1 << d), u && p();
54
54
  },
55
55
  () => {
56
- h |= 1 << c;
56
+ f |= 1 << d;
57
57
  }
58
58
  )
59
59
  );
60
- return l = !0, d(), function() {
61
- Gr(y), m(), l = !1;
60
+ return u = !0, p(), function() {
61
+ Fr(x), g(), u = !1;
62
62
  };
63
63
  });
64
64
  }
65
- var tr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
66
- function _t(e) {
65
+ var Kt = 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 ii = function(t) {
70
- return ni(t) && !oi(t);
69
+ var ri = function(t) {
70
+ return ii(t) && !ni(t);
71
71
  };
72
- function ni(e) {
72
+ function ii(e) {
73
73
  return !!e && typeof e == "object";
74
74
  }
75
- function oi(e) {
75
+ function ni(e) {
76
76
  var t = Object.prototype.toString.call(e);
77
- return t === "[object RegExp]" || t === "[object Date]" || ui(e);
77
+ return t === "[object RegExp]" || t === "[object Date]" || ai(e);
78
78
  }
79
- var si = typeof Symbol == "function" && Symbol.for, ai = si ? Symbol.for("react.element") : 60103;
80
- function ui(e) {
81
- return e.$$typeof === ai;
79
+ var oi = typeof Symbol == "function" && Symbol.for, si = oi ? Symbol.for("react.element") : 60103;
80
+ function ai(e) {
81
+ return e.$$typeof === si;
82
82
  }
83
- function li(e) {
83
+ function ui(e) {
84
84
  return Array.isArray(e) ? [] : {};
85
85
  }
86
- function Be(e, t) {
87
- return t.clone !== !1 && t.isMergeableObject(e) ? Ee(li(e), e, t) : e;
86
+ function Ae(e, t) {
87
+ return t.clone !== !1 && t.isMergeableObject(e) ? xe(ui(e), e, t) : e;
88
88
  }
89
- function hi(e, t, r) {
89
+ function li(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 fi(e, t) {
94
+ function hi(e, t) {
95
95
  if (!t.customMerge)
96
- return Ee;
96
+ return xe;
97
97
  var r = t.customMerge(e);
98
- return typeof r == "function" ? r : Ee;
98
+ return typeof r == "function" ? r : xe;
99
99
  }
100
- function ci(e) {
100
+ function fi(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 Pt(e) {
106
- return Object.keys(e).concat(ci(e));
105
+ function St(e) {
106
+ return Object.keys(e).concat(fi(e));
107
107
  }
108
- function rr(e, t) {
108
+ function er(e, t) {
109
109
  try {
110
110
  return t in e;
111
111
  } catch {
112
112
  return !1;
113
113
  }
114
114
  }
115
- function di(e, t) {
116
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
115
+ function ci(e, t) {
116
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
117
117
  }
118
- function pi(e, t, r) {
118
+ function di(e, t, r) {
119
119
  var i = {};
120
- return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
121
- i[n] = Be(e[n], r);
122
- }), Pt(t).forEach(function(n) {
123
- di(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = fi(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
+ ci(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = hi(n, r)(e[n], t[n], r) : i[n] = Ae(t[n], r));
124
124
  }), i;
125
125
  }
126
- function Ee(e, t, r) {
127
- r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Be;
126
+ function xe(e, t, r) {
127
+ r = r || {}, r.arrayMerge = r.arrayMerge || li, r.isMergeableObject = r.isMergeableObject || ri, 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) : pi(e, t, r) : Be(t, r);
129
+ return o ? i ? r.arrayMerge(e, t, r) : di(e, t, r) : Ae(t, r);
130
130
  }
131
- Ee.all = function(t, r) {
131
+ xe.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 Ee(i, n, r);
135
+ return xe(i, n, r);
136
136
  }, {});
137
137
  };
138
- var mi = Ee, vi = mi;
139
- const gi = /* @__PURE__ */ _t(vi);
140
- var ot = function(e, t) {
141
- return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
138
+ var pi = xe, mi = pi;
139
+ const vi = /* @__PURE__ */ yt(mi);
140
+ var nt = function(e, t) {
141
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
142
142
  r.__proto__ = i;
143
143
  } || function(r, i) {
144
144
  for (var n in i)
145
145
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
146
- }, ot(e, t);
146
+ }, nt(e, t);
147
147
  };
148
148
  function We(e, t) {
149
149
  if (typeof t != "function" && t !== null)
150
150
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
151
- ot(e, t);
151
+ nt(e, t);
152
152
  function r() {
153
153
  this.constructor = e;
154
154
  }
155
155
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
156
156
  }
157
- var re = function() {
158
- return re = Object.assign || function(t) {
157
+ var J = function() {
158
+ return J = Object.assign || function(t) {
159
159
  for (var r, i = 1, n = arguments.length; i < n; i++) {
160
160
  r = arguments[i];
161
161
  for (var o in r)
162
162
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
163
163
  }
164
164
  return t;
165
- }, re.apply(this, arguments);
165
+ }, J.apply(this, arguments);
166
166
  };
167
- function bi(e, t) {
167
+ function gi(e, t) {
168
168
  var r = {};
169
169
  for (var i in e)
170
170
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -173,43 +173,43 @@ function bi(e, t) {
173
173
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
174
174
  return r;
175
175
  }
176
- function Qe(e, t, r) {
176
+ function Je(e, t, r) {
177
177
  if (r || arguments.length === 2)
178
178
  for (var i = 0, n = t.length, o; i < n; i++)
179
179
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
180
180
  return e.concat(o || Array.prototype.slice.call(t));
181
181
  }
182
- function Ke(e, t) {
183
- var r = t && t.cache ? t.cache : Ti, i = t && t.serializer ? t.serializer : wi, n = t && t.strategy ? t.strategy : xi;
182
+ function Qe(e, t) {
183
+ var r = t && t.cache ? t.cache : Si, i = t && t.serializer ? t.serializer : Ei, n = t && t.strategy ? t.strategy : xi;
184
184
  return n(e, {
185
185
  cache: r,
186
186
  serializer: i
187
187
  });
188
188
  }
189
- function yi(e) {
189
+ function bi(e) {
190
190
  return e == null || typeof e == "number" || typeof e == "boolean";
191
191
  }
192
- function _i(e, t, r, i) {
193
- var n = yi(i) ? i : r(i), o = t.get(n);
192
+ function yi(e, t, r, i) {
193
+ var n = bi(i) ? i : r(i), o = t.get(n);
194
194
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
195
195
  }
196
- function ir(e, t, r) {
196
+ function tr(e, t, r) {
197
197
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
198
198
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
199
199
  }
200
- function nr(e, t, r, i, n) {
200
+ function rr(e, t, r, i, n) {
201
201
  return r.bind(t, e, i, n);
202
202
  }
203
203
  function xi(e, t) {
204
- var r = e.length === 1 ? _i : ir;
205
- return nr(e, this, r, t.cache.create(), t.serializer);
204
+ var r = e.length === 1 ? yi : tr;
205
+ return rr(e, this, r, t.cache.create(), t.serializer);
206
206
  }
207
- function Ei(e, t) {
208
- return nr(e, this, ir, t.cache.create(), t.serializer);
207
+ function _i(e, t) {
208
+ return rr(e, this, tr, t.cache.create(), t.serializer);
209
209
  }
210
- var wi = function() {
210
+ var Ei = function() {
211
211
  return JSON.stringify(arguments);
212
- }, Si = (
212
+ }, wi = (
213
213
  /** @class */
214
214
  function() {
215
215
  function e() {
@@ -221,12 +221,12 @@ var wi = function() {
221
221
  this.cache[t] = r;
222
222
  }, e;
223
223
  }()
224
- ), Ti = {
224
+ ), Si = {
225
225
  create: function() {
226
- return new Si();
226
+ return new wi();
227
227
  }
228
- }, et = {
229
- variadic: Ei
228
+ }, Ke = {
229
+ variadic: _i
230
230
  }, Ge = function() {
231
231
  return Ge = Object.assign || function(t) {
232
232
  for (var r, i = 1, n = arguments.length; i < n; i++) {
@@ -237,55 +237,55 @@ var wi = function() {
237
237
  return t;
238
238
  }, Ge.apply(this, arguments);
239
239
  };
240
- var H;
240
+ var P;
241
241
  (function(e) {
242
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";
243
- })(H || (H = {}));
244
- var D;
243
+ })(P || (P = {}));
244
+ var I;
245
245
  (function(e) {
246
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";
247
- })(D || (D = {}));
248
- var we;
247
+ })(I || (I = {}));
248
+ var _e;
249
249
  (function(e) {
250
250
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
251
- })(we || (we = {}));
252
- function Ot(e) {
253
- return e.type === D.literal;
251
+ })(_e || (_e = {}));
252
+ function Tt(e) {
253
+ return e.type === I.literal;
254
254
  }
255
- function Pi(e) {
256
- return e.type === D.argument;
255
+ function Ti(e) {
256
+ return e.type === I.argument;
257
+ }
258
+ function ir(e) {
259
+ return e.type === I.number;
260
+ }
261
+ function nr(e) {
262
+ return e.type === I.date;
257
263
  }
258
264
  function or(e) {
259
- return e.type === D.number;
265
+ return e.type === I.time;
260
266
  }
261
267
  function sr(e) {
262
- return e.type === D.date;
268
+ return e.type === I.select;
263
269
  }
264
270
  function ar(e) {
265
- return e.type === D.time;
271
+ return e.type === I.plural;
272
+ }
273
+ function Pi(e) {
274
+ return e.type === I.pound;
266
275
  }
267
276
  function ur(e) {
268
- return e.type === D.select;
277
+ return e.type === I.tag;
269
278
  }
270
279
  function lr(e) {
271
- return e.type === D.plural;
272
- }
273
- function Oi(e) {
274
- return e.type === D.pound;
275
- }
276
- function hr(e) {
277
- return e.type === D.tag;
278
- }
279
- function fr(e) {
280
- return !!(e && typeof e == "object" && e.type === we.number);
280
+ return !!(e && typeof e == "object" && e.type === _e.number);
281
281
  }
282
- function st(e) {
283
- return !!(e && typeof e == "object" && e.type === we.dateTime);
282
+ function ot(e) {
283
+ return !!(e && typeof e == "object" && e.type === _e.dateTime);
284
284
  }
285
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hi = /(?:[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 Ai(e) {
285
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Oi = /(?:[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 Hi(e) {
287
287
  var t = {};
288
- return e.replace(Hi, function(r) {
288
+ return e.replace(Oi, function(r) {
289
289
  var i = r.length;
290
290
  switch (r[0]) {
291
291
  case "G":
@@ -374,46 +374,46 @@ function Ai(e) {
374
374
  return "";
375
375
  }), t;
376
376
  }
377
- var N = function() {
378
- return N = Object.assign || function(t) {
377
+ var L = function() {
378
+ return L = Object.assign || function(t) {
379
379
  for (var r, i = 1, n = arguments.length; i < n; i++) {
380
380
  r = arguments[i];
381
381
  for (var o in r)
382
382
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
383
383
  }
384
384
  return t;
385
- }, N.apply(this, arguments);
385
+ }, L.apply(this, arguments);
386
386
  };
387
- var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
388
- function Mi(e) {
387
+ var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
388
+ function Bi(e) {
389
389
  if (e.length === 0)
390
390
  throw new Error("Number skeleton cannot be empty");
391
- for (var t = e.split(Bi).filter(function(d) {
392
- return d.length > 0;
391
+ for (var t = e.split(Ai).filter(function(p) {
392
+ return p.length > 0;
393
393
  }), r = [], i = 0, n = t; i < n.length; i++) {
394
394
  var o = n[i], s = o.split("/");
395
395
  if (s.length === 0)
396
396
  throw new Error("Invalid number skeleton");
397
- for (var a = s[0], l = s.slice(1), f = 0, h = l; f < h.length; f++) {
398
- var m = h[f];
399
- if (m.length === 0)
397
+ for (var a = s[0], u = s.slice(1), l = 0, f = u; l < f.length; l++) {
398
+ var g = f[l];
399
+ if (g.length === 0)
400
400
  throw new Error("Invalid number skeleton");
401
401
  }
402
- r.push({ stem: a, options: l });
402
+ r.push({ stem: a, options: u });
403
403
  }
404
404
  return r;
405
405
  }
406
- function Ci(e) {
406
+ function Mi(e) {
407
407
  return e.replace(/^(.*?)-/, "");
408
408
  }
409
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, pr = /^(0+)$/;
410
- function At(e) {
409
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
410
+ function Ot(e) {
411
411
  var t = {};
412
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, i, n) {
412
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
413
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)), "";
414
414
  }), t;
415
415
  }
416
- function mr(e) {
416
+ function dr(e) {
417
417
  switch (e) {
418
418
  case "sign-auto":
419
419
  return {
@@ -453,7 +453,7 @@ function mr(e) {
453
453
  };
454
454
  }
455
455
  }
456
- function Di(e) {
456
+ function Ii(e) {
457
457
  var t;
458
458
  if (e[0] === "E" && e[1] === "E" ? (t = {
459
459
  notation: "engineering"
@@ -461,17 +461,17 @@ function Di(e) {
461
461
  notation: "scientific"
462
462
  }, e = e.slice(1)), t) {
463
463
  var r = e.slice(0, 2);
464
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pr.test(e))
464
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
465
465
  throw new Error("Malformed concise eng/scientific notation");
466
466
  t.minimumIntegerDigits = e.length;
467
467
  }
468
468
  return t;
469
469
  }
470
- function Bt(e) {
471
- var t = {}, r = mr(e);
470
+ function Ht(e) {
471
+ var t = {}, r = dr(e);
472
472
  return r || t;
473
473
  }
474
- function Li(e) {
474
+ function Di(e) {
475
475
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
476
476
  var n = i[r];
477
477
  switch (n.stem) {
@@ -495,7 +495,7 @@ function Li(e) {
495
495
  continue;
496
496
  case "measure-unit":
497
497
  case "unit":
498
- t.style = "unit", t.unit = Ci(n.options[0]);
498
+ t.style = "unit", t.unit = Mi(n.options[0]);
499
499
  continue;
500
500
  case "compact-short":
501
501
  case "K":
@@ -506,13 +506,13 @@ function Li(e) {
506
506
  t.notation = "compact", t.compactDisplay = "long";
507
507
  continue;
508
508
  case "scientific":
509
- t = N(N(N({}, t), { notation: "scientific" }), n.options.reduce(function(l, f) {
510
- return N(N({}, l), Bt(f));
509
+ t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(u, l) {
510
+ return L(L({}, u), Ht(l));
511
511
  }, {}));
512
512
  continue;
513
513
  case "engineering":
514
- t = N(N(N({}, t), { notation: "engineering" }), n.options.reduce(function(l, f) {
515
- return N(N({}, l), Bt(f));
514
+ t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(u, l) {
515
+ return L(L({}, u), Ht(l));
516
516
  }, {}));
517
517
  continue;
518
518
  case "notation-simple":
@@ -557,41 +557,41 @@ function Li(e) {
557
557
  case "integer-width":
558
558
  if (n.options.length > 1)
559
559
  throw new RangeError("integer-width stems only accept a single optional option");
560
- n.options[0].replace(Ii, function(l, f, h, m, d, y) {
561
- if (f)
562
- t.minimumIntegerDigits = h.length;
560
+ n.options[0].replace(Ci, function(u, l, f, g, p, x) {
561
+ if (l)
562
+ t.minimumIntegerDigits = f.length;
563
563
  else {
564
- if (m && d)
564
+ if (g && p)
565
565
  throw new Error("We currently do not support maximum integer digits");
566
- if (y)
566
+ if (x)
567
567
  throw new Error("We currently do not support exact integer digits");
568
568
  }
569
569
  return "";
570
570
  });
571
571
  continue;
572
572
  }
573
- if (pr.test(n.stem)) {
573
+ if (cr.test(n.stem)) {
574
574
  t.minimumIntegerDigits = n.stem.length;
575
575
  continue;
576
576
  }
577
- if (Ht.test(n.stem)) {
577
+ if (Pt.test(n.stem)) {
578
578
  if (n.options.length > 1)
579
579
  throw new RangeError("Fraction-precision stems only accept a single optional option");
580
- n.stem.replace(Ht, function(l, f, h, m, d, y) {
581
- return h === "*" ? t.minimumFractionDigits = f.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
580
+ n.stem.replace(Pt, function(u, l, f, g, p, x) {
581
+ return f === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
582
582
  });
583
583
  var o = n.options[0];
584
- o === "w" ? t = N(N({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = N(N({}, t), At(o)));
584
+ o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), Ot(o)));
585
585
  continue;
586
586
  }
587
- if (dr.test(n.stem)) {
588
- t = N(N({}, t), At(n.stem));
587
+ if (fr.test(n.stem)) {
588
+ t = L(L({}, t), Ot(n.stem));
589
589
  continue;
590
590
  }
591
- var s = mr(n.stem);
592
- s && (t = N(N({}, t), s));
593
- var a = Di(n.stem);
594
- a && (t = N(N({}, t), a));
591
+ var s = dr(n.stem);
592
+ s && (t = L(L({}, t), s));
593
+ var a = Ii(n.stem);
594
+ a && (t = L(L({}, t), a));
595
595
  }
596
596
  return t;
597
597
  }
@@ -2010,23 +2010,23 @@ var Re = {
2010
2010
  "h"
2011
2011
  ]
2012
2012
  };
2013
- function Ni(e, t) {
2013
+ function Li(e, t) {
2014
2014
  for (var r = "", i = 0; i < e.length; i++) {
2015
2015
  var n = e.charAt(i);
2016
2016
  if (n === "j") {
2017
2017
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2018
2018
  o++, i++;
2019
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", f = Ri(t);
2020
- for ((f == "H" || f == "k") && (a = 0); a-- > 0; )
2021
- r += l;
2019
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ni(t);
2020
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2021
+ r += u;
2022
2022
  for (; s-- > 0; )
2023
- r = f + r;
2023
+ r = l + r;
2024
2024
  } else
2025
2025
  n === "J" ? r += "H" : r += n;
2026
2026
  }
2027
2027
  return r;
2028
2028
  }
2029
- function Ri(e) {
2029
+ function Ni(e) {
2030
2030
  var t = e.hourCycle;
2031
2031
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2032
2032
  e.hourCycles && // @ts-ignore
@@ -2048,20 +2048,20 @@ function Ri(e) {
2048
2048
  var n = Re[i || ""] || Re[r || ""] || Re["".concat(r, "-001")] || Re["001"];
2049
2049
  return n[0];
2050
2050
  }
2051
- var tt, ki = new RegExp("^".concat(cr.source, "*")), Ui = new RegExp("".concat(cr.source, "*$"));
2052
- function M(e, t) {
2051
+ var et, Ri = new RegExp("^".concat(hr.source, "*")), ki = new RegExp("".concat(hr.source, "*$"));
2052
+ function O(e, t) {
2053
2053
  return { start: e, end: t };
2054
2054
  }
2055
- var Fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vi = !!String.fromCodePoint, Gi = !!Object.fromEntries, ji = !!String.prototype.codePointAt, $i = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Wi = !!Number.isSafeInteger, Xi = Wi ? Number.isSafeInteger : function(e) {
2055
+ var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Vi = !!Object.fromEntries, Gi = !!String.prototype.codePointAt, ji = !!String.prototype.trimStart, $i = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Wi = zi ? Number.isSafeInteger : function(e) {
2056
2056
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2057
- }, at = !0;
2057
+ }, st = !0;
2058
2058
  try {
2059
- var qi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2060
- at = ((tt = qi.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2059
+ var Xi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2060
+ st = ((et = Xi.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
2061
2061
  } catch {
2062
- at = !1;
2062
+ st = !1;
2063
2063
  }
2064
- var Mt = Fi ? (
2064
+ var At = Ui ? (
2065
2065
  // Native
2066
2066
  function(t, r, i) {
2067
2067
  return t.startsWith(r, i);
@@ -2071,7 +2071,7 @@ var Mt = Fi ? (
2071
2071
  function(t, r, i) {
2072
2072
  return t.slice(i, i + r.length) === r;
2073
2073
  }
2074
- ), ut = Vi ? String.fromCodePoint : (
2074
+ ), at = Fi ? String.fromCodePoint : (
2075
2075
  // IE11
2076
2076
  function() {
2077
2077
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2083,9 +2083,9 @@ var Mt = Fi ? (
2083
2083
  }
2084
2084
  return i;
2085
2085
  }
2086
- ), Ct = (
2086
+ ), Bt = (
2087
2087
  // native
2088
- Gi ? Object.fromEntries : (
2088
+ Vi ? Object.fromEntries : (
2089
2089
  // Ponyfill
2090
2090
  function(t) {
2091
2091
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2095,7 +2095,7 @@ var Mt = Fi ? (
2095
2095
  return r;
2096
2096
  }
2097
2097
  )
2098
- ), vr = ji ? (
2098
+ ), pr = Gi ? (
2099
2099
  // Native
2100
2100
  function(t, r) {
2101
2101
  return t.codePointAt(r);
@@ -2109,7 +2109,7 @@ var Mt = Fi ? (
2109
2109
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2110
2110
  }
2111
2111
  }
2112
- ), Yi = $i ? (
2112
+ ), qi = ji ? (
2113
2113
  // Native
2114
2114
  function(t) {
2115
2115
  return t.trimStart();
@@ -2117,9 +2117,9 @@ var Mt = Fi ? (
2117
2117
  ) : (
2118
2118
  // Ponyfill
2119
2119
  function(t) {
2120
- return t.replace(ki, "");
2120
+ return t.replace(Ri, "");
2121
2121
  }
2122
- ), Zi = zi ? (
2122
+ ), Yi = $i ? (
2123
2123
  // Native
2124
2124
  function(t) {
2125
2125
  return t.trimEnd();
@@ -2127,32 +2127,32 @@ var Mt = Fi ? (
2127
2127
  ) : (
2128
2128
  // Ponyfill
2129
2129
  function(t) {
2130
- return t.replace(Ui, "");
2130
+ return t.replace(ki, "");
2131
2131
  }
2132
2132
  );
2133
- function gr(e, t) {
2133
+ function mr(e, t) {
2134
2134
  return new RegExp(e, t);
2135
2135
  }
2136
- var lt;
2137
- if (at) {
2138
- var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2139
- lt = function(t, r) {
2136
+ var ut;
2137
+ if (st) {
2138
+ var Mt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2139
+ ut = function(t, r) {
2140
2140
  var i;
2141
- It.lastIndex = r;
2142
- var n = It.exec(t);
2141
+ Mt.lastIndex = r;
2142
+ var n = Mt.exec(t);
2143
2143
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2144
2144
  };
2145
2145
  } else
2146
- lt = function(t, r) {
2146
+ ut = function(t, r) {
2147
2147
  for (var i = []; ; ) {
2148
- var n = vr(t, r);
2149
- if (n === void 0 || br(n) || en(n))
2148
+ var n = pr(t, r);
2149
+ if (n === void 0 || vr(n) || Ki(n))
2150
2150
  break;
2151
2151
  i.push(n), r += n >= 65536 ? 2 : 1;
2152
2152
  }
2153
- return ut.apply(void 0, i);
2153
+ return at.apply(void 0, i);
2154
2154
  };
2155
- var Ji = (
2155
+ var Zi = (
2156
2156
  /** @class */
2157
2157
  function() {
2158
2158
  function e(t, r) {
@@ -2176,14 +2176,14 @@ var Ji = (
2176
2176
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2177
2177
  var a = this.clonePosition();
2178
2178
  this.bump(), n.push({
2179
- type: D.pound,
2180
- location: M(a, this.clonePosition())
2179
+ type: I.pound,
2180
+ location: O(a, this.clonePosition())
2181
2181
  });
2182
2182
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2183
2183
  if (i)
2184
2184
  break;
2185
- return this.error(H.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2186
- } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
2185
+ return this.error(P.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2186
+ } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2187
2187
  var s = this.parseTag(t, r);
2188
2188
  if (s.err)
2189
2189
  return s;
@@ -2204,9 +2204,9 @@ var Ji = (
2204
2204
  if (this.bumpSpace(), this.bumpIf("/>"))
2205
2205
  return {
2206
2206
  val: {
2207
- type: D.literal,
2207
+ type: I.literal,
2208
2208
  value: "<".concat(n, "/>"),
2209
- location: M(i, this.clonePosition())
2209
+ location: O(i, this.clonePosition())
2210
2210
  },
2211
2211
  err: null
2212
2212
  };
@@ -2216,25 +2216,25 @@ var Ji = (
2216
2216
  return o;
2217
2217
  var s = o.val, a = this.clonePosition();
2218
2218
  if (this.bumpIf("</")) {
2219
- if (this.isEOF() || !ht(this.char()))
2220
- return this.error(H.INVALID_TAG, M(a, this.clonePosition()));
2221
- var l = this.clonePosition(), f = this.parseTagName();
2222
- return n !== f ? this.error(H.UNMATCHED_CLOSING_TAG, M(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2219
+ if (this.isEOF() || !lt(this.char()))
2220
+ return this.error(P.INVALID_TAG, O(a, this.clonePosition()));
2221
+ var u = this.clonePosition(), l = this.parseTagName();
2222
+ return n !== l ? this.error(P.UNMATCHED_CLOSING_TAG, O(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2223
2223
  val: {
2224
- type: D.tag,
2224
+ type: I.tag,
2225
2225
  value: n,
2226
2226
  children: s,
2227
- location: M(i, this.clonePosition())
2227
+ location: O(i, this.clonePosition())
2228
2228
  },
2229
2229
  err: null
2230
- } : this.error(H.INVALID_TAG, M(a, this.clonePosition())));
2230
+ } : this.error(P.INVALID_TAG, O(a, this.clonePosition())));
2231
2231
  } else
2232
- return this.error(H.UNCLOSED_TAG, M(i, this.clonePosition()));
2232
+ return this.error(P.UNCLOSED_TAG, O(i, this.clonePosition()));
2233
2233
  } else
2234
- return this.error(H.INVALID_TAG, M(i, this.clonePosition()));
2234
+ return this.error(P.INVALID_TAG, O(i, this.clonePosition()));
2235
2235
  }, e.prototype.parseTagName = function() {
2236
2236
  var t = this.offset();
2237
- for (this.bump(); !this.isEOF() && Ki(this.char()); )
2237
+ for (this.bump(); !this.isEOF() && Qi(this.char()); )
2238
2238
  this.bump();
2239
2239
  return this.message.slice(t, this.offset());
2240
2240
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2256,14 +2256,14 @@ var Ji = (
2256
2256
  }
2257
2257
  break;
2258
2258
  }
2259
- var l = M(i, this.clonePosition());
2259
+ var u = O(i, this.clonePosition());
2260
2260
  return {
2261
- val: { type: D.literal, value: n, location: l },
2261
+ val: { type: I.literal, value: n, location: u },
2262
2262
  err: null
2263
2263
  };
2264
2264
  }, e.prototype.tryParseLeftAngleBracket = function() {
2265
2265
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2266
- !Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2266
+ !Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
2267
2267
  }, e.prototype.tryParseQuote = function(t) {
2268
2268
  if (this.isEOF() || this.char() !== 39)
2269
2269
  return null;
@@ -2297,100 +2297,100 @@ var Ji = (
2297
2297
  r.push(i);
2298
2298
  this.bump();
2299
2299
  }
2300
- return ut.apply(void 0, r);
2300
+ return at.apply(void 0, r);
2301
2301
  }, e.prototype.tryParseUnquoted = function(t, r) {
2302
2302
  if (this.isEOF())
2303
2303
  return null;
2304
2304
  var i = this.char();
2305
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ut(i));
2305
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), at(i));
2306
2306
  }, e.prototype.parseArgument = function(t, r) {
2307
2307
  var i = this.clonePosition();
2308
2308
  if (this.bump(), this.bumpSpace(), this.isEOF())
2309
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2309
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2310
2310
  if (this.char() === 125)
2311
- return this.bump(), this.error(H.EMPTY_ARGUMENT, M(i, this.clonePosition()));
2311
+ return this.bump(), this.error(P.EMPTY_ARGUMENT, O(i, this.clonePosition()));
2312
2312
  var n = this.parseIdentifierIfPossible().value;
2313
2313
  if (!n)
2314
- return this.error(H.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2314
+ return this.error(P.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2315
2315
  if (this.bumpSpace(), this.isEOF())
2316
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2316
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2317
2317
  switch (this.char()) {
2318
2318
  case 125:
2319
2319
  return this.bump(), {
2320
2320
  val: {
2321
- type: D.argument,
2321
+ type: I.argument,
2322
2322
  // value does not include the opening and closing braces.
2323
2323
  value: n,
2324
- location: M(i, this.clonePosition())
2324
+ location: O(i, this.clonePosition())
2325
2325
  },
2326
2326
  err: null
2327
2327
  };
2328
2328
  case 44:
2329
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2329
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2330
2330
  default:
2331
- return this.error(H.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2331
+ return this.error(P.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2332
2332
  }
2333
2333
  }, e.prototype.parseIdentifierIfPossible = function() {
2334
- var t = this.clonePosition(), r = this.offset(), i = lt(this.message, r), n = r + i.length;
2334
+ var t = this.clonePosition(), r = this.offset(), i = ut(this.message, r), n = r + i.length;
2335
2335
  this.bumpTo(n);
2336
- var o = this.clonePosition(), s = M(t, o);
2336
+ var o = this.clonePosition(), s = O(t, o);
2337
2337
  return { value: i, location: s };
2338
2338
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2339
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2339
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2340
2340
  switch (a) {
2341
2341
  case "":
2342
- return this.error(H.EXPECT_ARGUMENT_TYPE, M(s, l));
2342
+ return this.error(P.EXPECT_ARGUMENT_TYPE, O(s, u));
2343
2343
  case "number":
2344
2344
  case "date":
2345
2345
  case "time": {
2346
2346
  this.bumpSpace();
2347
- var f = null;
2347
+ var l = null;
2348
2348
  if (this.bumpIf(",")) {
2349
2349
  this.bumpSpace();
2350
- var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2351
- if (m.err)
2352
- return m;
2353
- var d = Zi(m.val);
2354
- if (d.length === 0)
2355
- return this.error(H.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2356
- var y = M(h, this.clonePosition());
2357
- f = { style: d, styleLocation: y };
2350
+ var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2351
+ if (g.err)
2352
+ return g;
2353
+ var p = Yi(g.val);
2354
+ if (p.length === 0)
2355
+ return this.error(P.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2356
+ var x = O(f, this.clonePosition());
2357
+ l = { style: p, styleLocation: x };
2358
2358
  }
2359
- var x = this.tryParseArgumentClose(n);
2360
- if (x.err)
2361
- return x;
2362
- var c = M(n, this.clonePosition());
2363
- if (f && Mt(f?.style, "::", 0)) {
2364
- var b = Yi(f.style.slice(2));
2359
+ var S = this.tryParseArgumentClose(n);
2360
+ if (S.err)
2361
+ return S;
2362
+ var d = O(n, this.clonePosition());
2363
+ if (l && At(l?.style, "::", 0)) {
2364
+ var M = qi(l.style.slice(2));
2365
2365
  if (a === "number") {
2366
- var m = this.parseNumberSkeletonFromString(b, f.styleLocation);
2367
- return m.err ? m : {
2368
- val: { type: D.number, value: i, location: c, style: m.val },
2366
+ var g = this.parseNumberSkeletonFromString(M, l.styleLocation);
2367
+ return g.err ? g : {
2368
+ val: { type: I.number, value: i, location: d, style: g.val },
2369
2369
  err: null
2370
2370
  };
2371
2371
  } else {
2372
- if (b.length === 0)
2373
- return this.error(H.EXPECT_DATE_TIME_SKELETON, c);
2374
- var A = b;
2375
- this.locale && (A = Ni(b, this.locale));
2376
- var d = {
2377
- type: we.dateTime,
2378
- pattern: A,
2379
- location: f.styleLocation,
2380
- parsedOptions: this.shouldParseSkeletons ? Ai(A) : {}
2381
- }, P = a === "date" ? D.date : D.time;
2372
+ if (M.length === 0)
2373
+ return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
2374
+ var G = M;
2375
+ this.locale && (G = Li(M, this.locale));
2376
+ var p = {
2377
+ type: _e.dateTime,
2378
+ pattern: G,
2379
+ location: l.styleLocation,
2380
+ parsedOptions: this.shouldParseSkeletons ? Hi(G) : {}
2381
+ }, k = a === "date" ? I.date : I.time;
2382
2382
  return {
2383
- val: { type: P, value: i, location: c, style: d },
2383
+ val: { type: k, value: i, location: d, style: p },
2384
2384
  err: null
2385
2385
  };
2386
2386
  }
2387
2387
  }
2388
2388
  return {
2389
2389
  val: {
2390
- type: a === "number" ? D.number : a === "date" ? D.date : D.time,
2390
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2391
2391
  value: i,
2392
- location: c,
2393
- style: (o = f?.style) !== null && o !== void 0 ? o : null
2392
+ location: d,
2393
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
2394
2394
  },
2395
2395
  err: null
2396
2396
  };
@@ -2398,52 +2398,52 @@ var Ji = (
2398
2398
  case "plural":
2399
2399
  case "selectordinal":
2400
2400
  case "select": {
2401
- var C = this.clonePosition();
2401
+ var A = this.clonePosition();
2402
2402
  if (this.bumpSpace(), !this.bumpIf(","))
2403
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, M(C, Ge({}, C)));
2403
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, O(A, Ge({}, A)));
2404
2404
  this.bumpSpace();
2405
- var q = this.parseIdentifierIfPossible(), R = 0;
2406
- if (a !== "select" && q.value === "offset") {
2405
+ var z = this.parseIdentifierIfPossible(), N = 0;
2406
+ if (a !== "select" && z.value === "offset") {
2407
2407
  if (!this.bumpIf(":"))
2408
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2408
+ return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2409
2409
  this.bumpSpace();
2410
- var m = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2411
- if (m.err)
2412
- return m;
2413
- this.bumpSpace(), q = this.parseIdentifierIfPossible(), R = m.val;
2410
+ var g = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2411
+ if (g.err)
2412
+ return g;
2413
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), N = g.val;
2414
2414
  }
2415
- var F = this.tryParsePluralOrSelectOptions(t, a, r, q);
2416
- if (F.err)
2417
- return F;
2418
- var x = this.tryParseArgumentClose(n);
2419
- if (x.err)
2420
- return x;
2421
- var J = M(n, this.clonePosition());
2415
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, z);
2416
+ if (U.err)
2417
+ return U;
2418
+ var S = this.tryParseArgumentClose(n);
2419
+ if (S.err)
2420
+ return S;
2421
+ var X = O(n, this.clonePosition());
2422
2422
  return a === "select" ? {
2423
2423
  val: {
2424
- type: D.select,
2424
+ type: I.select,
2425
2425
  value: i,
2426
- options: Ct(F.val),
2427
- location: J
2426
+ options: Bt(U.val),
2427
+ location: X
2428
2428
  },
2429
2429
  err: null
2430
2430
  } : {
2431
2431
  val: {
2432
- type: D.plural,
2432
+ type: I.plural,
2433
2433
  value: i,
2434
- options: Ct(F.val),
2435
- offset: R,
2434
+ options: Bt(U.val),
2435
+ offset: N,
2436
2436
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2437
- location: J
2437
+ location: X
2438
2438
  },
2439
2439
  err: null
2440
2440
  };
2441
2441
  }
2442
2442
  default:
2443
- return this.error(H.INVALID_ARGUMENT_TYPE, M(s, l));
2443
+ return this.error(P.INVALID_ARGUMENT_TYPE, O(s, u));
2444
2444
  }
2445
2445
  }, e.prototype.tryParseArgumentClose = function(t) {
2446
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2446
+ return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2447
2447
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2448
2448
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2449
2449
  var i = this.char();
@@ -2452,7 +2452,7 @@ var Ji = (
2452
2452
  this.bump();
2453
2453
  var n = this.clonePosition();
2454
2454
  if (!this.bumpUntil("'"))
2455
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(n, this.clonePosition()));
2455
+ return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(n, this.clonePosition()));
2456
2456
  this.bump();
2457
2457
  break;
2458
2458
  }
@@ -2482,52 +2482,52 @@ var Ji = (
2482
2482
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2483
2483
  var i = [];
2484
2484
  try {
2485
- i = Mi(t);
2485
+ i = Bi(t);
2486
2486
  } catch {
2487
- return this.error(H.INVALID_NUMBER_SKELETON, r);
2487
+ return this.error(P.INVALID_NUMBER_SKELETON, r);
2488
2488
  }
2489
2489
  return {
2490
2490
  val: {
2491
- type: we.number,
2491
+ type: _e.number,
2492
2492
  tokens: i,
2493
2493
  location: r,
2494
- parsedOptions: this.shouldParseSkeletons ? Li(i) : {}
2494
+ parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
2495
2495
  },
2496
2496
  err: null
2497
2497
  };
2498
2498
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2499
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), f = n.value, h = n.location; ; ) {
2500
- if (f.length === 0) {
2501
- var m = this.clonePosition();
2499
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = n.value, f = n.location; ; ) {
2500
+ if (l.length === 0) {
2501
+ var g = this.clonePosition();
2502
2502
  if (r !== "select" && this.bumpIf("=")) {
2503
- var d = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2504
- if (d.err)
2505
- return d;
2506
- h = M(m, this.clonePosition()), f = this.message.slice(m.offset, this.offset());
2503
+ var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
2504
+ if (p.err)
2505
+ return p;
2506
+ f = O(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
2507
2507
  } else
2508
2508
  break;
2509
2509
  }
2510
- if (l.has(f))
2511
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2512
- f === "other" && (s = !0), this.bumpSpace();
2513
- var y = this.clonePosition();
2510
+ if (u.has(l))
2511
+ return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2512
+ l === "other" && (s = !0), this.bumpSpace();
2513
+ var x = this.clonePosition();
2514
2514
  if (!this.bumpIf("{"))
2515
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
2516
- var x = this.parseMessage(t + 1, r, i);
2517
- if (x.err)
2518
- return x;
2519
- var c = this.tryParseArgumentClose(y);
2520
- if (c.err)
2521
- return c;
2515
+ return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2516
+ var S = this.parseMessage(t + 1, r, i);
2517
+ if (S.err)
2518
+ return S;
2519
+ var d = this.tryParseArgumentClose(x);
2520
+ if (d.err)
2521
+ return d;
2522
2522
  a.push([
2523
- f,
2523
+ l,
2524
2524
  {
2525
- value: x.val,
2526
- location: M(y, this.clonePosition())
2525
+ value: S.val,
2526
+ location: O(x, this.clonePosition())
2527
2527
  }
2528
- ]), l.add(f), this.bumpSpace(), o = this.parseIdentifierIfPossible(), f = o.value, h = o.location;
2528
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
2529
2529
  }
2530
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(H.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2530
+ return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(P.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2531
2531
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2532
2532
  var i = 1, n = this.clonePosition();
2533
2533
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -2538,8 +2538,8 @@ var Ji = (
2538
2538
  else
2539
2539
  break;
2540
2540
  }
2541
- var l = M(n, this.clonePosition());
2542
- return o ? (s *= i, Xi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2541
+ var u = O(n, this.clonePosition());
2542
+ return o ? (s *= i, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2543
2543
  }, e.prototype.offset = function() {
2544
2544
  return this.position.offset;
2545
2545
  }, e.prototype.isEOF = function() {
@@ -2554,7 +2554,7 @@ var Ji = (
2554
2554
  var t = this.position.offset;
2555
2555
  if (t >= this.message.length)
2556
2556
  throw Error("out of bound");
2557
- var r = vr(this.message, t);
2557
+ var r = pr(this.message, t);
2558
2558
  if (r === void 0)
2559
2559
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2560
2560
  return r;
@@ -2573,7 +2573,7 @@ var Ji = (
2573
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);
2574
2574
  }
2575
2575
  }, e.prototype.bumpIf = function(t) {
2576
- if (Mt(this.message, t, this.offset())) {
2576
+ if (At(this.message, t, this.offset())) {
2577
2577
  for (var r = 0; r < t.length; r++)
2578
2578
  this.bump();
2579
2579
  return !0;
@@ -2595,7 +2595,7 @@ var Ji = (
2595
2595
  break;
2596
2596
  }
2597
2597
  }, e.prototype.bumpSpace = function() {
2598
- for (; !this.isEOF() && br(this.char()); )
2598
+ for (; !this.isEOF() && vr(this.char()); )
2599
2599
  this.bump();
2600
2600
  }, e.prototype.peek = function() {
2601
2601
  if (this.isEOF())
@@ -2605,43 +2605,43 @@ var Ji = (
2605
2605
  }, e;
2606
2606
  }()
2607
2607
  );
2608
- function ht(e) {
2608
+ function lt(e) {
2609
2609
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2610
2610
  }
2611
- function Qi(e) {
2612
- return ht(e) || e === 47;
2611
+ function Ji(e) {
2612
+ return lt(e) || e === 47;
2613
2613
  }
2614
- function Ki(e) {
2614
+ function Qi(e) {
2615
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;
2616
2616
  }
2617
- function br(e) {
2617
+ function vr(e) {
2618
2618
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2619
2619
  }
2620
- function en(e) {
2620
+ function Ki(e) {
2621
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;
2622
2622
  }
2623
- function ft(e) {
2623
+ function ht(e) {
2624
2624
  e.forEach(function(t) {
2625
- if (delete t.location, ur(t) || lr(t))
2625
+ if (delete t.location, sr(t) || ar(t))
2626
2626
  for (var r in t.options)
2627
- delete t.options[r].location, ft(t.options[r].value);
2627
+ delete t.options[r].location, ht(t.options[r].value);
2628
2628
  else
2629
- or(t) && fr(t.style) || (sr(t) || ar(t)) && st(t.style) ? delete t.style.location : hr(t) && ft(t.children);
2629
+ ir(t) && lr(t.style) || (nr(t) || or(t)) && ot(t.style) ? delete t.style.location : ur(t) && ht(t.children);
2630
2630
  });
2631
2631
  }
2632
- function tn(e, t) {
2632
+ function en(e, t) {
2633
2633
  t === void 0 && (t = {}), t = Ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2634
- var r = new Ji(e, t).parse();
2634
+ var r = new Zi(e, t).parse();
2635
2635
  if (r.err) {
2636
- var i = SyntaxError(H[r.err.kind]);
2636
+ var i = SyntaxError(P[r.err.kind]);
2637
2637
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
2638
2638
  }
2639
- return t?.captureLocation || ft(r.val), r.val;
2639
+ return t?.captureLocation || ht(r.val), r.val;
2640
2640
  }
2641
- var Se;
2641
+ var Ee;
2642
2642
  (function(e) {
2643
2643
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2644
- })(Se || (Se = {}));
2644
+ })(Ee || (Ee = {}));
2645
2645
  var Xe = (
2646
2646
  /** @class */
2647
2647
  function(e) {
@@ -2654,155 +2654,155 @@ var Xe = (
2654
2654
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2655
2655
  }, t;
2656
2656
  }(Error)
2657
- ), Dt = (
2657
+ ), Ct = (
2658
2658
  /** @class */
2659
2659
  function(e) {
2660
2660
  We(t, e);
2661
2661
  function t(r, i, n, o) {
2662
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Se.INVALID_VALUE, o) || this;
2662
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Ee.INVALID_VALUE, o) || this;
2663
2663
  }
2664
2664
  return t;
2665
2665
  }(Xe)
2666
- ), rn = (
2666
+ ), tn = (
2667
2667
  /** @class */
2668
2668
  function(e) {
2669
2669
  We(t, e);
2670
2670
  function t(r, i, n) {
2671
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Se.INVALID_VALUE, n) || this;
2671
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Ee.INVALID_VALUE, n) || this;
2672
2672
  }
2673
2673
  return t;
2674
2674
  }(Xe)
2675
- ), nn = (
2675
+ ), rn = (
2676
2676
  /** @class */
2677
2677
  function(e) {
2678
2678
  We(t, e);
2679
2679
  function t(r, i) {
2680
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Se.MISSING_VALUE, i) || this;
2680
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Ee.MISSING_VALUE, i) || this;
2681
2681
  }
2682
2682
  return t;
2683
2683
  }(Xe)
2684
- ), X;
2684
+ ), $;
2685
2685
  (function(e) {
2686
2686
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2687
- })(X || (X = {}));
2688
- function on(e) {
2687
+ })($ || ($ = {}));
2688
+ function nn(e) {
2689
2689
  return e.length < 2 ? e : e.reduce(function(t, r) {
2690
2690
  var i = t[t.length - 1];
2691
- return !i || i.type !== X.literal || r.type !== X.literal ? t.push(r) : i.value += r.value, t;
2691
+ return !i || i.type !== $.literal || r.type !== $.literal ? t.push(r) : i.value += r.value, t;
2692
2692
  }, []);
2693
2693
  }
2694
- function sn(e) {
2694
+ function on(e) {
2695
2695
  return typeof e == "function";
2696
2696
  }
2697
2697
  function Ue(e, t, r, i, n, o, s) {
2698
- if (e.length === 1 && Ot(e[0]))
2698
+ if (e.length === 1 && Tt(e[0]))
2699
2699
  return [
2700
2700
  {
2701
- type: X.literal,
2701
+ type: $.literal,
2702
2702
  value: e[0].value
2703
2703
  }
2704
2704
  ];
2705
- for (var a = [], l = 0, f = e; l < f.length; l++) {
2706
- var h = f[l];
2707
- if (Ot(h)) {
2705
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
2706
+ var f = l[u];
2707
+ if (Tt(f)) {
2708
2708
  a.push({
2709
- type: X.literal,
2710
- value: h.value
2709
+ type: $.literal,
2710
+ value: f.value
2711
2711
  });
2712
2712
  continue;
2713
2713
  }
2714
- if (Oi(h)) {
2714
+ if (Pi(f)) {
2715
2715
  typeof o == "number" && a.push({
2716
- type: X.literal,
2716
+ type: $.literal,
2717
2717
  value: r.getNumberFormat(t).format(o)
2718
2718
  });
2719
2719
  continue;
2720
2720
  }
2721
- var m = h.value;
2722
- if (!(n && m in n))
2723
- throw new nn(m, s);
2724
- var d = n[m];
2725
- if (Pi(h)) {
2726
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
2727
- type: typeof d == "string" ? X.literal : X.object,
2728
- value: d
2721
+ var g = f.value;
2722
+ if (!(n && g in n))
2723
+ throw new rn(g, s);
2724
+ var p = n[g];
2725
+ if (Ti(f)) {
2726
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
2727
+ type: typeof p == "string" ? $.literal : $.object,
2728
+ value: p
2729
2729
  });
2730
2730
  continue;
2731
2731
  }
2732
- if (sr(h)) {
2733
- var y = typeof h.style == "string" ? i.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
2732
+ if (nr(f)) {
2733
+ var x = typeof f.style == "string" ? i.date[f.style] : ot(f.style) ? f.style.parsedOptions : void 0;
2734
2734
  a.push({
2735
- type: X.literal,
2736
- value: r.getDateTimeFormat(t, y).format(d)
2735
+ type: $.literal,
2736
+ value: r.getDateTimeFormat(t, x).format(p)
2737
2737
  });
2738
2738
  continue;
2739
2739
  }
2740
- if (ar(h)) {
2741
- var y = typeof h.style == "string" ? i.time[h.style] : st(h.style) ? h.style.parsedOptions : i.time.medium;
2740
+ if (or(f)) {
2741
+ var x = typeof f.style == "string" ? i.time[f.style] : ot(f.style) ? f.style.parsedOptions : i.time.medium;
2742
2742
  a.push({
2743
- type: X.literal,
2744
- value: r.getDateTimeFormat(t, y).format(d)
2743
+ type: $.literal,
2744
+ value: r.getDateTimeFormat(t, x).format(p)
2745
2745
  });
2746
2746
  continue;
2747
2747
  }
2748
- if (or(h)) {
2749
- var y = typeof h.style == "string" ? i.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
2750
- y && y.scale && (d = d * (y.scale || 1)), a.push({
2751
- type: X.literal,
2752
- value: r.getNumberFormat(t, y).format(d)
2748
+ if (ir(f)) {
2749
+ var x = typeof f.style == "string" ? i.number[f.style] : lr(f.style) ? f.style.parsedOptions : void 0;
2750
+ x && x.scale && (p = p * (x.scale || 1)), a.push({
2751
+ type: $.literal,
2752
+ value: r.getNumberFormat(t, x).format(p)
2753
2753
  });
2754
2754
  continue;
2755
2755
  }
2756
- if (hr(h)) {
2757
- var x = h.children, c = h.value, b = n[c];
2758
- if (!sn(b))
2759
- throw new rn(c, "function", s);
2760
- var A = Ue(x, t, r, i, n, o), P = b(A.map(function(R) {
2761
- return R.value;
2756
+ if (ur(f)) {
2757
+ var S = f.children, d = f.value, M = n[d];
2758
+ if (!on(M))
2759
+ throw new tn(d, "function", s);
2760
+ var G = Ue(S, t, r, i, n, o), k = M(G.map(function(N) {
2761
+ return N.value;
2762
2762
  }));
2763
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(R) {
2763
+ Array.isArray(k) || (k = [k]), a.push.apply(a, k.map(function(N) {
2764
2764
  return {
2765
- type: typeof R == "string" ? X.literal : X.object,
2766
- value: R
2765
+ type: typeof N == "string" ? $.literal : $.object,
2766
+ value: N
2767
2767
  };
2768
2768
  }));
2769
2769
  }
2770
- if (ur(h)) {
2771
- var C = h.options[d] || h.options.other;
2772
- if (!C)
2773
- throw new Dt(h.value, d, Object.keys(h.options), s);
2774
- a.push.apply(a, Ue(C.value, t, r, i, n));
2770
+ if (sr(f)) {
2771
+ var A = f.options[p] || f.options.other;
2772
+ if (!A)
2773
+ throw new Ct(f.value, p, Object.keys(f.options), s);
2774
+ a.push.apply(a, Ue(A.value, t, r, i, n));
2775
2775
  continue;
2776
2776
  }
2777
- if (lr(h)) {
2778
- var C = h.options["=".concat(d)];
2779
- if (!C) {
2777
+ if (ar(f)) {
2778
+ var A = f.options["=".concat(p)];
2779
+ if (!A) {
2780
2780
  if (!Intl.PluralRules)
2781
2781
  throw new Xe(`Intl.PluralRules is not available in this environment.
2782
2782
  Try polyfilling it using "@formatjs/intl-pluralrules"
2783
- `, Se.MISSING_INTL_API, s);
2784
- var q = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
2785
- C = h.options[q] || h.options.other;
2783
+ `, Ee.MISSING_INTL_API, s);
2784
+ var z = r.getPluralRules(t, { type: f.pluralType }).select(p - (f.offset || 0));
2785
+ A = f.options[z] || f.options.other;
2786
2786
  }
2787
- if (!C)
2788
- throw new Dt(h.value, d, Object.keys(h.options), s);
2789
- a.push.apply(a, Ue(C.value, t, r, i, n, d - (h.offset || 0)));
2787
+ if (!A)
2788
+ throw new Ct(f.value, p, Object.keys(f.options), s);
2789
+ a.push.apply(a, Ue(A.value, t, r, i, n, p - (f.offset || 0)));
2790
2790
  continue;
2791
2791
  }
2792
2792
  }
2793
- return on(a);
2793
+ return nn(a);
2794
2794
  }
2795
- function an(e, t) {
2796
- return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2797
- return r[i] = re(re({}, e[i]), t[i] || {}), r;
2795
+ function sn(e, t) {
2796
+ return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2797
+ return r[i] = J(J({}, e[i]), t[i] || {}), r;
2798
2798
  }, {})) : e;
2799
2799
  }
2800
- function un(e, t) {
2800
+ function an(e, t) {
2801
2801
  return t ? Object.keys(e).reduce(function(r, i) {
2802
- return r[i] = an(e[i], t[i]), r;
2803
- }, re({}, e)) : e;
2802
+ return r[i] = sn(e[i], t[i]), r;
2803
+ }, J({}, e)) : e;
2804
2804
  }
2805
- function rt(e) {
2805
+ function tt(e) {
2806
2806
  return {
2807
2807
  create: function() {
2808
2808
  return {
@@ -2816,39 +2816,39 @@ function rt(e) {
2816
2816
  }
2817
2817
  };
2818
2818
  }
2819
- function ln(e) {
2819
+ function un(e) {
2820
2820
  return e === void 0 && (e = {
2821
2821
  number: {},
2822
2822
  dateTime: {},
2823
2823
  pluralRules: {}
2824
2824
  }), {
2825
- getNumberFormat: Ke(function() {
2825
+ getNumberFormat: Qe(function() {
2826
2826
  for (var t, r = [], i = 0; i < arguments.length; i++)
2827
2827
  r[i] = arguments[i];
2828
- return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], r, !1)))();
2828
+ return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
2829
2829
  }, {
2830
- cache: rt(e.number),
2831
- strategy: et.variadic
2830
+ cache: tt(e.number),
2831
+ strategy: Ke.variadic
2832
2832
  }),
2833
- getDateTimeFormat: Ke(function() {
2833
+ getDateTimeFormat: Qe(function() {
2834
2834
  for (var t, r = [], i = 0; i < arguments.length; i++)
2835
2835
  r[i] = arguments[i];
2836
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], r, !1)))();
2836
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
2837
2837
  }, {
2838
- cache: rt(e.dateTime),
2839
- strategy: et.variadic
2838
+ cache: tt(e.dateTime),
2839
+ strategy: Ke.variadic
2840
2840
  }),
2841
- getPluralRules: Ke(function() {
2841
+ getPluralRules: Qe(function() {
2842
2842
  for (var t, r = [], i = 0; i < arguments.length; i++)
2843
2843
  r[i] = arguments[i];
2844
- return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], r, !1)))();
2844
+ return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
2845
2845
  }, {
2846
- cache: rt(e.pluralRules),
2847
- strategy: et.variadic
2846
+ cache: tt(e.pluralRules),
2847
+ strategy: Ke.variadic
2848
2848
  })
2849
2849
  };
2850
2850
  }
2851
- var yr = (
2851
+ var gr = (
2852
2852
  /** @class */
2853
2853
  function() {
2854
2854
  function e(t, r, i, n) {
@@ -2858,20 +2858,20 @@ var yr = (
2858
2858
  number: {},
2859
2859
  dateTime: {},
2860
2860
  pluralRules: {}
2861
- }, this.format = function(l) {
2862
- var f = o.formatToParts(l);
2863
- if (f.length === 1)
2864
- return f[0].value;
2865
- var h = f.reduce(function(m, d) {
2866
- return !m.length || d.type !== X.literal || typeof m[m.length - 1] != "string" ? m.push(d.value) : m[m.length - 1] += d.value, m;
2861
+ }, this.format = function(u) {
2862
+ var l = o.formatToParts(u);
2863
+ if (l.length === 1)
2864
+ return l[0].value;
2865
+ var f = l.reduce(function(g, p) {
2866
+ return !g.length || p.type !== $.literal || typeof g[g.length - 1] != "string" ? g.push(p.value) : g[g.length - 1] += p.value, g;
2867
2867
  }, []);
2868
- return h.length <= 1 ? h[0] || "" : h;
2869
- }, this.formatToParts = function(l) {
2870
- return Ue(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
2868
+ return f.length <= 1 ? f[0] || "" : f;
2869
+ }, this.formatToParts = function(u) {
2870
+ return Ue(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
2871
2871
  }, this.resolvedOptions = function() {
2872
- var l;
2872
+ var u;
2873
2873
  return {
2874
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
2874
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
2875
2875
  };
2876
2876
  }, this.getAst = function() {
2877
2877
  return o.ast;
@@ -2880,13 +2880,13 @@ var yr = (
2880
2880
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2881
2881
  var s = n || {};
2882
2882
  s.formatters;
2883
- var a = bi(s, ["formatters"]);
2884
- this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
2883
+ var a = gi(s, ["formatters"]);
2884
+ this.ast = e.__parse(t, J(J({}, a), { locale: this.resolvedLocale }));
2885
2885
  } else
2886
2886
  this.ast = t;
2887
2887
  if (!Array.isArray(this.ast))
2888
2888
  throw new TypeError("A message must be provided as a String or AST.");
2889
- this.formats = un(e.formats, i), this.formatters = n && n.formatters || ln(this.formatterCache);
2889
+ this.formats = an(e.formats, i), this.formatters = n && n.formatters || un(this.formatterCache);
2890
2890
  }
2891
2891
  return Object.defineProperty(e, "defaultLocale", {
2892
2892
  get: function() {
@@ -2899,7 +2899,7 @@ var yr = (
2899
2899
  var r = Intl.NumberFormat.supportedLocalesOf(t);
2900
2900
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2901
2901
  }
2902
- }, e.__parse = tn, e.formats = {
2902
+ }, e.__parse = en, e.formats = {
2903
2903
  number: {
2904
2904
  integer: {
2905
2905
  maximumFractionDigits: 0
@@ -2960,7 +2960,7 @@ var yr = (
2960
2960
  }, e;
2961
2961
  }()
2962
2962
  );
2963
- function hn(e, t) {
2963
+ function ln(e, t) {
2964
2964
  if (t == null)
2965
2965
  return;
2966
2966
  if (t in e)
@@ -2981,98 +2981,98 @@ function hn(e, t) {
2981
2981
  i = void 0;
2982
2982
  return i;
2983
2983
  }
2984
- const fe = {}, fn = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), _r = (e, t) => {
2984
+ const he = {}, hn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), br = (e, t) => {
2985
2985
  if (t == null)
2986
2986
  return;
2987
- if (t in fe && e in fe[t])
2988
- return fe[t][e];
2989
- const r = De(t);
2987
+ if (t in he && e in he[t])
2988
+ return he[t][e];
2989
+ const r = Ie(t);
2990
2990
  for (let i = 0; i < r.length; i++) {
2991
- const n = r[i], o = dn(n, e);
2991
+ const n = r[i], o = cn(n, e);
2992
2992
  if (o)
2993
- return fn(e, t, o);
2993
+ return hn(e, t, o);
2994
2994
  }
2995
2995
  };
2996
2996
  let xt;
2997
- const Ie = Ce({});
2998
- function cn(e) {
2997
+ const Ce = Me({});
2998
+ function fn(e) {
2999
2999
  return xt[e] || null;
3000
3000
  }
3001
- function xr(e) {
3001
+ function yr(e) {
3002
3002
  return e in xt;
3003
3003
  }
3004
- function dn(e, t) {
3005
- if (!xr(e))
3004
+ function cn(e, t) {
3005
+ if (!yr(e))
3006
3006
  return null;
3007
- const r = cn(e);
3008
- return hn(r, t);
3007
+ const r = fn(e);
3008
+ return ln(r, t);
3009
3009
  }
3010
- function pn(e) {
3010
+ function dn(e) {
3011
3011
  if (e == null)
3012
3012
  return;
3013
- const t = De(e);
3013
+ const t = Ie(e);
3014
3014
  for (let r = 0; r < t.length; r++) {
3015
3015
  const i = t[r];
3016
- if (xr(i))
3016
+ if (yr(i))
3017
3017
  return i;
3018
3018
  }
3019
3019
  }
3020
- function Er(e, ...t) {
3021
- delete fe[e], Ie.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
3020
+ function xr(e, ...t) {
3021
+ delete he[e], Ce.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3022
3022
  }
3023
- Pe(
3024
- [Ie],
3023
+ Se(
3024
+ [Ce],
3025
3025
  ([e]) => Object.keys(e)
3026
3026
  );
3027
- Ie.subscribe((e) => xt = e);
3027
+ Ce.subscribe((e) => xt = e);
3028
3028
  const Fe = {};
3029
- function mn(e, t) {
3029
+ function pn(e, t) {
3030
3030
  Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
3031
3031
  }
3032
- function wr(e) {
3032
+ function _r(e) {
3033
3033
  return Fe[e];
3034
3034
  }
3035
- function vn(e) {
3036
- return De(e).map((t) => {
3037
- const r = wr(t);
3035
+ function mn(e) {
3036
+ return Ie(e).map((t) => {
3037
+ const r = _r(t);
3038
3038
  return [t, r ? [...r] : []];
3039
3039
  }).filter(([, t]) => t.length > 0);
3040
3040
  }
3041
3041
  function je(e) {
3042
- return e == null ? !1 : De(e).some(
3042
+ return e == null ? !1 : Ie(e).some(
3043
3043
  (t) => {
3044
3044
  var r;
3045
- return (r = wr(t)) == null ? void 0 : r.size;
3045
+ return (r = _r(t)) == null ? void 0 : r.size;
3046
3046
  }
3047
3047
  );
3048
3048
  }
3049
- function gn(e, t) {
3049
+ function vn(e, t) {
3050
3050
  return Promise.all(
3051
- t.map((i) => (mn(e, i), i().then((n) => n.default || n)))
3052
- ).then((i) => Er(e, ...i));
3051
+ t.map((i) => (pn(e, i), i().then((n) => n.default || n)))
3052
+ ).then((i) => xr(e, ...i));
3053
3053
  }
3054
- const He = {};
3055
- function Sr(e) {
3054
+ const Pe = {};
3055
+ function Er(e) {
3056
3056
  if (!je(e))
3057
- return e in He ? He[e] : Promise.resolve();
3058
- const t = vn(e);
3059
- return He[e] = Promise.all(
3057
+ return e in Pe ? Pe[e] : Promise.resolve();
3058
+ const t = mn(e);
3059
+ return Pe[e] = Promise.all(
3060
3060
  t.map(
3061
- ([r, i]) => gn(r, i)
3061
+ ([r, i]) => vn(r, i)
3062
3062
  )
3063
3063
  ).then(() => {
3064
3064
  if (je(e))
3065
- return Sr(e);
3066
- delete He[e];
3067
- }), He[e];
3065
+ return Er(e);
3066
+ delete Pe[e];
3067
+ }), Pe[e];
3068
3068
  }
3069
- var Lt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, _n = (e, t) => {
3069
+ var It = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, yn = (e, t) => {
3070
3070
  var r = {};
3071
3071
  for (var i in e)
3072
- bn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3073
- if (e != null && Lt)
3074
- for (var i of Lt(e))
3075
- t.indexOf(i) < 0 && yn.call(e, i) && (r[i] = e[i]);
3072
+ gn.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 && bn.call(e, i) && (r[i] = e[i]);
3076
3076
  return r;
3077
3077
  };
3078
3078
  const xn = {
@@ -3105,81 +3105,81 @@ const xn = {
3105
3105
  }
3106
3106
  }
3107
3107
  };
3108
- function En({ locale: e, id: t }) {
3108
+ function _n({ locale: e, id: t }) {
3109
3109
  console.warn(
3110
- `[svelte-i18n] The message "${t}" was not found in "${De(
3110
+ `[svelte-i18n] The message "${t}" was not found in "${Ie(
3111
3111
  e
3112
- ).join('", "')}".${je(ce()) ? `
3112
+ ).join('", "')}".${je(de()) ? `
3113
3113
 
3114
3114
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3115
3115
  );
3116
3116
  }
3117
- const wn = {
3117
+ const En = {
3118
3118
  fallbackLocale: null,
3119
3119
  loadingDelay: 200,
3120
3120
  formats: xn,
3121
3121
  warnOnMissingMessages: !0,
3122
3122
  handleMissingMessage: void 0,
3123
3123
  ignoreTag: !0
3124
- }, Ae = wn;
3125
- function Te() {
3126
- return Ae;
3124
+ }, Oe = En;
3125
+ function we() {
3126
+ return Oe;
3127
3127
  }
3128
- function Sn(e) {
3129
- const t = e, { formats: r } = t, i = _n(t, ["formats"]);
3128
+ function wn(e) {
3129
+ const t = e, { formats: r } = t, i = yn(t, ["formats"]);
3130
3130
  let n = e.fallbackLocale;
3131
3131
  if (e.initialLocale)
3132
3132
  try {
3133
- yr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3133
+ gr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3134
3134
  } catch {
3135
3135
  console.warn(
3136
3136
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3137
3137
  );
3138
3138
  }
3139
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = En : console.warn(
3139
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = _n : console.warn(
3140
3140
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3141
- )), Object.assign(Ae, i, { initialLocale: n }), r && ("number" in r && Object.assign(Ae.formats.number, r.number), "date" in r && Object.assign(Ae.formats.date, r.date), "time" in r && Object.assign(Ae.formats.time, r.time)), ge.set(n);
3141
+ )), Object.assign(Oe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), ge.set(n);
3142
3142
  }
3143
- const it = Ce(!1);
3144
- var Tn = Object.defineProperty, Pn = Object.defineProperties, On = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
3143
+ const rt = Me(!1);
3144
+ var Sn = Object.defineProperty, Tn = Object.defineProperties, Pn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3145
3145
  for (var r in t || (t = {}))
3146
- Hn.call(t, r) && Rt(e, r, t[r]);
3147
- if (Nt)
3148
- for (var r of Nt(t))
3149
- An.call(t, r) && Rt(e, r, t[r]);
3146
+ On.call(t, r) && Lt(e, r, t[r]);
3147
+ if (Dt)
3148
+ for (var r of Dt(t))
3149
+ Hn.call(t, r) && Lt(e, r, t[r]);
3150
3150
  return e;
3151
- }, Mn = (e, t) => Pn(e, On(t));
3152
- let ct;
3153
- const $e = Ce(null);
3154
- function kt(e) {
3151
+ }, Bn = (e, t) => Tn(e, Pn(t));
3152
+ let ft;
3153
+ const $e = Me(null);
3154
+ function Nt(e) {
3155
3155
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3156
3156
  }
3157
- function De(e, t = Te().fallbackLocale) {
3158
- const r = kt(e);
3159
- return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
3157
+ function Ie(e, t = we().fallbackLocale) {
3158
+ const r = Nt(e);
3159
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3160
3160
  }
3161
- function ce() {
3162
- return ct ?? void 0;
3161
+ function de() {
3162
+ return ft ?? void 0;
3163
3163
  }
3164
3164
  $e.subscribe((e) => {
3165
- ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3165
+ ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3166
3166
  });
3167
- const Cn = (e) => {
3168
- if (e && pn(e) && je(e)) {
3169
- const { loadingDelay: t } = Te();
3167
+ const Mn = (e) => {
3168
+ if (e && dn(e) && je(e)) {
3169
+ const { loadingDelay: t } = we();
3170
3170
  let r;
3171
- return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
3172
- () => it.set(!0),
3171
+ return typeof window < "u" && de() != null && t ? r = window.setTimeout(
3172
+ () => rt.set(!0),
3173
3173
  t
3174
- ) : it.set(!0), Sr(e).then(() => {
3174
+ ) : rt.set(!0), Er(e).then(() => {
3175
3175
  $e.set(e);
3176
3176
  }).finally(() => {
3177
- clearTimeout(r), it.set(!1);
3177
+ clearTimeout(r), rt.set(!1);
3178
3178
  });
3179
3179
  }
3180
3180
  return $e.set(e);
3181
- }, ge = Mn(Bn({}, $e), {
3182
- set: Cn
3181
+ }, ge = Bn(An({}, $e), {
3182
+ set: Mn
3183
3183
  }), qe = (e) => {
3184
3184
  const t = /* @__PURE__ */ Object.create(null);
3185
3185
  return (i) => {
@@ -3187,122 +3187,122 @@ const Cn = (e) => {
3187
3187
  return n in t ? t[n] : t[n] = e(i);
3188
3188
  };
3189
3189
  };
3190
- var In = Object.defineProperty, ze = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
3190
+ var Cn = Object.defineProperty, ze = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
3191
3191
  for (var r in t || (t = {}))
3192
- Tr.call(t, r) && Ut(e, r, t[r]);
3192
+ wr.call(t, r) && Rt(e, r, t[r]);
3193
3193
  if (ze)
3194
3194
  for (var r of ze(t))
3195
- Pr.call(t, r) && Ut(e, r, t[r]);
3195
+ Sr.call(t, r) && Rt(e, r, t[r]);
3196
3196
  return e;
3197
- }, Oe = (e, t) => {
3197
+ }, Te = (e, t) => {
3198
3198
  var r = {};
3199
3199
  for (var i in e)
3200
- Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3200
+ wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3201
3201
  if (e != null && ze)
3202
3202
  for (var i of ze(e))
3203
- t.indexOf(i) < 0 && Pr.call(e, i) && (r[i] = e[i]);
3203
+ t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3204
3204
  return r;
3205
3205
  };
3206
- const Me = (e, t) => {
3207
- const { formats: r } = Te();
3206
+ const Be = (e, t) => {
3207
+ const { formats: r } = we();
3208
3208
  if (e in r && t in r[e])
3209
3209
  return r[e][t];
3210
3210
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3211
- }, Dn = qe(
3211
+ }, In = qe(
3212
3212
  (e) => {
3213
- var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3213
+ var t = e, { locale: r, format: i } = t, n = Te(t, ["locale", "format"]);
3214
3214
  if (r == null)
3215
3215
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3216
- return i && (n = Me("number", i)), new Intl.NumberFormat(r, n);
3216
+ return i && (n = Be("number", i)), new Intl.NumberFormat(r, n);
3217
3217
  }
3218
- ), Ln = qe(
3218
+ ), Dn = qe(
3219
3219
  (e) => {
3220
- var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3220
+ var t = e, { locale: r, format: i } = t, n = Te(t, ["locale", "format"]);
3221
3221
  if (r == null)
3222
3222
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3223
- return i ? n = Me("date", i) : Object.keys(n).length === 0 && (n = Me("date", "short")), new Intl.DateTimeFormat(r, n);
3223
+ return i ? n = Be("date", i) : Object.keys(n).length === 0 && (n = Be("date", "short")), new Intl.DateTimeFormat(r, n);
3224
3224
  }
3225
- ), Nn = qe(
3225
+ ), Ln = qe(
3226
3226
  (e) => {
3227
- var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3227
+ var t = e, { locale: r, format: i } = t, n = Te(t, ["locale", "format"]);
3228
3228
  if (r == null)
3229
3229
  throw new Error(
3230
3230
  '[svelte-i18n] A "locale" must be set to format time values'
3231
3231
  );
3232
- 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);
3233
3233
  }
3234
- ), Rn = (e = {}) => {
3234
+ ), Nn = (e = {}) => {
3235
3235
  var t = e, {
3236
- locale: r = ce()
3237
- } = t, i = Oe(t, [
3236
+ locale: r = de()
3237
+ } = t, i = Te(t, [
3238
3238
  "locale"
3239
3239
  ]);
3240
- return Dn(Et({ locale: r }, i));
3241
- }, kn = (e = {}) => {
3240
+ return In(_t({ locale: r }, i));
3241
+ }, Rn = (e = {}) => {
3242
3242
  var t = e, {
3243
- locale: r = ce()
3244
- } = t, i = Oe(t, [
3243
+ locale: r = de()
3244
+ } = t, i = Te(t, [
3245
3245
  "locale"
3246
3246
  ]);
3247
- return Ln(Et({ locale: r }, i));
3248
- }, Un = (e = {}) => {
3247
+ return Dn(_t({ locale: r }, i));
3248
+ }, kn = (e = {}) => {
3249
3249
  var t = e, {
3250
- locale: r = ce()
3251
- } = t, i = Oe(t, [
3250
+ locale: r = de()
3251
+ } = t, i = Te(t, [
3252
3252
  "locale"
3253
3253
  ]);
3254
- return Nn(Et({ locale: r }, i));
3255
- }, Fn = qe(
3254
+ return Ln(_t({ locale: r }, i));
3255
+ }, Un = qe(
3256
3256
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3257
- (e, t = ce()) => new yr(e, t, Te().formats, {
3258
- ignoreTag: Te().ignoreTag
3257
+ (e, t = de()) => new gr(e, t, we().formats, {
3258
+ ignoreTag: we().ignoreTag
3259
3259
  })
3260
- ), Vn = (e, t = {}) => {
3260
+ ), Fn = (e, t = {}) => {
3261
3261
  var r, i, n, o;
3262
3262
  let s = t;
3263
3263
  typeof e == "object" && (s = e, e = s.id);
3264
3264
  const {
3265
3265
  values: a,
3266
- locale: l = ce(),
3267
- default: f
3266
+ locale: u = de(),
3267
+ default: l
3268
3268
  } = s;
3269
- if (l == null)
3269
+ if (u == null)
3270
3270
  throw new Error(
3271
3271
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3272
3272
  );
3273
- let h = _r(e, l);
3274
- if (!h)
3275
- h = (o = (n = (i = (r = Te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: f })) != null ? n : f) != null ? o : e;
3276
- else if (typeof h != "string")
3273
+ let f = br(e, u);
3274
+ if (!f)
3275
+ f = (o = (n = (i = (r = we()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3276
+ else if (typeof f != "string")
3277
3277
  return console.warn(
3278
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3279
- ), h;
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.`
3279
+ ), f;
3280
3280
  if (!a)
3281
- return h;
3282
- let m = h;
3281
+ return f;
3282
+ let g = f;
3283
3283
  try {
3284
- m = Fn(h, l).format(a);
3285
- } catch (d) {
3286
- d instanceof Error && console.warn(
3284
+ g = Un(f, u).format(a);
3285
+ } catch (p) {
3286
+ p instanceof Error && console.warn(
3287
3287
  `[svelte-i18n] Message "${e}" has syntax error:`,
3288
- d.message
3288
+ p.message
3289
3289
  );
3290
3290
  }
3291
- return m;
3292
- }, Gn = (e, t) => Un(t).format(e), jn = (e, t) => kn(t).format(e), $n = (e, t) => Rn(t).format(e), zn = (e, t = ce()) => _r(e, t), Wn = Pe([ge, Ie], () => Vn);
3293
- Pe([ge], () => Gn);
3294
- Pe([ge], () => jn);
3295
- Pe([ge], () => $n);
3296
- Pe([ge, Ie], () => zn);
3297
- function Ft(e, t) {
3298
- Er(e, t);
3291
+ return g;
3292
+ }, Vn = (e, t) => kn(t).format(e), Gn = (e, t) => Rn(t).format(e), jn = (e, t) => Nn(t).format(e), $n = (e, t = de()) => br(e, t), zn = Se([ge, Ce], () => Fn);
3293
+ Se([ge], () => Vn);
3294
+ Se([ge], () => Gn);
3295
+ Se([ge], () => jn);
3296
+ Se([ge, Ce], () => $n);
3297
+ function kt(e, t) {
3298
+ xr(e, t);
3299
3299
  }
3300
- function Xn(e) {
3301
- Sn({
3300
+ function Wn(e) {
3301
+ wn({
3302
3302
  fallbackLocale: "en"
3303
3303
  }), ge.set(e);
3304
3304
  }
3305
- const Vt = {
3305
+ const Ut = {
3306
3306
  en: {
3307
3307
  "verification.video.how-to": "How to verify yourself",
3308
3308
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3358,7 +3358,7 @@ const Vt = {
3358
3358
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3359
3359
  }
3360
3360
  };
3361
- let qn = Ce(null);
3361
+ let Xn = Me(null);
3362
3362
  /*! *****************************************************************************
3363
3363
  Copyright (c) Microsoft Corporation.
3364
3364
 
@@ -3373,24 +3373,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3373
3373
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3374
3374
  PERFORMANCE OF THIS SOFTWARE.
3375
3375
  ***************************************************************************** */
3376
- var dt = function(e, t) {
3377
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
3376
+ var ct = function(e, t) {
3377
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
3378
3378
  r.__proto__ = i;
3379
3379
  } || function(r, i) {
3380
3380
  for (var n in i)
3381
3381
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
3382
- }, dt(e, t);
3382
+ }, ct(e, t);
3383
3383
  };
3384
- function Le(e, t) {
3384
+ function De(e, t) {
3385
3385
  if (typeof t != "function" && t !== null)
3386
3386
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3387
- dt(e, t);
3387
+ ct(e, t);
3388
3388
  function r() {
3389
3389
  this.constructor = e;
3390
3390
  }
3391
3391
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3392
3392
  }
3393
- function pt(e) {
3393
+ function dt(e) {
3394
3394
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
3395
3395
  if (r)
3396
3396
  return r.call(e);
@@ -3402,7 +3402,7 @@ function pt(e) {
3402
3402
  };
3403
3403
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3404
3404
  }
3405
- function mt(e, t) {
3405
+ function pt(e, t) {
3406
3406
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3407
3407
  if (!r)
3408
3408
  return e;
@@ -3422,22 +3422,22 @@ function mt(e, t) {
3422
3422
  }
3423
3423
  return o;
3424
3424
  }
3425
- function vt(e, t, r) {
3425
+ function mt(e, t, r) {
3426
3426
  if (arguments.length === 2)
3427
3427
  for (var i = 0, n = t.length, o; i < n; i++)
3428
3428
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
3429
3429
  return e.concat(o || t);
3430
3430
  }
3431
- function ue(e) {
3431
+ function oe(e) {
3432
3432
  return typeof e == "function";
3433
3433
  }
3434
- function Or(e) {
3434
+ function Tr(e) {
3435
3435
  var t = function(i) {
3436
3436
  Error.call(i), i.stack = new Error().stack;
3437
3437
  }, r = e(t);
3438
3438
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3439
3439
  }
3440
- var nt = Or(function(e) {
3440
+ var it = Tr(function(e) {
3441
3441
  return function(r) {
3442
3442
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3443
3443
  ` + r.map(function(i, n) {
@@ -3446,7 +3446,7 @@ var nt = Or(function(e) {
3446
3446
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3447
3447
  };
3448
3448
  });
3449
- function gt(e, t) {
3449
+ function vt(e, t) {
3450
3450
  if (e) {
3451
3451
  var r = e.indexOf(t);
3452
3452
  0 <= r && e.splice(r, 1);
@@ -3464,15 +3464,15 @@ var Ye = function() {
3464
3464
  if (s)
3465
3465
  if (this._parentage = null, Array.isArray(s))
3466
3466
  try {
3467
- for (var a = pt(s), l = a.next(); !l.done; l = a.next()) {
3468
- var f = l.value;
3469
- f.remove(this);
3467
+ for (var a = dt(s), u = a.next(); !u.done; u = a.next()) {
3468
+ var l = u.value;
3469
+ l.remove(this);
3470
3470
  }
3471
- } catch (c) {
3472
- t = { error: c };
3471
+ } catch (d) {
3472
+ t = { error: d };
3473
3473
  } finally {
3474
3474
  try {
3475
- l && !l.done && (r = a.return) && r.call(a);
3475
+ u && !u.done && (r = a.return) && r.call(a);
3476
3476
  } finally {
3477
3477
  if (t)
3478
3478
  throw t.error;
@@ -3480,30 +3480,30 @@ var Ye = function() {
3480
3480
  }
3481
3481
  else
3482
3482
  s.remove(this);
3483
- var h = this.initialTeardown;
3484
- if (ue(h))
3483
+ var f = this.initialTeardown;
3484
+ if (oe(f))
3485
3485
  try {
3486
- h();
3487
- } catch (c) {
3488
- o = c instanceof nt ? c.errors : [c];
3486
+ f();
3487
+ } catch (d) {
3488
+ o = d instanceof it ? d.errors : [d];
3489
3489
  }
3490
- var m = this._finalizers;
3491
- if (m) {
3490
+ var g = this._finalizers;
3491
+ if (g) {
3492
3492
  this._finalizers = null;
3493
3493
  try {
3494
- for (var d = pt(m), y = d.next(); !y.done; y = d.next()) {
3495
- var x = y.value;
3494
+ for (var p = dt(g), x = p.next(); !x.done; x = p.next()) {
3495
+ var S = x.value;
3496
3496
  try {
3497
- Gt(x);
3498
- } catch (c) {
3499
- o = o ?? [], c instanceof nt ? o = vt(vt([], mt(o)), mt(c.errors)) : o.push(c);
3497
+ Ft(S);
3498
+ } catch (d) {
3499
+ o = o ?? [], d instanceof it ? o = mt(mt([], pt(o)), pt(d.errors)) : o.push(d);
3500
3500
  }
3501
3501
  }
3502
- } catch (c) {
3503
- i = { error: c };
3502
+ } catch (d) {
3503
+ i = { error: d };
3504
3504
  } finally {
3505
3505
  try {
3506
- y && !y.done && (n = d.return) && n.call(d);
3506
+ x && !x.done && (n = p.return) && n.call(p);
3507
3507
  } finally {
3508
3508
  if (i)
3509
3509
  throw i.error;
@@ -3511,13 +3511,13 @@ var Ye = function() {
3511
3511
  }
3512
3512
  }
3513
3513
  if (o)
3514
- throw new nt(o);
3514
+ throw new it(o);
3515
3515
  }
3516
3516
  }, e.prototype.add = function(t) {
3517
3517
  var r;
3518
3518
  if (t && t !== this)
3519
3519
  if (this.closed)
3520
- Gt(t);
3520
+ Ft(t);
3521
3521
  else {
3522
3522
  if (t instanceof e) {
3523
3523
  if (t.closed || t._hasParent(this))
@@ -3534,52 +3534,52 @@ var Ye = function() {
3534
3534
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3535
3535
  }, e.prototype._removeParent = function(t) {
3536
3536
  var r = this._parentage;
3537
- r === t ? this._parentage = null : Array.isArray(r) && gt(r, t);
3537
+ r === t ? this._parentage = null : Array.isArray(r) && vt(r, t);
3538
3538
  }, e.prototype.remove = function(t) {
3539
3539
  var r = this._finalizers;
3540
- r && gt(r, t), t instanceof e && t._removeParent(this);
3540
+ r && vt(r, t), t instanceof e && t._removeParent(this);
3541
3541
  }, e.EMPTY = function() {
3542
3542
  var t = new e();
3543
3543
  return t.closed = !0, t;
3544
3544
  }(), e;
3545
- }(), Hr = Ye.EMPTY;
3546
- function Ar(e) {
3547
- return e instanceof Ye || e && "closed" in e && ue(e.remove) && ue(e.add) && ue(e.unsubscribe);
3545
+ }(), Pr = Ye.EMPTY;
3546
+ function Or(e) {
3547
+ return e instanceof Ye || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
3548
3548
  }
3549
- function Gt(e) {
3550
- ue(e) ? e() : e.unsubscribe();
3549
+ function Ft(e) {
3550
+ oe(e) ? e() : e.unsubscribe();
3551
3551
  }
3552
- var Yn = {
3552
+ var qn = {
3553
3553
  Promise: void 0
3554
- }, Zn = {
3554
+ }, Yn = {
3555
3555
  setTimeout: function(e, t) {
3556
3556
  for (var r = [], i = 2; i < arguments.length; i++)
3557
3557
  r[i - 2] = arguments[i];
3558
- return setTimeout.apply(void 0, vt([e, t], mt(r)));
3558
+ return setTimeout.apply(void 0, mt([e, t], pt(r)));
3559
3559
  },
3560
3560
  clearTimeout: function(e) {
3561
3561
  return clearTimeout(e);
3562
3562
  },
3563
3563
  delegate: void 0
3564
3564
  };
3565
- function Jn(e) {
3566
- Zn.setTimeout(function() {
3565
+ function Zn(e) {
3566
+ Yn.setTimeout(function() {
3567
3567
  throw e;
3568
3568
  });
3569
3569
  }
3570
- function jt() {
3570
+ function Vt() {
3571
3571
  }
3572
3572
  function Ve(e) {
3573
3573
  e();
3574
3574
  }
3575
- var Br = function(e) {
3576
- Le(t, e);
3575
+ var Hr = function(e) {
3576
+ De(t, e);
3577
3577
  function t(r) {
3578
3578
  var i = e.call(this) || this;
3579
- return i.isStopped = !1, r ? (i.destination = r, Ar(r) && r.add(i)) : i.destination = eo, i;
3579
+ return i.isStopped = !1, r ? (i.destination = r, Or(r) && r.add(i)) : i.destination = Kn, i;
3580
3580
  }
3581
3581
  return t.create = function(r, i, n) {
3582
- return new bt(r, i, n);
3582
+ return new gt(r, i, n);
3583
3583
  }, t.prototype.next = function(r) {
3584
3584
  this.isStopped || this._next(r);
3585
3585
  }, t.prototype.error = function(r) {
@@ -3603,7 +3603,7 @@ var Br = function(e) {
3603
3603
  this.unsubscribe();
3604
3604
  }
3605
3605
  }, t;
3606
- }(Ye), Qn = function() {
3606
+ }(Ye), Jn = function() {
3607
3607
  function e(t) {
3608
3608
  this.partialObserver = t;
3609
3609
  }
@@ -3634,43 +3634,43 @@ var Br = function(e) {
3634
3634
  ke(r);
3635
3635
  }
3636
3636
  }, e;
3637
- }(), bt = function(e) {
3638
- Le(t, e);
3637
+ }(), gt = function(e) {
3638
+ De(t, e);
3639
3639
  function t(r, i, n) {
3640
3640
  var o = e.call(this) || this, s;
3641
- return ue(r) || !r ? s = {
3641
+ return oe(r) || !r ? s = {
3642
3642
  next: r ?? void 0,
3643
3643
  error: i ?? void 0,
3644
3644
  complete: n ?? void 0
3645
- } : s = r, o.destination = new Qn(s), o;
3645
+ } : s = r, o.destination = new Jn(s), o;
3646
3646
  }
3647
3647
  return t;
3648
- }(Br);
3648
+ }(Hr);
3649
3649
  function ke(e) {
3650
- Jn(e);
3650
+ Zn(e);
3651
3651
  }
3652
- function Kn(e) {
3652
+ function Qn(e) {
3653
3653
  throw e;
3654
3654
  }
3655
- var eo = {
3655
+ var Kn = {
3656
3656
  closed: !0,
3657
- next: jt,
3658
- error: Kn,
3659
- complete: jt
3660
- }, to = function() {
3657
+ next: Vt,
3658
+ error: Qn,
3659
+ complete: Vt
3660
+ }, eo = function() {
3661
3661
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3662
3662
  }();
3663
- function ro(e) {
3663
+ function to(e) {
3664
3664
  return e;
3665
3665
  }
3666
- function io(e) {
3667
- return e.length === 0 ? ro : e.length === 1 ? e[0] : function(r) {
3666
+ function ro(e) {
3667
+ return e.length === 0 ? to : e.length === 1 ? e[0] : function(r) {
3668
3668
  return e.reduce(function(i, n) {
3669
3669
  return n(i);
3670
3670
  }, r);
3671
3671
  };
3672
3672
  }
3673
- var $t = function() {
3673
+ var Gt = function() {
3674
3674
  function e(t) {
3675
3675
  t && (this._subscribe = t);
3676
3676
  }
@@ -3678,10 +3678,10 @@ var $t = function() {
3678
3678
  var r = new e();
3679
3679
  return r.source = this, r.operator = t, r;
3680
3680
  }, e.prototype.subscribe = function(t, r, i) {
3681
- var n = this, o = oo(t) ? t : new bt(t, r, i);
3681
+ var n = this, o = no(t) ? t : new gt(t, r, i);
3682
3682
  return Ve(function() {
3683
- var s = n, a = s.operator, l = s.source;
3684
- o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
3683
+ var s = n, a = s.operator, u = s.source;
3684
+ o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
3685
3685
  }), o;
3686
3686
  }, e.prototype._trySubscribe = function(t) {
3687
3687
  try {
@@ -3691,13 +3691,13 @@ var $t = function() {
3691
3691
  }
3692
3692
  }, e.prototype.forEach = function(t, r) {
3693
3693
  var i = this;
3694
- return r = zt(r), new r(function(n, o) {
3695
- var s = new bt({
3694
+ return r = jt(r), new r(function(n, o) {
3695
+ var s = new gt({
3696
3696
  next: function(a) {
3697
3697
  try {
3698
3698
  t(a);
3699
- } catch (l) {
3700
- o(l), s.unsubscribe();
3699
+ } catch (u) {
3700
+ o(u), s.unsubscribe();
3701
3701
  }
3702
3702
  },
3703
3703
  error: o,
@@ -3708,15 +3708,15 @@ var $t = function() {
3708
3708
  }, e.prototype._subscribe = function(t) {
3709
3709
  var r;
3710
3710
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
3711
- }, e.prototype[to] = function() {
3711
+ }, e.prototype[eo] = function() {
3712
3712
  return this;
3713
3713
  }, e.prototype.pipe = function() {
3714
3714
  for (var t = [], r = 0; r < arguments.length; r++)
3715
3715
  t[r] = arguments[r];
3716
- return io(t)(this);
3716
+ return ro(t)(this);
3717
3717
  }, e.prototype.toPromise = function(t) {
3718
3718
  var r = this;
3719
- return t = zt(t), new t(function(i, n) {
3719
+ return t = jt(t), new t(function(i, n) {
3720
3720
  var o;
3721
3721
  r.subscribe(function(s) {
3722
3722
  return o = s;
@@ -3730,32 +3730,32 @@ var $t = function() {
3730
3730
  return new e(t);
3731
3731
  }, e;
3732
3732
  }();
3733
- function zt(e) {
3733
+ function jt(e) {
3734
3734
  var t;
3735
- return (t = e ?? Yn.Promise) !== null && t !== void 0 ? t : Promise;
3735
+ return (t = e ?? qn.Promise) !== null && t !== void 0 ? t : Promise;
3736
3736
  }
3737
- function no(e) {
3738
- return e && ue(e.next) && ue(e.error) && ue(e.complete);
3737
+ function io(e) {
3738
+ return e && oe(e.next) && oe(e.error) && oe(e.complete);
3739
3739
  }
3740
- function oo(e) {
3741
- return e && e instanceof Br || no(e) && Ar(e);
3740
+ function no(e) {
3741
+ return e && e instanceof Hr || io(e) && Or(e);
3742
3742
  }
3743
- var so = Or(function(e) {
3743
+ var oo = Tr(function(e) {
3744
3744
  return function() {
3745
3745
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3746
3746
  };
3747
- }), Mr = function(e) {
3748
- Le(t, e);
3747
+ }), Ar = function(e) {
3748
+ De(t, e);
3749
3749
  function t() {
3750
3750
  var r = e.call(this) || this;
3751
3751
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
3752
3752
  }
3753
3753
  return t.prototype.lift = function(r) {
3754
- var i = new Wt(this, this);
3754
+ var i = new $t(this, this);
3755
3755
  return i.operator = r, i;
3756
3756
  }, t.prototype._throwIfClosed = function() {
3757
3757
  if (this.closed)
3758
- throw new so();
3758
+ throw new oo();
3759
3759
  }, t.prototype.next = function(r) {
3760
3760
  var i = this;
3761
3761
  Ve(function() {
@@ -3763,12 +3763,12 @@ var so = Or(function(e) {
3763
3763
  if (i._throwIfClosed(), !i.isStopped) {
3764
3764
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
3765
3765
  try {
3766
- for (var s = pt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3767
- var l = a.value;
3768
- l.next(r);
3766
+ for (var s = dt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3767
+ var u = a.value;
3768
+ u.next(r);
3769
3769
  }
3770
- } catch (f) {
3771
- n = { error: f };
3770
+ } catch (l) {
3771
+ n = { error: l };
3772
3772
  } finally {
3773
3773
  try {
3774
3774
  a && !a.done && (o = s.return) && o.call(s);
@@ -3812,20 +3812,20 @@ var so = Or(function(e) {
3812
3812
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
3813
3813
  }, t.prototype._innerSubscribe = function(r) {
3814
3814
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
3815
- return o || s ? Hr : (this.currentObservers = null, a.push(r), new Ye(function() {
3816
- i.currentObservers = null, gt(a, r);
3815
+ return o || s ? Pr : (this.currentObservers = null, a.push(r), new Ye(function() {
3816
+ i.currentObservers = null, vt(a, r);
3817
3817
  }));
3818
3818
  }, t.prototype._checkFinalizedStatuses = function(r) {
3819
3819
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
3820
3820
  n ? r.error(o) : s && r.complete();
3821
3821
  }, t.prototype.asObservable = function() {
3822
- var r = new $t();
3822
+ var r = new Gt();
3823
3823
  return r.source = this, r;
3824
3824
  }, t.create = function(r, i) {
3825
- return new Wt(r, i);
3825
+ return new $t(r, i);
3826
3826
  }, t;
3827
- }($t), Wt = function(e) {
3828
- Le(t, e);
3827
+ }(Gt), $t = function(e) {
3828
+ De(t, e);
3829
3829
  function t(r, i) {
3830
3830
  var n = e.call(this) || this;
3831
3831
  return n.destination = r, n.source = i, n;
@@ -3841,46 +3841,46 @@ var so = Or(function(e) {
3841
3841
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
3842
3842
  }, t.prototype._subscribe = function(r) {
3843
3843
  var i, n;
3844
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Hr;
3844
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Pr;
3845
3845
  }, t;
3846
- }(Mr), Cr = {
3846
+ }(Ar), Br = {
3847
3847
  now: function() {
3848
- return (Cr.delegate || Date).now();
3848
+ return (Br.delegate || Date).now();
3849
3849
  },
3850
3850
  delegate: void 0
3851
- }, ao = function(e) {
3852
- Le(t, e);
3851
+ }, so = function(e) {
3852
+ De(t, e);
3853
3853
  function t(r, i, n) {
3854
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Cr);
3854
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Br);
3855
3855
  var o = e.call(this) || this;
3856
3856
  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;
3857
3857
  }
3858
3858
  return t.prototype.next = function(r) {
3859
- var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
3860
- n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
3859
+ var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, u = i._windowTime;
3860
+ n || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
3861
3861
  }, t.prototype._subscribe = function(r) {
3862
3862
  this._throwIfClosed(), this._trimBuffer();
3863
- for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
3864
- r.next(a[l]);
3863
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
3864
+ r.next(a[u]);
3865
3865
  return this._checkFinalizedStatuses(r), i;
3866
3866
  }, t.prototype._trimBuffer = function() {
3867
3867
  var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
3868
3868
  if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
3869
- for (var l = n.now(), f = 0, h = 1; h < o.length && o[h] <= l; h += 2)
3870
- f = h;
3871
- f && o.splice(0, f + 1);
3869
+ for (var u = n.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
3870
+ l = f;
3871
+ l && o.splice(0, l + 1);
3872
3872
  }
3873
3873
  }, t;
3874
- }(Mr);
3875
- const Xt = [], qt = {}, uo = (e, t = 0) => {
3876
- if (Xt.indexOf(e) == -1) {
3877
- const r = new ao(t);
3878
- qt[e] = r, Xt.push(e);
3874
+ }(Ar);
3875
+ const zt = [], Wt = {}, ao = (e, t = 0) => {
3876
+ if (zt.indexOf(e) == -1) {
3877
+ const r = new so(t);
3878
+ Wt[e] = r, zt.push(e);
3879
3879
  }
3880
- return qt[e];
3880
+ return Wt[e];
3881
3881
  };
3882
- window.emWidgets = { topic: uo };
3883
- const lo = (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));
3882
+ window.emWidgets = { topic: ao };
3883
+ const uo = (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));
3884
3884
  if (typeof window < "u") {
3885
3885
  let e = function(t) {
3886
3886
  return function(...r) {
@@ -3893,492 +3893,450 @@ if (typeof window < "u") {
3893
3893
  }
3894
3894
  };
3895
3895
  };
3896
- customElements.define = e(customElements.define), import("./CashierModal-C6RR3TRt.js").then((t) => t.D).then(({ default: t }) => {
3896
+ customElements.define = e(customElements.define), import("./CashierModal-CHmM89CT.js").then((t) => t.D).then(({ default: t }) => {
3897
3897
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
3898
3898
  });
3899
3899
  }
3900
- var Ir = { exports: {} };
3900
+ var Mr = { exports: {} };
3901
3901
  (function(e, t) {
3902
3902
  (function(r, i) {
3903
3903
  e.exports = i();
3904
- })(tr, function() {
3905
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", f = "day", h = "week", m = "month", d = "quarter", y = "year", x = "date", c = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|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, P = { 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(w) {
3906
- var g = ["th", "st", "nd", "rd"], p = w % 100;
3907
- return "[" + w + (g[(p - 20) % 10] || g[p] || g[0]) + "]";
3908
- } }, C = function(w, g, p) {
3909
- var _ = String(w);
3910
- return !_ || _.length >= g ? w : "" + Array(g + 1 - _.length).join(p) + w;
3911
- }, q = { s: C, z: function(w) {
3912
- var g = -w.utcOffset(), p = Math.abs(g), _ = Math.floor(p / 60), v = p % 60;
3913
- return (g <= 0 ? "+" : "-") + C(_, 2, "0") + ":" + C(v, 2, "0");
3914
- }, m: function w(g, p) {
3915
- if (g.date() < p.date())
3916
- return -w(p, g);
3917
- var _ = 12 * (p.year() - g.year()) + (p.month() - g.month()), v = g.clone().add(_, m), S = p - v < 0, T = g.clone().add(_ + (S ? -1 : 1), m);
3918
- return +(-(_ + (p - v) / (S ? v - T : T - v)) || 0);
3919
- }, a: function(w) {
3920
- return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
3921
- }, p: function(w) {
3922
- return { M: m, y, w: h, d: f, D: x, h: l, m: a, s, ms: o, Q: d }[w] || String(w || "").toLowerCase().replace(/s$/, "");
3923
- }, u: function(w) {
3924
- return w === void 0;
3925
- } }, R = "en", F = {};
3926
- F[R] = P;
3927
- var J = "$isDayjsObject", ie = function(w) {
3928
- return w instanceof le || !(!w || !w[J]);
3929
- }, Q = function w(g, p, _) {
3930
- var v;
3931
- if (!g)
3932
- return R;
3933
- if (typeof g == "string") {
3934
- var S = g.toLowerCase();
3935
- F[S] && (v = S), p && (F[S] = p, v = S);
3936
- var T = g.split("-");
3937
- if (!v && T.length > 1)
3938
- return w(T[0]);
3904
+ })(Kt, function() {
3905
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", g = "month", p = "quarter", x = "year", S = "date", d = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
3906
+ var v = ["th", "st", "nd", "rd"], c = _ % 100;
3907
+ return "[" + _ + (v[(c - 20) % 10] || v[c] || v[0]) + "]";
3908
+ } }, A = function(_, v, c) {
3909
+ var b = String(_);
3910
+ return !b || b.length >= v ? _ : "" + Array(v + 1 - b.length).join(c) + _;
3911
+ }, z = { s: A, z: function(_) {
3912
+ var v = -_.utcOffset(), c = Math.abs(v), b = Math.floor(c / 60), m = c % 60;
3913
+ return (v <= 0 ? "+" : "-") + A(b, 2, "0") + ":" + A(m, 2, "0");
3914
+ }, m: function _(v, c) {
3915
+ if (v.date() < c.date())
3916
+ return -_(c, v);
3917
+ var b = 12 * (c.year() - v.year()) + (c.month() - v.month()), m = v.clone().add(b, g), E = c - m < 0, w = v.clone().add(b + (E ? -1 : 1), g);
3918
+ return +(-(b + (c - m) / (E ? m - w : w - m)) || 0);
3919
+ }, a: function(_) {
3920
+ return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3921
+ }, p: function(_) {
3922
+ return { M: g, y: x, w: f, d: l, D: S, h: u, m: a, s, ms: o, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3923
+ }, u: function(_) {
3924
+ return _ === void 0;
3925
+ } }, N = "en", U = {};
3926
+ U[N] = k;
3927
+ var X = "$isDayjsObject", K = function(_) {
3928
+ return _ instanceof F || !(!_ || !_[X]);
3929
+ }, Y = function _(v, c, b) {
3930
+ var m;
3931
+ if (!v)
3932
+ return N;
3933
+ if (typeof v == "string") {
3934
+ var E = v.toLowerCase();
3935
+ U[E] && (m = E), c && (U[E] = c, m = E);
3936
+ var w = v.split("-");
3937
+ if (!m && w.length > 1)
3938
+ return _(w[0]);
3939
3939
  } else {
3940
- var I = g.name;
3941
- F[I] = g, v = I;
3940
+ var B = v.name;
3941
+ U[B] = v, m = B;
3942
3942
  }
3943
- return !_ && v && (R = v), v || !_ && R;
3944
- }, k = function(w, g) {
3945
- if (ie(w))
3946
- return w.clone();
3947
- var p = typeof g == "object" ? g : {};
3948
- return p.date = w, p.args = arguments, new le(p);
3949
- }, B = q;
3950
- B.l = Q, B.i = ie, B.w = function(w, g) {
3951
- return k(w, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3943
+ return !b && m && (N = m), m || !b && N;
3944
+ }, C = function(_, v) {
3945
+ if (K(_))
3946
+ return _.clone();
3947
+ var c = typeof v == "object" ? v : {};
3948
+ return c.date = _, c.args = arguments, new F(c);
3949
+ }, H = z;
3950
+ H.l = Y, H.i = K, H.w = function(_, v) {
3951
+ return C(_, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
3952
3952
  };
3953
- var le = function() {
3954
- function w(p) {
3955
- this.$L = Q(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[J] = !0;
3953
+ var F = function() {
3954
+ function _(c) {
3955
+ this.$L = Y(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[X] = !0;
3956
3956
  }
3957
- var g = w.prototype;
3958
- return g.parse = function(p) {
3959
- this.$d = function(_) {
3960
- var v = _.date, S = _.utc;
3961
- if (v === null)
3957
+ var v = _.prototype;
3958
+ return v.parse = function(c) {
3959
+ this.$d = function(b) {
3960
+ var m = b.date, E = b.utc;
3961
+ if (m === null)
3962
3962
  return /* @__PURE__ */ new Date(NaN);
3963
- if (B.u(v))
3963
+ if (H.u(m))
3964
3964
  return /* @__PURE__ */ new Date();
3965
- if (v instanceof Date)
3966
- return new Date(v);
3967
- if (typeof v == "string" && !/Z$/i.test(v)) {
3968
- var T = v.match(b);
3969
- if (T) {
3970
- var I = T[2] - 1 || 0, L = (T[7] || "0").substring(0, 3);
3971
- return S ? new Date(Date.UTC(T[1], I, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, L)) : new Date(T[1], I, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, L);
3965
+ if (m instanceof Date)
3966
+ return new Date(m);
3967
+ if (typeof m == "string" && !/Z$/i.test(m)) {
3968
+ var w = m.match(M);
3969
+ if (w) {
3970
+ var B = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3971
+ return E ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3972
3972
  }
3973
3973
  }
3974
- return new Date(v);
3975
- }(p), this.init();
3976
- }, g.init = function() {
3977
- var p = this.$d;
3978
- this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
3979
- }, g.$utils = function() {
3980
- return B;
3981
- }, g.isValid = function() {
3982
- return this.$d.toString() !== c;
3983
- }, g.isSame = function(p, _) {
3984
- var v = k(p);
3985
- return this.startOf(_) <= v && v <= this.endOf(_);
3986
- }, g.isAfter = function(p, _) {
3987
- return k(p) < this.startOf(_);
3988
- }, g.isBefore = function(p, _) {
3989
- return this.endOf(_) < k(p);
3990
- }, g.$g = function(p, _, v) {
3991
- return B.u(p) ? this[_] : this.set(v, p);
3992
- }, g.unix = function() {
3974
+ return new Date(m);
3975
+ }(c), this.init();
3976
+ }, v.init = function() {
3977
+ var c = this.$d;
3978
+ this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
3979
+ }, v.$utils = function() {
3980
+ return H;
3981
+ }, v.isValid = function() {
3982
+ return this.$d.toString() !== d;
3983
+ }, v.isSame = function(c, b) {
3984
+ var m = C(c);
3985
+ return this.startOf(b) <= m && m <= this.endOf(b);
3986
+ }, v.isAfter = function(c, b) {
3987
+ return C(c) < this.startOf(b);
3988
+ }, v.isBefore = function(c, b) {
3989
+ return this.endOf(b) < C(c);
3990
+ }, v.$g = function(c, b, m) {
3991
+ return H.u(c) ? this[b] : this.set(m, c);
3992
+ }, v.unix = function() {
3993
3993
  return Math.floor(this.valueOf() / 1e3);
3994
- }, g.valueOf = function() {
3994
+ }, v.valueOf = function() {
3995
3995
  return this.$d.getTime();
3996
- }, g.startOf = function(p, _) {
3997
- var v = this, S = !!B.u(_) || _, T = B.p(p), I = function(ee, $) {
3998
- var te = B.w(v.$u ? Date.UTC(v.$y, $, ee) : new Date(v.$y, $, ee), v);
3999
- return S ? te : te.endOf(f);
4000
- }, L = function(ee, $) {
4001
- return B.w(v.toDate()[ee].apply(v.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), v);
4002
- }, U = this.$W, V = this.$M, W = this.$D, he = "set" + (this.$u ? "UTC" : "");
4003
- switch (T) {
4004
- case y:
4005
- return S ? I(1, 0) : I(31, 11);
4006
- case m:
4007
- return S ? I(1, V) : I(0, V + 1);
4008
- case h:
4009
- var ne = this.$locale().weekStart || 0, de = (U < ne ? U + 7 : U) - ne;
4010
- return I(S ? W - de : W + (6 - de), V);
4011
- case f:
3996
+ }, v.startOf = function(c, b) {
3997
+ var m = this, E = !!H.u(b) || b, w = H.p(c), B = function(te, j) {
3998
+ var Z = H.w(m.$u ? Date.UTC(m.$y, j, te) : new Date(m.$y, j, te), m);
3999
+ return E ? Z : Z.endOf(l);
4000
+ }, D = function(te, j) {
4001
+ return H.w(m.toDate()[te].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), m);
4002
+ }, R = this.$W, V = this.$M, W = this.$D, ae = "set" + (this.$u ? "UTC" : "");
4003
+ switch (w) {
4012
4004
  case x:
4013
- return L(he + "Hours", 0);
4005
+ return E ? B(1, 0) : B(31, 11);
4006
+ case g:
4007
+ return E ? B(1, V) : B(0, V + 1);
4008
+ case f:
4009
+ var ee = this.$locale().weekStart || 0, ue = (R < ee ? R + 7 : R) - ee;
4010
+ return B(E ? W - ue : W + (6 - ue), V);
4014
4011
  case l:
4015
- return L(he + "Minutes", 1);
4012
+ case S:
4013
+ return D(ae + "Hours", 0);
4014
+ case u:
4015
+ return D(ae + "Minutes", 1);
4016
4016
  case a:
4017
- return L(he + "Seconds", 2);
4017
+ return D(ae + "Seconds", 2);
4018
4018
  case s:
4019
- return L(he + "Milliseconds", 3);
4019
+ return D(ae + "Milliseconds", 3);
4020
4020
  default:
4021
4021
  return this.clone();
4022
4022
  }
4023
- }, g.endOf = function(p) {
4024
- return this.startOf(p, !1);
4025
- }, g.$set = function(p, _) {
4026
- var v, S = B.p(p), T = "set" + (this.$u ? "UTC" : ""), I = (v = {}, v[f] = T + "Date", v[x] = T + "Date", v[m] = T + "Month", v[y] = T + "FullYear", v[l] = T + "Hours", v[a] = T + "Minutes", v[s] = T + "Seconds", v[o] = T + "Milliseconds", v)[S], L = S === f ? this.$D + (_ - this.$W) : _;
4027
- if (S === m || S === y) {
4028
- var U = this.clone().set(x, 1);
4029
- U.$d[I](L), U.init(), this.$d = U.set(x, Math.min(this.$D, U.daysInMonth())).$d;
4023
+ }, v.endOf = function(c) {
4024
+ return this.startOf(c, !1);
4025
+ }, v.$set = function(c, b) {
4026
+ var m, E = H.p(c), w = "set" + (this.$u ? "UTC" : ""), B = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[g] = w + "Month", m[x] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[E], D = E === l ? this.$D + (b - this.$W) : b;
4027
+ if (E === g || E === x) {
4028
+ var R = this.clone().set(S, 1);
4029
+ R.$d[B](D), R.init(), this.$d = R.set(S, Math.min(this.$D, R.daysInMonth())).$d;
4030
4030
  } else
4031
- I && this.$d[I](L);
4031
+ B && this.$d[B](D);
4032
4032
  return this.init(), this;
4033
- }, g.set = function(p, _) {
4034
- return this.clone().$set(p, _);
4035
- }, g.get = function(p) {
4036
- return this[B.p(p)]();
4037
- }, g.add = function(p, _) {
4038
- var v, S = this;
4039
- p = Number(p);
4040
- var T = B.p(_), I = function(V) {
4041
- var W = k(S);
4042
- return B.w(W.date(W.date() + Math.round(V * p)), S);
4033
+ }, v.set = function(c, b) {
4034
+ return this.clone().$set(c, b);
4035
+ }, v.get = function(c) {
4036
+ return this[H.p(c)]();
4037
+ }, v.add = function(c, b) {
4038
+ var m, E = this;
4039
+ c = Number(c);
4040
+ var w = H.p(b), B = function(V) {
4041
+ var W = C(E);
4042
+ return H.w(W.date(W.date() + Math.round(V * c)), E);
4043
4043
  };
4044
- if (T === m)
4045
- return this.set(m, this.$M + p);
4046
- if (T === y)
4047
- return this.set(y, this.$y + p);
4048
- if (T === f)
4049
- return I(1);
4050
- if (T === h)
4051
- return I(7);
4052
- var L = (v = {}, v[a] = i, v[l] = n, v[s] = r, v)[T] || 1, U = this.$d.getTime() + p * L;
4053
- return B.w(U, this);
4054
- }, g.subtract = function(p, _) {
4055
- return this.add(-1 * p, _);
4056
- }, g.format = function(p) {
4057
- var _ = this, v = this.$locale();
4044
+ if (w === g)
4045
+ return this.set(g, this.$M + c);
4046
+ if (w === x)
4047
+ return this.set(x, this.$y + c);
4048
+ if (w === l)
4049
+ return B(1);
4050
+ if (w === f)
4051
+ return B(7);
4052
+ var D = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[w] || 1, R = this.$d.getTime() + c * D;
4053
+ return H.w(R, this);
4054
+ }, v.subtract = function(c, b) {
4055
+ return this.add(-1 * c, b);
4056
+ }, v.format = function(c) {
4057
+ var b = this, m = this.$locale();
4058
4058
  if (!this.isValid())
4059
- return v.invalidDate || c;
4060
- var S = p || "YYYY-MM-DDTHH:mm:ssZ", T = B.z(this), I = this.$H, L = this.$m, U = this.$M, V = v.weekdays, W = v.months, he = v.meridiem, ne = function($, te, pe, be) {
4061
- return $ && ($[te] || $(_, S)) || pe[te].slice(0, be);
4062
- }, de = function($) {
4063
- return B.s(I % 12 || 12, $, "0");
4064
- }, ee = he || function($, te, pe) {
4065
- var be = $ < 12 ? "AM" : "PM";
4066
- return pe ? be.toLowerCase() : be;
4059
+ return m.invalidDate || d;
4060
+ var E = c || "YYYY-MM-DDTHH:mm:ssZ", w = H.z(this), B = this.$H, D = this.$m, R = this.$M, V = m.weekdays, W = m.months, ae = m.meridiem, ee = function(j, Z, pe, le) {
4061
+ return j && (j[Z] || j(b, E)) || pe[Z].slice(0, le);
4062
+ }, ue = function(j) {
4063
+ return H.s(B % 12 || 12, j, "0");
4064
+ }, te = ae || function(j, Z, pe) {
4065
+ var le = j < 12 ? "AM" : "PM";
4066
+ return pe ? le.toLowerCase() : le;
4067
4067
  };
4068
- return S.replace(A, function($, te) {
4069
- return te || function(pe) {
4068
+ return E.replace(G, function(j, Z) {
4069
+ return Z || function(pe) {
4070
4070
  switch (pe) {
4071
4071
  case "YY":
4072
- return String(_.$y).slice(-2);
4072
+ return String(b.$y).slice(-2);
4073
4073
  case "YYYY":
4074
- return B.s(_.$y, 4, "0");
4074
+ return H.s(b.$y, 4, "0");
4075
4075
  case "M":
4076
- return U + 1;
4076
+ return R + 1;
4077
4077
  case "MM":
4078
- return B.s(U + 1, 2, "0");
4078
+ return H.s(R + 1, 2, "0");
4079
4079
  case "MMM":
4080
- return ne(v.monthsShort, U, W, 3);
4080
+ return ee(m.monthsShort, R, W, 3);
4081
4081
  case "MMMM":
4082
- return ne(W, U);
4082
+ return ee(W, R);
4083
4083
  case "D":
4084
- return _.$D;
4084
+ return b.$D;
4085
4085
  case "DD":
4086
- return B.s(_.$D, 2, "0");
4086
+ return H.s(b.$D, 2, "0");
4087
4087
  case "d":
4088
- return String(_.$W);
4088
+ return String(b.$W);
4089
4089
  case "dd":
4090
- return ne(v.weekdaysMin, _.$W, V, 2);
4090
+ return ee(m.weekdaysMin, b.$W, V, 2);
4091
4091
  case "ddd":
4092
- return ne(v.weekdaysShort, _.$W, V, 3);
4092
+ return ee(m.weekdaysShort, b.$W, V, 3);
4093
4093
  case "dddd":
4094
- return V[_.$W];
4094
+ return V[b.$W];
4095
4095
  case "H":
4096
- return String(I);
4096
+ return String(B);
4097
4097
  case "HH":
4098
- return B.s(I, 2, "0");
4098
+ return H.s(B, 2, "0");
4099
4099
  case "h":
4100
- return de(1);
4100
+ return ue(1);
4101
4101
  case "hh":
4102
- return de(2);
4102
+ return ue(2);
4103
4103
  case "a":
4104
- return ee(I, L, !0);
4104
+ return te(B, D, !0);
4105
4105
  case "A":
4106
- return ee(I, L, !1);
4106
+ return te(B, D, !1);
4107
4107
  case "m":
4108
- return String(L);
4108
+ return String(D);
4109
4109
  case "mm":
4110
- return B.s(L, 2, "0");
4110
+ return H.s(D, 2, "0");
4111
4111
  case "s":
4112
- return String(_.$s);
4112
+ return String(b.$s);
4113
4113
  case "ss":
4114
- return B.s(_.$s, 2, "0");
4114
+ return H.s(b.$s, 2, "0");
4115
4115
  case "SSS":
4116
- return B.s(_.$ms, 3, "0");
4116
+ return H.s(b.$ms, 3, "0");
4117
4117
  case "Z":
4118
- return T;
4118
+ return w;
4119
4119
  }
4120
4120
  return null;
4121
- }($) || T.replace(":", "");
4121
+ }(j) || w.replace(":", "");
4122
4122
  });
4123
- }, g.utcOffset = function() {
4123
+ }, v.utcOffset = function() {
4124
4124
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4125
- }, g.diff = function(p, _, v) {
4126
- var S, T = this, I = B.p(_), L = k(p), U = (L.utcOffset() - this.utcOffset()) * i, V = this - L, W = function() {
4127
- return B.m(T, L);
4125
+ }, v.diff = function(c, b, m) {
4126
+ var E, w = this, B = H.p(b), D = C(c), R = (D.utcOffset() - this.utcOffset()) * i, V = this - D, W = function() {
4127
+ return H.m(w, D);
4128
4128
  };
4129
- switch (I) {
4130
- case y:
4131
- S = W() / 12;
4132
- break;
4133
- case m:
4134
- S = W();
4129
+ switch (B) {
4130
+ case x:
4131
+ E = W() / 12;
4135
4132
  break;
4136
- case d:
4137
- S = W() / 3;
4133
+ case g:
4134
+ E = W();
4138
4135
  break;
4139
- case h:
4140
- S = (V - U) / 6048e5;
4136
+ case p:
4137
+ E = W() / 3;
4141
4138
  break;
4142
4139
  case f:
4143
- S = (V - U) / 864e5;
4140
+ E = (V - R) / 6048e5;
4144
4141
  break;
4145
4142
  case l:
4146
- S = V / n;
4143
+ E = (V - R) / 864e5;
4144
+ break;
4145
+ case u:
4146
+ E = V / n;
4147
4147
  break;
4148
4148
  case a:
4149
- S = V / i;
4149
+ E = V / i;
4150
4150
  break;
4151
4151
  case s:
4152
- S = V / r;
4152
+ E = V / r;
4153
4153
  break;
4154
4154
  default:
4155
- S = V;
4155
+ E = V;
4156
4156
  }
4157
- return v ? S : B.a(S);
4158
- }, g.daysInMonth = function() {
4159
- return this.endOf(m).$D;
4160
- }, g.$locale = function() {
4161
- return F[this.$L];
4162
- }, g.locale = function(p, _) {
4163
- if (!p)
4157
+ return m ? E : H.a(E);
4158
+ }, v.daysInMonth = function() {
4159
+ return this.endOf(g).$D;
4160
+ }, v.$locale = function() {
4161
+ return U[this.$L];
4162
+ }, v.locale = function(c, b) {
4163
+ if (!c)
4164
4164
  return this.$L;
4165
- var v = this.clone(), S = Q(p, _, !0);
4166
- return S && (v.$L = S), v;
4167
- }, g.clone = function() {
4168
- return B.w(this.$d, this);
4169
- }, g.toDate = function() {
4165
+ var m = this.clone(), E = Y(c, b, !0);
4166
+ return E && (m.$L = E), m;
4167
+ }, v.clone = function() {
4168
+ return H.w(this.$d, this);
4169
+ }, v.toDate = function() {
4170
4170
  return new Date(this.valueOf());
4171
- }, g.toJSON = function() {
4171
+ }, v.toJSON = function() {
4172
4172
  return this.isValid() ? this.toISOString() : null;
4173
- }, g.toISOString = function() {
4173
+ }, v.toISOString = function() {
4174
4174
  return this.$d.toISOString();
4175
- }, g.toString = function() {
4175
+ }, v.toString = function() {
4176
4176
  return this.$d.toUTCString();
4177
- }, w;
4178
- }(), G = le.prototype;
4179
- return k.prototype = G, [["$ms", o], ["$s", s], ["$m", a], ["$H", l], ["$W", f], ["$M", m], ["$y", y], ["$D", x]].forEach(function(w) {
4180
- G[w[1]] = function(g) {
4181
- return this.$g(g, w[0], w[1]);
4177
+ }, _;
4178
+ }(), se = F.prototype;
4179
+ return C.prototype = se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", g], ["$y", x], ["$D", S]].forEach(function(_) {
4180
+ se[_[1]] = function(v) {
4181
+ return this.$g(v, _[0], _[1]);
4182
4182
  };
4183
- }), k.extend = function(w, g) {
4184
- return w.$i || (w(g, le, k), w.$i = !0), k;
4185
- }, k.locale = Q, k.isDayjs = ie, k.unix = function(w) {
4186
- return k(1e3 * w);
4187
- }, k.en = F[R], k.Ls = F, k.p = {}, k;
4183
+ }), C.extend = function(_, v) {
4184
+ return _.$i || (_(v, F, C), _.$i = !0), C;
4185
+ }, C.locale = Y, C.isDayjs = K, C.unix = function(_) {
4186
+ return C(1e3 * _);
4187
+ }, C.en = U[N], C.Ls = U, C.p = {}, C;
4188
4188
  });
4189
- })(Ir);
4190
- var ho = Ir.exports;
4191
- const Yt = /* @__PURE__ */ _t(ho);
4192
- var Dr = { exports: {} };
4189
+ })(Mr);
4190
+ var lo = Mr.exports;
4191
+ const Xt = /* @__PURE__ */ yt(lo);
4192
+ var Cr = { exports: {} };
4193
4193
  (function(e, t) {
4194
4194
  (function(r, i) {
4195
4195
  e.exports = i();
4196
- })(tr, function() {
4196
+ })(Kt, function() {
4197
4197
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4198
4198
  return function(o, s, a) {
4199
- var l = s.prototype;
4200
- a.utc = function(c) {
4201
- var b = { date: c, utc: !0, args: arguments };
4202
- return new s(b);
4203
- }, l.utc = function(c) {
4204
- var b = a(this.toDate(), { locale: this.$L, utc: !0 });
4205
- return c ? b.add(this.utcOffset(), r) : b;
4206
- }, l.local = function() {
4199
+ var u = s.prototype;
4200
+ a.utc = function(d) {
4201
+ var M = { date: d, utc: !0, args: arguments };
4202
+ return new s(M);
4203
+ }, u.utc = function(d) {
4204
+ var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4205
+ return d ? M.add(this.utcOffset(), r) : M;
4206
+ }, u.local = function() {
4207
4207
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4208
4208
  };
4209
- var f = l.parse;
4210
- l.parse = function(c) {
4211
- c.utc && (this.$u = !0), this.$utils().u(c.$offset) || (this.$offset = c.$offset), f.call(this, c);
4209
+ var l = u.parse;
4210
+ u.parse = function(d) {
4211
+ d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
4212
4212
  };
4213
- var h = l.init;
4214
- l.init = function() {
4213
+ var f = u.init;
4214
+ u.init = function() {
4215
4215
  if (this.$u) {
4216
- var c = this.$d;
4217
- this.$y = c.getUTCFullYear(), this.$M = c.getUTCMonth(), this.$D = c.getUTCDate(), this.$W = c.getUTCDay(), this.$H = c.getUTCHours(), this.$m = c.getUTCMinutes(), this.$s = c.getUTCSeconds(), this.$ms = c.getUTCMilliseconds();
4216
+ var d = this.$d;
4217
+ this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
4218
4218
  } else
4219
- h.call(this);
4219
+ f.call(this);
4220
4220
  };
4221
- var m = l.utcOffset;
4222
- l.utcOffset = function(c, b) {
4223
- var A = this.$utils().u;
4224
- if (A(c))
4225
- return this.$u ? 0 : A(this.$offset) ? m.call(this) : this.$offset;
4226
- if (typeof c == "string" && (c = function(R) {
4227
- R === void 0 && (R = "");
4228
- var F = R.match(i);
4229
- if (!F)
4221
+ var g = u.utcOffset;
4222
+ u.utcOffset = function(d, M) {
4223
+ var G = this.$utils().u;
4224
+ if (G(d))
4225
+ return this.$u ? 0 : G(this.$offset) ? g.call(this) : this.$offset;
4226
+ if (typeof d == "string" && (d = function(N) {
4227
+ N === void 0 && (N = "");
4228
+ var U = N.match(i);
4229
+ if (!U)
4230
4230
  return null;
4231
- var J = ("" + F[0]).match(n) || ["-", 0, 0], ie = J[0], Q = 60 * +J[1] + +J[2];
4232
- return Q === 0 ? 0 : ie === "+" ? Q : -Q;
4233
- }(c), c === null))
4231
+ var X = ("" + U[0]).match(n) || ["-", 0, 0], K = X[0], Y = 60 * +X[1] + +X[2];
4232
+ return Y === 0 ? 0 : K === "+" ? Y : -Y;
4233
+ }(d), d === null))
4234
4234
  return this;
4235
- var P = Math.abs(c) <= 16 ? 60 * c : c, C = this;
4236
- if (b)
4237
- return C.$offset = P, C.$u = c === 0, C;
4238
- if (c !== 0) {
4239
- var q = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4240
- (C = this.local().add(P + q, r)).$offset = P, C.$x.$localOffset = q;
4235
+ var k = Math.abs(d) <= 16 ? 60 * d : d, A = this;
4236
+ if (M)
4237
+ return A.$offset = k, A.$u = d === 0, A;
4238
+ if (d !== 0) {
4239
+ var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4240
+ (A = this.local().add(k + z, r)).$offset = k, A.$x.$localOffset = z;
4241
4241
  } else
4242
- C = this.utc();
4243
- return C;
4242
+ A = this.utc();
4243
+ return A;
4244
4244
  };
4245
- var d = l.format;
4246
- l.format = function(c) {
4247
- var b = c || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4248
- return d.call(this, b);
4249
- }, l.valueOf = function() {
4250
- var c = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4251
- return this.$d.valueOf() - 6e4 * c;
4252
- }, l.isUTC = function() {
4245
+ var p = u.format;
4246
+ u.format = function(d) {
4247
+ var M = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4248
+ return p.call(this, M);
4249
+ }, u.valueOf = function() {
4250
+ var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4251
+ return this.$d.valueOf() - 6e4 * d;
4252
+ }, u.isUTC = function() {
4253
4253
  return !!this.$u;
4254
- }, l.toISOString = function() {
4254
+ }, u.toISOString = function() {
4255
4255
  return this.toDate().toISOString();
4256
- }, l.toString = function() {
4256
+ }, u.toString = function() {
4257
4257
  return this.toDate().toUTCString();
4258
4258
  };
4259
- var y = l.toDate;
4260
- l.toDate = function(c) {
4261
- return c === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
4259
+ var x = u.toDate;
4260
+ u.toDate = function(d) {
4261
+ return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4262
4262
  };
4263
- var x = l.diff;
4264
- l.diff = function(c, b, A) {
4265
- if (c && this.$u === c.$u)
4266
- return x.call(this, c, b, A);
4267
- var P = this.local(), C = a(c).local();
4268
- return x.call(P, C, b, A);
4263
+ var S = u.diff;
4264
+ u.diff = function(d, M, G) {
4265
+ if (d && this.$u === d.$u)
4266
+ return S.call(this, d, M, G);
4267
+ var k = this.local(), A = a(d).local();
4268
+ return S.call(k, A, M, G);
4269
4269
  };
4270
4270
  };
4271
4271
  });
4272
- })(Dr);
4273
- var fo = Dr.exports;
4274
- const co = /* @__PURE__ */ _t(fo);
4275
- function po(e) {
4276
- Xr(e, "svelte-1nikw0c", "*,*::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(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}");
4272
+ })(Cr);
4273
+ var ho = Cr.exports;
4274
+ const fo = /* @__PURE__ */ yt(ho);
4275
+ function co(e) {
4276
+ zr(e, "svelte-ltlo52", "*,*::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%}.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:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--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}.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}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4277
4277
  }
4278
- function Zt(e, t, r) {
4278
+ function qt(e, t, r) {
4279
4279
  const i = e.slice();
4280
4280
  return i[55] = t[r], i[57] = r, i;
4281
4281
  }
4282
- function mo(e) {
4283
- let t, r, i, n, o, s, a, l, f, h, m, d, y = St(
4282
+ function po(e) {
4283
+ let t, r, i, n = wt(
4284
4284
  /*displayMessages*/
4285
- e[4]
4286
- ), x = [];
4287
- for (let b = 0; b < y.length; b += 1)
4288
- x[b] = Qt(Zt(e, y, b));
4289
- let c = (
4285
+ e[3]
4286
+ ), o = [];
4287
+ for (let a = 0; a < n.length; a += 1)
4288
+ o[a] = Zt(qt(e, n, a));
4289
+ let s = (
4290
4290
  /*videoExists*/
4291
- e[7] && Kt(e)
4291
+ e[6] && Jt(e)
4292
4292
  );
4293
4293
  return {
4294
4294
  c() {
4295
- t = z("div");
4296
- for (let b = 0; b < x.length; b += 1)
4297
- x[b].c();
4298
- r = _e(), c && c.c(), i = _e(), n = z("cashier-modal"), o = z("div"), s = z("div"), a = z("div"), l = z("video"), f = z("source"), j(t, "class", "CashierVerificationsWrapper"), Tt(f.src, h = /*videoSrc*/
4299
- e[8]) || j(f, "src", h), l.controls = !0, j(l, "controlslist", "nodownload"), j(l, "disablepictureinpicture", ""), j(a, "class", "CashierVideo"), j(s, "class", "CashierVideoWrapper"), j(o, "slot", "content"), j(o, "class", "ModalContentContainer"), Y(n, "show", m = `${/*modalState*/
4300
- e[10] !== "closed"}`), Y(n, "isvideo", d = `${/*modalState*/
4301
- e[10] === "video"}`), Y(
4302
- n,
4303
- "clientstylingurl",
4304
- /*clientstylingurl*/
4305
- e[1]
4306
- ), Y(
4307
- n,
4308
- "clientstyling",
4309
- /*clientstyling*/
4310
- e[0]
4311
- ), Y(
4312
- n,
4313
- "mbsource",
4314
- /*mbsource*/
4315
- e[2]
4316
- );
4295
+ t = Q("div");
4296
+ for (let a = 0; a < o.length; a += 1)
4297
+ o[a].c();
4298
+ r = He(), s && s.c(), i = Yr(), ne(t, "class", "CashierVerificationsWrapper");
4317
4299
  },
4318
- m(b, A) {
4319
- ae(b, t, A);
4320
- for (let P = 0; P < x.length; P += 1)
4321
- x[P] && x[P].m(t, null);
4322
- ae(b, r, A), c && c.m(b, A), ae(b, i, A), ae(b, n, A), Z(n, o), Z(o, s), Z(s, a), Z(a, l), Z(l, f);
4300
+ m(a, u) {
4301
+ ce(a, t, u);
4302
+ for (let l = 0; l < o.length; l += 1)
4303
+ o[l] && o[l].m(t, null);
4304
+ ce(a, r, u), s && s.m(a, u), ce(a, i, u);
4323
4305
  },
4324
- p(b, A) {
4325
- if (A[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4326
- 4144) {
4327
- y = St(
4306
+ p(a, u) {
4307
+ if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4308
+ 536) {
4309
+ n = wt(
4328
4310
  /*displayMessages*/
4329
- b[4]
4311
+ a[3]
4330
4312
  );
4331
- let P;
4332
- for (P = 0; P < y.length; P += 1) {
4333
- const C = Zt(b, y, P);
4334
- x[P] ? x[P].p(C, A) : (x[P] = Qt(C), x[P].c(), x[P].m(t, null));
4313
+ let l;
4314
+ for (l = 0; l < n.length; l += 1) {
4315
+ const f = qt(a, n, l);
4316
+ o[l] ? o[l].p(f, u) : (o[l] = Zt(f), o[l].c(), o[l].m(t, null));
4335
4317
  }
4336
- for (; P < x.length; P += 1)
4337
- x[P].d(1);
4338
- x.length = y.length;
4318
+ for (; l < o.length; l += 1)
4319
+ o[l].d(1);
4320
+ o.length = n.length;
4339
4321
  }
4340
4322
  /*videoExists*/
4341
- b[7] ? c ? c.p(b, A) : (c = Kt(b), c.c(), c.m(i.parentNode, i)) : c && (c.d(1), c = null), A[0] & /*videoSrc*/
4342
- 256 && !Tt(f.src, h = /*videoSrc*/
4343
- b[8]) && j(f, "src", h), A[0] & /*modalState*/
4344
- 1024 && m !== (m = `${/*modalState*/
4345
- b[10] !== "closed"}`) && Y(n, "show", m), A[0] & /*modalState*/
4346
- 1024 && d !== (d = `${/*modalState*/
4347
- b[10] === "video"}`) && Y(n, "isvideo", d), A[0] & /*clientstylingurl*/
4348
- 2 && Y(
4349
- n,
4350
- "clientstylingurl",
4351
- /*clientstylingurl*/
4352
- b[1]
4353
- ), A[0] & /*clientstyling*/
4354
- 1 && Y(
4355
- n,
4356
- "clientstyling",
4357
- /*clientstyling*/
4358
- b[0]
4359
- ), A[0] & /*mbsource*/
4360
- 4 && Y(
4361
- n,
4362
- "mbsource",
4363
- /*mbsource*/
4364
- b[2]
4365
- );
4323
+ a[6] ? s ? s.p(a, u) : (s = Jt(a), s.c(), s.m(i.parentNode, i)) : s && (s.d(1), s = null);
4366
4324
  },
4367
- d(b) {
4368
- b && (se(t), se(r), se(i), se(n)), Zr(x, b), c && c.d(b);
4325
+ d(a) {
4326
+ a && (fe(t), fe(r), fe(i)), qr(o, a), s && s.d(a);
4369
4327
  }
4370
4328
  };
4371
4329
  }
4372
- function vo(e) {
4330
+ function mo(e) {
4373
4331
  let t;
4374
4332
  return {
4375
4333
  c() {
4376
- t = z("cashier-spinner"), Y(
4334
+ t = Q("cashier-spinner"), Ne(
4377
4335
  t,
4378
4336
  "clientstylingurl",
4379
4337
  /*clientstylingurl*/
4380
4338
  e[1]
4381
- ), Y(
4339
+ ), Ne(
4382
4340
  t,
4383
4341
  "clientstyling",
4384
4342
  /*clientstyling*/
@@ -4386,17 +4344,17 @@ function vo(e) {
4386
4344
  );
4387
4345
  },
4388
4346
  m(r, i) {
4389
- ae(r, t, i);
4347
+ ce(r, t, i);
4390
4348
  },
4391
4349
  p(r, i) {
4392
4350
  i[0] & /*clientstylingurl*/
4393
- 2 && Y(
4351
+ 2 && Ne(
4394
4352
  t,
4395
4353
  "clientstylingurl",
4396
4354
  /*clientstylingurl*/
4397
4355
  r[1]
4398
4356
  ), i[0] & /*clientstyling*/
4399
- 1 && Y(
4357
+ 1 && Ne(
4400
4358
  t,
4401
4359
  "clientstyling",
4402
4360
  /*clientstyling*/
@@ -4404,16 +4362,16 @@ function vo(e) {
4404
4362
  );
4405
4363
  },
4406
4364
  d(r) {
4407
- r && se(t);
4365
+ r && fe(t);
4408
4366
  }
4409
4367
  };
4410
4368
  }
4411
- function Jt(e) {
4369
+ function Yt(e) {
4412
4370
  let t, r, i;
4413
4371
  function n(...o) {
4414
4372
  return (
4415
4373
  /*click_handler*/
4416
- e[21](
4374
+ e[19](
4417
4375
  /*index*/
4418
4376
  e[57],
4419
4377
  ...o
@@ -4422,430 +4380,433 @@ function Jt(e) {
4422
4380
  }
4423
4381
  return {
4424
4382
  c() {
4425
- t = z("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', j(t, "class", "CashierVerificationChevron");
4383
+ t = Q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ne(t, "class", "CashierVerificationChevron");
4426
4384
  },
4427
4385
  m(o, s) {
4428
- ae(o, t, s), r || (i = yt(t, "click", n), r = !0);
4386
+ ce(o, t, s), r || (i = bt(t, "click", n), r = !0);
4429
4387
  },
4430
4388
  p(o, s) {
4431
4389
  e = o;
4432
4390
  },
4433
4391
  d(o) {
4434
- o && se(t), r = !1, i();
4392
+ o && fe(t), r = !1, i();
4435
4393
  }
4436
4394
  };
4437
4395
  }
4438
- function Qt(e) {
4396
+ function Zt(e) {
4439
4397
  let t, r, i, n, o = (
4440
4398
  /*message*/
4441
4399
  e[55] + ""
4442
- ), s, a, l, f, h = (
4400
+ ), s, a, u, l, f = (
4443
4401
  /*displayMessages*/
4444
- e[4].length > 1 && /*index*/
4445
- e[57] === 0 && Jt(e)
4402
+ e[3].length > 1 && /*index*/
4403
+ e[57] === 0 && Yt(e)
4446
4404
  );
4447
- function m(...d) {
4405
+ function g(...p) {
4448
4406
  return (
4449
4407
  /*click_handler_1*/
4450
- e[22](
4408
+ e[20](
4451
4409
  /*index*/
4452
4410
  e[57],
4453
- ...d
4411
+ ...p
4454
4412
  )
4455
4413
  );
4456
4414
  }
4457
4415
  return {
4458
4416
  c() {
4459
- t = z("div"), r = z("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = z("p"), s = _e(), h && h.c(), a = _e(), j(r, "class", "IconVerification"), j(n, "class", "text"), j(t, "class", "CashierVerificationMessage"), xe(
4417
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = He(), n = Q("p"), s = He(), f && f.c(), a = He(), ne(r, "class", "IconVerification"), ne(n, "class", "text"), ne(t, "class", "CashierVerificationMessage"), ye(
4460
4418
  t,
4461
4419
  "ShowAll",
4462
4420
  /*allVerificationsVisible*/
4463
- e[5]
4421
+ e[4]
4464
4422
  );
4465
4423
  },
4466
- m(d, y) {
4467
- ae(d, t, y), Z(t, r), Z(t, i), Z(t, n), n.innerHTML = o, Z(t, s), h && h.m(t, null), Z(t, a), l || (f = yt(t, "click", m), l = !0);
4424
+ m(p, x) {
4425
+ ce(p, t, x), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = o, ie(t, s), f && f.m(t, null), ie(t, a), u || (l = bt(t, "click", g), u = !0);
4468
4426
  },
4469
- p(d, y) {
4470
- e = d, y[0] & /*displayMessages*/
4471
- 16 && o !== (o = /*message*/
4427
+ p(p, x) {
4428
+ e = p, x[0] & /*displayMessages*/
4429
+ 8 && o !== (o = /*message*/
4472
4430
  e[55] + "") && (n.innerHTML = o), /*displayMessages*/
4473
- e[4].length > 1 && /*index*/
4474
- e[57] === 0 ? h ? h.p(e, y) : (h = Jt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), y[0] & /*allVerificationsVisible*/
4475
- 32 && xe(
4431
+ e[3].length > 1 && /*index*/
4432
+ e[57] === 0 ? f ? f.p(e, x) : (f = Yt(e), f.c(), f.m(t, a)) : f && (f.d(1), f = null), x[0] & /*allVerificationsVisible*/
4433
+ 16 && ye(
4476
4434
  t,
4477
4435
  "ShowAll",
4478
4436
  /*allVerificationsVisible*/
4479
- e[5]
4437
+ e[4]
4480
4438
  );
4481
4439
  },
4482
- d(d) {
4483
- d && se(t), h && h.d(), l = !1, f();
4440
+ d(p) {
4441
+ p && fe(t), f && f.d(), u = !1, l();
4484
4442
  }
4485
4443
  };
4486
4444
  }
4487
- function Kt(e) {
4445
+ function Jt(e) {
4488
4446
  let t, r, i, n, o = (
4489
4447
  /*$_*/
4490
- e[11]("verification.video.how-to") + ""
4491
- ), s, a, l;
4448
+ e[8]("verification.video.how-to") + ""
4449
+ ), s, a, u;
4492
4450
  return {
4493
4451
  c() {
4494
- 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 = _e(), n = z("div"), s = Qr(o), j(r, "class", "IconVideo"), j(n, "class", "CashierVerificationVideoLink"), xe(
4452
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = He(), n = Q("div"), s = Jr(o), ne(r, "class", "IconVideo"), ne(n, "class", "CashierVerificationVideoLink"), ye(
4495
4453
  n,
4496
4454
  "CashierVerificationVideoLinkDesktop",
4497
4455
  /*desktopView*/
4498
- e[6]
4499
- ), j(t, "class", "CashierVerificationVideo");
4456
+ e[5]
4457
+ ), ne(t, "class", "CashierVerificationVideo");
4500
4458
  },
4501
- m(f, h) {
4502
- ae(f, t, h), Z(t, r), Z(t, i), Z(t, n), Z(n, s), a || (l = yt(
4459
+ m(l, f) {
4460
+ ce(l, t, f), ie(t, r), ie(t, i), ie(t, n), ie(n, s), a || (u = bt(
4503
4461
  n,
4504
4462
  "click",
4505
4463
  /*showVideo*/
4506
- e[13]
4464
+ e[10]
4507
4465
  ), a = !0);
4508
4466
  },
4509
- p(f, h) {
4510
- h[0] & /*$_*/
4511
- 2048 && o !== (o = /*$_*/
4512
- f[11]("verification.video.how-to") + "") && Jr(s, o), h[0] & /*desktopView*/
4513
- 64 && xe(
4467
+ p(l, f) {
4468
+ f[0] & /*$_*/
4469
+ 256 && o !== (o = /*$_*/
4470
+ l[8]("verification.video.how-to") + "") && Zr(s, o), f[0] & /*desktopView*/
4471
+ 32 && ye(
4514
4472
  n,
4515
4473
  "CashierVerificationVideoLinkDesktop",
4516
4474
  /*desktopView*/
4517
- f[6]
4475
+ l[5]
4518
4476
  );
4519
4477
  },
4520
- d(f) {
4521
- f && se(t), a = !1, l();
4478
+ d(l) {
4479
+ l && fe(t), a = !1, u();
4522
4480
  }
4523
4481
  };
4524
4482
  }
4525
- function go(e) {
4483
+ function vo(e) {
4526
4484
  let t;
4527
4485
  function r(o, s) {
4528
4486
  if (
4529
4487
  /*isLoading*/
4530
- o[9]
4488
+ o[7]
4531
4489
  )
4532
- return vo;
4490
+ return mo;
4533
4491
  if (
4534
4492
  /*displayMessages*/
4535
- o[4]
4493
+ o[3]
4536
4494
  )
4537
- return mo;
4495
+ return po;
4538
4496
  }
4539
4497
  let i = r(e), n = i && i(e);
4540
4498
  return {
4541
4499
  c() {
4542
- t = z("div"), n && n.c(), j(t, "class", "CashierVerifications"), xe(
4500
+ t = Q("div"), n && n.c(), ne(t, "class", "CashierVerifications"), ye(
4543
4501
  t,
4544
4502
  "CashierVerificationsDesktop",
4545
4503
  /*desktopView*/
4546
- e[6]
4504
+ e[5]
4547
4505
  );
4548
4506
  },
4549
4507
  m(o, s) {
4550
- ae(o, t, s), n && n.m(t, null), e[23](t);
4508
+ ce(o, t, s), n && n.m(t, null), e[21](t);
4551
4509
  },
4552
4510
  p(o, s) {
4553
4511
  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*/
4554
- 64 && xe(
4512
+ 32 && ye(
4555
4513
  t,
4556
4514
  "CashierVerificationsDesktop",
4557
4515
  /*desktopView*/
4558
- o[6]
4516
+ o[5]
4559
4517
  );
4560
4518
  },
4561
4519
  i: ve,
4562
4520
  o: ve,
4563
4521
  d(o) {
4564
- o && se(t), n && n.d(), e[23](null);
4522
+ o && fe(t), n && n.d(), e[21](null);
4565
4523
  }
4566
4524
  };
4567
4525
  }
4568
- const bo = "verification_explanation_video_widgets.MP4";
4569
- function yo(e, t, r) {
4526
+ const go = "verification_explanation_video_widgets.MP4";
4527
+ function bo(e, t, r) {
4570
4528
  let i, n;
4571
- wt(e, Wn, (u) => r(11, i = u)), wt(e, qn, (u) => r(29, n = u)), Yt.extend(co);
4572
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { session: h = "" } = t, { customerid: m = "" } = t, { playersession: d = "" } = t, { mbsource: y = "" } = t, x, c = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), A, P, C, q = !0, R = !0, F = !1, J = "", ie = !1, Q = "closed", k = window.navigator.userAgent;
4573
- var B;
4574
- (function(u) {
4575
- u.Manual = "Manual", u.ShuftiPro = "ShuftiPro";
4576
- })(B || (B = {}));
4577
- var le;
4578
- (function(u) {
4579
- u.Requested = "Requested";
4580
- })(le || (le = {}));
4581
- var G;
4582
- (function(u) {
4583
- u.Unknown = "Unknown", u.Unverified = "Unverified", u.InProgress = "InProgress", u.Failed = "Failed", u.Verified = "Verified", u.Referred = "Referred", u.True = "True", u.False = "False", u.AwaitingForResponse = "AwaitingForResponse";
4584
- })(G || (G = {}));
4585
- var w;
4586
- (function(u) {
4587
- u.Unknown = "Unknown", u.Documents = "Documents", u.Age = "Age", u.Pep = "Pep", u.Sanction = "Sanction", u.Aml = "Aml", u.ProofOfAddress = "ProofOfAddress", u.SourceOfWealth = "SourceOfWealth", u.SocialMedia = "SocialMedia", u.Biometric = "Biometric";
4588
- })(w || (w = {}));
4589
- const g = (u) => {
4590
- u.data && u.data.type === "CloseModal" && r(10, Q = "closed");
4529
+ Et(e, zn, (h) => r(8, i = h)), Et(e, Xn, (h) => r(29, n = h)), Xt.extend(fo);
4530
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: g = "" } = t, { playersession: p = "" } = t, { mbsource: x = "" } = t, S, d = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Set(), G, k, A, z = !0, N = !0, U = !1, X = "", K = !1, Y = window.navigator.userAgent;
4531
+ var C;
4532
+ (function(h) {
4533
+ h.Manual = "Manual", h.ShuftiPro = "ShuftiPro";
4534
+ })(C || (C = {}));
4535
+ var H;
4536
+ (function(h) {
4537
+ h.Requested = "Requested";
4538
+ })(H || (H = {}));
4539
+ var F;
4540
+ (function(h) {
4541
+ h.Unknown = "Unknown", h.Unverified = "Unverified", h.InProgress = "InProgress", h.Failed = "Failed", h.Verified = "Verified", h.Referred = "Referred", h.True = "True", h.False = "False", h.AwaitingForResponse = "AwaitingForResponse";
4542
+ })(F || (F = {}));
4543
+ var se;
4544
+ (function(h) {
4545
+ h.Unknown = "Unknown", h.Documents = "Documents", h.Age = "Age", h.Pep = "Pep", h.Sanction = "Sanction", h.Aml = "Aml", h.ProofOfAddress = "ProofOfAddress", h.SourceOfWealth = "SourceOfWealth", h.SocialMedia = "SocialMedia", h.Biometric = "Biometric";
4546
+ })(se || (se = {}));
4547
+ const _ = (h) => {
4548
+ h.data && h.data.type;
4591
4549
  };
4592
- qr(() => (window.addEventListener("message", g), Lr(), () => {
4593
- window.removeEventListener("message", g);
4550
+ Wr(() => (window.addEventListener("message", _), Ir(), () => {
4551
+ window.removeEventListener("message", _);
4594
4552
  }));
4595
- const p = [
4596
- G.InProgress,
4597
- G.Referred,
4598
- G.AwaitingForResponse
4599
- ], _ = () => {
4600
- let u = a;
4601
- if (u)
4602
- return fetch(u).then((E) => E.json()).then((E) => {
4603
- Object.keys(E).forEach((O) => {
4604
- Ft(O, E[O]);
4553
+ const v = [
4554
+ F.InProgress,
4555
+ F.Referred,
4556
+ F.AwaitingForResponse
4557
+ ], c = () => {
4558
+ let h = a;
4559
+ if (h)
4560
+ return fetch(h).then((y) => y.json()).then((y) => {
4561
+ Object.keys(y).forEach((T) => {
4562
+ kt(T, y[T]);
4605
4563
  });
4606
- }).catch((E) => {
4607
- console.log(E);
4564
+ }).catch((y) => {
4565
+ console.log(y);
4608
4566
  });
4609
4567
  };
4610
- Object.keys(Vt).forEach((u) => {
4611
- Ft(u, Vt[u]);
4568
+ Object.keys(Ut).forEach((h) => {
4569
+ kt(h, Ut[h]);
4612
4570
  });
4613
- const v = () => {
4614
- Xn(s);
4615
- }, S = () => {
4616
- r(20, P = L());
4617
- const u = new URL(`${o}/v1/player/${m}/verification/GetKYCCustomerStatus?language=${s}`), E = new Headers();
4618
- E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("x-sessionid", `${d}`), E.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4619
- const O = {
4571
+ const b = () => {
4572
+ Wn(s);
4573
+ }, m = () => {
4574
+ r(18, k = B());
4575
+ const h = new URL(`${o}/v1/player/${g}/verification/GetKYCCustomerStatus?language=${s}`), y = new Headers();
4576
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${p}`), y.append("X-Client-Request-Timestamp", Xt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4577
+ const T = {
4620
4578
  method: "POST",
4621
- headers: E,
4579
+ headers: y,
4622
4580
  body: JSON.stringify({})
4623
4581
  };
4624
- r(9, ie = !0), fetch(u, O).then((K) => K.json()).then((K) => {
4625
- const Je = T(K?.Verifications);
4626
- A = U(Je), A.VerificationStatuses.forEach((Ne) => {
4627
- Ne.VerificationUrlType !== "Widget" && c.add(Ne.Vendor);
4628
- }), r(4, C = ee());
4629
- }).finally(() => r(9, ie = !1));
4630
- }, T = (u) => u ? u.sort((E, O) => new Date(O.Created).getTime() - new Date(E.Created).getTime()) : [], I = () => {
4631
- n && S();
4632
- }, L = () => {
4633
- let u = (h || n).split(".")[1];
4634
- if (u) {
4635
- let E = JSON.parse(atob(u));
4636
- return E.cdn + "/cashier/operator-assets/" + E?.mid;
4582
+ r(7, K = !0), fetch(h, T).then((q) => q.json()).then((q) => {
4583
+ const Ze = E(q?.Verifications);
4584
+ G = D(Ze), G.VerificationStatuses.forEach((Le) => {
4585
+ Le.VerificationUrlType !== "Widget" && d.add(Le.Vendor);
4586
+ }), r(3, A = ue());
4587
+ }).finally(() => r(7, K = !1));
4588
+ }, E = (h) => h ? h.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], w = () => {
4589
+ n && m();
4590
+ }, B = () => {
4591
+ let h = (f || n).split(".")[1];
4592
+ if (h) {
4593
+ let y = JSON.parse(atob(h));
4594
+ return y.cdn + "/cashier/operator-assets/" + y?.mid;
4637
4595
  }
4638
4596
  return "";
4639
- }, U = (u) => {
4640
- if (!u || !u.length)
4597
+ }, D = (h) => {
4598
+ if (!h || !h.length)
4641
4599
  return {
4642
- VerificationSummaryStatus: G.Unverified,
4600
+ VerificationSummaryStatus: F.Unverified,
4643
4601
  VerificationStatuses: []
4644
4602
  };
4645
- const E = he(u);
4646
- if (E && E.length) {
4647
- const O = V(E);
4603
+ const y = W(h);
4604
+ if (y && y.length) {
4605
+ const T = R(y);
4648
4606
  return {
4649
- VerificationSummaryStatus: O.Status,
4650
- VerificationUrl: O.Flags?.DeferredUrlKey,
4651
- VerificationStatuses: W(E, O.Status)
4607
+ VerificationSummaryStatus: T.Status,
4608
+ VerificationUrl: T.Flags?.DeferredUrlKey,
4609
+ VerificationStatuses: V(y, T.Status)
4652
4610
  };
4653
4611
  } else
4654
4612
  return {
4655
- VerificationSummaryStatus: u.some((K) => K.Status === G.Failed) ? G.Failed : G.Verified,
4656
- VerificationStatuses: W(u, [G.Failed])
4613
+ VerificationSummaryStatus: h.some((q) => q.Status === F.Failed) ? F.Failed : F.Verified,
4614
+ VerificationStatuses: V(h, [F.Failed])
4657
4615
  };
4658
- }, V = (u) => u.reduce(
4659
- (E, O) => E ? new Date(E) < new Date(O) ? O : E : O,
4616
+ }, R = (h) => h.reduce(
4617
+ (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4660
4618
  0
4661
- ), W = (u, E) => u.filter((O) => E.includes(O.Status)).map((O) => ({
4662
- Type: O.Type,
4663
- Vendor: O.VendorName,
4664
- VerificationDocuments: O.Documents ? [...O.Documents] : [],
4665
- VerificationUrlType: O.FlowInfo?.Type,
4666
- VerificationUrl: O.FlowInfo?.Url
4667
- })), he = (u) => u.filter((E) => p.includes(E.Status) ? E.FlowInfo && E.FlowInfo.Url || ne(E) || de(E) : !1), ne = (u) => {
4668
- const E = u.Documents && u.VendorName === B.Manual, O = u.Documents && u.Documents.some((K) => K.Status === le.Requested);
4669
- return E && O;
4670
- }, de = (u) => u.VendorName === B.ShuftiPro && u.Status === G.Referred, ee = () => {
4671
- switch (A.VerificationSummaryStatus) {
4672
- case G.InProgress:
4673
- const u = [];
4674
- return c.forEach((E) => {
4675
- u.push($(E));
4676
- }), u;
4677
- case G.Referred:
4619
+ ), V = (h, y) => h.filter((T) => y.includes(T.Status)).map((T) => ({
4620
+ Type: T.Type,
4621
+ Vendor: T.VendorName,
4622
+ VerificationDocuments: T.Documents ? [...T.Documents] : [],
4623
+ VerificationUrlType: T.FlowInfo?.Type,
4624
+ VerificationUrl: T.FlowInfo?.Url
4625
+ })), W = (h) => h.filter((y) => v.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || ae(y) || ee(y) : !1), ae = (h) => {
4626
+ const y = h.Documents && h.VendorName === C.Manual, T = h.Documents && h.Documents.some((q) => q.Status === H.Requested);
4627
+ return y && T;
4628
+ }, ee = (h) => h.VendorName === C.ShuftiPro && h.Status === F.Referred, ue = () => {
4629
+ switch (G.VerificationSummaryStatus) {
4630
+ case F.InProgress:
4631
+ const h = [];
4632
+ return d.forEach((y) => {
4633
+ h.push(te(y));
4634
+ }), h;
4635
+ case F.Referred:
4678
4636
  return [i("verification.idenfy.referred-awaiting")];
4679
- case G.Failed:
4637
+ case F.Failed:
4680
4638
  return [i("verification.message.failed")];
4681
4639
  }
4682
- }, $ = (u) => {
4683
- const E = A.VerificationStatuses.filter((O) => O.Vendor === u);
4684
- if (u === B.ShuftiPro)
4685
- return te(E);
4640
+ }, te = (h) => {
4641
+ const y = G.VerificationStatuses.filter((T) => T.Vendor === h);
4642
+ if (h === C.ShuftiPro)
4643
+ return j(y);
4686
4644
  {
4687
- const O = i("verification.idenfy.link-name"), K = {
4688
- link: `<a href="${E[0].VerificationUrl}" target="_blank">${O}</a>`
4645
+ const T = i("verification.idenfy.link-name"), q = {
4646
+ link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
4689
4647
  };
4690
- return i("verification.idenfy.in-progress", { values: K });
4648
+ return i("verification.idenfy.in-progress", { values: q });
4691
4649
  }
4692
- }, te = (u) => {
4693
- const E = [], O = {}, K = [
4694
- w.Biometric,
4695
- w.Documents,
4696
- w.ProofOfAddress
4650
+ }, j = (h) => {
4651
+ const y = [], T = {}, q = [
4652
+ se.Biometric,
4653
+ se.Documents,
4654
+ se.ProofOfAddress
4697
4655
  ];
4698
- u.forEach((me) => {
4699
- K.includes(me.Type) && (E.push(me.Type), O[me.Type] = pe(me, be(me.Type)));
4656
+ h.forEach((me) => {
4657
+ q.includes(me.Type) && (y.push(me.Type), T[me.Type] = Z(me, pe(me.Type)));
4700
4658
  });
4701
- let Je = E.every((me) => b.has(me)), Ne = `verification.shuftipro.in-progress.${E.sort().join(".")}`;
4702
- return Je ? i("verification.shuftipro.validations-started") : i(Ne, { values: O });
4703
- }, pe = (u, E) => `<a class="verificationLink ${u.Type}" href=" ${u.VerificationUrl} " target="_blank">${E}</a>`, be = (u) => i(`verification.shuftipro.link-name.${u}`), Ze = (u, E) => {
4704
- if (u.stopPropagation(), u.target && (u.target.href || u.target.closest("a"))) {
4705
- if (u.target.closest(".verificationLink")) {
4706
- const O = u.target.className.split(" ")[1];
4707
- b.add(O), r(4, C = ee());
4659
+ let Ze = y.every((me) => M.has(me)), Le = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4660
+ return Ze ? i("verification.shuftipro.validations-started") : i(Le, { values: T });
4661
+ }, Z = (h, y) => `<a class="verificationLink ${h.Type}" href=" ${h.VerificationUrl} " target="_blank">${y}</a>`, pe = (h) => i(`verification.shuftipro.link-name.${h}`), le = (h, y) => {
4662
+ if (h.stopPropagation(), h.target && (h.target.href || h.target.closest("a"))) {
4663
+ if (h.target.closest(".verificationLink")) {
4664
+ const T = h.target.className.split(" ")[1];
4665
+ M.add(T), r(3, A = ue());
4708
4666
  }
4709
4667
  return;
4710
4668
  }
4711
- E === 0 && r(5, q = !q);
4712
- }, Lr = () => {
4713
- r(6, R = !lo(k));
4714
- }, Nr = () => {
4715
- r(8, J = P + "/" + s + "/" + bo);
4669
+ y === 0 && r(4, z = !z);
4670
+ }, Ir = () => {
4671
+ r(5, N = !uo(Y));
4672
+ }, Dr = () => {
4673
+ X = k + "/" + s + "/" + go;
4716
4674
  try {
4717
- fetch(J, { method: "HEAD" }).then((u) => {
4718
- r(7, F = u.ok);
4675
+ fetch(X, { method: "HEAD" }).then((h) => {
4676
+ r(6, U = h.ok);
4719
4677
  });
4720
4678
  } catch {
4721
- r(7, F = !1);
4679
+ r(6, U = !1);
4722
4680
  }
4723
- }, Rr = () => {
4724
- r(10, Q = "video");
4725
- }, kr = (u, E) => Ze(E, u), Ur = (u, E) => Ze(E, u);
4726
- function Fr(u) {
4727
- Yr[u ? "unshift" : "push"](() => {
4728
- x = u, r(3, x);
4681
+ }, Lr = () => {
4682
+ window.dispatchEvent(new CustomEvent(
4683
+ "modal-update",
4684
+ {
4685
+ detail: { type: "video", data: { videoSrc: X } }
4686
+ }
4687
+ ));
4688
+ }, Nr = (h, y) => le(y, h), Rr = (h, y) => le(y, h);
4689
+ function kr(h) {
4690
+ Xr[h ? "unshift" : "push"](() => {
4691
+ S = h, r(2, S);
4729
4692
  });
4730
4693
  }
4731
- return e.$$set = (u) => {
4732
- "endpoint" in u && r(14, o = u.endpoint), "lang" in u && r(15, s = u.lang), "translationurl" in u && r(16, a = u.translationurl), "clientstyling" in u && r(0, l = u.clientstyling), "clientstylingurl" in u && r(1, f = u.clientstylingurl), "session" in u && r(17, h = u.session), "customerid" in u && r(18, m = u.customerid), "playersession" in u && r(19, d = u.playersession), "mbsource" in u && r(2, y = u.mbsource);
4694
+ return e.$$set = (h) => {
4695
+ "endpoint" in h && r(11, o = h.endpoint), "lang" in h && r(12, s = h.lang), "translationurl" in h && r(13, a = h.translationurl), "clientstyling" in h && r(0, u = h.clientstyling), "clientstylingurl" in h && r(1, l = h.clientstylingurl), "session" in h && r(14, f = h.session), "customerid" in h && r(15, g = h.customerid), "playersession" in h && r(16, p = h.playersession), "mbsource" in h && r(17, x = h.mbsource);
4733
4696
  }, e.$$.update = () => {
4734
4697
  e.$$.dirty[0] & /*lang*/
4735
- 32768 && s && v(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4736
- 671744 && o && h && d && S(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4737
- 671744 && o && !h && d && I(), e.$$.dirty[0] & /*translationurl*/
4738
- 65536 && a && _(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4739
- 9 && l && x && ti(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4740
- 10 && f && x && Kr(), e.$$.dirty[0] & /*staticCdnUrl*/
4741
- 1048576 && P && Nr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4742
- 12 && y && x && ei(x, `${y}.Style`);
4698
+ 4096 && s && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4699
+ 83968 && o && f && p && m(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4700
+ 83968 && o && !f && p && w(), e.$$.dirty[0] & /*translationurl*/
4701
+ 8192 && a && c(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4702
+ 5 && u && S && ei(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4703
+ 6 && l && S && Qr(), e.$$.dirty[0] & /*staticCdnUrl*/
4704
+ 262144 && k && Dr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4705
+ 131076 && x && S && Kr(S, `${x}.Style`);
4743
4706
  }, [
4707
+ u,
4744
4708
  l,
4745
- f,
4746
- y,
4747
- x,
4748
- C,
4749
- q,
4750
- R,
4751
- F,
4752
- J,
4753
- ie,
4754
- Q,
4709
+ S,
4710
+ A,
4711
+ z,
4712
+ N,
4713
+ U,
4714
+ K,
4755
4715
  i,
4756
- Ze,
4757
- Rr,
4716
+ le,
4717
+ Lr,
4758
4718
  o,
4759
4719
  s,
4760
4720
  a,
4761
- h,
4762
- m,
4763
- d,
4764
- P,
4765
- kr,
4766
- Ur,
4767
- Fr
4721
+ f,
4722
+ g,
4723
+ p,
4724
+ x,
4725
+ k,
4726
+ Nr,
4727
+ Rr,
4728
+ kr
4768
4729
  ];
4769
4730
  }
4770
- class _o extends zr {
4731
+ class yo extends jr {
4771
4732
  constructor(t) {
4772
- super(), Wr(
4733
+ super(), $r(
4773
4734
  this,
4774
4735
  t,
4775
- yo,
4776
- go,
4777
- er,
4736
+ bo,
4737
+ vo,
4738
+ Qt,
4778
4739
  {
4779
- endpoint: 14,
4780
- lang: 15,
4781
- translationurl: 16,
4740
+ endpoint: 11,
4741
+ lang: 12,
4742
+ translationurl: 13,
4782
4743
  clientstyling: 0,
4783
4744
  clientstylingurl: 1,
4784
- session: 17,
4785
- customerid: 18,
4786
- playersession: 19,
4787
- mbsource: 2
4745
+ session: 14,
4746
+ customerid: 15,
4747
+ playersession: 16,
4748
+ mbsource: 17
4788
4749
  },
4789
- po,
4750
+ co,
4790
4751
  [-1, -1]
4791
4752
  );
4792
4753
  }
4793
4754
  get endpoint() {
4794
- return this.$$.ctx[14];
4755
+ return this.$$.ctx[11];
4795
4756
  }
4796
4757
  set endpoint(t) {
4797
- this.$$set({ endpoint: t }), oe();
4758
+ this.$$set({ endpoint: t }), re();
4798
4759
  }
4799
4760
  get lang() {
4800
- return this.$$.ctx[15];
4761
+ return this.$$.ctx[12];
4801
4762
  }
4802
4763
  set lang(t) {
4803
- this.$$set({ lang: t }), oe();
4764
+ this.$$set({ lang: t }), re();
4804
4765
  }
4805
4766
  get translationurl() {
4806
- return this.$$.ctx[16];
4767
+ return this.$$.ctx[13];
4807
4768
  }
4808
4769
  set translationurl(t) {
4809
- this.$$set({ translationurl: t }), oe();
4770
+ this.$$set({ translationurl: t }), re();
4810
4771
  }
4811
4772
  get clientstyling() {
4812
4773
  return this.$$.ctx[0];
4813
4774
  }
4814
4775
  set clientstyling(t) {
4815
- this.$$set({ clientstyling: t }), oe();
4776
+ this.$$set({ clientstyling: t }), re();
4816
4777
  }
4817
4778
  get clientstylingurl() {
4818
4779
  return this.$$.ctx[1];
4819
4780
  }
4820
4781
  set clientstylingurl(t) {
4821
- this.$$set({ clientstylingurl: t }), oe();
4782
+ this.$$set({ clientstylingurl: t }), re();
4822
4783
  }
4823
4784
  get session() {
4824
- return this.$$.ctx[17];
4785
+ return this.$$.ctx[14];
4825
4786
  }
4826
4787
  set session(t) {
4827
- this.$$set({ session: t }), oe();
4788
+ this.$$set({ session: t }), re();
4828
4789
  }
4829
4790
  get customerid() {
4830
- return this.$$.ctx[18];
4791
+ return this.$$.ctx[15];
4831
4792
  }
4832
4793
  set customerid(t) {
4833
- this.$$set({ customerid: t }), oe();
4794
+ this.$$set({ customerid: t }), re();
4834
4795
  }
4835
4796
  get playersession() {
4836
- return this.$$.ctx[19];
4797
+ return this.$$.ctx[16];
4837
4798
  }
4838
4799
  set playersession(t) {
4839
- this.$$set({ playersession: t }), oe();
4800
+ this.$$set({ playersession: t }), re();
4840
4801
  }
4841
4802
  get mbsource() {
4842
- return this.$$.ctx[2];
4803
+ return this.$$.ctx[17];
4843
4804
  }
4844
4805
  set mbsource(t) {
4845
- this.$$set({ mbsource: t }), oe();
4806
+ this.$$set({ mbsource: t }), re();
4846
4807
  }
4847
4808
  }
4848
- $r(_o, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4809
+ Gr(yo, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4849
4810
  export {
4850
- _o as C
4811
+ yo as C
4851
4812
  };