@everymatrix/player-account-controller-nd 1.50.0 → 1.51.0

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 (81) hide show
  1. package/components/GeneralLogout-BW6b3iuS.cjs +8 -0
  2. package/components/{GeneralLogout-ATgFK7sR.js → GeneralLogout-BZhvD1EQ.js} +326 -317
  3. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +1 -0
  4. package/components/{PlayerAccountBettingHistory-CFtSVoji.js → PlayerAccountBettingHistory-QT3-2u7E.js} +28 -23
  5. package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +1 -0
  6. package/components/{PlayerAccountBiometrics-C6v6jJ9w.js → PlayerAccountBiometrics-BupiQCMJ.js} +43 -36
  7. package/components/{PlayerAccountClosureNd-DUcdQzUc.js → PlayerAccountClosureNd-DAFiYifr.js} +59 -51
  8. package/components/PlayerAccountClosureNd-DcMOj468.cjs +1 -0
  9. package/components/PlayerAccountControllerNd-CMFoPhqm.cjs +1 -0
  10. package/components/{PlayerAccountControllerNd-D5w3Kg-r.js → PlayerAccountControllerNd-DR83R7-J.js} +43 -33
  11. package/components/PlayerAccountGamingLimits-96NZsRcC.cjs +1 -0
  12. package/components/{PlayerAccountGamingLimits-qXOqPPkw.js → PlayerAccountGamingLimits-Ba8gZhzx.js} +33 -25
  13. package/components/{PlayerAccountGamingLimitsConfirmationModal-DbcnBHRs.js → PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js} +5 -1
  14. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +1 -0
  15. package/components/{PlayerAccountGamingLimitsGroupEdit-V_JV0LSw.js → PlayerAccountGamingLimitsGroupEdit-CHTvuuJn.js} +253 -231
  16. package/components/PlayerAccountGamingLimitsGroupEdit-DKM3If51.cjs +10 -0
  17. package/components/{PlayerAccountGamingLimitsHistory2Nd-g_nVdqz_.cjs → PlayerAccountGamingLimitsHistory2Nd-CwNQB2iO.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimitsHistory2Nd-BsiYLKxc.js → PlayerAccountGamingLimitsHistory2Nd-DXRuQv1n.js} +1 -1
  19. package/components/{PlayerAccountGamingLimitsInfoCard-C7DHDazS.js → PlayerAccountGamingLimitsInfoCard-CuWuZhIt.js} +87 -62
  20. package/components/PlayerAccountGamingLimitsInfoCard-ZuPsBZ-7.cjs +1 -0
  21. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BCXkwI8L.js → PlayerAccountGamingLimitsPage2Gm16Nd-B8qQXVFH.js} +1 -1
  22. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CA2a3x6-.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BeRUUVkE.cjs} +1 -1
  23. package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +1 -0
  24. package/components/{PlayerAccountGamingLimitsPopup-DXmjH-pQ.js → PlayerAccountGamingLimitsPopup-DoLZB2lj.js} +32 -27
  25. package/components/PlayerAccountGamingLimitsWrapper2Nd-CGOmn6XK.cjs +1 -0
  26. package/components/{PlayerAccountGamingLimitsWrapper2Nd-Cqbi6OIR.js → PlayerAccountGamingLimitsWrapper2Nd-D5yyp7TU.js} +6 -3
  27. package/components/PlayerAccountMenuNd-BIuXWBiI.cjs +1 -0
  28. package/components/{PlayerAccountMenuNd-D1msRHN7.js → PlayerAccountMenuNd-DCG8VBeN.js} +5 -2
  29. package/components/{PlayerAccountModal-DEtLb1RB.cjs → PlayerAccountModal-C52SG5dV.cjs} +1 -1
  30. package/components/{PlayerAccountModal-BCywDW8T.js → PlayerAccountModal-DAqNrt36.js} +1 -1
  31. package/components/{PlayerAccountNotifications-CmsfuwvE.js → PlayerAccountNotifications-BBwUcB1T.js} +1 -1
  32. package/components/{PlayerAccountNotifications-DEqB-PVw.cjs → PlayerAccountNotifications-DkgHtUGj.cjs} +1 -1
  33. package/components/{PlayerAccountSelfExclusionNd-LiHqUC3T.cjs → PlayerAccountSelfExclusionNd-DLM2y_E4.cjs} +481 -3
  34. package/components/{PlayerAccountSelfExclusionNd-7TYKpU1_.js → PlayerAccountSelfExclusionNd-ws9NCp9W.js} +481 -2
  35. package/components/{PlayerAccountTimeout-DPrx1P_i.js → PlayerAccountTimeout-7kn9WzaC.js} +77 -67
  36. package/components/PlayerAccountTimeout-BtDp3SZn.cjs +1 -0
  37. package/components/{PlayerActiveBonuses-DA6p75G4.cjs → PlayerActiveBonuses-B53gZwaj.cjs} +1 -1
  38. package/components/{PlayerActiveBonuses-27KndevJ.js → PlayerActiveBonuses-DeDDPDuH.js} +101 -89
  39. package/components/{PlayerBonusCard-DA08N08o.js → PlayerBonusCard-BbvG-zJm.js} +60 -46
  40. package/components/PlayerBonusCard-Crm5CyLi.cjs +1 -0
  41. package/components/{PlayerBonusHistory-BB5sG7OY.js → PlayerBonusHistory-BjLH5Cpv.js} +145 -138
  42. package/components/PlayerBonusHistory-DSDZVDWl.cjs +1 -0
  43. package/components/{PlayerChangePassword-BxwRqAxy.cjs → PlayerChangePassword-BmuIKvz7.cjs} +2 -2
  44. package/components/{PlayerChangePassword-BP_oFQvT.js → PlayerChangePassword-CUN1sG6C.js} +86 -70
  45. package/components/{PlayerDeposit-CHF20-Fa.js → PlayerDeposit-B5nfKU2d.js} +1 -1
  46. package/components/{PlayerDeposit-bjlqIdhX.cjs → PlayerDeposit-B_VzcGon.cjs} +1 -1
  47. package/components/PlayerGamingHistory-jj6bfNCU.cjs +1 -0
  48. package/components/{PlayerGamingHistory-B4_0pXmI.js → PlayerGamingHistory-qknrLcKD.js} +99 -84
  49. package/components/{PlayerPendingWithdrawals-BgExjLDb.js → PlayerPendingWithdrawals-CGwIbpUn.js} +19 -15
  50. package/components/PlayerPendingWithdrawals-JN84Pftx.cjs +1 -0
  51. package/components/{PlayerProfileInfo-CNKIiMA-.cjs → PlayerProfileInfo-Bi_j5FDm.cjs} +1 -1
  52. package/components/{PlayerProfileInfo-Dmpc8_7w.js → PlayerProfileInfo-ekifq0vv.js} +1 -1
  53. package/components/{PlayerRealityCheck-supovOsg.js → PlayerRealityCheck--iYjw4rP.js} +44 -33
  54. package/components/PlayerRealityCheck-C26ZBWae.cjs +1 -0
  55. package/components/PlayerTransactionHistory-CFR4nRHc.cjs +1 -0
  56. package/components/{PlayerTransactionHistory-n-Knh2Ex.js → PlayerTransactionHistory-CYZHUA0I.js} +11 -7
  57. package/components/{PlayerWithdrawal-YdjDSwtZ.js → PlayerWithdrawal-Ch_UQ-Zg.js} +22 -18
  58. package/components/PlayerWithdrawal-dZ0Dfd2u.cjs +1 -0
  59. package/es2015/player-account-controller-nd.cjs +1 -1
  60. package/es2015/player-account-controller-nd.js +1 -1
  61. package/package.json +1 -1
  62. package/components/GeneralLogout-CnBIvtF1.cjs +0 -8
  63. package/components/PlayerAccountBettingHistory-Cy59ufCv.cjs +0 -1
  64. package/components/PlayerAccountBiometrics-BZ8i34dM.cjs +0 -1
  65. package/components/PlayerAccountClosureNd-COHgZ9-G.cjs +0 -1
  66. package/components/PlayerAccountControllerNd-CV9vO5ca.cjs +0 -1
  67. package/components/PlayerAccountGamingLimits-CV_NoRFx.cjs +0 -1
  68. package/components/PlayerAccountGamingLimitsConfirmationModal-Dzxus6A7.cjs +0 -1
  69. package/components/PlayerAccountGamingLimitsGroupEdit-CZNV2Pxd.cjs +0 -10
  70. package/components/PlayerAccountGamingLimitsInfoCard-BjLZ3MaL.cjs +0 -1
  71. package/components/PlayerAccountGamingLimitsPopup-Dz_qQuDe.cjs +0 -1
  72. package/components/PlayerAccountGamingLimitsWrapper2Nd-W0XSHSmQ.cjs +0 -1
  73. package/components/PlayerAccountMenuNd-DHfc8luf.cjs +0 -1
  74. package/components/PlayerAccountTimeout-CXeEUwpu.cjs +0 -1
  75. package/components/PlayerBonusCard-DCNIGmVp.cjs +0 -1
  76. package/components/PlayerBonusHistory-DTgZPGWC.cjs +0 -1
  77. package/components/PlayerGamingHistory-B_w-qsoF.cjs +0 -1
  78. package/components/PlayerPendingWithdrawals-C0HSC7tm.cjs +0 -1
  79. package/components/PlayerRealityCheck-CtU2sJN0.cjs +0 -1
  80. package/components/PlayerTransactionHistory-Dg7CD0Zs.cjs +0 -1
  81. package/components/PlayerWithdrawal-CGpOe7ya.cjs +0 -1
@@ -14,7 +14,7 @@ var Fe = (s, e, n) => new Promise((t, u) => {
14
14
  }, _ = (y) => y.done ? t(y.value) : Promise.resolve(y.value).then(r, f);
15
15
  _((n = n.apply(s, e)).next());
16
16
  });
17
- import { $ as Z, z as gi, a as wi, S as _i, i as yi, f as w, c as bi, s as ki, b as Si, e as m, k as p, o as Je, p as d, q as Ei, u as Ve, v as vi, x as Ci, y as Di, A as Pi, g as Qe, d as Y, j as i, l as N, B as Li, C as Be } from "./GeneralLogout-ATgFK7sR.js";
17
+ import { $ as Z, z as gi, a as wi, S as _i, i as yi, f as w, c as bi, s as ki, b as Si, e as m, k as p, o as Je, p as d, q as Ei, u as Ve, v as vi, x as Ci, y as Pi, A as Di, g as Qe, d as Y, j as i, l as N, B as Li, C as Be } from "./GeneralLogout-BZhvD1EQ.js";
18
18
  function Ui({ withLocale: s, translations: e }) {
19
19
  Z.subscribe((n) => {
20
20
  n == null && (gi.set(e), Z.set(s));
@@ -126,6 +126,16 @@ const He = {
126
126
  limitsDeleteSuccess: "Sınırlar silindi",
127
127
  passwordChangedSuccess: "parola başarıyla değiştirildi",
128
128
  realityCheckSuccess: "Gerçeklik kontrolü seçenekleri kaydedildi"
129
+ },
130
+ "en-us": {
131
+ profileUpdateSuccess: "Profile updated!",
132
+ timeoutSuccess: "Timeout active",
133
+ selfExclusionSuccess: "Self exclusion active",
134
+ accountClosureSuccess: "Account closed",
135
+ limitsUpdateSuccess: "Limits updated",
136
+ limitsDeleteSuccess: "Limits deleted",
137
+ passwordChangedSuccess: "Password changed successfully",
138
+ realityCheckSuccess: "Reality check options saved"
129
139
  }
130
140
  };
131
141
  if (typeof window != "undefined") {
@@ -140,7 +150,7 @@ if (typeof window != "undefined") {
140
150
  }
141
151
  };
142
152
  };
143
- customElements.define = s(customElements.define), import("./PlayerAccountMenuNd-D1msRHN7.js").then(({ default: e }) => {
153
+ customElements.define = s(customElements.define), import("./PlayerAccountMenuNd-DCG8VBeN.js").then(({ default: e }) => {
144
154
  !customElements.get("player-account-menu-nd") && customElements.define("player-account-menu-nd", e.element);
145
155
  });
146
156
  }
@@ -156,7 +166,7 @@ if (typeof window != "undefined") {
156
166
  }
157
167
  };
158
168
  };
159
- customElements.define = s(customElements.define), import("./PlayerAccountNotifications-CmsfuwvE.js").then(({ default: e }) => {
169
+ customElements.define = s(customElements.define), import("./PlayerAccountNotifications-BBwUcB1T.js").then(({ default: e }) => {
160
170
  !customElements.get("player-account-notifications") && customElements.define("player-account-notifications", e.element);
161
171
  });
162
172
  }
@@ -172,7 +182,7 @@ if (typeof window != "undefined") {
172
182
  }
173
183
  };
174
184
  };
175
- customElements.define = s(customElements.define), import("./PlayerAccountTimeout-DPrx1P_i.js").then(({ default: e }) => {
185
+ customElements.define = s(customElements.define), import("./PlayerAccountTimeout-7kn9WzaC.js").then(({ default: e }) => {
176
186
  !customElements.get("player-account-timeout") && customElements.define("player-account-timeout", e.element);
177
187
  });
178
188
  }
@@ -188,7 +198,7 @@ if (typeof window != "undefined") {
188
198
  }
189
199
  };
190
200
  };
191
- customElements.define = s(customElements.define), import("./PlayerAccountSelfExclusionNd-7TYKpU1_.js").then(({ default: e }) => {
201
+ customElements.define = s(customElements.define), import("./PlayerAccountSelfExclusionNd-ws9NCp9W.js").then(({ default: e }) => {
192
202
  !customElements.get("player-account-self-exclusion-nd") && customElements.define("player-account-self-exclusion-nd", e.element);
193
203
  });
194
204
  }
@@ -204,7 +214,7 @@ if (typeof window != "undefined") {
204
214
  }
205
215
  };
206
216
  };
207
- customElements.define = s(customElements.define), import("./PlayerAccountClosureNd-DUcdQzUc.js").then(({ default: e }) => {
217
+ customElements.define = s(customElements.define), import("./PlayerAccountClosureNd-DAFiYifr.js").then(({ default: e }) => {
208
218
  !customElements.get("player-account-closure-nd") && customElements.define("player-account-closure-nd", e.element);
209
219
  });
210
220
  }
@@ -220,7 +230,7 @@ if (typeof window != "undefined") {
220
230
  }
221
231
  };
222
232
  };
223
- customElements.define = s(customElements.define), import("./PlayerAccountGamingLimits-qXOqPPkw.js").then(({ default: e }) => {
233
+ customElements.define = s(customElements.define), import("./PlayerAccountGamingLimits-Ba8gZhzx.js").then(({ default: e }) => {
224
234
  !customElements.get("player-account-gaming-limits") && customElements.define("player-account-gaming-limits", e.element);
225
235
  });
226
236
  }
@@ -236,7 +246,7 @@ if (typeof window != "undefined") {
236
246
  }
237
247
  };
238
248
  };
239
- customElements.define = s(customElements.define), import("./PlayerActiveBonuses-27KndevJ.js").then(({ default: e }) => {
249
+ customElements.define = s(customElements.define), import("./PlayerActiveBonuses-DeDDPDuH.js").then(({ default: e }) => {
240
250
  !customElements.get("player-active-bonuses") && customElements.define("player-active-bonuses", e.element);
241
251
  });
242
252
  }
@@ -252,7 +262,7 @@ if (typeof window != "undefined") {
252
262
  }
253
263
  };
254
264
  };
255
- customElements.define = s(customElements.define), import("./PlayerProfileInfo-Dmpc8_7w.js").then(({ default: e }) => {
265
+ customElements.define = s(customElements.define), import("./PlayerProfileInfo-ekifq0vv.js").then(({ default: e }) => {
256
266
  !customElements.get("player-profile-info") && customElements.define("player-profile-info", e.element);
257
267
  });
258
268
  }
@@ -268,7 +278,7 @@ if (typeof window != "undefined") {
268
278
  }
269
279
  };
270
280
  };
271
- customElements.define = s(customElements.define), import("./PlayerChangePassword-BP_oFQvT.js").then(({ default: e }) => {
281
+ customElements.define = s(customElements.define), import("./PlayerChangePassword-CUN1sG6C.js").then(({ default: e }) => {
272
282
  !customElements.get("player-change-password") && customElements.define("player-change-password", e.element);
273
283
  });
274
284
  }
@@ -284,7 +294,7 @@ if (typeof window != "undefined") {
284
294
  }
285
295
  };
286
296
  };
287
- customElements.define = s(customElements.define), import("./PlayerRealityCheck-supovOsg.js").then(({ default: e }) => {
297
+ customElements.define = s(customElements.define), import("./PlayerRealityCheck--iYjw4rP.js").then(({ default: e }) => {
288
298
  !customElements.get("player-reality-check") && customElements.define("player-reality-check", e.element);
289
299
  });
290
300
  }
@@ -300,7 +310,7 @@ if (typeof window != "undefined") {
300
310
  }
301
311
  };
302
312
  };
303
- customElements.define = s(customElements.define), import("./PlayerBonusHistory-BB5sG7OY.js").then(({ default: e }) => {
313
+ customElements.define = s(customElements.define), import("./PlayerBonusHistory-BjLH5Cpv.js").then(({ default: e }) => {
304
314
  !customElements.get("player-bonus-history") && customElements.define("player-bonus-history", e.element);
305
315
  });
306
316
  }
@@ -316,7 +326,7 @@ if (typeof window != "undefined") {
316
326
  }
317
327
  };
318
328
  };
319
- customElements.define = s(customElements.define), import("./PlayerDeposit-CHF20-Fa.js").then(({ default: e }) => {
329
+ customElements.define = s(customElements.define), import("./PlayerDeposit-B5nfKU2d.js").then(({ default: e }) => {
320
330
  !customElements.get("player-deposit") && customElements.define("player-deposit", e.element);
321
331
  });
322
332
  }
@@ -332,7 +342,7 @@ if (typeof window != "undefined") {
332
342
  }
333
343
  };
334
344
  };
335
- customElements.define = s(customElements.define), import("./PlayerWithdrawal-YdjDSwtZ.js").then(({ default: e }) => {
345
+ customElements.define = s(customElements.define), import("./PlayerWithdrawal-Ch_UQ-Zg.js").then(({ default: e }) => {
336
346
  !customElements.get("player-withdrawal") && customElements.define("player-withdrawal", e.element);
337
347
  });
338
348
  }
@@ -348,7 +358,7 @@ if (typeof window != "undefined") {
348
358
  }
349
359
  };
350
360
  };
351
- customElements.define = s(customElements.define), import("./PlayerPendingWithdrawals-BgExjLDb.js").then(({ default: e }) => {
361
+ customElements.define = s(customElements.define), import("./PlayerPendingWithdrawals-CGwIbpUn.js").then(({ default: e }) => {
352
362
  !customElements.get("player-pending-withdrawals") && customElements.define("player-pending-withdrawals", e.element);
353
363
  });
354
364
  }
@@ -364,7 +374,7 @@ if (typeof window != "undefined") {
364
374
  }
365
375
  };
366
376
  };
367
- customElements.define = s(customElements.define), import("./PlayerTransactionHistory-n-Knh2Ex.js").then(({ default: e }) => {
377
+ customElements.define = s(customElements.define), import("./PlayerTransactionHistory-CYZHUA0I.js").then(({ default: e }) => {
368
378
  !customElements.get("player-transaction-history") && customElements.define("player-transaction-history", e.element);
369
379
  });
370
380
  }
@@ -380,7 +390,7 @@ if (typeof window != "undefined") {
380
390
  }
381
391
  };
382
392
  };
383
- customElements.define = s(customElements.define), import("./PlayerGamingHistory-B4_0pXmI.js").then(({ default: e }) => {
393
+ customElements.define = s(customElements.define), import("./PlayerGamingHistory-qknrLcKD.js").then(({ default: e }) => {
384
394
  !customElements.get("player-gaming-history") && customElements.define("player-gaming-history", e.element);
385
395
  });
386
396
  }
@@ -396,7 +406,7 @@ if (typeof window != "undefined") {
396
406
  }
397
407
  };
398
408
  };
399
- customElements.define = s(customElements.define), import("./PlayerAccountBettingHistory-CFtSVoji.js").then(({ default: e }) => {
409
+ customElements.define = s(customElements.define), import("./PlayerAccountBettingHistory-QT3-2u7E.js").then(({ default: e }) => {
400
410
  !customElements.get("player-account-betting-history") && customElements.define("player-account-betting-history", e.element);
401
411
  });
402
412
  }
@@ -412,7 +422,7 @@ if (typeof window != "undefined") {
412
422
  }
413
423
  };
414
424
  };
415
- customElements.define = s(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-Cqbi6OIR.js").then(({ default: e }) => {
425
+ customElements.define = s(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-D5yyp7TU.js").then(({ default: e }) => {
416
426
  !customElements.get("player-account-gaming-limits-wrapper-2-nd") && customElements.define(
417
427
  "player-account-gaming-limits-wrapper-2-nd",
418
428
  e.element
@@ -431,7 +441,7 @@ if (typeof window != "undefined") {
431
441
  }
432
442
  };
433
443
  };
434
- customElements.define = s(customElements.define), import("./PlayerAccountBiometrics-C6v6jJ9w.js").then(({ default: e }) => {
444
+ customElements.define = s(customElements.define), import("./PlayerAccountBiometrics-BupiQCMJ.js").then(({ default: e }) => {
435
445
  !customElements.get("player-account-biometrics") && customElements.define("player-account-biometrics", e.element);
436
446
  });
437
447
  }
@@ -5477,10 +5487,10 @@ function vn(s) {
5477
5487
  }
5478
5488
  function Cn(s, e, n) {
5479
5489
  let t;
5480
- Ei(s, Di, (o) => n(67, t = o));
5490
+ Ei(s, Pi, (o) => n(67, t = o));
5481
5491
  let { cmsendpoint: u = "" } = e, { env: r = "" } = e, { customnotifications: f = "" } = e, { playerid: _ = "" } = e, { session: y = "" } = e, { endpoint: c = "" } = e, { lang: a = "" } = e, { operator: l = "Everymatrix" } = e, { supportemail: b = "" } = e, { termsconditionslink: $ = "" } = e, { separatelimits: x = "true" } = e, { hasdefaultamount: ee = "false" } = e, { userroles: I = "" } = e, { simplepasswordvalidation: ie = "false" } = e, { tablabels: ne = "" } = e, { historyenabled: se = "" } = e, { deletelimit: te = "" } = e, { limitsamount: le = "" } = e, { limitsperiods: ae = "" } = e, { numberofentries: oe = "" } = e, { customcurrencysymbols: re = "" } = e, { currency: ue = "" } = e, { apiversion: fe = "" } = e, { clientstyling: z = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: X = "" } = e, { custominputtextswitch: ce = "false" } = e, { gmversion: O = "" } = e, { producttype: me = "" } = e, { successurl: pe = "" } = e, { failurl: de = "" } = e, { cancelurl: he = "" } = e, { sportsurl: ge = "" } = e, { casinourl: we = "" } = e, { contacturl: _e = "" } = e, { homeurl: ye = "" } = e, { depositurl: be = "" } = e, { showcashierbonus: ke = "" } = e, { biometricsenabled: Se = "false" } = e, { activepage: v = "" } = e, { passwordregex: Ee = "" } = e, { limitformat: ve = "" } = e;
5482
5492
  Ui({ withLocale: "en", translations: {} });
5483
- let L, Ce = window.navigator.userAgent, De = Ve(Ce) !== "PC", Pe = [], S = "", E = "", Le = "", B = null, W = "", D = {}, F, J, V, M, q = !1, H = !1, Ue, Me = "", K = "", Ae = !1, Ke, Oe, je = "/profile-info";
5493
+ let L, Ce = window.navigator.userAgent, Pe = Ve(Ce) !== "PC", De = [], S = "", E = "", Le = "", B = null, W = "", P = {}, F, J, V, M, q = !1, H = !1, Ue, Me = "", K = "", Ae = !1, Ke, Oe, je = "/profile-info";
5484
5494
  const Te = [
5485
5495
  "/profile-info",
5486
5496
  "/change-password",
@@ -5509,7 +5519,7 @@ function Cn(s, e, n) {
5509
5519
  let o = Ve(Ce);
5510
5520
  o && (o === "PC" ? W = "dk" : W = "mtWeb");
5511
5521
  }, Ne = () => {
5512
- !v && !De && n(52, v = Te[0]), n(47, je = v);
5522
+ !v && !Pe && n(52, v = Te[0]), n(47, je = v);
5513
5523
  }, Ye = () => {
5514
5524
  fetch(X).then((h) => h.json()).then((h) => {
5515
5525
  Object.keys(h).forEach((g) => {
@@ -5755,10 +5765,10 @@ function Cn(s, e, n) {
5755
5765
  }, $e = (o) => {
5756
5766
  o.searchParams.append("userRoles", I), o.searchParams.append("device", W), fetch(o.href).then((h) => h.json()).then(
5757
5767
  (h) => {
5758
- h.length && (Pe = h[0].children, window.postMessage(
5768
+ h.length && (De = h[0].children, window.postMessage(
5759
5769
  {
5760
5770
  type: "NotificationsDetails",
5761
- notificationsInfo: Pe
5771
+ notificationsInfo: De
5762
5772
  },
5763
5773
  window.location.href
5764
5774
  ));
@@ -5835,8 +5845,8 @@ function Cn(s, e, n) {
5835
5845
  }
5836
5846
  ), window.dispatchEvent(Oe);
5837
5847
  else {
5838
- let P = yield U.json();
5839
- K = P.error.substring(P.error.indexOf("errorMessage") + 13, P.error.length), Ae = !0, window.postMessage(
5848
+ let D = yield U.json();
5849
+ K = D.error.substring(D.error.indexOf("errorMessage") + 13, D.error.length), Ae = !0, window.postMessage(
5840
5850
  {
5841
5851
  type: "ShowPasswordChangedError",
5842
5852
  showErrorPasswordChanged: Ae,
@@ -5915,7 +5925,7 @@ function Cn(s, e, n) {
5915
5925
  fetch(o.href, h).then((g) => g.json()).then(
5916
5926
  (g) => {
5917
5927
  var C, A, U;
5918
- D = g, Object.keys(D).length !== 0 ? (n(53, F = (C = D.depositLimits) != null ? C : []), n(54, J = (A = D.wageringLimits) != null ? A : []), n(55, V = (U = D.lossLimits) != null ? U : []), D.hasOwnProperty("cumulativeSessionLimits") ? (n(56, M = D.timeLimit), n(56, M = D.cumulativeSessionLimits.map((P) => (P.amount = P.minutes, P)))) : n(56, M = []), window.postMessage(
5928
+ P = g, Object.keys(P).length !== 0 ? (n(53, F = (C = P.depositLimits) != null ? C : []), n(54, J = (A = P.wageringLimits) != null ? A : []), n(55, V = (U = P.lossLimits) != null ? U : []), P.hasOwnProperty("cumulativeSessionLimits") ? (n(56, M = P.timeLimit), n(56, M = P.cumulativeSessionLimits.map((D) => (D.amount = D.minutes, D)))) : n(56, M = []), window.postMessage(
5919
5929
  {
5920
5930
  type: "PlayerLimitsData",
5921
5931
  limits: {
@@ -5930,7 +5940,7 @@ function Cn(s, e, n) {
5930
5940
  }
5931
5941
  },
5932
5942
  window.location.href
5933
- )) : (n(53, F = []), n(54, J = []), n(55, V = []), n(56, M = [])), Pi();
5943
+ )) : (n(53, F = []), n(54, J = []), n(55, V = []), n(56, M = [])), Di();
5934
5944
  },
5935
5945
  (g) => {
5936
5946
  console.error(g);
@@ -6026,7 +6036,7 @@ function Cn(s, e, n) {
6026
6036
  B,
6027
6037
  Ue,
6028
6038
  je,
6029
- De,
6039
+ Pe,
6030
6040
  Ke,
6031
6041
  Te,
6032
6042
  ni,
@@ -6038,7 +6048,7 @@ function Cn(s, e, n) {
6038
6048
  li
6039
6049
  ];
6040
6050
  }
6041
- class Dn extends _i {
6051
+ class Pn extends _i {
6042
6052
  constructor(e) {
6043
6053
  super(), yi(
6044
6054
  this,
@@ -6347,7 +6357,7 @@ class Dn extends _i {
6347
6357
  this.$$set({ limitformat: e }), w();
6348
6358
  }
6349
6359
  }
6350
- bi(Dn, { cmsendpoint: {}, env: {}, customnotifications: {}, playerid: {}, session: {}, endpoint: {}, lang: {}, operator: {}, supportemail: {}, termsconditionslink: {}, separatelimits: {}, hasdefaultamount: {}, userroles: {}, simplepasswordvalidation: {}, tablabels: {}, historyenabled: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, currency: {}, apiversion: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, custominputtextswitch: {}, gmversion: {}, producttype: {}, successurl: {}, failurl: {}, cancelurl: {}, sportsurl: {}, casinourl: {}, contacturl: {}, homeurl: {}, depositurl: {}, showcashierbonus: {}, biometricsenabled: {}, activepage: {}, passwordregex: {}, limitformat: {} }, [], [], !0);
6360
+ bi(Pn, { cmsendpoint: {}, env: {}, customnotifications: {}, playerid: {}, session: {}, endpoint: {}, lang: {}, operator: {}, supportemail: {}, termsconditionslink: {}, separatelimits: {}, hasdefaultamount: {}, userroles: {}, simplepasswordvalidation: {}, tablabels: {}, historyenabled: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, currency: {}, apiversion: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, custominputtextswitch: {}, gmversion: {}, producttype: {}, successurl: {}, failurl: {}, cancelurl: {}, sportsurl: {}, casinourl: {}, contacturl: {}, homeurl: {}, depositurl: {}, showcashierbonus: {}, biometricsenabled: {}, activepage: {}, passwordregex: {}, limitformat: {} }, [], [], !0);
6351
6361
  export {
6352
- Dn as default
6362
+ Pn as default
6353
6363
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BW6b3iuS.cjs");function D(i,t){e.addMessages(i,t)}function O(i){e.$locale.set(i)}const C={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-ZuPsBZ-7.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function z(i){e.append_styles(i,"svelte-4tnj1c",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function H(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[13]),e.set_custom_element_data(t,"limitname",i[14]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"playercurrency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10])},m(a,s){e.insert(a,t,s)},p(a,s){s&8192&&e.set_custom_element_data(t,"limitsdata",a[13]),s&16384&&e.set_custom_element_data(t,"limitname",a[14]),s&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),s&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),s&32&&e.set_custom_element_data(t,"playercurrency",a[5]),s&1&&e.set_custom_element_data(t,"lang",a[0]),s&256&&e.set_custom_element_data(t,"separatelimits",a[8]),s&512&&e.set_custom_element_data(t,"clientstyling",a[9]),s&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10])},d(a){a&&e.detach(t)}}}function V(i){let t,a,s,o=i[16]("gamingLimitsText")+"",u,f,_,c,w,r,L,d,y,g,p=i[17]&&U(i);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),s=e.element("h2"),u=e.text(o),f=e.space(),_=e.element("div"),c=e.element("player-account-gaming-limits-info-card"),w=e.space(),r=e.element("player-account-gaming-limits-info-card"),L=e.space(),d=e.element("player-account-gaming-limits-info-card"),y=e.space(),g=e.element("player-account-gaming-limits-info-card"),e.attr(s,"class","PlayerGamingLimitsTitle "+(i[17]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(c,"limitsdata",i[1]),e.set_custom_element_data(c,"limitname",I),e.set_custom_element_data(c,"playercurrency",i[5]),e.set_custom_element_data(c,"lang",i[0]),e.set_custom_element_data(c,"clientstyling",i[9]),e.set_custom_element_data(c,"clientstylingurl",i[10]),e.set_custom_element_data(r,"limitsdata",i[2]),e.set_custom_element_data(r,"limitname",K),e.set_custom_element_data(r,"playercurrency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(d,"limitsdata",i[3]),e.set_custom_element_data(d,"limitname",Q),e.set_custom_element_data(d,"playercurrency",i[5]),e.set_custom_element_data(d,"lang",i[0]),e.set_custom_element_data(d,"clientstyling",i[9]),e.set_custom_element_data(d,"clientstylingurl",i[10]),e.set_custom_element_data(g,"limitsdata",i[4]),e.set_custom_element_data(g,"limitname",Y),e.set_custom_element_data(g,"playercurrency",i[5]),e.set_custom_element_data(g,"lang",i[0]),e.set_custom_element_data(g,"clientstyling",i[9]),e.set_custom_element_data(g,"clientstylingurl",i[10]),e.attr(_,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[17]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(i[18].matches&&i[17]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(l,m){e.insert(l,t,m),p&&p.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u),e.append(t,f),e.append(t,_),e.append(_,c),e.append(_,w),e.append(_,r),e.append(_,L),e.append(_,d),e.append(_,y),e.append(_,g)},p(l,m){l[17]&&p.p(l,m),m&65536&&o!==(o=l[16]("gamingLimitsText")+"")&&e.set_data(u,o),m&2&&e.set_custom_element_data(c,"limitsdata",l[1]),m&32&&e.set_custom_element_data(c,"playercurrency",l[5]),m&1&&e.set_custom_element_data(c,"lang",l[0]),m&512&&e.set_custom_element_data(c,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(c,"clientstylingurl",l[10]),m&4&&e.set_custom_element_data(r,"limitsdata",l[2]),m&32&&e.set_custom_element_data(r,"playercurrency",l[5]),m&1&&e.set_custom_element_data(r,"lang",l[0]),m&512&&e.set_custom_element_data(r,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(r,"clientstylingurl",l[10]),m&8&&e.set_custom_element_data(d,"limitsdata",l[3]),m&32&&e.set_custom_element_data(d,"playercurrency",l[5]),m&1&&e.set_custom_element_data(d,"lang",l[0]),m&512&&e.set_custom_element_data(d,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(d,"clientstylingurl",l[10]),m&16&&e.set_custom_element_data(g,"limitsdata",l[4]),m&32&&e.set_custom_element_data(g,"playercurrency",l[5]),m&1&&e.set_custom_element_data(g,"lang",l[0]),m&512&&e.set_custom_element_data(g,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(g,"clientstylingurl",l[10])},d(l){l&&e.detach(t),p&&p.d()}}}function q(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,s){e.insert(a,t,s)},p:e.noop,d(a){a&&e.detach(t)}}}function U(i){let t,a,s,o,u,f,_,c,w,r,L=i[16]("gamingLimitsText")+"",d,y,g;return{c(){t=e.element("div"),a=e.svg_element("svg"),s=e.svg_element("defs"),o=e.svg_element("style"),u=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),f=e.svg_element("g"),_=e.svg_element("g"),c=e.svg_element("path"),w=e.space(),r=e.element("h2"),d=e.text(L),e.attr(c,"class","aaa"),e.attr(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(c,"transform","translate(15 15) rotate(180)"),e.attr(_,"transform","translate(20 158)"),e.attr(f,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(r,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(p,l){e.insert(p,t,l),e.append(t,a),e.append(a,s),e.append(s,o),e.append(o,u),e.append(a,f),e.append(f,_),e.append(_,c),e.append(t,w),e.append(t,r),e.append(r,d),y||(g=e.listen(t,"click",i[21]),y=!0)},p(p,l){l&65536&&L!==(L=p[16]("gamingLimitsText")+"")&&e.set_data(d,L)},d(p){p&&e.detach(t),y=!1,g()}}}function Z(i){let t;function a(u,f){return u[12]?q:u[15]?V:H}let s=a(i),o=s(i);return{c(){t=e.element("div"),o.c()},m(u,f){e.insert(u,t,f),o.m(t,null),i[22](t)},p(u,[f]){s===(s=a(u))&&o?o.p(u,f):(o.d(1),o=s(u),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),o.d(),i[22](null)}}}let I="Deposit Limit",K="Wagering Limit",Q="Loss Limit",Y="Time Limit";function J(i,t,a){let s;e.component_subscribe(i,e.$format,n=>a(16,s=n));let{depositlimit:o}=t,{wageringlimit:u}=t,{losslimit:f}=t,{timelimit:_}=t,{showdeletenotification:c=!1}=t,{showsuccessnotification:w=!1}=t,{lang:r="en"}=t,{playercurrency:L=""}=t,{separatelimits:d="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:g=""}=t,{translationurl:p=""}=t;const l=()=>{fetch(p).then(h=>h.json()).then(h=>{Object.keys(h).forEach(T=>{D(T,h[T])})}).catch(h=>{console.log(h)})};Object.keys(C).forEach(n=>{D(n,C[n])});let m,v=!0,E=window.navigator.userAgent,P=e.getDevice(E)!=="PC",k,b="",M=!0;const R=window.matchMedia("(min-width: 768px)"),A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},S=()=>{O(r)},G=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,r=n.data.limits.lang),a(1,o=n.data.limits.depositlimit),a(2,u=n.data.limits.wageringlimit),a(3,f=n.data.limits.losslimit),a(4,_=n.data.limits.timelimit),a(12,v=!1);break;case"EditPlayerAccountGamingLimits":a(13,k=n.data.edit),a(14,b=n.data.name),a(15,M=!1),window.postMessage({type:"EditPlayerLimit",name:b},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(15,M=!0);break;case"ProfileDetailsData":let h=n.data.profileDetails;a(5,L=h.currency);break}},W=()=>{let n=document.createElement("style");n.innerHTML=y,m.appendChild(n)},B=()=>{let n=new URL(g),h=document.createElement("style");fetch(n.href).then(T=>T.text()).then(T=>{h.innerHTML=T,setTimeout(()=>{m.appendChild(h)},1)})};e.onMount(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)}));const F=()=>A();function N(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,a(11,m)})}return i.$$set=n=>{"depositlimit"in n&&a(1,o=n.depositlimit),"wageringlimit"in n&&a(2,u=n.wageringlimit),"losslimit"in n&&a(3,f=n.losslimit),"timelimit"in n&&a(4,_=n.timelimit),"showdeletenotification"in n&&a(6,c=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,r=n.lang),"playercurrency"in n&&a(5,L=n.playercurrency),"separatelimits"in n&&a(8,d=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,g=n.clientstylingurl),"translationurl"in n&&a(20,p=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&r&&S(),i.$$.dirty&2560&&y&&m&&W(),i.$$.dirty&3072&&g&&m&&B(),i.$$.dirty&1048576&&p&&l()},[r,o,u,f,_,L,c,w,d,y,g,m,v,k,b,M,s,P,R,A,p,F,N]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,Z,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,playercurrency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,translationurl:20},z)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get playercurrency(){return this.$$.ctx[5]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(j,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},playercurrency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=j;
@@ -1,4 +1,4 @@
1
- import { a as Y, $ as J, S as X, i as x, f as h, c as $, s as ii, b as ei, e as _, k as C, o as E, p as D, q as ti, u as ni, v as ai, x as li, j as t, d as A, t as R, g as w, l as g, n as H, w as k, m as si, y as ri } from "./GeneralLogout-ATgFK7sR.js";
1
+ import { a as Y, $ as J, S as X, i as x, f as h, c as $, s as ii, b as ei, e as _, k as D, o as E, p as G, q as ti, u as ni, v as ai, x as li, j as t, d as A, t as R, g as w, l as g, n as H, w as k, m as si, y as ri } from "./GeneralLogout-BZhvD1EQ.js";
2
2
  function O(e, i) {
3
3
  Y(e, i);
4
4
  }
@@ -85,6 +85,14 @@ const z = {
85
85
  timeLimit: "Zaman sınırı",
86
86
  wageringLimit: "Bahis Limiti",
87
87
  lossLimit: "Kayıp Limiti"
88
+ },
89
+ "en-us": {
90
+ returnToMenu: "Return to menu",
91
+ gamingLimitsText: "Gaming limits",
92
+ depositLimit: "Deposit Limit",
93
+ timeLimit: "Time Limit",
94
+ wageringLimit: "Wagering Limit",
95
+ lossLimit: "Loss Limit"
88
96
  }
89
97
  };
90
98
  if (typeof window != "undefined") {
@@ -99,7 +107,7 @@ if (typeof window != "undefined") {
99
107
  }
100
108
  };
101
109
  };
102
- customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-C7DHDazS.js").then(({ default: i }) => {
110
+ customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-CuWuZhIt.js").then(({ default: i }) => {
103
111
  !customElements.get("player-account-gaming-limits-info-card") && customElements.define(
104
112
  "player-account-gaming-limits-info-card",
105
113
  i.element
@@ -161,7 +169,7 @@ function ci(e) {
161
169
  );
162
170
  },
163
171
  m(n, l) {
164
- C(n, i, l);
172
+ D(n, i, l);
165
173
  },
166
174
  p(n, l) {
167
175
  l & /*editLimitData*/
@@ -221,7 +229,7 @@ function ci(e) {
221
229
  );
222
230
  },
223
231
  d(n) {
224
- n && D(i);
232
+ n && G(i);
225
233
  }
226
234
  };
227
235
  }
@@ -342,7 +350,7 @@ function gi(e) {
342
350
  e[17] ? "PlayerAccountTabletGamingLimitsWrapper" : ""));
343
351
  },
344
352
  m(s, r) {
345
- C(s, i, r), L && L.m(i, null), g(i, n), g(i, l), g(l, u), g(i, y), g(i, p), g(p, c), g(p, P), g(p, m), g(p, T), g(p, f), g(p, b), g(p, d);
353
+ D(s, i, r), L && L.m(i, null), g(i, n), g(i, l), g(l, u), g(i, y), g(i, p), g(p, c), g(p, P), g(p, m), g(p, T), g(p, f), g(p, b), g(p, d);
346
354
  },
347
355
  p(s, r) {
348
356
  /*isMobile*/
@@ -471,7 +479,7 @@ function gi(e) {
471
479
  );
472
480
  },
473
481
  d(s) {
474
- s && D(i), L && L.d();
482
+ s && G(i), L && L.d();
475
483
  }
476
484
  };
477
485
  }
@@ -482,11 +490,11 @@ function ui(e) {
482
490
  i = _("div"), w(i, "class", "ModalLoader");
483
491
  },
484
492
  m(n, l) {
485
- C(n, i, l);
493
+ D(n, i, l);
486
494
  },
487
495
  p: E,
488
496
  d(n) {
489
- n && D(i);
497
+ n && G(i);
490
498
  }
491
499
  };
492
500
  }
@@ -500,7 +508,7 @@ function di(e) {
500
508
  i = _("div"), n = k("svg"), l = k("defs"), o = k("style"), u = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), y = k("g"), p = k("g"), c = k("path"), P = A(), m = _("h2"), f = R(T), w(c, "class", "aaa"), w(c, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(c, "transform", "translate(15 15) rotate(180)"), w(p, "transform", "translate(20 158)"), w(y, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(m, "class", "PlayerGamingLimitsTitleMobile"), w(i, "class", "MenuReturnButton");
501
509
  },
502
510
  m(L, s) {
503
- C(L, i, s), g(i, n), g(n, l), g(l, o), g(o, u), g(n, y), g(y, p), g(p, c), g(i, P), g(i, m), g(m, f), b || (d = si(
511
+ D(L, i, s), g(i, n), g(n, l), g(l, o), g(o, u), g(n, y), g(y, p), g(p, c), g(i, P), g(i, m), g(m, f), b || (d = si(
504
512
  i,
505
513
  "click",
506
514
  /*click_handler*/
@@ -513,7 +521,7 @@ function di(e) {
513
521
  L[16]("gamingLimitsText") + "") && H(f, T);
514
522
  },
515
523
  d(L) {
516
- L && D(i), b = !1, d();
524
+ L && G(i), b = !1, d();
517
525
  }
518
526
  };
519
527
  }
@@ -534,7 +542,7 @@ function fi(e) {
534
542
  i = _("div"), o.c();
535
543
  },
536
544
  m(u, y) {
537
- C(u, i, y), o.m(i, null), e[22](i);
545
+ D(u, i, y), o.m(i, null), e[22](i);
538
546
  },
539
547
  p(u, [y]) {
540
548
  l === (l = n(u)) && o ? o.p(u, y) : (o.d(1), o = l(u), o && (o.c(), o.m(i, null)));
@@ -542,7 +550,7 @@ function fi(e) {
542
550
  i: E,
543
551
  o: E,
544
552
  d(u) {
545
- u && D(i), o.d(), e[22](null);
553
+ u && G(i), o.d(), e[22](null);
546
554
  }
547
555
  };
548
556
  }
@@ -563,28 +571,28 @@ function hi(e, i, n) {
563
571
  Object.keys(z).forEach((a) => {
564
572
  O(a, z[a]);
565
573
  });
566
- let r, S = !0, V = window.navigator.userAgent, B = ni(V) !== "PC", F, G = "", j = !0;
567
- const U = window.matchMedia("(min-width: 768px)"), N = () => {
574
+ let r, S = !0, V = window.navigator.userAgent, W = ni(V) !== "PC", B, C = "", j = !0;
575
+ const U = window.matchMedia("(min-width: 768px)"), F = () => {
568
576
  window.postMessage(
569
577
  {
570
578
  type: "PlayerAccountMenuActive",
571
- isMobile: B
579
+ isMobile: W
572
580
  },
573
581
  window.location.href
574
582
  );
575
583
  }, q = () => {
576
584
  mi(m);
577
- }, W = (a) => {
585
+ }, N = (a) => {
578
586
  if (a.data)
579
587
  switch (a.data.type) {
580
588
  case "PlayerLimitsData":
581
589
  n(0, m = a.data.limits.lang), n(1, o = a.data.limits.depositlimit), n(2, u = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, p = a.data.limits.timelimit), n(12, S = !1);
582
590
  break;
583
591
  case "EditPlayerAccountGamingLimits":
584
- n(13, F = a.data.edit), n(14, G = a.data.name), n(15, j = !1), window.postMessage(
592
+ n(13, B = a.data.edit), n(14, C = a.data.name), n(15, j = !1), window.postMessage(
585
593
  {
586
594
  type: "EditPlayerLimit",
587
- name: G
595
+ name: C
588
596
  },
589
597
  window.location.href
590
598
  ), window.postMessage({ type: "ScrollToTop" }, window.location.href);
@@ -611,10 +619,10 @@ function hi(e, i, n) {
611
619
  );
612
620
  });
613
621
  };
614
- ai(() => (window.addEventListener("message", W, !1), () => {
615
- window.removeEventListener("message", W);
622
+ ai(() => (window.addEventListener("message", N, !1), () => {
623
+ window.removeEventListener("message", N);
616
624
  }));
617
- const K = () => N();
625
+ const K = () => F();
618
626
  function Q(a) {
619
627
  li[a ? "unshift" : "push"](() => {
620
628
  r = a, n(11, r);
@@ -642,13 +650,13 @@ function hi(e, i, n) {
642
650
  d,
643
651
  r,
644
652
  S,
645
- F,
646
- G,
653
+ B,
654
+ C,
647
655
  j,
648
656
  l,
649
- B,
657
+ W,
650
658
  U,
651
- N,
659
+ F,
652
660
  L,
653
661
  K,
654
662
  Q
@@ -1,4 +1,4 @@
1
- import { a as U, $ as q, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as D, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as T, o as lt, y as mt } from "./GeneralLogout-ATgFK7sR.js";
1
+ import { a as U, $ as q, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as D, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as T, o as lt, y as mt } from "./GeneralLogout-BZhvD1EQ.js";
2
2
  function j(e, t) {
3
3
  U(e, t);
4
4
  }
@@ -45,6 +45,10 @@ const N = {
45
45
  tr: {
46
46
  cancel: "İptal etmek",
47
47
  confirm: "Onaylamak"
48
+ },
49
+ "en-us": {
50
+ cancel: "Cancel",
51
+ confirm: "Confirm"
48
52
  }
49
53
  };
50
54
  function dt(e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BW6b3iuS.cjs");function B(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const A={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function D(n){t.append_styles(n,"svelte-1pkvhrt",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}')}const N=n=>({}),F=n=>({});function O(n){let e,o;return{c(){e=t.svg_element("svg"),o=t.svg_element("path"),t.attr(o,"stroke-linecap","round"),t.attr(o,"stroke-linejoin","round"),t.attr(o,"stroke-width","2"),t.attr(o,"d","M6 18L18 6M6 6l12 12"),t.attr(e,"class","w-6 h-6"),t.attr(e,"fill","none"),t.attr(e,"stroke","currentColor"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"xmlns","http://www.w3.org/2000/svg")},m(r,w){t.insert(r,e,w),t.append(e,o)},p:t.noop,d(r){r&&t.detach(e)}}}function P(n){let e,o,r,w,h,b,c,m,d,u=n[2]("cancel")+"",C,M,l,x=n[2]("confirm")+"",_,s,y,k;const G=n[13].close,L=t.create_slot(G,n,n[12],F),g=L||O();return{c(){e=t.element("div"),o=t.element("div"),r=t.element("span"),g&&g.c(),w=t.space(),h=t.element("div"),b=t.text(n[0]),c=t.space(),m=t.element("div"),d=t.element("button"),C=t.text(u),M=t.space(),l=t.element("button"),_=t.text(x),t.attr(r,"class","ModalCloseBtn"),t.attr(r,"role","button"),t.attr(h,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(l,"class","GamingLimitsConfirmButton"),t.attr(m,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(a,f){t.insert(a,e,f),t.append(e,o),t.append(o,r),g&&g.m(r,null),t.append(o,w),t.append(o,h),t.append(h,b),t.append(o,c),t.append(o,m),t.append(m,d),t.append(d,C),t.append(m,M),t.append(m,l),t.append(l,_),n[14](e),s=!0,y||(k=[t.listen(r,"click",n[4]),t.listen(d,"click",n[6]),t.listen(l,"click",n[5])],y=!0)},p(a,[f]){L&&L.p&&(!s||f&4096)&&t.update_slot_base(L,G,a,a[12],s?t.get_slot_changes(G,a[12],f,N):t.get_all_dirty_from_scope(a[12]),F),(!s||f&1)&&t.set_data(b,a[0]),(!s||f&4)&&u!==(u=a[2]("cancel")+"")&&t.set_data(C,u),(!s||f&4)&&x!==(x=a[2]("confirm")+"")&&t.set_data(_,x)},i(a){s||(t.transition_in(g,a),s=!0)},o(a){t.transition_out(g,a),s=!1},d(a){a&&t.detach(e),g&&g.d(a),n[14](null),y=!1,t.run_all(k)}}}function W(n,e,o){let r;t.component_subscribe(n,t.$format,i=>o(2,r=i));let{$$slots:w={},$$scope:h}=e,{modaltext:b="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:m="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{translationurl:C=""}=e;const M=()=>{fetch(C).then(p=>p.json()).then(p=>{Object.keys(p).forEach(v=>{B(v,p[v])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(i=>{B(i,A[i])});let l,x=window.navigator.userAgent,_=t.getDevice(x)!=="PC",s={},y="";const k=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},G=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:s,name:y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{c==="groupEdit"?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},g=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",a=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":s=i.data.removeData,y=g(i.data.removeName);break}},f=()=>{j(m)},z=()=>{let i=document.createElement("style");i.innerHTML=d,l.appendChild(i)},S=()=>{let i=new URL(u),p=document.createElement("style");fetch(i.href).then(v=>v.text()).then(v=>{p.innerHTML=v,setTimeout(()=>{l.appendChild(p)},1)})};t.onMount(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)}));function T(i){t.binding_callbacks[i?"unshift":"push"](()=>{l=i,o(1,l)})}return n.$$set=i=>{"modaltext"in i&&o(0,b=i.modaltext),"modalsource"in i&&o(7,c=i.modalsource),"lang"in i&&o(8,m=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"translationurl"in i&&o(11,C=i.translationurl),"$$scope"in i&&o(12,h=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&b&&c&&m&&f(),n.$$.dirty&514&&d&&l&&z(),n.$$.dirty&1026&&u&&l&&S(),n.$$.dirty&2048&&C&&M()},[b,l,r,_,k,G,L,c,m,d,u,C,h,w,T]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,P,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},D)}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),t.flush()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(E,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=E;