@everymatrix/player-account-controller 1.62.4 → 1.63.1

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.
Files changed (50) hide show
  1. package/components/{PlayerAccountController-CG8fgLLM.cjs → PlayerAccountController-B3xiGG1j.cjs} +1 -1
  2. package/components/{PlayerAccountController-D-z3BhRg.js → PlayerAccountController-Buqw-sP2.js} +7 -7
  3. package/components/{PlayerAccountController-CmoCYSjc.js → PlayerAccountController-DUO2eqjO.js} +7 -7
  4. package/components/{PlayerAccountGamingLimits-CazKuri6.js → PlayerAccountGamingLimits-Bnkjuzum.js} +1 -1
  5. package/components/{PlayerAccountGamingLimits-T_6zt26G.cjs → PlayerAccountGamingLimits-DLbWmmx-.cjs} +1 -1
  6. package/components/{PlayerAccountGamingLimits-C43ExhLF.js → PlayerAccountGamingLimits-DWUjOPm7.js} +1 -1
  7. package/components/PlayerAccountGamingLimitsGroupEdit-1v80Qe8n.js +2892 -0
  8. package/components/PlayerAccountGamingLimitsGroupEdit-DDffyxA7.js +2892 -0
  9. package/components/PlayerAccountGamingLimitsGroupEdit-DmpsyTc8.cjs +1 -0
  10. package/components/PlayerAccountGamingLimitsInfoCard-C4wloIme.cjs +1 -0
  11. package/components/{PlayerAccountGamingLimitsInfoCard-CRMCtZqj.js → PlayerAccountGamingLimitsInfoCard-Di-tNlvO.js} +282 -286
  12. package/components/{PlayerAccountGamingLimitsInfoCard-CFgV1w4z.js → PlayerAccountGamingLimitsInfoCard-yR5VICHH.js} +282 -286
  13. package/components/PlayerAccountGamingLimitsWrapper2-CaACpJkX.cjs +1 -0
  14. package/components/{PlayerAccountGamingLimitsWrapper2-D9XQMqqT.js → PlayerAccountGamingLimitsWrapper2-DZoCbGgg.js} +384 -328
  15. package/components/{PlayerAccountGamingLimitsWrapper2-CiEh5iuU.js → PlayerAccountGamingLimitsWrapper2-DxjSzonV.js} +426 -361
  16. package/components/{PlayerActiveBonuses-K3C-mEXB.js → PlayerActiveBonuses-BozoNh70.js} +1 -1
  17. package/components/{PlayerActiveBonuses-BMD0VJ2_.cjs → PlayerActiveBonuses-DIJBqD-t.cjs} +1 -1
  18. package/components/{PlayerActiveBonuses-CpZclWGh.js → PlayerActiveBonuses-TfvFcCW-.js} +1 -1
  19. package/components/{PlayerBonusCard-69HwaVge.cjs → PlayerBonusCard-BDWqqpGz.cjs} +1 -1
  20. package/components/{PlayerBonusCard-CqTwze07.js → PlayerBonusCard-Beuw08iH.js} +48 -48
  21. package/components/{PlayerBonusCard-C1HOmtzk.js → PlayerBonusCard-DUP59qHI.js} +48 -48
  22. package/components/{PlayerBonusHistory-BLVjkz2G.js → PlayerBonusHistory-ASRMz78k.js} +141 -141
  23. package/components/PlayerBonusHistory-B73-NLob.cjs +1 -0
  24. package/components/{PlayerBonusHistory-CHIhzG2z.js → PlayerBonusHistory-DhXgcysO.js} +140 -140
  25. package/components/PlayerGamingHistory-DMheKbk2.cjs +1 -0
  26. package/components/{PlayerGamingHistory-D3MM0M-d.js → PlayerGamingHistory-Do_PZpjy.js} +139 -139
  27. package/components/{PlayerGamingHistory-Dwci4jbI.js → PlayerGamingHistory-DyqZjf6k.js} +144 -144
  28. package/components/PlayerRealityCheck-ByaALjkI.js +663 -0
  29. package/components/PlayerRealityCheck-DordAxiB.js +679 -0
  30. package/components/PlayerRealityCheck-DwUIXfJJ.cjs +1 -0
  31. package/es2015/player-account-controller.cjs +1 -1
  32. package/es2015/player-account-controller.js +1 -1
  33. package/esnext/player-account-controller.js +1 -1
  34. package/package.json +1 -1
  35. package/stencil/{index-1ef3a64c-DdAfq3Rf.js → index-1ef3a64c-C3248BpZ.js} +1 -1
  36. package/stencil/{index-1ef3a64c-CFORB4wR.js → index-1ef3a64c-D_6fm_mH.js} +1 -1
  37. package/stencil/{index-1ef3a64c-BXZ-SGgO.cjs → index-1ef3a64c-d6wOzDuW.cjs} +1 -1
  38. package/stencil/{user-deposit-withdrawal-Di_btQhd.cjs → user-deposit-withdrawal-8SEgGGEs.cjs} +1 -2
  39. package/stencil/{user-deposit-withdrawal-DKYb9yA4.js → user-deposit-withdrawal-BIEaZv3-.js} +1 -2
  40. package/stencil/{user-deposit-withdrawal-DDiaA6g4.js → user-deposit-withdrawal-C8A8VDip.js} +1 -2
  41. package/components/PlayerAccountGamingLimitsGroupEdit-BQRjAEj3.cjs +0 -10
  42. package/components/PlayerAccountGamingLimitsGroupEdit-D-PNbWFM.js +0 -4113
  43. package/components/PlayerAccountGamingLimitsGroupEdit-RindahYU.js +0 -4113
  44. package/components/PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs +0 -1
  45. package/components/PlayerAccountGamingLimitsWrapper2-CXvt0xT1.cjs +0 -1
  46. package/components/PlayerBonusHistory-CmSqqsTj.cjs +0 -1
  47. package/components/PlayerGamingHistory-ClPLNmQZ.cjs +0 -1
  48. package/components/PlayerRealityCheck-BPjD8dSn.cjs +0 -1
  49. package/components/PlayerRealityCheck-Car60VrF.js +0 -652
  50. package/components/PlayerRealityCheck-DcKE6Uql.js +0 -668
@@ -0,0 +1,2892 @@
1
+ import { a as vt, $ as yt, S as wt, i as bt, s as Lt, f as ae, b as Tt, n as xe, d as M, r as Me, c as F, e as oe, o as g, g as D, h as d, l as ne, N as _t, j as b, k as P, v as Z, m as N, p as kt, q as Ct, u as Mt, O as ye, P as Oe, Q as Dt, R as Le, w as Et, F as Se, T as Ue, U as Pe, V as he, W as At, x as Ot, y as St, z as Pt, A as Wt, B as Nt } from "./GeneralLogout-B5B3mUfv.js";
2
+ function Te(t) {
3
+ "@babel/helpers - typeof";
4
+ return Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
5
+ return typeof e;
6
+ } : function(e) {
7
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
8
+ }, Te(t);
9
+ }
10
+ function te(t) {
11
+ if (t === null || t === !0 || t === !1)
12
+ return NaN;
13
+ var e = Number(t);
14
+ return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
15
+ }
16
+ function x(t, e) {
17
+ if (e.length < t)
18
+ throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
19
+ }
20
+ function X(t) {
21
+ x(1, arguments);
22
+ var e = Object.prototype.toString.call(t);
23
+ return t instanceof Date || Te(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console != "undefined" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
24
+ }
25
+ function xt(t, e) {
26
+ x(2, arguments);
27
+ var i = X(t), a = te(e);
28
+ return isNaN(a) ? /* @__PURE__ */ new Date(NaN) : (a && i.setDate(i.getDate() + a), i);
29
+ }
30
+ function Ut(t, e) {
31
+ x(2, arguments);
32
+ var i = X(t), a = te(e);
33
+ if (isNaN(a))
34
+ return /* @__PURE__ */ new Date(NaN);
35
+ if (!a)
36
+ return i;
37
+ var n = i.getDate(), r = new Date(i.getTime());
38
+ r.setMonth(i.getMonth() + a + 1, 0);
39
+ var o = r.getDate();
40
+ return n >= o ? r : (i.setFullYear(r.getFullYear(), r.getMonth(), n), i);
41
+ }
42
+ function It(t, e) {
43
+ x(2, arguments);
44
+ var i = X(t).getTime(), a = te(e);
45
+ return new Date(i + a);
46
+ }
47
+ var Yt = {};
48
+ function De() {
49
+ return Yt;
50
+ }
51
+ function Ft(t) {
52
+ var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
53
+ return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
54
+ }
55
+ function Ki(t) {
56
+ x(1, arguments);
57
+ var e = X(t);
58
+ return e.setHours(0, 0, 0, 0), e;
59
+ }
60
+ function jt(t) {
61
+ return x(1, arguments), t instanceof Date || Te(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
62
+ }
63
+ function Bt(t) {
64
+ if (x(1, arguments), !jt(t) && typeof t != "number")
65
+ return !1;
66
+ var e = X(t);
67
+ return !isNaN(Number(e));
68
+ }
69
+ function Zi(t) {
70
+ x(1, arguments);
71
+ var e = X(t);
72
+ return e.setHours(23, 59, 59, 999), e;
73
+ }
74
+ function qt(t, e) {
75
+ x(2, arguments);
76
+ var i = te(e);
77
+ return It(t, -i);
78
+ }
79
+ var Ht = 864e5;
80
+ function Vt(t) {
81
+ x(1, arguments);
82
+ var e = X(t), i = e.getTime();
83
+ e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
84
+ var a = e.getTime(), n = i - a;
85
+ return Math.floor(n / Ht) + 1;
86
+ }
87
+ function _e(t) {
88
+ x(1, arguments);
89
+ var e = 1, i = X(t), a = i.getUTCDay(), n = (a < e ? 7 : 0) + a - e;
90
+ return i.setUTCDate(i.getUTCDate() - n), i.setUTCHours(0, 0, 0, 0), i;
91
+ }
92
+ function rt(t) {
93
+ x(1, arguments);
94
+ var e = X(t), i = e.getUTCFullYear(), a = /* @__PURE__ */ new Date(0);
95
+ a.setUTCFullYear(i + 1, 0, 4), a.setUTCHours(0, 0, 0, 0);
96
+ var n = _e(a), r = /* @__PURE__ */ new Date(0);
97
+ r.setUTCFullYear(i, 0, 4), r.setUTCHours(0, 0, 0, 0);
98
+ var o = _e(r);
99
+ return e.getTime() >= n.getTime() ? i + 1 : e.getTime() >= o.getTime() ? i : i - 1;
100
+ }
101
+ function zt(t) {
102
+ x(1, arguments);
103
+ var e = rt(t), i = /* @__PURE__ */ new Date(0);
104
+ i.setUTCFullYear(e, 0, 4), i.setUTCHours(0, 0, 0, 0);
105
+ var a = _e(i);
106
+ return a;
107
+ }
108
+ var Gt = 6048e5;
109
+ function Rt(t) {
110
+ x(1, arguments);
111
+ var e = X(t), i = _e(e).getTime() - zt(e).getTime();
112
+ return Math.round(i / Gt) + 1;
113
+ }
114
+ function ke(t, e) {
115
+ var i, a, n, r, o, s, l, m;
116
+ x(1, arguments);
117
+ var c = De(), w = te((i = (a = (n = (r = e == null ? void 0 : e.weekStartsOn) !== null && r !== void 0 ? r : e == null || (o = e.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && n !== void 0 ? n : c.weekStartsOn) !== null && a !== void 0 ? a : (l = c.locale) === null || l === void 0 || (m = l.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && i !== void 0 ? i : 0);
118
+ if (!(w >= 0 && w <= 6))
119
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
120
+ var y = X(t), p = y.getUTCDay(), E = (p < w ? 7 : 0) + p - w;
121
+ return y.setUTCDate(y.getUTCDate() - E), y.setUTCHours(0, 0, 0, 0), y;
122
+ }
123
+ function ot(t, e) {
124
+ var i, a, n, r, o, s, l, m;
125
+ x(1, arguments);
126
+ var c = X(t), w = c.getUTCFullYear(), y = De(), p = te((i = (a = (n = (r = e == null ? void 0 : e.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (o = e.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && n !== void 0 ? n : y.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = y.locale) === null || l === void 0 || (m = l.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
127
+ if (!(p >= 1 && p <= 7))
128
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
129
+ var E = /* @__PURE__ */ new Date(0);
130
+ E.setUTCFullYear(w + 1, 0, p), E.setUTCHours(0, 0, 0, 0);
131
+ var f = ke(E, e), h = /* @__PURE__ */ new Date(0);
132
+ h.setUTCFullYear(w, 0, p), h.setUTCHours(0, 0, 0, 0);
133
+ var L = ke(h, e);
134
+ return c.getTime() >= f.getTime() ? w + 1 : c.getTime() >= L.getTime() ? w : w - 1;
135
+ }
136
+ function Qt(t, e) {
137
+ var i, a, n, r, o, s, l, m;
138
+ x(1, arguments);
139
+ var c = De(), w = te((i = (a = (n = (r = e == null ? void 0 : e.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (o = e.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && n !== void 0 ? n : c.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = c.locale) === null || l === void 0 || (m = l.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && i !== void 0 ? i : 1), y = ot(t, e), p = /* @__PURE__ */ new Date(0);
140
+ p.setUTCFullYear(y, 0, w), p.setUTCHours(0, 0, 0, 0);
141
+ var E = ke(p, e);
142
+ return E;
143
+ }
144
+ var Xt = 6048e5;
145
+ function Jt(t, e) {
146
+ x(1, arguments);
147
+ var i = X(t), a = ke(i, e).getTime() - Qt(i, e).getTime();
148
+ return Math.round(a / Xt) + 1;
149
+ }
150
+ function C(t, e) {
151
+ for (var i = t < 0 ? "-" : "", a = Math.abs(t).toString(); a.length < e; )
152
+ a = "0" + a;
153
+ return i + a;
154
+ }
155
+ var le = {
156
+ // Year
157
+ y: function(e, i) {
158
+ var a = e.getUTCFullYear(), n = a > 0 ? a : 1 - a;
159
+ return C(i === "yy" ? n % 100 : n, i.length);
160
+ },
161
+ // Month
162
+ M: function(e, i) {
163
+ var a = e.getUTCMonth();
164
+ return i === "M" ? String(a + 1) : C(a + 1, 2);
165
+ },
166
+ // Day of the month
167
+ d: function(e, i) {
168
+ return C(e.getUTCDate(), i.length);
169
+ },
170
+ // AM or PM
171
+ a: function(e, i) {
172
+ var a = e.getUTCHours() / 12 >= 1 ? "pm" : "am";
173
+ switch (i) {
174
+ case "a":
175
+ case "aa":
176
+ return a.toUpperCase();
177
+ case "aaa":
178
+ return a;
179
+ case "aaaaa":
180
+ return a[0];
181
+ case "aaaa":
182
+ default:
183
+ return a === "am" ? "a.m." : "p.m.";
184
+ }
185
+ },
186
+ // Hour [1-12]
187
+ h: function(e, i) {
188
+ return C(e.getUTCHours() % 12 || 12, i.length);
189
+ },
190
+ // Hour [0-23]
191
+ H: function(e, i) {
192
+ return C(e.getUTCHours(), i.length);
193
+ },
194
+ // Minute
195
+ m: function(e, i) {
196
+ return C(e.getUTCMinutes(), i.length);
197
+ },
198
+ // Second
199
+ s: function(e, i) {
200
+ return C(e.getUTCSeconds(), i.length);
201
+ },
202
+ // Fraction of second
203
+ S: function(e, i) {
204
+ var a = i.length, n = e.getUTCMilliseconds(), r = Math.floor(n * Math.pow(10, a - 3));
205
+ return C(r, i.length);
206
+ }
207
+ }, ve = {
208
+ midnight: "midnight",
209
+ noon: "noon",
210
+ morning: "morning",
211
+ afternoon: "afternoon",
212
+ evening: "evening",
213
+ night: "night"
214
+ }, Kt = {
215
+ // Era
216
+ G: function(e, i, a) {
217
+ var n = e.getUTCFullYear() > 0 ? 1 : 0;
218
+ switch (i) {
219
+ case "G":
220
+ case "GG":
221
+ case "GGG":
222
+ return a.era(n, {
223
+ width: "abbreviated"
224
+ });
225
+ case "GGGGG":
226
+ return a.era(n, {
227
+ width: "narrow"
228
+ });
229
+ case "GGGG":
230
+ default:
231
+ return a.era(n, {
232
+ width: "wide"
233
+ });
234
+ }
235
+ },
236
+ // Year
237
+ y: function(e, i, a) {
238
+ if (i === "yo") {
239
+ var n = e.getUTCFullYear(), r = n > 0 ? n : 1 - n;
240
+ return a.ordinalNumber(r, {
241
+ unit: "year"
242
+ });
243
+ }
244
+ return le.y(e, i);
245
+ },
246
+ // Local week-numbering year
247
+ Y: function(e, i, a, n) {
248
+ var r = ot(e, n), o = r > 0 ? r : 1 - r;
249
+ if (i === "YY") {
250
+ var s = o % 100;
251
+ return C(s, 2);
252
+ }
253
+ return i === "Yo" ? a.ordinalNumber(o, {
254
+ unit: "year"
255
+ }) : C(o, i.length);
256
+ },
257
+ // ISO week-numbering year
258
+ R: function(e, i) {
259
+ var a = rt(e);
260
+ return C(a, i.length);
261
+ },
262
+ // Extended year. This is a single number designating the year of this calendar system.
263
+ // The main difference between `y` and `u` localizers are B.C. years:
264
+ // | Year | `y` | `u` |
265
+ // |------|-----|-----|
266
+ // | AC 1 | 1 | 1 |
267
+ // | BC 1 | 1 | 0 |
268
+ // | BC 2 | 2 | -1 |
269
+ // Also `yy` always returns the last two digits of a year,
270
+ // while `uu` pads single digit years to 2 characters and returns other years unchanged.
271
+ u: function(e, i) {
272
+ var a = e.getUTCFullYear();
273
+ return C(a, i.length);
274
+ },
275
+ // Quarter
276
+ Q: function(e, i, a) {
277
+ var n = Math.ceil((e.getUTCMonth() + 1) / 3);
278
+ switch (i) {
279
+ case "Q":
280
+ return String(n);
281
+ case "QQ":
282
+ return C(n, 2);
283
+ case "Qo":
284
+ return a.ordinalNumber(n, {
285
+ unit: "quarter"
286
+ });
287
+ case "QQQ":
288
+ return a.quarter(n, {
289
+ width: "abbreviated",
290
+ context: "formatting"
291
+ });
292
+ case "QQQQQ":
293
+ return a.quarter(n, {
294
+ width: "narrow",
295
+ context: "formatting"
296
+ });
297
+ case "QQQQ":
298
+ default:
299
+ return a.quarter(n, {
300
+ width: "wide",
301
+ context: "formatting"
302
+ });
303
+ }
304
+ },
305
+ // Stand-alone quarter
306
+ q: function(e, i, a) {
307
+ var n = Math.ceil((e.getUTCMonth() + 1) / 3);
308
+ switch (i) {
309
+ case "q":
310
+ return String(n);
311
+ case "qq":
312
+ return C(n, 2);
313
+ case "qo":
314
+ return a.ordinalNumber(n, {
315
+ unit: "quarter"
316
+ });
317
+ case "qqq":
318
+ return a.quarter(n, {
319
+ width: "abbreviated",
320
+ context: "standalone"
321
+ });
322
+ case "qqqqq":
323
+ return a.quarter(n, {
324
+ width: "narrow",
325
+ context: "standalone"
326
+ });
327
+ case "qqqq":
328
+ default:
329
+ return a.quarter(n, {
330
+ width: "wide",
331
+ context: "standalone"
332
+ });
333
+ }
334
+ },
335
+ // Month
336
+ M: function(e, i, a) {
337
+ var n = e.getUTCMonth();
338
+ switch (i) {
339
+ case "M":
340
+ case "MM":
341
+ return le.M(e, i);
342
+ case "Mo":
343
+ return a.ordinalNumber(n + 1, {
344
+ unit: "month"
345
+ });
346
+ case "MMM":
347
+ return a.month(n, {
348
+ width: "abbreviated",
349
+ context: "formatting"
350
+ });
351
+ case "MMMMM":
352
+ return a.month(n, {
353
+ width: "narrow",
354
+ context: "formatting"
355
+ });
356
+ case "MMMM":
357
+ default:
358
+ return a.month(n, {
359
+ width: "wide",
360
+ context: "formatting"
361
+ });
362
+ }
363
+ },
364
+ // Stand-alone month
365
+ L: function(e, i, a) {
366
+ var n = e.getUTCMonth();
367
+ switch (i) {
368
+ case "L":
369
+ return String(n + 1);
370
+ case "LL":
371
+ return C(n + 1, 2);
372
+ case "Lo":
373
+ return a.ordinalNumber(n + 1, {
374
+ unit: "month"
375
+ });
376
+ case "LLL":
377
+ return a.month(n, {
378
+ width: "abbreviated",
379
+ context: "standalone"
380
+ });
381
+ case "LLLLL":
382
+ return a.month(n, {
383
+ width: "narrow",
384
+ context: "standalone"
385
+ });
386
+ case "LLLL":
387
+ default:
388
+ return a.month(n, {
389
+ width: "wide",
390
+ context: "standalone"
391
+ });
392
+ }
393
+ },
394
+ // Local week of year
395
+ w: function(e, i, a, n) {
396
+ var r = Jt(e, n);
397
+ return i === "wo" ? a.ordinalNumber(r, {
398
+ unit: "week"
399
+ }) : C(r, i.length);
400
+ },
401
+ // ISO week of year
402
+ I: function(e, i, a) {
403
+ var n = Rt(e);
404
+ return i === "Io" ? a.ordinalNumber(n, {
405
+ unit: "week"
406
+ }) : C(n, i.length);
407
+ },
408
+ // Day of the month
409
+ d: function(e, i, a) {
410
+ return i === "do" ? a.ordinalNumber(e.getUTCDate(), {
411
+ unit: "date"
412
+ }) : le.d(e, i);
413
+ },
414
+ // Day of year
415
+ D: function(e, i, a) {
416
+ var n = Vt(e);
417
+ return i === "Do" ? a.ordinalNumber(n, {
418
+ unit: "dayOfYear"
419
+ }) : C(n, i.length);
420
+ },
421
+ // Day of week
422
+ E: function(e, i, a) {
423
+ var n = e.getUTCDay();
424
+ switch (i) {
425
+ case "E":
426
+ case "EE":
427
+ case "EEE":
428
+ return a.day(n, {
429
+ width: "abbreviated",
430
+ context: "formatting"
431
+ });
432
+ case "EEEEE":
433
+ return a.day(n, {
434
+ width: "narrow",
435
+ context: "formatting"
436
+ });
437
+ case "EEEEEE":
438
+ return a.day(n, {
439
+ width: "short",
440
+ context: "formatting"
441
+ });
442
+ case "EEEE":
443
+ default:
444
+ return a.day(n, {
445
+ width: "wide",
446
+ context: "formatting"
447
+ });
448
+ }
449
+ },
450
+ // Local day of week
451
+ e: function(e, i, a, n) {
452
+ var r = e.getUTCDay(), o = (r - n.weekStartsOn + 8) % 7 || 7;
453
+ switch (i) {
454
+ case "e":
455
+ return String(o);
456
+ case "ee":
457
+ return C(o, 2);
458
+ case "eo":
459
+ return a.ordinalNumber(o, {
460
+ unit: "day"
461
+ });
462
+ case "eee":
463
+ return a.day(r, {
464
+ width: "abbreviated",
465
+ context: "formatting"
466
+ });
467
+ case "eeeee":
468
+ return a.day(r, {
469
+ width: "narrow",
470
+ context: "formatting"
471
+ });
472
+ case "eeeeee":
473
+ return a.day(r, {
474
+ width: "short",
475
+ context: "formatting"
476
+ });
477
+ case "eeee":
478
+ default:
479
+ return a.day(r, {
480
+ width: "wide",
481
+ context: "formatting"
482
+ });
483
+ }
484
+ },
485
+ // Stand-alone local day of week
486
+ c: function(e, i, a, n) {
487
+ var r = e.getUTCDay(), o = (r - n.weekStartsOn + 8) % 7 || 7;
488
+ switch (i) {
489
+ case "c":
490
+ return String(o);
491
+ case "cc":
492
+ return C(o, i.length);
493
+ case "co":
494
+ return a.ordinalNumber(o, {
495
+ unit: "day"
496
+ });
497
+ case "ccc":
498
+ return a.day(r, {
499
+ width: "abbreviated",
500
+ context: "standalone"
501
+ });
502
+ case "ccccc":
503
+ return a.day(r, {
504
+ width: "narrow",
505
+ context: "standalone"
506
+ });
507
+ case "cccccc":
508
+ return a.day(r, {
509
+ width: "short",
510
+ context: "standalone"
511
+ });
512
+ case "cccc":
513
+ default:
514
+ return a.day(r, {
515
+ width: "wide",
516
+ context: "standalone"
517
+ });
518
+ }
519
+ },
520
+ // ISO day of week
521
+ i: function(e, i, a) {
522
+ var n = e.getUTCDay(), r = n === 0 ? 7 : n;
523
+ switch (i) {
524
+ case "i":
525
+ return String(r);
526
+ case "ii":
527
+ return C(r, i.length);
528
+ case "io":
529
+ return a.ordinalNumber(r, {
530
+ unit: "day"
531
+ });
532
+ case "iii":
533
+ return a.day(n, {
534
+ width: "abbreviated",
535
+ context: "formatting"
536
+ });
537
+ case "iiiii":
538
+ return a.day(n, {
539
+ width: "narrow",
540
+ context: "formatting"
541
+ });
542
+ case "iiiiii":
543
+ return a.day(n, {
544
+ width: "short",
545
+ context: "formatting"
546
+ });
547
+ case "iiii":
548
+ default:
549
+ return a.day(n, {
550
+ width: "wide",
551
+ context: "formatting"
552
+ });
553
+ }
554
+ },
555
+ // AM or PM
556
+ a: function(e, i, a) {
557
+ var n = e.getUTCHours(), r = n / 12 >= 1 ? "pm" : "am";
558
+ switch (i) {
559
+ case "a":
560
+ case "aa":
561
+ return a.dayPeriod(r, {
562
+ width: "abbreviated",
563
+ context: "formatting"
564
+ });
565
+ case "aaa":
566
+ return a.dayPeriod(r, {
567
+ width: "abbreviated",
568
+ context: "formatting"
569
+ }).toLowerCase();
570
+ case "aaaaa":
571
+ return a.dayPeriod(r, {
572
+ width: "narrow",
573
+ context: "formatting"
574
+ });
575
+ case "aaaa":
576
+ default:
577
+ return a.dayPeriod(r, {
578
+ width: "wide",
579
+ context: "formatting"
580
+ });
581
+ }
582
+ },
583
+ // AM, PM, midnight, noon
584
+ b: function(e, i, a) {
585
+ var n = e.getUTCHours(), r;
586
+ switch (n === 12 ? r = ve.noon : n === 0 ? r = ve.midnight : r = n / 12 >= 1 ? "pm" : "am", i) {
587
+ case "b":
588
+ case "bb":
589
+ return a.dayPeriod(r, {
590
+ width: "abbreviated",
591
+ context: "formatting"
592
+ });
593
+ case "bbb":
594
+ return a.dayPeriod(r, {
595
+ width: "abbreviated",
596
+ context: "formatting"
597
+ }).toLowerCase();
598
+ case "bbbbb":
599
+ return a.dayPeriod(r, {
600
+ width: "narrow",
601
+ context: "formatting"
602
+ });
603
+ case "bbbb":
604
+ default:
605
+ return a.dayPeriod(r, {
606
+ width: "wide",
607
+ context: "formatting"
608
+ });
609
+ }
610
+ },
611
+ // in the morning, in the afternoon, in the evening, at night
612
+ B: function(e, i, a) {
613
+ var n = e.getUTCHours(), r;
614
+ switch (n >= 17 ? r = ve.evening : n >= 12 ? r = ve.afternoon : n >= 4 ? r = ve.morning : r = ve.night, i) {
615
+ case "B":
616
+ case "BB":
617
+ case "BBB":
618
+ return a.dayPeriod(r, {
619
+ width: "abbreviated",
620
+ context: "formatting"
621
+ });
622
+ case "BBBBB":
623
+ return a.dayPeriod(r, {
624
+ width: "narrow",
625
+ context: "formatting"
626
+ });
627
+ case "BBBB":
628
+ default:
629
+ return a.dayPeriod(r, {
630
+ width: "wide",
631
+ context: "formatting"
632
+ });
633
+ }
634
+ },
635
+ // Hour [1-12]
636
+ h: function(e, i, a) {
637
+ if (i === "ho") {
638
+ var n = e.getUTCHours() % 12;
639
+ return n === 0 && (n = 12), a.ordinalNumber(n, {
640
+ unit: "hour"
641
+ });
642
+ }
643
+ return le.h(e, i);
644
+ },
645
+ // Hour [0-23]
646
+ H: function(e, i, a) {
647
+ return i === "Ho" ? a.ordinalNumber(e.getUTCHours(), {
648
+ unit: "hour"
649
+ }) : le.H(e, i);
650
+ },
651
+ // Hour [0-11]
652
+ K: function(e, i, a) {
653
+ var n = e.getUTCHours() % 12;
654
+ return i === "Ko" ? a.ordinalNumber(n, {
655
+ unit: "hour"
656
+ }) : C(n, i.length);
657
+ },
658
+ // Hour [1-24]
659
+ k: function(e, i, a) {
660
+ var n = e.getUTCHours();
661
+ return n === 0 && (n = 24), i === "ko" ? a.ordinalNumber(n, {
662
+ unit: "hour"
663
+ }) : C(n, i.length);
664
+ },
665
+ // Minute
666
+ m: function(e, i, a) {
667
+ return i === "mo" ? a.ordinalNumber(e.getUTCMinutes(), {
668
+ unit: "minute"
669
+ }) : le.m(e, i);
670
+ },
671
+ // Second
672
+ s: function(e, i, a) {
673
+ return i === "so" ? a.ordinalNumber(e.getUTCSeconds(), {
674
+ unit: "second"
675
+ }) : le.s(e, i);
676
+ },
677
+ // Fraction of second
678
+ S: function(e, i) {
679
+ return le.S(e, i);
680
+ },
681
+ // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
682
+ X: function(e, i, a, n) {
683
+ var r = n._originalDate || e, o = r.getTimezoneOffset();
684
+ if (o === 0)
685
+ return "Z";
686
+ switch (i) {
687
+ case "X":
688
+ return Ye(o);
689
+ case "XXXX":
690
+ case "XX":
691
+ return pe(o);
692
+ case "XXXXX":
693
+ case "XXX":
694
+ default:
695
+ return pe(o, ":");
696
+ }
697
+ },
698
+ // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
699
+ x: function(e, i, a, n) {
700
+ var r = n._originalDate || e, o = r.getTimezoneOffset();
701
+ switch (i) {
702
+ case "x":
703
+ return Ye(o);
704
+ case "xxxx":
705
+ case "xx":
706
+ return pe(o);
707
+ case "xxxxx":
708
+ case "xxx":
709
+ default:
710
+ return pe(o, ":");
711
+ }
712
+ },
713
+ // Timezone (GMT)
714
+ O: function(e, i, a, n) {
715
+ var r = n._originalDate || e, o = r.getTimezoneOffset();
716
+ switch (i) {
717
+ case "O":
718
+ case "OO":
719
+ case "OOO":
720
+ return "GMT" + Ie(o, ":");
721
+ case "OOOO":
722
+ default:
723
+ return "GMT" + pe(o, ":");
724
+ }
725
+ },
726
+ // Timezone (specific non-location)
727
+ z: function(e, i, a, n) {
728
+ var r = n._originalDate || e, o = r.getTimezoneOffset();
729
+ switch (i) {
730
+ case "z":
731
+ case "zz":
732
+ case "zzz":
733
+ return "GMT" + Ie(o, ":");
734
+ case "zzzz":
735
+ default:
736
+ return "GMT" + pe(o, ":");
737
+ }
738
+ },
739
+ // Seconds timestamp
740
+ t: function(e, i, a, n) {
741
+ var r = n._originalDate || e, o = Math.floor(r.getTime() / 1e3);
742
+ return C(o, i.length);
743
+ },
744
+ // Milliseconds timestamp
745
+ T: function(e, i, a, n) {
746
+ var r = n._originalDate || e, o = r.getTime();
747
+ return C(o, i.length);
748
+ }
749
+ };
750
+ function Ie(t, e) {
751
+ var i = t > 0 ? "-" : "+", a = Math.abs(t), n = Math.floor(a / 60), r = a % 60;
752
+ if (r === 0)
753
+ return i + String(n);
754
+ var o = e;
755
+ return i + String(n) + o + C(r, 2);
756
+ }
757
+ function Ye(t, e) {
758
+ if (t % 60 === 0) {
759
+ var i = t > 0 ? "-" : "+";
760
+ return i + C(Math.abs(t) / 60, 2);
761
+ }
762
+ return pe(t, e);
763
+ }
764
+ function pe(t, e) {
765
+ var i = e || "", a = t > 0 ? "-" : "+", n = Math.abs(t), r = C(Math.floor(n / 60), 2), o = C(n % 60, 2);
766
+ return a + r + i + o;
767
+ }
768
+ var Fe = function(e, i) {
769
+ switch (e) {
770
+ case "P":
771
+ return i.date({
772
+ width: "short"
773
+ });
774
+ case "PP":
775
+ return i.date({
776
+ width: "medium"
777
+ });
778
+ case "PPP":
779
+ return i.date({
780
+ width: "long"
781
+ });
782
+ case "PPPP":
783
+ default:
784
+ return i.date({
785
+ width: "full"
786
+ });
787
+ }
788
+ }, st = function(e, i) {
789
+ switch (e) {
790
+ case "p":
791
+ return i.time({
792
+ width: "short"
793
+ });
794
+ case "pp":
795
+ return i.time({
796
+ width: "medium"
797
+ });
798
+ case "ppp":
799
+ return i.time({
800
+ width: "long"
801
+ });
802
+ case "pppp":
803
+ default:
804
+ return i.time({
805
+ width: "full"
806
+ });
807
+ }
808
+ }, Zt = function(e, i) {
809
+ var a = e.match(/(P+)(p+)?/) || [], n = a[1], r = a[2];
810
+ if (!r)
811
+ return Fe(e, i);
812
+ var o;
813
+ switch (n) {
814
+ case "P":
815
+ o = i.dateTime({
816
+ width: "short"
817
+ });
818
+ break;
819
+ case "PP":
820
+ o = i.dateTime({
821
+ width: "medium"
822
+ });
823
+ break;
824
+ case "PPP":
825
+ o = i.dateTime({
826
+ width: "long"
827
+ });
828
+ break;
829
+ case "PPPP":
830
+ default:
831
+ o = i.dateTime({
832
+ width: "full"
833
+ });
834
+ break;
835
+ }
836
+ return o.replace("{{date}}", Fe(n, i)).replace("{{time}}", st(r, i));
837
+ }, $t = {
838
+ p: st,
839
+ P: Zt
840
+ }, ei = ["D", "DD"], ti = ["YY", "YYYY"];
841
+ function ii(t) {
842
+ return ei.indexOf(t) !== -1;
843
+ }
844
+ function ai(t) {
845
+ return ti.indexOf(t) !== -1;
846
+ }
847
+ function je(t, e, i) {
848
+ if (t === "YYYY")
849
+ throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(i, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
850
+ if (t === "YY")
851
+ throw new RangeError("Use `yy` instead of `YY` (in `".concat(e, "`) for formatting years to the input `").concat(i, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
852
+ if (t === "D")
853
+ throw new RangeError("Use `d` instead of `D` (in `".concat(e, "`) for formatting days of the month to the input `").concat(i, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
854
+ if (t === "DD")
855
+ throw new RangeError("Use `dd` instead of `DD` (in `".concat(e, "`) for formatting days of the month to the input `").concat(i, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
856
+ }
857
+ var ni = {
858
+ lessThanXSeconds: {
859
+ one: "less than a second",
860
+ other: "less than {{count}} seconds"
861
+ },
862
+ xSeconds: {
863
+ one: "1 second",
864
+ other: "{{count}} seconds"
865
+ },
866
+ halfAMinute: "half a minute",
867
+ lessThanXMinutes: {
868
+ one: "less than a minute",
869
+ other: "less than {{count}} minutes"
870
+ },
871
+ xMinutes: {
872
+ one: "1 minute",
873
+ other: "{{count}} minutes"
874
+ },
875
+ aboutXHours: {
876
+ one: "about 1 hour",
877
+ other: "about {{count}} hours"
878
+ },
879
+ xHours: {
880
+ one: "1 hour",
881
+ other: "{{count}} hours"
882
+ },
883
+ xDays: {
884
+ one: "1 day",
885
+ other: "{{count}} days"
886
+ },
887
+ aboutXWeeks: {
888
+ one: "about 1 week",
889
+ other: "about {{count}} weeks"
890
+ },
891
+ xWeeks: {
892
+ one: "1 week",
893
+ other: "{{count}} weeks"
894
+ },
895
+ aboutXMonths: {
896
+ one: "about 1 month",
897
+ other: "about {{count}} months"
898
+ },
899
+ xMonths: {
900
+ one: "1 month",
901
+ other: "{{count}} months"
902
+ },
903
+ aboutXYears: {
904
+ one: "about 1 year",
905
+ other: "about {{count}} years"
906
+ },
907
+ xYears: {
908
+ one: "1 year",
909
+ other: "{{count}} years"
910
+ },
911
+ overXYears: {
912
+ one: "over 1 year",
913
+ other: "over {{count}} years"
914
+ },
915
+ almostXYears: {
916
+ one: "almost 1 year",
917
+ other: "almost {{count}} years"
918
+ }
919
+ }, ri = function(e, i, a) {
920
+ var n, r = ni[e];
921
+ return typeof r == "string" ? n = r : i === 1 ? n = r.one : n = r.other.replace("{{count}}", i.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + n : n + " ago" : n;
922
+ };
923
+ function Ae(t) {
924
+ return function() {
925
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = e.width ? String(e.width) : t.defaultWidth, a = t.formats[i] || t.formats[t.defaultWidth];
926
+ return a;
927
+ };
928
+ }
929
+ var oi = {
930
+ full: "EEEE, MMMM do, y",
931
+ long: "MMMM do, y",
932
+ medium: "MMM d, y",
933
+ short: "MM/dd/yyyy"
934
+ }, si = {
935
+ full: "h:mm:ss a zzzz",
936
+ long: "h:mm:ss a z",
937
+ medium: "h:mm:ss a",
938
+ short: "h:mm a"
939
+ }, li = {
940
+ full: "{{date}} 'at' {{time}}",
941
+ long: "{{date}} 'at' {{time}}",
942
+ medium: "{{date}}, {{time}}",
943
+ short: "{{date}}, {{time}}"
944
+ }, ui = {
945
+ date: Ae({
946
+ formats: oi,
947
+ defaultWidth: "full"
948
+ }),
949
+ time: Ae({
950
+ formats: si,
951
+ defaultWidth: "full"
952
+ }),
953
+ dateTime: Ae({
954
+ formats: li,
955
+ defaultWidth: "full"
956
+ })
957
+ }, mi = {
958
+ lastWeek: "'last' eeee 'at' p",
959
+ yesterday: "'yesterday at' p",
960
+ today: "'today at' p",
961
+ tomorrow: "'tomorrow at' p",
962
+ nextWeek: "eeee 'at' p",
963
+ other: "P"
964
+ }, di = function(e, i, a, n) {
965
+ return mi[e];
966
+ };
967
+ function we(t) {
968
+ return function(e, i) {
969
+ var a = i != null && i.context ? String(i.context) : "standalone", n;
970
+ if (a === "formatting" && t.formattingValues) {
971
+ var r = t.defaultFormattingWidth || t.defaultWidth, o = i != null && i.width ? String(i.width) : r;
972
+ n = t.formattingValues[o] || t.formattingValues[r];
973
+ } else {
974
+ var s = t.defaultWidth, l = i != null && i.width ? String(i.width) : t.defaultWidth;
975
+ n = t.values[l] || t.values[s];
976
+ }
977
+ var m = t.argumentCallback ? t.argumentCallback(e) : e;
978
+ return n[m];
979
+ };
980
+ }
981
+ var ci = {
982
+ narrow: ["B", "A"],
983
+ abbreviated: ["BC", "AD"],
984
+ wide: ["Before Christ", "Anno Domini"]
985
+ }, fi = {
986
+ narrow: ["1", "2", "3", "4"],
987
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
988
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
989
+ }, pi = {
990
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
991
+ abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
992
+ wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
993
+ }, hi = {
994
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
995
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
996
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
997
+ wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
998
+ }, gi = {
999
+ narrow: {
1000
+ am: "a",
1001
+ pm: "p",
1002
+ midnight: "mi",
1003
+ noon: "n",
1004
+ morning: "morning",
1005
+ afternoon: "afternoon",
1006
+ evening: "evening",
1007
+ night: "night"
1008
+ },
1009
+ abbreviated: {
1010
+ am: "AM",
1011
+ pm: "PM",
1012
+ midnight: "midnight",
1013
+ noon: "noon",
1014
+ morning: "morning",
1015
+ afternoon: "afternoon",
1016
+ evening: "evening",
1017
+ night: "night"
1018
+ },
1019
+ wide: {
1020
+ am: "a.m.",
1021
+ pm: "p.m.",
1022
+ midnight: "midnight",
1023
+ noon: "noon",
1024
+ morning: "morning",
1025
+ afternoon: "afternoon",
1026
+ evening: "evening",
1027
+ night: "night"
1028
+ }
1029
+ }, vi = {
1030
+ narrow: {
1031
+ am: "a",
1032
+ pm: "p",
1033
+ midnight: "mi",
1034
+ noon: "n",
1035
+ morning: "in the morning",
1036
+ afternoon: "in the afternoon",
1037
+ evening: "in the evening",
1038
+ night: "at night"
1039
+ },
1040
+ abbreviated: {
1041
+ am: "AM",
1042
+ pm: "PM",
1043
+ midnight: "midnight",
1044
+ noon: "noon",
1045
+ morning: "in the morning",
1046
+ afternoon: "in the afternoon",
1047
+ evening: "in the evening",
1048
+ night: "at night"
1049
+ },
1050
+ wide: {
1051
+ am: "a.m.",
1052
+ pm: "p.m.",
1053
+ midnight: "midnight",
1054
+ noon: "noon",
1055
+ morning: "in the morning",
1056
+ afternoon: "in the afternoon",
1057
+ evening: "in the evening",
1058
+ night: "at night"
1059
+ }
1060
+ }, yi = function(e, i) {
1061
+ var a = Number(e), n = a % 100;
1062
+ if (n > 20 || n < 10)
1063
+ switch (n % 10) {
1064
+ case 1:
1065
+ return a + "st";
1066
+ case 2:
1067
+ return a + "nd";
1068
+ case 3:
1069
+ return a + "rd";
1070
+ }
1071
+ return a + "th";
1072
+ }, wi = {
1073
+ ordinalNumber: yi,
1074
+ era: we({
1075
+ values: ci,
1076
+ defaultWidth: "wide"
1077
+ }),
1078
+ quarter: we({
1079
+ values: fi,
1080
+ defaultWidth: "wide",
1081
+ argumentCallback: function(e) {
1082
+ return e - 1;
1083
+ }
1084
+ }),
1085
+ month: we({
1086
+ values: pi,
1087
+ defaultWidth: "wide"
1088
+ }),
1089
+ day: we({
1090
+ values: hi,
1091
+ defaultWidth: "wide"
1092
+ }),
1093
+ dayPeriod: we({
1094
+ values: gi,
1095
+ defaultWidth: "wide",
1096
+ formattingValues: vi,
1097
+ defaultFormattingWidth: "wide"
1098
+ })
1099
+ };
1100
+ function be(t) {
1101
+ return function(e) {
1102
+ var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = i.width, n = a && t.matchPatterns[a] || t.matchPatterns[t.defaultMatchWidth], r = e.match(n);
1103
+ if (!r)
1104
+ return null;
1105
+ var o = r[0], s = a && t.parsePatterns[a] || t.parsePatterns[t.defaultParseWidth], l = Array.isArray(s) ? Li(s, function(w) {
1106
+ return w.test(o);
1107
+ }) : bi(s, function(w) {
1108
+ return w.test(o);
1109
+ }), m;
1110
+ m = t.valueCallback ? t.valueCallback(l) : l, m = i.valueCallback ? i.valueCallback(m) : m;
1111
+ var c = e.slice(o.length);
1112
+ return {
1113
+ value: m,
1114
+ rest: c
1115
+ };
1116
+ };
1117
+ }
1118
+ function bi(t, e) {
1119
+ for (var i in t)
1120
+ if (t.hasOwnProperty(i) && e(t[i]))
1121
+ return i;
1122
+ }
1123
+ function Li(t, e) {
1124
+ for (var i = 0; i < t.length; i++)
1125
+ if (e(t[i]))
1126
+ return i;
1127
+ }
1128
+ function Ti(t) {
1129
+ return function(e) {
1130
+ var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.match(t.matchPattern);
1131
+ if (!a)
1132
+ return null;
1133
+ var n = a[0], r = e.match(t.parsePattern);
1134
+ if (!r)
1135
+ return null;
1136
+ var o = t.valueCallback ? t.valueCallback(r[0]) : r[0];
1137
+ o = i.valueCallback ? i.valueCallback(o) : o;
1138
+ var s = e.slice(n.length);
1139
+ return {
1140
+ value: o,
1141
+ rest: s
1142
+ };
1143
+ };
1144
+ }
1145
+ var _i = /^(\d+)(th|st|nd|rd)?/i, ki = /\d+/i, Ci = {
1146
+ narrow: /^(b|a)/i,
1147
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1148
+ wide: /^(before christ|before common era|anno domini|common era)/i
1149
+ }, Mi = {
1150
+ any: [/^b/i, /^(a|c)/i]
1151
+ }, Di = {
1152
+ narrow: /^[1234]/i,
1153
+ abbreviated: /^q[1234]/i,
1154
+ wide: /^[1234](th|st|nd|rd)? quarter/i
1155
+ }, Ei = {
1156
+ any: [/1/i, /2/i, /3/i, /4/i]
1157
+ }, Ai = {
1158
+ narrow: /^[jfmasond]/i,
1159
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1160
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1161
+ }, Oi = {
1162
+ narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
1163
+ any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
1164
+ }, Si = {
1165
+ narrow: /^[smtwf]/i,
1166
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
1167
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1168
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1169
+ }, Pi = {
1170
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1171
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1172
+ }, Wi = {
1173
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1174
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1175
+ }, Ni = {
1176
+ any: {
1177
+ am: /^a/i,
1178
+ pm: /^p/i,
1179
+ midnight: /^mi/i,
1180
+ noon: /^no/i,
1181
+ morning: /morning/i,
1182
+ afternoon: /afternoon/i,
1183
+ evening: /evening/i,
1184
+ night: /night/i
1185
+ }
1186
+ }, xi = {
1187
+ ordinalNumber: Ti({
1188
+ matchPattern: _i,
1189
+ parsePattern: ki,
1190
+ valueCallback: function(e) {
1191
+ return parseInt(e, 10);
1192
+ }
1193
+ }),
1194
+ era: be({
1195
+ matchPatterns: Ci,
1196
+ defaultMatchWidth: "wide",
1197
+ parsePatterns: Mi,
1198
+ defaultParseWidth: "any"
1199
+ }),
1200
+ quarter: be({
1201
+ matchPatterns: Di,
1202
+ defaultMatchWidth: "wide",
1203
+ parsePatterns: Ei,
1204
+ defaultParseWidth: "any",
1205
+ valueCallback: function(e) {
1206
+ return e + 1;
1207
+ }
1208
+ }),
1209
+ month: be({
1210
+ matchPatterns: Ai,
1211
+ defaultMatchWidth: "wide",
1212
+ parsePatterns: Oi,
1213
+ defaultParseWidth: "any"
1214
+ }),
1215
+ day: be({
1216
+ matchPatterns: Si,
1217
+ defaultMatchWidth: "wide",
1218
+ parsePatterns: Pi,
1219
+ defaultParseWidth: "any"
1220
+ }),
1221
+ dayPeriod: be({
1222
+ matchPatterns: Wi,
1223
+ defaultMatchWidth: "any",
1224
+ parsePatterns: Ni,
1225
+ defaultParseWidth: "any"
1226
+ })
1227
+ }, Ui = {
1228
+ code: "en-US",
1229
+ formatDistance: ri,
1230
+ formatLong: ui,
1231
+ formatRelative: di,
1232
+ localize: wi,
1233
+ match: xi,
1234
+ options: {
1235
+ weekStartsOn: 0,
1236
+ firstWeekContainsDate: 1
1237
+ }
1238
+ }, Ii = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Yi = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Fi = /^'([^]*?)'?$/, ji = /''/g, Bi = /[a-zA-Z]/;
1239
+ function Ce(t, e, i) {
1240
+ var a, n, r, o, s, l, m, c, w, y, p, E, f, h;
1241
+ x(2, arguments);
1242
+ var L = String(e), _ = De(), T = (a = (n = void 0) !== null && n !== void 0 ? n : _.locale) !== null && a !== void 0 ? a : Ui, q = te((r = (o = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : _.firstWeekContainsDate) !== null && o !== void 0 ? o : (m = _.locale) === null || m === void 0 || (c = m.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
1243
+ if (!(q >= 1 && q <= 7))
1244
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1245
+ var j = te((w = (y = (p = (E = void 0) !== null && E !== void 0 ? E : void 0) !== null && p !== void 0 ? p : _.weekStartsOn) !== null && y !== void 0 ? y : (f = _.locale) === null || f === void 0 || (h = f.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && w !== void 0 ? w : 0);
1246
+ if (!(j >= 0 && j <= 6))
1247
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1248
+ if (!T.localize)
1249
+ throw new RangeError("locale must contain localize property");
1250
+ if (!T.formatLong)
1251
+ throw new RangeError("locale must contain formatLong property");
1252
+ var O = X(t);
1253
+ if (!Bt(O))
1254
+ throw new RangeError("Invalid time value");
1255
+ var $ = Ft(O), A = qt(O, $), H = {
1256
+ firstWeekContainsDate: q,
1257
+ weekStartsOn: j,
1258
+ locale: T,
1259
+ _originalDate: O
1260
+ }, Q = L.match(Yi).map(function(S) {
1261
+ var V = S[0];
1262
+ if (V === "p" || V === "P") {
1263
+ var J = $t[V];
1264
+ return J(S, T.formatLong);
1265
+ }
1266
+ return S;
1267
+ }).join("").match(Ii).map(function(S) {
1268
+ if (S === "''")
1269
+ return "'";
1270
+ var V = S[0];
1271
+ if (V === "'")
1272
+ return qi(S);
1273
+ var J = Kt[V];
1274
+ if (J)
1275
+ return ai(S) && je(S, e, String(t)), ii(S) && je(S, e, String(t)), J(A, S, T.localize, H);
1276
+ if (V.match(Bi))
1277
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + V + "`");
1278
+ return S;
1279
+ }).join("");
1280
+ return Q;
1281
+ }
1282
+ function qi(t) {
1283
+ var e = t.match(Fi);
1284
+ return e ? e[1].replace(ji, "'") : t;
1285
+ }
1286
+ function $i(t) {
1287
+ return x(1, arguments), X(t).getFullYear();
1288
+ }
1289
+ function ea(t, e) {
1290
+ x(2, arguments);
1291
+ var i = te(e);
1292
+ return xt(t, -i);
1293
+ }
1294
+ function ta(t, e) {
1295
+ x(2, arguments);
1296
+ var i = te(e);
1297
+ return Ut(t, -i);
1298
+ }
1299
+ if (typeof window != "undefined") {
1300
+ let t = function(e) {
1301
+ return function(...i) {
1302
+ try {
1303
+ return e.apply(this, i);
1304
+ } catch (a) {
1305
+ if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
1306
+ return !1;
1307
+ throw a;
1308
+ }
1309
+ };
1310
+ };
1311
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsPopup-B4IR8T1h.js").then(({ default: e }) => {
1312
+ !customElements.get("player-account-gaming-limits-popup") && customElements.define("player-account-gaming-limits-popup", e.element);
1313
+ });
1314
+ }
1315
+ function Be(t, e) {
1316
+ vt(t, e);
1317
+ }
1318
+ function Hi(t) {
1319
+ yt.set(t);
1320
+ }
1321
+ const qe = {
1322
+ en: {
1323
+ back: "Back to Gaming Limits",
1324
+ limit: "Limit",
1325
+ amount: "Amount",
1326
+ noLimit: "No limit",
1327
+ changeLimitsText: "Are you sure you want to change the {limit}s?",
1328
+ success: "Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",
1329
+ remove: "You have requested to remove this limit. This will be applied on",
1330
+ invalidInputMessageLimit: "The amount needs to be between 1 and 99,999,999.",
1331
+ invalidInputMessageTime: "The time amount needs to be greater than {minTime} and below {maxTime} minutes.",
1332
+ expirationDate: "Expiration Date:",
1333
+ save: "Save",
1334
+ changedLimitTextBefore: "Your limit has been changed or increased:",
1335
+ changedLimitTextAfter: "You will have to wait for the expiration date for your new limit to take effect.",
1336
+ daily: "Daily",
1337
+ weekly: "Weekly",
1338
+ monthly: "Monthly",
1339
+ depositLimit: "Deposit Limit",
1340
+ timeLimit: "Time Limit",
1341
+ wageringLimit: "Wagering Limit",
1342
+ lossLimit: "Loss Limit"
1343
+ },
1344
+ "zh-hk": {
1345
+ back: "返回游戲限制",
1346
+ limit: "限制",
1347
+ amount: "數量",
1348
+ noLimit: "沒有限制t",
1349
+ changeLimitsText: "您確定要更改 {limit} 嗎?",
1350
+ success: "您的遊戲限制已成功設置。",
1351
+ remove: "您已請求取消此限制。 這將應用於",
1352
+ invalidInputMessageLimit: "金額需要在 0 到 99,999,999 之間",
1353
+ invalidInputMessageTime: "時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",
1354
+ expirationDate: "截止日期:",
1355
+ save: "節省",
1356
+ changedLimitTextBefore: "您的限額已更改或增加:",
1357
+ changedLimitTextAfter: "您必須等待到期日期才能使新限制生效",
1358
+ daily: "日常的",
1359
+ weekly: "每周",
1360
+ monthly: "月刊",
1361
+ depositLimit: "存款限额",
1362
+ timeLimit: "时限",
1363
+ wageringLimit: "投注限额",
1364
+ lossLimit: "损失限额"
1365
+ },
1366
+ fr: {
1367
+ back: "Retour aux limites de jeu",
1368
+ daily: "Quotidiennement",
1369
+ weekly: "Hebdomadaire",
1370
+ monthly: "Mensuel",
1371
+ limit: "Limite",
1372
+ amount: "Montant",
1373
+ noLimit: "Aucune limite",
1374
+ changeLimitsText: "Etes-vous sûr de vouloir changer les {limit}s??",
1375
+ success: "Vos limites de jeu ont été respectées.",
1376
+ remove: "Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",
1377
+ invalidInputMessageLimit: "Le montant doit être compris entre 1 et 99,999,999.",
1378
+ invalidInputMessageTime: "La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",
1379
+ expirationDate: "Date d'expiration:",
1380
+ save: "Sauvez",
1381
+ changedLimitTextBefore: "Votre limit a été modifiée ou augmentée:",
1382
+ changedLimitTextAfter: "Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",
1383
+ depositLimit: "Limite de dépôt",
1384
+ timeLimit: "Limite de temps",
1385
+ wageringLimit: "Limite de mise",
1386
+ lossLimit: "Limite de perte"
1387
+ },
1388
+ ro: {
1389
+ back: "Înapoi la limite de joc",
1390
+ limit: "Limită",
1391
+ amount: "Sumă",
1392
+ noLimit: "Fără Limită",
1393
+ changeLimitsText: "Ești sigur că vrei să modifici {limit}?",
1394
+ success: "Limitele tale de joc au fost configurate cu success.",
1395
+ remove: "Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",
1396
+ invalidInputMessageLimit: "Trebuie să setezi o sumă intre 1 și 99,999,999.",
1397
+ invalidInputMessageTime: "Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",
1398
+ expirationDate: "Dată Expirare:",
1399
+ save: "Salvează",
1400
+ changedLimitTextBefore: "Limita ta a fost schimbată sau a crescut:",
1401
+ changedLimitTextAfter: ". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",
1402
+ daily: "Zilnic",
1403
+ weekly: "Săptămânal",
1404
+ monthly: "Lunar",
1405
+ depositLimit: "Limită de depunere",
1406
+ timeLimit: "Limită de timp",
1407
+ wageringLimit: "Limită de pariere",
1408
+ lossLimit: "Limite de pierdere"
1409
+ },
1410
+ es: {
1411
+ back: "Regresa a límites de juego",
1412
+ limit: "Límite",
1413
+ amount: "Monto",
1414
+ noLimit: "Sin Límite",
1415
+ changeLimitsText: "Esta seguro que desea cambiar los {limit}es?",
1416
+ success: "Limite actualizado satisfactoriamente",
1417
+ remove: "Ha solicitado retirar este limite. Esto será aplicado",
1418
+ invalidInputMessageLimit: "El monto debe ser entre 1 y 99",
1419
+ invalidInputMessageTime: "La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",
1420
+ expirationDate: "Fecha de expiración:",
1421
+ save: "Guardar",
1422
+ changedLimitTextBefore: "Tú limite ha sido cambiado o incrementado:",
1423
+ changedLimitTextAfter: "Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",
1424
+ daily: "Diario",
1425
+ weekly: "Semanal",
1426
+ monthly: "Mensual",
1427
+ depositLimit: "Límite de depósito",
1428
+ timeLimit: "Límite de tiempo",
1429
+ wageringLimit: "Límite de apuestas",
1430
+ lossLimit: "Límite de pérdida"
1431
+ },
1432
+ pt: {
1433
+ back: "Voltar para Limites de jogos",
1434
+ limit: "Limite",
1435
+ amount: "Montante",
1436
+ noLimit: "Sem limite",
1437
+ changeLimitsText: "Tem certeza de que deseja alterar os {limite}s?",
1438
+ success: "Seus limites de jogo foram definidos com sucesso.",
1439
+ remove: "Você solicitou a remoção deste limite. Isso será aplicado em",
1440
+ invalidInputMessageLimit: "O valor precisa estar entre 1 e 99.999.999",
1441
+ invalidInputMessageTime: "A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",
1442
+ expirationDate: "Data de Validade",
1443
+ save: "Guardar",
1444
+ changedLimitTextBefore: "Seu limite foi alterado ou aumentado:",
1445
+ changedLimitTextAfter: "Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",
1446
+ daily: "Diariamente",
1447
+ weekly: "Semanalmente",
1448
+ monthly: "Mensalmente",
1449
+ depositLimit: "Limite de Depósito",
1450
+ timeLimit: "Limite de Tempo",
1451
+ wageringLimit: "Limite de Apostas",
1452
+ lossLimit: "Limite de Perda"
1453
+ },
1454
+ hr: {
1455
+ back: "Povratak na ograničenja igranja",
1456
+ limit: "Limit",
1457
+ amount: "Iznos",
1458
+ noLimit: "Nema ograničenja",
1459
+ changeLimitsText: "Jeste li sigurni da želite promijeniti {limit}e?",
1460
+ success: "Uspješno",
1461
+ remove: "Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",
1462
+ invalidInputMessageLimit: "Iznos mora biti između 1 i 99",
1463
+ invalidInputMessageTime: "Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",
1464
+ expirationDate: "Datum isteka:",
1465
+ save: "Spremi",
1466
+ changedLimitTextBefore: "Vaše ograničenje je promijenjeno ili povećano:",
1467
+ changedLimitTextAfter: "Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",
1468
+ daily: "Dnevno",
1469
+ weekly: "Tjedno",
1470
+ monthly: "Mjesečno",
1471
+ depositLimit: "Ograničenje uplate",
1472
+ timeLimit: "Vremensko ograničenje",
1473
+ wageringLimit: "Ograničenje igranja",
1474
+ lossLimit: "Ograničenje gubitka"
1475
+ },
1476
+ "pt-br": {
1477
+ back: "Retornar aos limites do jogo",
1478
+ limit: "Limite",
1479
+ amount: "Quantidade",
1480
+ noLimit: "Sem limite",
1481
+ changeLimitsText: "Tem certeza de que deseja alterar o(s) limite(s)?",
1482
+ success: "A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",
1483
+ remove: "Você solicitou a remoção deste limite. Isto será aplicado a partir de",
1484
+ invalidInputMessageLimit: "A Quantia deve estar entre 1 e 99",
1485
+ invalidInputMessageTime: "A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",
1486
+ expirationDate: "Data de expiração:",
1487
+ save: "Manter",
1488
+ changedLimitTextBefore: "Seu limite de tempo foi alterado ou aumentado:",
1489
+ changedLimitTextAfter: "Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",
1490
+ daily: "Diário",
1491
+ weekly: "Semanalmente",
1492
+ monthly: "Por mês",
1493
+ depositLimit: "Limite de depósito",
1494
+ timeLimit: "Limite de tempo",
1495
+ wageringLimit: "Limite de aposta",
1496
+ lossLimit: "Limite de perda"
1497
+ },
1498
+ "es-mx": {
1499
+ back: "Regresar a límites de juego",
1500
+ limit: "Límite",
1501
+ amount: "Monto",
1502
+ noLimit: "Sin límite",
1503
+ changeLimitsText: "¿Está seguro que quiere cambiar el/los límite(s)?",
1504
+ success: "Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",
1505
+ remove: "Ha solicitado remover este límite. Esto se aplicará a partir de",
1506
+ invalidInputMessageLimit: "El monto debe ser entre 1 y 99,999,999",
1507
+ invalidInputMessageTime: "El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",
1508
+ expirationDate: "Fecha de expiración:",
1509
+ save: "Guardar",
1510
+ changedLimitTextBefore: "Tú límite de tiempo ha sido cambiado o aumentado:",
1511
+ changedLimitTextAfter: "Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",
1512
+ daily: "Diario",
1513
+ weekly: "Semanal",
1514
+ monthly: "Mensual",
1515
+ depositLimit: "Límite de depósito",
1516
+ timeLimit: "Límite de tiempo",
1517
+ wageringLimit: "Límite de apuesta",
1518
+ lossLimit: "Límite de pérdida"
1519
+ },
1520
+ tr: {
1521
+ back: "Oyun Sınırlarına Geri Dön",
1522
+ limit: "Sınır",
1523
+ amount: "Miktar",
1524
+ noLimit: "Limit yok",
1525
+ changeLimitsText: "{limit}'leri değiştirmek istediğinizden emin misiniz?",
1526
+ success: "Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",
1527
+ remove: "Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",
1528
+ invalidInputMessageLimit: "Tutarın 1 ile 99.999.999 arasında olması gerekir.",
1529
+ invalidInputMessageTime: "Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",
1530
+ expirationDate: "Son kullanma tarihi:",
1531
+ save: "Kaydetmek",
1532
+ changedLimitTextBefore: "Limitiniz değiştirildi veya artırıldı:",
1533
+ changedLimitTextAfter: "Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",
1534
+ daily: "Günlük",
1535
+ weekly: "Haftalık",
1536
+ monthly: "Aylık",
1537
+ depositLimit: "Para Yatırma Limiti",
1538
+ timeLimit: "Zaman sınırı",
1539
+ wageringLimit: "Bahis Limiti",
1540
+ lossLimit: "Kayıp Limiti"
1541
+ },
1542
+ "en-us": {
1543
+ back: "Back to Gaming Limits",
1544
+ limit: "Limit",
1545
+ amount: "Amount",
1546
+ noLimit: "No limit",
1547
+ changeLimitsText: "Are you sure you want to change the {limit}s?",
1548
+ success: "Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",
1549
+ remove: "You have requested to remove this limit. This will be applied on",
1550
+ invalidInputMessageLimit: "The amount needs to be between 1 and 99,999,999.",
1551
+ invalidInputMessageTime: "The time amount needs to be greater than {minTime} and below {maxTime} minutes.",
1552
+ expirationDate: "Expiration Date:",
1553
+ save: "Save",
1554
+ changedLimitTextBefore: "Your limit has been changed or increased:",
1555
+ changedLimitTextAfter: "You will have to wait for the expiration date for your new limit to take effect.",
1556
+ daily: "Daily",
1557
+ weekly: "Weekly",
1558
+ monthly: "Monthly",
1559
+ depositLimit: "Deposit Limit",
1560
+ timeLimit: "Time Limit",
1561
+ wageringLimit: "Wagering Limit",
1562
+ lossLimit: "Loss Limit"
1563
+ }
1564
+ };
1565
+ if (typeof window != "undefined") {
1566
+ let t = function(e) {
1567
+ return function(...i) {
1568
+ try {
1569
+ return e.apply(this, i);
1570
+ } catch (a) {
1571
+ if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
1572
+ return !1;
1573
+ throw a;
1574
+ }
1575
+ };
1576
+ };
1577
+ customElements.define = t(customElements.define), import("./PlayerAccountModal-DOARFyxN.js").then(({ default: e }) => {
1578
+ !customElements.get("player-account-modal") && customElements.define("player-account-modal", e.element);
1579
+ });
1580
+ }
1581
+ if (typeof window != "undefined") {
1582
+ let t = function(e) {
1583
+ return function(...i) {
1584
+ try {
1585
+ return e.apply(this, i);
1586
+ } catch (a) {
1587
+ if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
1588
+ return !1;
1589
+ throw a;
1590
+ }
1591
+ };
1592
+ };
1593
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsConfirmationModal-Bg7QGMAg.js").then(
1594
+ ({ default: e }) => {
1595
+ !customElements.get("player-account-gaming-limits-confirmation-modal") && customElements.define(
1596
+ "player-account-gaming-limits-confirmation-modal",
1597
+ e.element
1598
+ );
1599
+ }
1600
+ );
1601
+ }
1602
+ function Vi(t) {
1603
+ Tt(t, "svelte-bv14kn", ".MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.MyAccountCategoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emw--color-gray-300, #58586B);background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emw--color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emw--color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emw--color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}");
1604
+ }
1605
+ function He(t, e, i) {
1606
+ const a = t.slice();
1607
+ return a[56] = e[i], a[57] = e, a[58] = i, a;
1608
+ }
1609
+ function Ve(t, e, i) {
1610
+ const a = t.slice();
1611
+ return a[59] = e[i], a;
1612
+ }
1613
+ function ze(t, e, i) {
1614
+ const a = t.slice();
1615
+ return a[56] = e[i], a[58] = i, a;
1616
+ }
1617
+ function zi(t) {
1618
+ let e, i, a, n, r, o, s, l, m, c, w = (
1619
+ /*$_*/
1620
+ t[18]("back") + ""
1621
+ ), y, p, E;
1622
+ return {
1623
+ c() {
1624
+ e = b("div"), i = Z("svg"), a = Z("defs"), n = Z("style"), r = N(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), o = Z("g"), s = Z("g"), l = Z("path"), m = P(), c = b("h2"), y = N(w), g(l, "class", "aaa"), g(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(l, "transform", "translate(15 15) rotate(180)"), g(s, "transform", "translate(20 158)"), g(o, "transform", "translate(-20 -158)"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "15"), g(i, "height", "15"), g(i, "viewBox", "0 0 15 15"), g(c, "class", "MyAccountCategoryTitleMobile"), g(e, "class", "MenuReturnButton");
1625
+ },
1626
+ m(f, h) {
1627
+ D(f, e, h), d(e, i), d(i, a), d(a, n), d(n, r), d(i, o), d(o, s), d(s, l), d(e, m), d(e, c), d(c, y), p || (E = ne(
1628
+ e,
1629
+ "click",
1630
+ /*switchToLimitsGroupView*/
1631
+ t[22]
1632
+ ), p = !0);
1633
+ },
1634
+ p(f, h) {
1635
+ h[0] & /*$_*/
1636
+ 262144 && w !== (w = /*$_*/
1637
+ f[18]("back") + "") && F(y, w);
1638
+ },
1639
+ d(f) {
1640
+ f && M(e), p = !1, E();
1641
+ }
1642
+ };
1643
+ }
1644
+ function Ge(t) {
1645
+ let e, i, a = (
1646
+ /*$_*/
1647
+ t[18]("success") + ""
1648
+ ), n;
1649
+ return {
1650
+ c() {
1651
+ e = b("div"), i = b("p"), n = N(a), g(e, "class", "AccountEditLimitSuccessfulChangeContainer");
1652
+ },
1653
+ m(r, o) {
1654
+ D(r, e, o), d(e, i), d(i, n);
1655
+ },
1656
+ p(r, o) {
1657
+ o[0] & /*$_*/
1658
+ 262144 && a !== (a = /*$_*/
1659
+ r[18]("success") + "") && F(n, a);
1660
+ },
1661
+ d(r) {
1662
+ r && M(e);
1663
+ }
1664
+ };
1665
+ }
1666
+ function Re(t) {
1667
+ let e, i = ye(
1668
+ /*limitsUpdateData*/
1669
+ t[14]
1670
+ ), a = [];
1671
+ for (let n = 0; n < i.length; n += 1)
1672
+ a[n] = Xe(ze(t, i, n));
1673
+ return {
1674
+ c() {
1675
+ e = b("div");
1676
+ for (let n = 0; n < a.length; n += 1)
1677
+ a[n].c();
1678
+ g(e, "class", "AccountEditLimitSuccessfulChangeContainer");
1679
+ },
1680
+ m(n, r) {
1681
+ D(n, e, r);
1682
+ for (let o = 0; o < a.length; o += 1)
1683
+ a[o] && a[o].m(e, null);
1684
+ },
1685
+ p(n, r) {
1686
+ if (r[0] & /*limitsUpdateData, $_, storedData*/
1687
+ 409600) {
1688
+ i = ye(
1689
+ /*limitsUpdateData*/
1690
+ n[14]
1691
+ );
1692
+ let o;
1693
+ for (o = 0; o < i.length; o += 1) {
1694
+ const s = ze(n, i, o);
1695
+ a[o] ? a[o].p(s, r) : (a[o] = Xe(s), a[o].c(), a[o].m(e, null));
1696
+ }
1697
+ for (; o < a.length; o += 1)
1698
+ a[o].d(1);
1699
+ a.length = i.length;
1700
+ }
1701
+ },
1702
+ d(n) {
1703
+ n && M(e), Oe(a, n);
1704
+ }
1705
+ };
1706
+ }
1707
+ function Qe(t) {
1708
+ let e, i = (
1709
+ /*$_*/
1710
+ t[18]("remove") + ""
1711
+ ), a, n, r = (
1712
+ /*selectData*/
1713
+ (t[56].expiryDate ? Ce(new Date(
1714
+ /*selectData*/
1715
+ t[56].expiryDate
1716
+ ), "d/M/yyyy - h:mm a") : "N/A") + ""
1717
+ ), o;
1718
+ return {
1719
+ c() {
1720
+ e = b("p"), a = N(i), n = P(), o = N(r);
1721
+ },
1722
+ m(s, l) {
1723
+ D(s, e, l), d(e, a), d(e, n), d(e, o);
1724
+ },
1725
+ p(s, l) {
1726
+ l[0] & /*$_*/
1727
+ 262144 && i !== (i = /*$_*/
1728
+ s[18]("remove") + "") && F(a, i), l[0] & /*limitsUpdateData*/
1729
+ 16384 && r !== (r = /*selectData*/
1730
+ (s[56].expiryDate ? Ce(new Date(
1731
+ /*selectData*/
1732
+ s[56].expiryDate
1733
+ ), "d/M/yyyy - h:mm a") : "N/A") + "") && F(o, r);
1734
+ },
1735
+ d(s) {
1736
+ s && M(e);
1737
+ }
1738
+ };
1739
+ }
1740
+ function Xe(t) {
1741
+ let e, i = (
1742
+ /*selectData*/
1743
+ t[56].period == /*storedData*/
1744
+ t[17][
1745
+ /*index*/
1746
+ t[58]
1747
+ ].period && Qe(t)
1748
+ );
1749
+ return {
1750
+ c() {
1751
+ i && i.c(), e = Se();
1752
+ },
1753
+ m(a, n) {
1754
+ i && i.m(a, n), D(a, e, n);
1755
+ },
1756
+ p(a, n) {
1757
+ /*selectData*/
1758
+ a[56].period == /*storedData*/
1759
+ a[17][
1760
+ /*index*/
1761
+ a[58]
1762
+ ].period ? i ? i.p(a, n) : (i = Qe(a), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
1763
+ },
1764
+ d(a) {
1765
+ a && M(e), i && i.d(a);
1766
+ }
1767
+ };
1768
+ }
1769
+ function Je(t) {
1770
+ let e, i, a = ye(
1771
+ /*limitsUpdateData*/
1772
+ t[14]
1773
+ ), n = [];
1774
+ for (let r = 0; r < a.length; r += 1)
1775
+ n[r] = nt(He(t, a, r));
1776
+ return {
1777
+ c() {
1778
+ e = b("div"), i = b("div");
1779
+ for (let r = 0; r < n.length; r += 1)
1780
+ n[r].c();
1781
+ g(i, "class", "AccountEditLimitsContainer"), g(e, "class", "AccountEditContent");
1782
+ },
1783
+ m(r, o) {
1784
+ D(r, e, o), d(e, i);
1785
+ for (let s = 0; s < n.length; s += 1)
1786
+ n[s] && n[s].m(i, null);
1787
+ },
1788
+ p(r, o) {
1789
+ if (o[0] & /*$_, limitsUpdateData, currency, invalidIndexes, storedData, checkUserInputAmount, updatedLimitValues, limitname, minTimeValue, maxTimeValue, isMobile, limitPredefinedData*/
1790
+ 18836560) {
1791
+ a = ye(
1792
+ /*limitsUpdateData*/
1793
+ r[14]
1794
+ );
1795
+ let s;
1796
+ for (s = 0; s < a.length; s += 1) {
1797
+ const l = He(r, a, s);
1798
+ n[s] ? n[s].p(l, o) : (n[s] = nt(l), n[s].c(), n[s].m(i, null));
1799
+ }
1800
+ for (; s < n.length; s += 1)
1801
+ n[s].d(1);
1802
+ n.length = a.length;
1803
+ }
1804
+ },
1805
+ d(r) {
1806
+ r && M(e), Oe(n, r);
1807
+ }
1808
+ };
1809
+ }
1810
+ function Ke(t) {
1811
+ let e, i, a = (
1812
+ /*$_*/
1813
+ t[18]("noLimit") + ""
1814
+ ), n, r, o, s, l, m, c, w, y = ye(
1815
+ /*limitPredefinedData*/
1816
+ t[20].get(
1817
+ /*limitname*/
1818
+ t[6]
1819
+ )[
1820
+ /*index*/
1821
+ t[58]
1822
+ ].values
1823
+ ), p = [];
1824
+ for (let L = 0; L < y.length; L += 1)
1825
+ p[L] = $e(Ve(t, y, L));
1826
+ function E() {
1827
+ t[30].call(
1828
+ e,
1829
+ /*index*/
1830
+ t[58]
1831
+ );
1832
+ }
1833
+ let f = (
1834
+ /*storedData*/
1835
+ t[17][
1836
+ /*index*/
1837
+ t[58]
1838
+ ].amount === "Custom" && et(t)
1839
+ ), h = (
1840
+ /*selectData*/
1841
+ t[56].isModified === !0 && at(t)
1842
+ );
1843
+ return {
1844
+ c() {
1845
+ e = b("select"), i = b("option"), n = N(a);
1846
+ for (let L = 0; L < p.length; L += 1)
1847
+ p[L].c();
1848
+ o = P(), s = b("div"), f && f.c(), l = P(), h && h.c(), m = Se(), i.__value = "", he(i, i.__value), i.disabled = !0, i.selected = !0, i.hidden = !0, g(e, "class", "AccountEditField " + /*isMobile*/
1849
+ (t[19] ? "TimeoutSelectMobile" : "")), e.disabled = r = /*selectData*/
1850
+ t[56].isModified === !0, /*storedData*/
1851
+ t[17][
1852
+ /*index*/
1853
+ t[58]
1854
+ ].amount === void 0 && At(E), g(s, "class", "AccountEditLimitsInputContainer");
1855
+ },
1856
+ m(L, _) {
1857
+ D(L, e, _), d(e, i), d(i, n);
1858
+ for (let T = 0; T < p.length; T += 1)
1859
+ p[T] && p[T].m(e, null);
1860
+ Ue(
1861
+ e,
1862
+ /*storedData*/
1863
+ t[17][
1864
+ /*index*/
1865
+ t[58]
1866
+ ].amount,
1867
+ !0
1868
+ ), D(L, o, _), D(L, s, _), f && f.m(s, null), D(L, l, _), h && h.m(L, _), D(L, m, _), c || (w = [
1869
+ ne(e, "change", E),
1870
+ ne(e, "change", function() {
1871
+ Pe(
1872
+ /*checkUserInputAmount*/
1873
+ t[24](
1874
+ /*storedData*/
1875
+ t[17][
1876
+ /*index*/
1877
+ t[58]
1878
+ ],
1879
+ /*index*/
1880
+ t[58],
1881
+ !1,
1882
+ /*updatedLimitValues*/
1883
+ t[16]
1884
+ )
1885
+ ) && t[24](
1886
+ /*storedData*/
1887
+ t[17][
1888
+ /*index*/
1889
+ t[58]
1890
+ ],
1891
+ /*index*/
1892
+ t[58],
1893
+ !1,
1894
+ /*updatedLimitValues*/
1895
+ t[16]
1896
+ ).apply(this, arguments);
1897
+ })
1898
+ ], c = !0);
1899
+ },
1900
+ p(L, _) {
1901
+ if (t = L, _[0] & /*$_*/
1902
+ 262144 && a !== (a = /*$_*/
1903
+ t[18]("noLimit") + "") && F(n, a), _[0] & /*limitPredefinedData, limitname, currency*/
1904
+ 1048656) {
1905
+ y = ye(
1906
+ /*limitPredefinedData*/
1907
+ t[20].get(
1908
+ /*limitname*/
1909
+ t[6]
1910
+ )[
1911
+ /*index*/
1912
+ t[58]
1913
+ ].values
1914
+ );
1915
+ let T;
1916
+ for (T = 0; T < y.length; T += 1) {
1917
+ const q = Ve(t, y, T);
1918
+ p[T] ? p[T].p(q, _) : (p[T] = $e(q), p[T].c(), p[T].m(e, null));
1919
+ }
1920
+ for (; T < p.length; T += 1)
1921
+ p[T].d(1);
1922
+ p.length = y.length;
1923
+ }
1924
+ _[0] & /*limitsUpdateData*/
1925
+ 16384 && r !== (r = /*selectData*/
1926
+ t[56].isModified === !0) && (e.disabled = r), _[0] & /*storedData, limitPredefinedData, limitname*/
1927
+ 1179712 && Ue(
1928
+ e,
1929
+ /*storedData*/
1930
+ t[17][
1931
+ /*index*/
1932
+ t[58]
1933
+ ].amount
1934
+ ), /*storedData*/
1935
+ t[17][
1936
+ /*index*/
1937
+ t[58]
1938
+ ].amount === "Custom" ? f ? f.p(t, _) : (f = et(t), f.c(), f.m(s, null)) : f && (f.d(1), f = null), /*selectData*/
1939
+ t[56].isModified === !0 ? h ? h.p(t, _) : (h = at(t), h.c(), h.m(m.parentNode, m)) : h && (h.d(1), h = null);
1940
+ },
1941
+ d(L) {
1942
+ L && (M(e), M(o), M(s), M(l), M(m)), Oe(p, L), f && f.d(), h && h.d(L), c = !1, Me(w);
1943
+ }
1944
+ };
1945
+ }
1946
+ function Ze(t) {
1947
+ let e = (
1948
+ /*limitname*/
1949
+ (t[6] !== "Time Limit" ? (
1950
+ /*currency*/
1951
+ t[4]
1952
+ ) : " minutes") + ""
1953
+ ), i;
1954
+ return {
1955
+ c() {
1956
+ i = N(e);
1957
+ },
1958
+ m(a, n) {
1959
+ D(a, i, n);
1960
+ },
1961
+ p(a, n) {
1962
+ n[0] & /*limitname, currency*/
1963
+ 80 && e !== (e = /*limitname*/
1964
+ (a[6] !== "Time Limit" ? (
1965
+ /*currency*/
1966
+ a[4]
1967
+ ) : " minutes") + "") && F(i, e);
1968
+ },
1969
+ d(a) {
1970
+ a && M(i);
1971
+ }
1972
+ };
1973
+ }
1974
+ function $e(t) {
1975
+ let e, i = (
1976
+ /*predefinedData*/
1977
+ t[59] + ""
1978
+ ), a, n, r, o, s = (
1979
+ /*predefinedData*/
1980
+ t[59] !== "No limit" && /*predefinedData*/
1981
+ t[59] !== "Custom" && Ze(t)
1982
+ );
1983
+ return {
1984
+ c() {
1985
+ e = b("option"), a = N(i), n = P(), s && s.c(), r = P(), e.__value = o = /*predefinedData*/
1986
+ t[59], he(e, e.__value);
1987
+ },
1988
+ m(l, m) {
1989
+ D(l, e, m), d(e, a), d(e, n), s && s.m(e, null), d(e, r);
1990
+ },
1991
+ p(l, m) {
1992
+ m[0] & /*limitname*/
1993
+ 64 && i !== (i = /*predefinedData*/
1994
+ l[59] + "") && F(a, i), /*predefinedData*/
1995
+ l[59] !== "No limit" && /*predefinedData*/
1996
+ l[59] !== "Custom" ? s ? s.p(l, m) : (s = Ze(l), s.c(), s.m(e, r)) : s && (s.d(1), s = null), m[0] & /*limitname*/
1997
+ 64 && o !== (o = /*predefinedData*/
1998
+ l[59]) && (e.__value = o, he(e, e.__value));
1999
+ },
2000
+ d(l) {
2001
+ l && M(e), s && s.d();
2002
+ }
2003
+ };
2004
+ }
2005
+ function et(t) {
2006
+ let e;
2007
+ function i(r, o) {
2008
+ return (
2009
+ /*limitname*/
2010
+ r[6] !== "Time Limit" ? Ri : Gi
2011
+ );
2012
+ }
2013
+ let a = i(t), n = a(t);
2014
+ return {
2015
+ c() {
2016
+ n.c(), e = Se();
2017
+ },
2018
+ m(r, o) {
2019
+ n.m(r, o), D(r, e, o);
2020
+ },
2021
+ p(r, o) {
2022
+ a === (a = i(r)) && n ? n.p(r, o) : (n.d(1), n = a(r), n && (n.c(), n.m(e.parentNode, e)));
2023
+ },
2024
+ d(r) {
2025
+ r && M(e), n.d(r);
2026
+ }
2027
+ };
2028
+ }
2029
+ function Gi(t) {
2030
+ let e, i, a, n, r, o;
2031
+ function s() {
2032
+ t[32].call(
2033
+ e,
2034
+ /*index*/
2035
+ t[58]
2036
+ );
2037
+ }
2038
+ let l = (
2039
+ /*invalidIndexes*/
2040
+ t[13][
2041
+ /*index*/
2042
+ t[58]
2043
+ ] == 1 && tt(t)
2044
+ );
2045
+ return {
2046
+ c() {
2047
+ e = b("input"), a = P(), n = b("p"), l && l.c(), g(e, "type", "number"), g(e, "class", "AccountEditField AccountEditFieldCustom"), e.disabled = i = /*selectData*/
2048
+ t[56].isModified === !0, g(n, "class", "AccountEditWarningText");
2049
+ },
2050
+ m(m, c) {
2051
+ D(m, e, c), he(
2052
+ e,
2053
+ /*storedData*/
2054
+ t[17][
2055
+ /*index*/
2056
+ t[58]
2057
+ ].value
2058
+ ), D(m, a, c), D(m, n, c), l && l.m(n, null), r || (o = [
2059
+ ne(e, "keyup", function() {
2060
+ Pe(
2061
+ /*checkUserInputAmount*/
2062
+ t[24](
2063
+ /*storedData*/
2064
+ t[17][
2065
+ /*index*/
2066
+ t[58]
2067
+ ],
2068
+ /*index*/
2069
+ t[58],
2070
+ !0,
2071
+ /*updatedLimitValues*/
2072
+ t[16]
2073
+ )
2074
+ ) && t[24](
2075
+ /*storedData*/
2076
+ t[17][
2077
+ /*index*/
2078
+ t[58]
2079
+ ],
2080
+ /*index*/
2081
+ t[58],
2082
+ !0,
2083
+ /*updatedLimitValues*/
2084
+ t[16]
2085
+ ).apply(this, arguments);
2086
+ }),
2087
+ ne(e, "input", s)
2088
+ ], r = !0);
2089
+ },
2090
+ p(m, c) {
2091
+ t = m, c[0] & /*limitsUpdateData*/
2092
+ 16384 && i !== (i = /*selectData*/
2093
+ t[56].isModified === !0) && (e.disabled = i), c[0] & /*storedData, limitPredefinedData, limitname*/
2094
+ 1179712 && Le(e.value) !== /*storedData*/
2095
+ t[17][
2096
+ /*index*/
2097
+ t[58]
2098
+ ].value && he(
2099
+ e,
2100
+ /*storedData*/
2101
+ t[17][
2102
+ /*index*/
2103
+ t[58]
2104
+ ].value
2105
+ ), /*invalidIndexes*/
2106
+ t[13][
2107
+ /*index*/
2108
+ t[58]
2109
+ ] == 1 ? l ? l.p(t, c) : (l = tt(t), l.c(), l.m(n, null)) : l && (l.d(1), l = null);
2110
+ },
2111
+ d(m) {
2112
+ m && (M(e), M(a), M(n)), l && l.d(), r = !1, Me(o);
2113
+ }
2114
+ };
2115
+ }
2116
+ function Ri(t) {
2117
+ let e, i, a, n, r, o;
2118
+ function s() {
2119
+ t[31].call(
2120
+ e,
2121
+ /*index*/
2122
+ t[58]
2123
+ );
2124
+ }
2125
+ let l = (
2126
+ /*invalidIndexes*/
2127
+ t[13][
2128
+ /*index*/
2129
+ t[58]
2130
+ ] == 1 && it(t)
2131
+ );
2132
+ return {
2133
+ c() {
2134
+ e = b("input"), a = P(), n = b("p"), l && l.c(), g(e, "type", "number"), g(e, "class", "AccountEditField AccountEditFieldCustom"), e.disabled = i = /*selectData*/
2135
+ t[56].isModified === !0, g(n, "class", "AccountEditWarningText");
2136
+ },
2137
+ m(m, c) {
2138
+ D(m, e, c), he(
2139
+ e,
2140
+ /*storedData*/
2141
+ t[17][
2142
+ /*index*/
2143
+ t[58]
2144
+ ].value
2145
+ ), D(m, a, c), D(m, n, c), l && l.m(n, null), r || (o = [
2146
+ ne(e, "keyup", function() {
2147
+ Pe(
2148
+ /*checkUserInputAmount*/
2149
+ t[24](
2150
+ /*storedData*/
2151
+ t[17][
2152
+ /*index*/
2153
+ t[58]
2154
+ ],
2155
+ /*index*/
2156
+ t[58],
2157
+ !1,
2158
+ /*updatedLimitValues*/
2159
+ t[16]
2160
+ )
2161
+ ) && t[24](
2162
+ /*storedData*/
2163
+ t[17][
2164
+ /*index*/
2165
+ t[58]
2166
+ ],
2167
+ /*index*/
2168
+ t[58],
2169
+ !1,
2170
+ /*updatedLimitValues*/
2171
+ t[16]
2172
+ ).apply(this, arguments);
2173
+ }),
2174
+ ne(e, "input", s)
2175
+ ], r = !0);
2176
+ },
2177
+ p(m, c) {
2178
+ t = m, c[0] & /*limitsUpdateData*/
2179
+ 16384 && i !== (i = /*selectData*/
2180
+ t[56].isModified === !0) && (e.disabled = i), c[0] & /*storedData, limitPredefinedData, limitname*/
2181
+ 1179712 && Le(e.value) !== /*storedData*/
2182
+ t[17][
2183
+ /*index*/
2184
+ t[58]
2185
+ ].value && he(
2186
+ e,
2187
+ /*storedData*/
2188
+ t[17][
2189
+ /*index*/
2190
+ t[58]
2191
+ ].value
2192
+ ), /*invalidIndexes*/
2193
+ t[13][
2194
+ /*index*/
2195
+ t[58]
2196
+ ] == 1 ? l ? l.p(t, c) : (l = it(t), l.c(), l.m(n, null)) : l && (l.d(1), l = null);
2197
+ },
2198
+ d(m) {
2199
+ m && (M(e), M(a), M(n)), l && l.d(), r = !1, Me(o);
2200
+ }
2201
+ };
2202
+ }
2203
+ function tt(t) {
2204
+ let e, i = (
2205
+ /*$_*/
2206
+ t[18]("invalidInputMessageTime", {
2207
+ values: {
2208
+ minTime: (
2209
+ /*minTimeValue*/
2210
+ t[10]
2211
+ ),
2212
+ maxTime: (
2213
+ /*maxTimeValue*/
2214
+ t[11]
2215
+ )
2216
+ }
2217
+ }) + ""
2218
+ ), a;
2219
+ return {
2220
+ c() {
2221
+ e = b("p"), a = N(i), g(e, "class", "InvalidInput");
2222
+ },
2223
+ m(n, r) {
2224
+ D(n, e, r), d(e, a);
2225
+ },
2226
+ p(n, r) {
2227
+ r[0] & /*$_, minTimeValue, maxTimeValue*/
2228
+ 265216 && i !== (i = /*$_*/
2229
+ n[18]("invalidInputMessageTime", {
2230
+ values: {
2231
+ minTime: (
2232
+ /*minTimeValue*/
2233
+ n[10]
2234
+ ),
2235
+ maxTime: (
2236
+ /*maxTimeValue*/
2237
+ n[11]
2238
+ )
2239
+ }
2240
+ }) + "") && F(a, i);
2241
+ },
2242
+ d(n) {
2243
+ n && M(e);
2244
+ }
2245
+ };
2246
+ }
2247
+ function it(t) {
2248
+ let e, i = (
2249
+ /*$_*/
2250
+ t[18]("invalidInputMessageLimit") + ""
2251
+ ), a;
2252
+ return {
2253
+ c() {
2254
+ e = b("p"), a = N(i), g(e, "class", "InvalidInput");
2255
+ },
2256
+ m(n, r) {
2257
+ D(n, e, r), d(e, a);
2258
+ },
2259
+ p(n, r) {
2260
+ r[0] & /*$_*/
2261
+ 262144 && i !== (i = /*$_*/
2262
+ n[18]("invalidInputMessageLimit") + "") && F(a, i);
2263
+ },
2264
+ d(n) {
2265
+ n && M(e);
2266
+ }
2267
+ };
2268
+ }
2269
+ function at(t) {
2270
+ let e, i = (
2271
+ /*$_*/
2272
+ t[18]("expirationDate") + ""
2273
+ ), a, n, r, o = (
2274
+ /*selectData*/
2275
+ (t[56].expiryDate ? Ce(new Date(
2276
+ /*selectData*/
2277
+ t[56].expiryDate
2278
+ ), "d/M/yyyy - h:mm a") : "N/A") + ""
2279
+ ), s, l, m, c, w, y, p = (
2280
+ /*$_*/
2281
+ t[18]("changedLimitTextBefore") + ""
2282
+ ), E, f, h = (
2283
+ /*selectData*/
2284
+ (t[56].updateAmount > 0 ? (
2285
+ /*selectData*/
2286
+ t[56].updateAmount
2287
+ ) : 0) + ""
2288
+ ), L, _, T = (
2289
+ /*selectData*/
2290
+ (t[56].minutes !== void 0 ? " minutes" : (
2291
+ /*currency*/
2292
+ t[4]
2293
+ )) + ""
2294
+ ), q, j, O = (
2295
+ /*$_*/
2296
+ t[18]("changedLimitTextAfter") + ""
2297
+ ), $;
2298
+ return {
2299
+ c() {
2300
+ e = b("p"), a = N(i), n = P(), r = b("span"), s = N(o), l = P(), m = b("div"), c = b("p"), w = b("span"), w.textContent = "i", y = b("span"), E = N(p), f = P(), L = N(h), _ = P(), q = N(T), j = N(". "), $ = N(O), g(e, "class", "AccountEditLimitsExpiryDate"), g(w, "class", "AccountEditLimitChangePeriodIcon"), g(m, "class", "AccountEditLimitsPeriodChangeContainer");
2301
+ },
2302
+ m(A, H) {
2303
+ D(A, e, H), d(e, a), d(e, n), d(e, r), d(r, s), D(A, l, H), D(A, m, H), d(m, c), d(c, w), d(c, y), d(y, E), d(y, f), d(y, L), d(y, _), d(y, q), d(y, j), d(y, $);
2304
+ },
2305
+ p(A, H) {
2306
+ H[0] & /*$_*/
2307
+ 262144 && i !== (i = /*$_*/
2308
+ A[18]("expirationDate") + "") && F(a, i), H[0] & /*limitsUpdateData*/
2309
+ 16384 && o !== (o = /*selectData*/
2310
+ (A[56].expiryDate ? Ce(new Date(
2311
+ /*selectData*/
2312
+ A[56].expiryDate
2313
+ ), "d/M/yyyy - h:mm a") : "N/A") + "") && F(s, o), H[0] & /*$_*/
2314
+ 262144 && p !== (p = /*$_*/
2315
+ A[18]("changedLimitTextBefore") + "") && F(E, p), H[0] & /*limitsUpdateData*/
2316
+ 16384 && h !== (h = /*selectData*/
2317
+ (A[56].updateAmount > 0 ? (
2318
+ /*selectData*/
2319
+ A[56].updateAmount
2320
+ ) : 0) + "") && F(L, h), H[0] & /*limitsUpdateData, currency*/
2321
+ 16400 && T !== (T = /*selectData*/
2322
+ (A[56].minutes !== void 0 ? " minutes" : (
2323
+ /*currency*/
2324
+ A[4]
2325
+ )) + "") && F(q, T), H[0] & /*$_*/
2326
+ 262144 && O !== (O = /*$_*/
2327
+ A[18]("changedLimitTextAfter") + "") && F($, O);
2328
+ },
2329
+ d(A) {
2330
+ A && (M(e), M(l), M(m));
2331
+ }
2332
+ };
2333
+ }
2334
+ function nt(t) {
2335
+ let e, i, a = (
2336
+ /*$_*/
2337
+ t[18]("" + /*selectData*/
2338
+ t[56].period.charAt(0).toLowerCase() + /*selectData*/
2339
+ t[56].period.substring(1)) + ""
2340
+ ), n, r, o, s = (
2341
+ /*selectData*/
2342
+ t[56].period == /*storedData*/
2343
+ t[17][
2344
+ /*index*/
2345
+ t[58]
2346
+ ].period && Ke(t)
2347
+ );
2348
+ return {
2349
+ c() {
2350
+ e = b("div"), i = b("p"), n = N(a), r = P(), s && s.c(), o = P(), g(i, "class", "AccountEditLimitsTitle"), g(e, "class", "AccountEditLimitsBox");
2351
+ },
2352
+ m(l, m) {
2353
+ D(l, e, m), d(e, i), d(i, n), d(e, r), s && s.m(e, null), d(e, o);
2354
+ },
2355
+ p(l, m) {
2356
+ m[0] & /*$_, limitsUpdateData*/
2357
+ 278528 && a !== (a = /*$_*/
2358
+ l[18]("" + /*selectData*/
2359
+ l[56].period.charAt(0).toLowerCase() + /*selectData*/
2360
+ l[56].period.substring(1)) + "") && F(n, a), /*selectData*/
2361
+ l[56].period == /*storedData*/
2362
+ l[17][
2363
+ /*index*/
2364
+ l[58]
2365
+ ].period ? s ? s.p(l, m) : (s = Ke(l), s.c(), s.m(e, o)) : s && (s.d(1), s = null);
2366
+ },
2367
+ d(l) {
2368
+ l && M(e), s && s.d();
2369
+ }
2370
+ };
2371
+ }
2372
+ function Qi(t) {
2373
+ let e, i, a, n, r, o, s, l, m, c, w, y, p = (
2374
+ /*$_*/
2375
+ t[18]("back") + ""
2376
+ ), E, f, h, L, _ = (
2377
+ /*limitsdata*/
2378
+ (t[1] ? (
2379
+ /*limitNameTitle*/
2380
+ t[9]
2381
+ ) : "") + ""
2382
+ ), T, q, j, O, $, A, H, Q, S, V, J, W, se = (
2383
+ /*$_*/
2384
+ t[18]("save") + ""
2385
+ ), ue, B, me, ge, de, ie, ce, fe, re = (
2386
+ /*isMobile*/
2387
+ t[19] && zi(t)
2388
+ ), G = (
2389
+ /*showsuccessnotification*/
2390
+ t[2] && Ge(t)
2391
+ ), z = (
2392
+ /*showdeletenotification*/
2393
+ t[3] && Re(t)
2394
+ ), R = (
2395
+ /*showLimits*/
2396
+ t[8] && Je(t)
2397
+ );
2398
+ return {
2399
+ c() {
2400
+ e = b("div"), re && re.c(), i = P(), a = b("div"), n = Z("svg"), r = Z("defs"), o = Z("style"), s = N(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), l = Z("g"), m = Z("g"), c = Z("path"), w = P(), y = b("h2"), E = N(p), f = P(), h = b("div"), L = b("h6"), T = N(_), q = P(), j = b("div"), O = b("span"), O.textContent = "i", $ = P(), A = b("player-account-gaming-limits-popup"), H = P(), G && G.c(), Q = P(), z && z.c(), S = P(), R && R.c(), V = P(), J = b("div"), W = b("button"), ue = N(se), ge = P(), de = b("player-account-modal"), ie = b("player-account-gaming-limits-confirmation-modal"), g(c, "class", "aaa"), g(c, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(c, "transform", "translate(15 15) rotate(180)"), g(m, "transform", "translate(20 158)"), g(l, "transform", "translate(-20 -158)"), g(n, "xmlns", "http://www.w3.org/2000/svg"), g(n, "width", "20"), g(n, "height", "20"), g(n, "viewBox", "0 0 15 15"), g(y, "class", "MyAccountCategoryTitle " + /*isMobile*/
2401
+ (t[19] ? "MyAccountCategoryTitleNone" : "")), g(a, "class", "MenuReturnButton " + /*isMobile*/
2402
+ (t[19] ? "MyAccountCategoryTitleNone" : "")), g(O, "class", "AccountEditLimitsIcon"), oe(
2403
+ A,
2404
+ "showpopup",
2405
+ /*showPopup*/
2406
+ t[7]
2407
+ ), oe(
2408
+ A,
2409
+ "lang",
2410
+ /*lang*/
2411
+ t[0]
2412
+ ), g(j, "class", "AccountEditLimitsIconWrapper"), g(h, "class", "AccountEditLimitsHeader"), g(W, "class", B = "AccountEditLimitsSaveButton " + /*hasDifferences*/
2413
+ (t[15] ? "" : "AccountEditLimitsButtonDisabled")), W.disabled = me = !/*hasDifferences*/
2414
+ t[15], g(J, "class", "AccountEditLimitsControlArea"), g(e, "class", "AccountEditLimitsWrapper " + /*isMobile*/
2415
+ (t[19] ? "AccountEditLimitsMobileWrapper" : "")), oe(
2416
+ ie,
2417
+ "modaltext",
2418
+ /*changeLimitsText*/
2419
+ t[12]
2420
+ ), oe(ie, "modalsource", "groupEdit"), oe(
2421
+ ie,
2422
+ "lang",
2423
+ /*lang*/
2424
+ t[0]
2425
+ );
2426
+ },
2427
+ m(k, U) {
2428
+ D(k, e, U), re && re.m(e, null), d(e, i), d(e, a), d(a, n), d(n, r), d(r, o), d(o, s), d(n, l), d(l, m), d(m, c), d(a, w), d(a, y), d(y, E), d(e, f), d(e, h), d(h, L), d(L, T), d(h, q), d(h, j), d(j, O), d(j, $), d(j, A), d(e, H), G && G.m(e, null), d(e, Q), z && z.m(e, null), d(e, S), R && R.m(e, null), d(e, V), d(e, J), d(J, W), d(W, ue), t[34](e), D(k, ge, U), D(k, de, U), d(de, ie), ce || (fe = [
2429
+ ne(
2430
+ a,
2431
+ "click",
2432
+ /*switchToLimitsGroupView*/
2433
+ t[22]
2434
+ ),
2435
+ ne(O, "click", _t(
2436
+ /*openInfoPopup*/
2437
+ t[21]
2438
+ )),
2439
+ ne(
2440
+ W,
2441
+ "click",
2442
+ /*click_handler*/
2443
+ t[33]
2444
+ )
2445
+ ], ce = !0);
2446
+ },
2447
+ p(k, U) {
2448
+ /*isMobile*/
2449
+ k[19] && re.p(k, U), U[0] & /*$_*/
2450
+ 262144 && p !== (p = /*$_*/
2451
+ k[18]("back") + "") && F(E, p), U[0] & /*limitsdata, limitNameTitle*/
2452
+ 514 && _ !== (_ = /*limitsdata*/
2453
+ (k[1] ? (
2454
+ /*limitNameTitle*/
2455
+ k[9]
2456
+ ) : "") + "") && F(T, _), U[0] & /*showPopup*/
2457
+ 128 && oe(
2458
+ A,
2459
+ "showpopup",
2460
+ /*showPopup*/
2461
+ k[7]
2462
+ ), U[0] & /*lang*/
2463
+ 1 && oe(
2464
+ A,
2465
+ "lang",
2466
+ /*lang*/
2467
+ k[0]
2468
+ ), /*showsuccessnotification*/
2469
+ k[2] ? G ? G.p(k, U) : (G = Ge(k), G.c(), G.m(e, Q)) : G && (G.d(1), G = null), /*showdeletenotification*/
2470
+ k[3] ? z ? z.p(k, U) : (z = Re(k), z.c(), z.m(e, S)) : z && (z.d(1), z = null), /*showLimits*/
2471
+ k[8] ? R ? R.p(k, U) : (R = Je(k), R.c(), R.m(e, V)) : R && (R.d(1), R = null), U[0] & /*$_*/
2472
+ 262144 && se !== (se = /*$_*/
2473
+ k[18]("save") + "") && F(ue, se), U[0] & /*hasDifferences*/
2474
+ 32768 && B !== (B = "AccountEditLimitsSaveButton " + /*hasDifferences*/
2475
+ (k[15] ? "" : "AccountEditLimitsButtonDisabled")) && g(W, "class", B), U[0] & /*hasDifferences*/
2476
+ 32768 && me !== (me = !/*hasDifferences*/
2477
+ k[15]) && (W.disabled = me), U[0] & /*changeLimitsText*/
2478
+ 4096 && oe(
2479
+ ie,
2480
+ "modaltext",
2481
+ /*changeLimitsText*/
2482
+ k[12]
2483
+ ), U[0] & /*lang*/
2484
+ 1 && oe(
2485
+ ie,
2486
+ "lang",
2487
+ /*lang*/
2488
+ k[0]
2489
+ );
2490
+ },
2491
+ i: xe,
2492
+ o: xe,
2493
+ d(k) {
2494
+ k && (M(e), M(ge), M(de)), re && re.d(), G && G.d(), z && z.d(), R && R.d(), t[34](null), ce = !1, Me(fe);
2495
+ }
2496
+ };
2497
+ }
2498
+ function Xi(t, e, i) {
2499
+ let a;
2500
+ kt(t, Nt, (u) => i(18, a = u));
2501
+ let { limitsdata: n = [] } = e, { showsuccessnotification: r = !1 } = e, { showdeletenotification: o = !1 } = e, { currency: s = "" } = e, { lang: l = "en" } = e, { separatelimits: m = "true" } = e, { clientstyling: c = "" } = e, { clientstylingurl: w = "" } = e, { mbsource: y } = e, { translationurl: p = "" } = e;
2502
+ const E = () => {
2503
+ fetch(p).then((v) => v.json()).then((v) => {
2504
+ Object.keys(v).forEach((I) => {
2505
+ Be(I, v[I]);
2506
+ });
2507
+ }).catch((v) => {
2508
+ console.log(v);
2509
+ });
2510
+ };
2511
+ Object.keys(qe).forEach((u) => {
2512
+ Be(u, qe[u]);
2513
+ });
2514
+ let f, h, L = !1, _ = !1, T = "", q = !1, j = 0, O = 0, $ = "", A = window.navigator.userAgent, H = Ct(A) !== "PC", Q = new Array(3).fill(0), S = {}, V = [], J = [], W = !1, se = [];
2515
+ const ue = {
2516
+ amount: /^[0-9]{0,8}$/,
2517
+ time: /^[1-9]\d*$/
2518
+ };
2519
+ let B = [
2520
+ {
2521
+ period: "Daily",
2522
+ amount: "No limit",
2523
+ value: 0
2524
+ },
2525
+ {
2526
+ period: "Weekly",
2527
+ amount: "No limit",
2528
+ value: 0
2529
+ },
2530
+ {
2531
+ period: "Monthly",
2532
+ amount: "No limit",
2533
+ value: 0
2534
+ }
2535
+ ], me = [
2536
+ {
2537
+ period: "Daily",
2538
+ values: ["10000", "20000", "50000", "No limit", "Custom"]
2539
+ },
2540
+ {
2541
+ period: "Weekly",
2542
+ values: ["10000", "50000", "100000", "No limit", "Custom"]
2543
+ },
2544
+ {
2545
+ period: "Monthly",
2546
+ values: ["50000", "100000", "200000", "No limit", "Custom"]
2547
+ }
2548
+ ], ge = [
2549
+ {
2550
+ period: "Daily",
2551
+ values: ["5000", "7000", "10000", "No limit", "Custom"]
2552
+ },
2553
+ {
2554
+ period: "Weekly",
2555
+ values: ["25000", "50000", "100000", "No limit", "Custom"]
2556
+ },
2557
+ {
2558
+ period: "Monthly",
2559
+ values: ["125000", "175000", "200000", "No limit", "Custom"]
2560
+ }
2561
+ ], de = [
2562
+ {
2563
+ period: "Daily",
2564
+ values: ["5000", "7000", "10000", "No limit", "Custom"]
2565
+ },
2566
+ {
2567
+ period: "Weekly",
2568
+ values: ["25000", "50000", "100000", "No limit", "Custom"]
2569
+ },
2570
+ {
2571
+ period: "Monthly",
2572
+ values: ["125000", "175000", "200000", "No limit", "Custom"]
2573
+ }
2574
+ ], ie = [
2575
+ {
2576
+ period: "Daily",
2577
+ values: ["500", "1000", "1430", "No limit", "Custom"]
2578
+ },
2579
+ {
2580
+ period: "Weekly",
2581
+ values: ["5000", "7000", "10000", "No limit", "Custom"]
2582
+ },
2583
+ {
2584
+ period: "Monthly",
2585
+ values: ["20000", "30000", "43000", "No limit", "Custom"]
2586
+ }
2587
+ ];
2588
+ const ce = /* @__PURE__ */ new Map([
2589
+ ["Deposit Limit", "depositLimits"],
2590
+ ["Time Limit", "cumulativeSessionLimits"],
2591
+ ["Wagering Limit", "wageringLimits"],
2592
+ ["Loss Limit", "lossLimits"]
2593
+ ]), fe = /* @__PURE__ */ new Map([
2594
+ ["Deposit Limit", me],
2595
+ ["Time Limit", ie],
2596
+ ["Wagering Limit", ge],
2597
+ ["Loss Limit", de]
2598
+ ]), re = () => {
2599
+ i(7, L = !0);
2600
+ }, G = () => {
2601
+ window.postMessage({ type: "PlayerAccountBackToLimitsView" }, window.location.href);
2602
+ }, z = () => {
2603
+ window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href);
2604
+ }, R = () => {
2605
+ if (q) {
2606
+ f === "Time Limit" ? B.forEach((v) => {
2607
+ if (m == "true") {
2608
+ if (v.value != 0) {
2609
+ let I = { period: v.period, minutes: v.value };
2610
+ V.push(I);
2611
+ }
2612
+ } else
2613
+ S.forEach((I) => {
2614
+ I.period === v.period && (I.minutes = v.value);
2615
+ });
2616
+ }) : B.forEach((v) => {
2617
+ if (m == "true") {
2618
+ if (v.value != 0) {
2619
+ let I = {
2620
+ period: v.period,
2621
+ amount: v.value,
2622
+ currency: s
2623
+ };
2624
+ V.push(I);
2625
+ }
2626
+ } else
2627
+ S.forEach((I) => {
2628
+ I.period === v.period && (I.amount = v.value, I.currency = s);
2629
+ });
2630
+ });
2631
+ let u = {};
2632
+ m == "true" ? u = {
2633
+ [ce.get(f)]: [...V]
2634
+ } : u = {
2635
+ [ce.get(f)]: [...S]
2636
+ }, V.length = 0, window.postMessage(
2637
+ {
2638
+ type: "PlayerAccountGamingLimitsUpdate",
2639
+ payload: u,
2640
+ limitsCategory: ce.get(f)
2641
+ },
2642
+ window.location.href
2643
+ ), i(15, W = !1);
2644
+ }
2645
+ }, k = (u, v, I, Y) => {
2646
+ switch (u.amount) {
2647
+ case "Custom":
2648
+ if (f == "Time Limit")
2649
+ if (i(10, j = 60), u.period === "Daily" ? i(11, O = 1440) : u.period == "Weekly" ? i(11, O = 10080) : i(11, O = 43200), u.value && ue.time.test(u.value) && u.value > j && u.value <= O) {
2650
+ i(13, Q[v] = 0, Q);
2651
+ let K = Y[v];
2652
+ u.period == K.period && u.value == K.amount ? (i(15, W = !1), U(u, Y)) : i(15, W = !0);
2653
+ } else
2654
+ i(13, Q[v] = 1, Q), i(15, W = !1);
2655
+ else
2656
+ u.value && ue.amount.test(u.value) ? (i(13, Q[v] = 0, Q), u.period == Y[v].period && u.value == Y[v].amount ? (i(15, W = !!W), U(u, Y)) : i(15, W = !0), m != "true" && B.forEach((K) => {
2657
+ K.value == 0 && i(15, W = !1);
2658
+ })) : (i(13, Q[v] = 1, Q), i(15, W = !1));
2659
+ break;
2660
+ default:
2661
+ u.period == Y[v].period ? (U(u, Y), i(15, W = u.value != Y[v].amount)) : i(15, W = !0), B.forEach((K) => {
2662
+ (K.value == 0 && m != "true" || K.amount == "Custom" && !ue.amount.test(K.value.toString())) && i(15, W = !1);
2663
+ });
2664
+ break;
2665
+ }
2666
+ }, U = (u, v) => {
2667
+ let I = JSON.parse(JSON.stringify(v));
2668
+ B.forEach((Y) => {
2669
+ I.forEach((K) => {
2670
+ Y.period == u.period && (Y.amount !== "Custom" && Y.amount !== "No limit" ? Y.value = JSON.parse(Y.amount) : Y.amount === "No limit" && (Y.value = 0)), K.period === Y.period && (K.amount = Y.value);
2671
+ });
2672
+ });
2673
+ }, ut = (u, v, I, Y) => {
2674
+ let K = u.values;
2675
+ !v.amount || v.amount === "No limit" ? I.forEach((ee) => {
2676
+ ee.period === v.period && (ee.amount = v.amount, ee.value = 0);
2677
+ }) : K.includes(JSON.stringify(v.amount)) ? I.forEach((ee) => {
2678
+ ee.period === v.period && (ee.amount = JSON.stringify(v.amount), ee.value = v.amount);
2679
+ }) : I.forEach((ee) => {
2680
+ ee.period === v.period && (ee.amount = "Custom", ee.value = v.amount);
2681
+ });
2682
+ }, mt = (u) => {
2683
+ J.forEach((v) => {
2684
+ u.period === v.period && (f === "Time Limit" && (i(10, j = 60), u.period === "Daily" ? i(11, O = 1440) : u.period == "Weekly" ? i(11, O = 10080) : i(11, O = 43200)), v.values.indexOf(u.amount) > -1 && (u.amount === "No limit" ? u.amount = 0 : u.amount = JSON.parse(u.amount)));
2685
+ });
2686
+ }, dt = () => {
2687
+ se.forEach((u) => {
2688
+ mt(u);
2689
+ }), S.forEach((u) => {
2690
+ J.forEach((v) => {
2691
+ u.period === v.period && ut(v, u, B);
2692
+ });
2693
+ });
2694
+ }, We = () => {
2695
+ let u = "";
2696
+ u = f === "Time Limit" ? "time limit" : f === "Deposit Limit" ? "deposit limit" : f === "Wagering Limit" ? "wagering limit" : "loss limit", i(12, $ = a("changeLimitsText", { values: { limit: u } }));
2697
+ }, Ee = () => {
2698
+ Hi(l), We(), i(16, se = JSON.parse(JSON.stringify(n))), i(14, S = JSON.parse(JSON.stringify(n))), J = f === "Wagering Limit" ? ge : f === "Loss Limit" ? de : f === "Deposit Limit" ? me : f === "Time Limit" ? ie : [], dt();
2699
+ }, Ne = (u) => {
2700
+ if (u.data)
2701
+ switch (u.data.type) {
2702
+ case "LanguageChanged":
2703
+ i(0, l = u.data.lang), We();
2704
+ break;
2705
+ case "EditPlayerLimit":
2706
+ i(
2707
+ 6,
2708
+ f = u.data.name
2709
+ ), i(9, T = a(f.charAt(0).toLowerCase() + f.substring(1).replace(/\s/g, ""))), Ee(), i(8, _ = !0);
2710
+ break;
2711
+ case "ClosePlayerAccountGamingLimitsPopup":
2712
+ i(7, L = !1);
2713
+ break;
2714
+ case "GamingLimitsConfirmChanges":
2715
+ q = !0, R();
2716
+ break;
2717
+ case "CancelGamingLimitsChanges":
2718
+ i(8, _ = !1), setTimeout(
2719
+ () => {
2720
+ i(8, _ = !0);
2721
+ },
2722
+ 10
2723
+ ), Ee(), i(15, W = !1), q = !1;
2724
+ break;
2725
+ }
2726
+ };
2727
+ Mt(() => (window.addEventListener("message", Ne, !1), () => {
2728
+ window.removeEventListener("message", Ne);
2729
+ }));
2730
+ function ct(u) {
2731
+ B[u].amount = Dt(this), i(17, B), i(20, fe), i(6, f);
2732
+ }
2733
+ function ft(u) {
2734
+ B[u].value = Le(this.value), i(17, B), i(20, fe), i(6, f);
2735
+ }
2736
+ function pt(u) {
2737
+ B[u].value = Le(this.value), i(17, B), i(20, fe), i(6, f);
2738
+ }
2739
+ const ht = () => z();
2740
+ function gt(u) {
2741
+ Et[u ? "unshift" : "push"](() => {
2742
+ h = u, i(5, h);
2743
+ });
2744
+ }
2745
+ return t.$$set = (u) => {
2746
+ "limitsdata" in u && i(1, n = u.limitsdata), "showsuccessnotification" in u && i(2, r = u.showsuccessnotification), "showdeletenotification" in u && i(3, o = u.showdeletenotification), "currency" in u && i(4, s = u.currency), "lang" in u && i(0, l = u.lang), "separatelimits" in u && i(25, m = u.separatelimits), "clientstyling" in u && i(26, c = u.clientstyling), "clientstylingurl" in u && i(27, w = u.clientstylingurl), "mbsource" in u && i(28, y = u.mbsource), "translationurl" in u && i(29, p = u.translationurl);
2747
+ }, t.$$.update = () => {
2748
+ t.$$.dirty[0] & /*showsuccessnotification, showdeletenotification*/
2749
+ 12 && r && o && Ee(), t.$$.dirty[0] & /*limitsdata, lang*/
2750
+ 3, t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2751
+ 67108896 && c && h && Ot(h, c), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2752
+ 134217760 && w && h && St(h, w), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
2753
+ 268435488 && y && h && Pt(h, `${y}.Style`), t.$$.dirty[0] & /*translationurl*/
2754
+ 536870912 && p && E();
2755
+ }, [
2756
+ l,
2757
+ n,
2758
+ r,
2759
+ o,
2760
+ s,
2761
+ h,
2762
+ f,
2763
+ L,
2764
+ _,
2765
+ T,
2766
+ j,
2767
+ O,
2768
+ $,
2769
+ Q,
2770
+ S,
2771
+ W,
2772
+ se,
2773
+ B,
2774
+ a,
2775
+ H,
2776
+ fe,
2777
+ re,
2778
+ G,
2779
+ z,
2780
+ k,
2781
+ m,
2782
+ c,
2783
+ w,
2784
+ y,
2785
+ p,
2786
+ ct,
2787
+ ft,
2788
+ pt,
2789
+ ht,
2790
+ gt
2791
+ ];
2792
+ }
2793
+ class lt extends wt {
2794
+ constructor(e) {
2795
+ super(), bt(
2796
+ this,
2797
+ e,
2798
+ Xi,
2799
+ Qi,
2800
+ Lt,
2801
+ {
2802
+ limitsdata: 1,
2803
+ showsuccessnotification: 2,
2804
+ showdeletenotification: 3,
2805
+ currency: 4,
2806
+ lang: 0,
2807
+ separatelimits: 25,
2808
+ clientstyling: 26,
2809
+ clientstylingurl: 27,
2810
+ mbsource: 28,
2811
+ translationurl: 29
2812
+ },
2813
+ Vi,
2814
+ [-1, -1, -1]
2815
+ );
2816
+ }
2817
+ get limitsdata() {
2818
+ return this.$$.ctx[1];
2819
+ }
2820
+ set limitsdata(e) {
2821
+ this.$$set({ limitsdata: e }), ae();
2822
+ }
2823
+ get showsuccessnotification() {
2824
+ return this.$$.ctx[2];
2825
+ }
2826
+ set showsuccessnotification(e) {
2827
+ this.$$set({ showsuccessnotification: e }), ae();
2828
+ }
2829
+ get showdeletenotification() {
2830
+ return this.$$.ctx[3];
2831
+ }
2832
+ set showdeletenotification(e) {
2833
+ this.$$set({ showdeletenotification: e }), ae();
2834
+ }
2835
+ get currency() {
2836
+ return this.$$.ctx[4];
2837
+ }
2838
+ set currency(e) {
2839
+ this.$$set({ currency: e }), ae();
2840
+ }
2841
+ get lang() {
2842
+ return this.$$.ctx[0];
2843
+ }
2844
+ set lang(e) {
2845
+ this.$$set({ lang: e }), ae();
2846
+ }
2847
+ get separatelimits() {
2848
+ return this.$$.ctx[25];
2849
+ }
2850
+ set separatelimits(e) {
2851
+ this.$$set({ separatelimits: e }), ae();
2852
+ }
2853
+ get clientstyling() {
2854
+ return this.$$.ctx[26];
2855
+ }
2856
+ set clientstyling(e) {
2857
+ this.$$set({ clientstyling: e }), ae();
2858
+ }
2859
+ get clientstylingurl() {
2860
+ return this.$$.ctx[27];
2861
+ }
2862
+ set clientstylingurl(e) {
2863
+ this.$$set({ clientstylingurl: e }), ae();
2864
+ }
2865
+ get mbsource() {
2866
+ return this.$$.ctx[28];
2867
+ }
2868
+ set mbsource(e) {
2869
+ this.$$set({ mbsource: e }), ae();
2870
+ }
2871
+ get translationurl() {
2872
+ return this.$$.ctx[29];
2873
+ }
2874
+ set translationurl(e) {
2875
+ this.$$set({ translationurl: e }), ae();
2876
+ }
2877
+ }
2878
+ Wt(lt, { limitsdata: {}, showsuccessnotification: { type: "Boolean" }, showdeletenotification: { type: "Boolean" }, currency: {}, lang: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
2879
+ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2880
+ __proto__: null,
2881
+ default: lt
2882
+ }, Symbol.toStringTag, { value: "Module" }));
2883
+ export {
2884
+ ia as P,
2885
+ Ki as a,
2886
+ ea as b,
2887
+ Zi as e,
2888
+ Ce as f,
2889
+ $i as g,
2890
+ ta as s,
2891
+ X as t
2892
+ };