@everymatrix/player-account-controller 1.53.12 → 1.54.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 (96) hide show
  1. package/components/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-CsWa2j6i.js} +1131 -1094
  2. package/components/GeneralLogout-DfI2_eQe.cjs +8 -0
  3. package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-D_8K8e-E.js} +35 -34
  4. package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +1 -0
  5. package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +1 -0
  6. package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-FWYyFKmB.js} +1 -1
  7. package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-BJP8eejl.js} +1 -1
  8. package/components/PlayerAccountClosure-DvHhtHhl.cjs +1 -0
  9. package/components/PlayerAccountController-DDLO4xVW.cjs +1 -0
  10. package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-DQGj69Re.js} +353 -336
  11. package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-Dt8hOZzW.js} +3 -3
  12. package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +1 -0
  13. package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js} +1 -1
  14. package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +1 -0
  15. package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js} +16 -16
  16. package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +10 -0
  17. package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-65MLJ2rD.js} +132 -121
  18. package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +1 -0
  19. package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js} +4 -4
  21. package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js} +768 -737
  22. package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +21 -0
  23. package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +1 -0
  24. package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-diUVGesC.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BmDihzLr.js} +81 -75
  26. package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +1 -0
  27. package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js} +1 -1
  28. package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +1 -0
  29. package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-CbXhpL1a.js} +67 -66
  30. package/components/PlayerAccountMenu-DHGBVm64.cjs +1 -0
  31. package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-5TJbkUF8.js} +1 -1
  32. package/components/PlayerAccountModal-BitbPM3Z.cjs +1 -0
  33. package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-BVY-SXyT.js} +1 -1
  34. package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +1 -0
  35. package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +3828 -0
  36. package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-BGfuEA4r.js} +1572 -1488
  37. package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-BDDMm0XX.js} +4 -4
  38. package/components/PlayerAccountTimeout-f4vPyQE-.cjs +1 -0
  39. package/components/PlayerActiveBonuses-BVQwAh2z.cjs +1 -0
  40. package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-D0RUTvjl.js} +120 -119
  41. package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-CU67pLmG.js} +2 -2
  42. package/components/PlayerBonusCard-UTTIEBwb.cjs +1 -0
  43. package/components/{PlayerBonusHistory-BxBiQwQf.js → PlayerBonusHistory-BLedlLHg.js} +53 -53
  44. package/components/PlayerBonusHistory-EXOvKzDr.cjs +1 -0
  45. package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-8ZD6eOj-.js} +1 -1
  46. package/components/PlayerChangePassword-XpKJjnFu.cjs +3 -0
  47. package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-D5Xuk21T.js} +1 -1
  48. package/components/PlayerDeposit-Do7vb_4b.cjs +1 -0
  49. package/components/PlayerGamingHistory-OEU1L3Q2.cjs +1 -0
  50. package/components/{PlayerGamingHistory-BtQ73TId.js → PlayerGamingHistory-tb-rMGdz.js} +388 -375
  51. package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +1 -0
  52. package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-DuN3Qn3P.js} +1 -1
  53. package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-DmKFg0dn.js} +549 -532
  54. package/components/PlayerProfileInfo-lMeb2jBi.cjs +1 -0
  55. package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BUW8tvj3.js} +191 -175
  56. package/components/PlayerRealityCheck-CA0P_3BC.cjs +1 -0
  57. package/components/PlayerTransactionHistory-CvZcvyBx.cjs +1 -0
  58. package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-hGi2tOL2.js} +1 -1
  59. package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-CR3Xpytk.js} +1 -1
  60. package/components/PlayerWithdrawal-DxLwjX7x.cjs +1 -0
  61. package/es2015/player-account-controller.cjs +1 -0
  62. package/es2015/player-account-controller.js +16 -0
  63. package/package.json +33 -12
  64. package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +1519 -0
  65. package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → active-mixin-59dfae2a-CJN1Jc-g.js} +776 -745
  66. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
  67. package/stencil/{checkbox-group-input_9-CMFoK7_E.js → checkbox-group-input_9-DQoOMgN8.js} +1942 -1873
  68. package/stencil/checkbox-group-input_9-DiXERGqn.cjs +4193 -0
  69. package/stencil/{general-input-DnFPstQP.js → general-input-bzWxIJkt.js} +1 -1
  70. package/stencil/general-input-fzGwoSoE.cjs +1 -0
  71. package/stencil/index-062e829b-CpXLBOEz.cjs +1 -0
  72. package/stencil/{index-062e829b-DAFsZs6D.js → index-062e829b-DPj_pEuI.js} +236 -220
  73. package/stencil/index-33f005e1-BS5PFnj3.cjs +1 -0
  74. package/stencil/{index-33f005e1-fFxPaeNy.js → index-33f005e1-DGGQe5wK.js} +239 -223
  75. package/stencil/{index-9b3245b3-rzHgwqlB.js → index-9b3245b3-3zj7bxxu.js} +193 -166
  76. package/stencil/index-9b3245b3-ByXtSZIM.cjs +1 -0
  77. package/stencil/{index-fc58390d-BSwfXuUs.js → index-fc58390d-DeoeGpBS.js} +294 -267
  78. package/stencil/index-fc58390d-DgBOSsU7.cjs +1 -0
  79. package/stencil/locale-B5abSHU_.cjs +1 -0
  80. package/stencil/password-input_2-DvDzz75b.cjs +1248 -0
  81. package/stencil/{password-input_2-Bb9Q6Fe0.js → password-input_2-Dx1lICIg.js} +154 -136
  82. package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +1 -0
  83. package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-98dcb7bc-F9HM0T8d.js} +1 -1
  84. package/stencil/player-change-password-gm2-BEYcuzS-.cjs +1 -0
  85. package/stencil/player-change-password-gm2-NWnv4CCw.js +25 -0
  86. package/stencil/player-kyc-verification-_iT3bbO9.cjs +180 -0
  87. package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-o-RUWyY4.js} +83 -61
  88. package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BCrxxTpc.js} +1 -1
  89. package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +1 -0
  90. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
  91. package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-DEMVRyvk.js} +197 -175
  92. package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +59 -0
  93. package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-CevHOCcm.js} +107 -81
  94. package/stencil/user-transaction-history-U0c__t1q.cjs +1 -0
  95. package/esnext/player-account-controller.js +0 -14
  96. package/stencil/player-change-password-gm2-DR3e2gh5.js +0 -7
@@ -1,11 +1,27 @@
1
- import { a as te, $ as ae, S as ie, i as re, f as L, c as se, s as le, b as ne, e as R, d as q, t as j, g as v, k as F, l as d, n as H, o as S, p as T, q as oe, u as ce, w as P, m as z, r as ue, x as de, K as A, L as pe, a3 as he, O as ye, y as fe } from "./GeneralLogout-Ddt-oH9k.js";
2
- function D(a, e) {
3
- te(a, e);
1
+ var S = (a, e, t) => new Promise((r, i) => {
2
+ var n = (u) => {
3
+ try {
4
+ v(t.next(u));
5
+ } catch (h) {
6
+ i(h);
7
+ }
8
+ }, k = (u) => {
9
+ try {
10
+ v(t.throw(u));
11
+ } catch (h) {
12
+ i(h);
13
+ }
14
+ }, v = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(n, k);
15
+ v((t = t.apply(a, e)).next());
16
+ });
17
+ import { a as ae, $ as ie, S as re, i as se, f as L, c as le, s as ne, b as oe, e as R, d as q, t as j, g as C, k as F, l as p, n as H, o as A, p as T, q as ce, u as ue, w as P, m as z, r as de, x as pe, K as D, L as he, a3 as ye, O as fe, y as me } from "./GeneralLogout-CsWa2j6i.js";
18
+ function V(a, e) {
19
+ ae(a, e);
4
20
  }
5
- function me(a) {
6
- ae.set(a);
21
+ function ge(a) {
22
+ ie.set(a);
7
23
  }
8
- const V = {
24
+ const N = {
9
25
  en: {
10
26
  titleRealityCheck: "Reality Check",
11
27
  never: "Never",
@@ -117,27 +133,27 @@ const V = {
117
133
  setFrequency: "Set frequency"
118
134
  }
119
135
  };
120
- function ge(a) {
121
- ne(a, "svelte-z1hv9", '.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerDetailsContent{grid-template-columns:1fr}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}');
136
+ function ve(a) {
137
+ oe(a, "svelte-z1hv9", '.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerDetailsContent{grid-template-columns:1fr}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}');
122
138
  }
123
- function N(a, e, t) {
124
- const i = a.slice();
125
- return i[29] = e[t].value, i[30] = e[t].text, i[32] = t, i;
139
+ function U(a, e, t) {
140
+ const r = a.slice();
141
+ return r[29] = e[t].value, r[30] = e[t].text, r[32] = t, r;
126
142
  }
127
- function ve(a) {
128
- let e, t, i, r, n, k, C, m, g, c, s, b = (
143
+ function ke(a) {
144
+ let e, t, r, i, n, k, v, u, h, c, s, b = (
129
145
  /*$_*/
130
146
  a[4]("titleRealityCheck") + ""
131
- ), u, p, x, h = (
147
+ ), d, y, x, f = (
132
148
  /*realityCheckSuccess*/
133
- a[3] && U(a)
149
+ a[3] && O(a)
134
150
  );
135
151
  return {
136
152
  c() {
137
- h && h.c(), e = q(), t = R("div"), i = P("svg"), r = P("defs"), n = P("style"), k = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), C = P("g"), m = P("g"), g = P("path"), c = q(), s = R("h2"), u = j(b), v(g, "class", "aaa"), v(g, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), v(g, "transform", "translate(15 15) rotate(180)"), v(m, "transform", "translate(20 158)"), v(C, "transform", "translate(-20 -158)"), v(i, "xmlns", "http://www.w3.org/2000/svg"), v(i, "width", "15"), v(i, "height", "15"), v(i, "viewBox", "0 0 15 15"), v(s, "class", "RealityCheckTitleMobile"), v(t, "class", "MenuReturnButton");
153
+ f && f.c(), e = q(), t = R("div"), r = P("svg"), i = P("defs"), n = P("style"), k = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), v = P("g"), u = P("g"), h = P("path"), c = q(), s = R("h2"), d = j(b), C(h, "class", "aaa"), C(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), C(h, "transform", "translate(15 15) rotate(180)"), C(u, "transform", "translate(20 158)"), C(v, "transform", "translate(-20 -158)"), C(r, "xmlns", "http://www.w3.org/2000/svg"), C(r, "width", "15"), C(r, "height", "15"), C(r, "viewBox", "0 0 15 15"), C(s, "class", "RealityCheckTitleMobile"), C(t, "class", "MenuReturnButton");
138
154
  },
139
- m(y, f) {
140
- h && h.m(y, f), F(y, e, f), F(y, t, f), d(t, i), d(i, r), d(r, n), d(n, k), d(i, C), d(C, m), d(m, g), d(t, c), d(t, s), d(s, u), p || (x = [
155
+ m(m, g) {
156
+ f && f.m(m, g), F(m, e, g), F(m, t, g), p(t, r), p(r, i), p(i, n), p(n, k), p(r, v), p(v, u), p(u, h), p(t, c), p(t, s), p(s, d), y || (x = [
141
157
  z(
142
158
  t,
143
159
  "click",
@@ -145,171 +161,171 @@ function ve(a) {
145
161
  a[16]
146
162
  ),
147
163
  z(t, "keydown", null)
148
- ], p = !0);
164
+ ], y = !0);
149
165
  },
150
- p(y, f) {
166
+ p(m, g) {
151
167
  /*realityCheckSuccess*/
152
- y[3] ? h ? h.p(y, f) : (h = U(y), h.c(), h.m(e.parentNode, e)) : h && (h.d(1), h = null), f[0] & /*$_*/
168
+ m[3] ? f ? f.p(m, g) : (f = O(m), f.c(), f.m(e.parentNode, e)) : f && (f.d(1), f = null), g[0] & /*$_*/
153
169
  16 && b !== (b = /*$_*/
154
- y[4]("titleRealityCheck") + "") && H(u, b);
170
+ m[4]("titleRealityCheck") + "") && H(d, b);
155
171
  },
156
- d(y) {
157
- y && (T(e), T(t)), h && h.d(y), p = !1, ue(x);
172
+ d(m) {
173
+ m && (T(e), T(t)), f && f.d(m), y = !1, de(x);
158
174
  }
159
175
  };
160
176
  }
161
- function U(a) {
177
+ function O(a) {
162
178
  let e, t = (
163
179
  /*$_*/
164
180
  a[4]("successMessage") + ""
165
- ), i;
181
+ ), r;
166
182
  return {
167
183
  c() {
168
- e = R("div"), i = j(t), v(e, "class", "successMessageMobile");
184
+ e = R("div"), r = j(t), C(e, "class", "successMessageMobile");
169
185
  },
170
- m(r, n) {
171
- F(r, e, n), d(e, i);
186
+ m(i, n) {
187
+ F(i, e, n), p(e, r);
172
188
  },
173
- p(r, n) {
189
+ p(i, n) {
174
190
  n[0] & /*$_*/
175
191
  16 && t !== (t = /*$_*/
176
- r[4]("successMessage") + "") && H(i, t);
192
+ i[4]("successMessage") + "") && H(r, t);
177
193
  },
178
- d(r) {
179
- r && T(e);
194
+ d(i) {
195
+ i && T(e);
180
196
  }
181
197
  };
182
198
  }
183
- function O(a) {
199
+ function W(a) {
184
200
  let e, t = (
185
201
  /*$_*/
186
202
  a[4]("successMessage") + ""
187
- ), i;
203
+ ), r;
188
204
  return {
189
205
  c() {
190
- e = R("div"), i = j(t), v(e, "class", "successMessage " + /*isMobile*/
206
+ e = R("div"), r = j(t), C(e, "class", "successMessage " + /*isMobile*/
191
207
  (a[5] ? "successMessageMobile" : ""));
192
208
  },
193
- m(r, n) {
194
- F(r, e, n), d(e, i);
209
+ m(i, n) {
210
+ F(i, e, n), p(e, r);
195
211
  },
196
- p(r, n) {
212
+ p(i, n) {
197
213
  n[0] & /*$_*/
198
214
  16 && t !== (t = /*$_*/
199
- r[4]("successMessage") + "") && H(i, t);
215
+ i[4]("successMessage") + "") && H(r, t);
200
216
  },
201
- d(r) {
202
- r && T(e);
217
+ d(i) {
218
+ i && T(e);
203
219
  }
204
220
  };
205
221
  }
206
- function ke(a) {
207
- let e, t, i, r, n = (
222
+ function Ce(a) {
223
+ let e, t, r, i, n = (
208
224
  /*$_*/
209
225
  a[4]("setFrequency") + ""
210
- ), k, C, m, g = A(
226
+ ), k, v, u, h = D(
211
227
  /*realityCheckOptions*/
212
228
  a[6]
213
229
  ), c = [];
214
- for (let s = 0; s < g.length; s += 1)
215
- c[s] = W(N(a, g, s));
230
+ for (let s = 0; s < h.length; s += 1)
231
+ c[s] = E(U(a, h, s));
216
232
  return {
217
233
  c() {
218
234
  e = R("form");
219
235
  for (let s = 0; s < c.length; s += 1)
220
236
  c[s].c();
221
- t = q(), i = R("div"), r = R("button"), k = j(n), v(r, "class", "PlayerRealityCheckButton"), v(i, "class", "BottomButtonsArea " + /*isMobile*/
222
- (a[5] ? "BottomButtonsAreaMobile" : "")), v(e, "class", "customRadio");
237
+ t = q(), r = R("div"), i = R("button"), k = j(n), C(i, "class", "PlayerRealityCheckButton"), C(r, "class", "BottomButtonsArea " + /*isMobile*/
238
+ (a[5] ? "BottomButtonsAreaMobile" : "")), C(e, "class", "customRadio");
223
239
  },
224
240
  m(s, b) {
225
241
  F(s, e, b);
226
- for (let u = 0; u < c.length; u += 1)
227
- c[u] && c[u].m(e, null);
228
- d(e, t), d(e, i), d(i, r), d(r, k), C || (m = z(
229
- r,
242
+ for (let d = 0; d < c.length; d += 1)
243
+ c[d] && c[d].m(e, null);
244
+ p(e, t), p(e, r), p(r, i), p(i, k), v || (u = z(
245
+ i,
230
246
  "click",
231
247
  /*submitRealityCheckValue*/
232
248
  a[7]
233
- ), C = !0);
249
+ ), v = !0);
234
250
  },
235
251
  p(s, b) {
236
252
  if (b[0] & /*realityCheckOptions, realityCheckValue*/
237
253
  68) {
238
- g = A(
254
+ h = D(
239
255
  /*realityCheckOptions*/
240
256
  s[6]
241
257
  );
242
- let u;
243
- for (u = 0; u < g.length; u += 1) {
244
- const p = N(s, g, u);
245
- c[u] ? c[u].p(p, b) : (c[u] = W(p), c[u].c(), c[u].m(e, t));
258
+ let d;
259
+ for (d = 0; d < h.length; d += 1) {
260
+ const y = U(s, h, d);
261
+ c[d] ? c[d].p(y, b) : (c[d] = E(y), c[d].c(), c[d].m(e, t));
246
262
  }
247
- for (; u < c.length; u += 1)
248
- c[u].d(1);
249
- c.length = g.length;
263
+ for (; d < c.length; d += 1)
264
+ c[d].d(1);
265
+ c.length = h.length;
250
266
  }
251
267
  b[0] & /*$_*/
252
268
  16 && n !== (n = /*$_*/
253
269
  s[4]("setFrequency") + "") && H(k, n);
254
270
  },
255
271
  d(s) {
256
- s && T(e), pe(c, s), C = !1, m();
272
+ s && T(e), he(c, s), v = !1, u();
257
273
  }
258
274
  };
259
275
  }
260
- function Ce(a) {
276
+ function be(a) {
261
277
  let e, t = (
262
278
  /*$_*/
263
279
  a[4]("realityCheckLoading") + ""
264
- ), i;
280
+ ), r;
265
281
  return {
266
282
  c() {
267
- e = R("p"), i = j(t);
283
+ e = R("p"), r = j(t);
268
284
  },
269
- m(r, n) {
270
- F(r, e, n), d(e, i);
285
+ m(i, n) {
286
+ F(i, e, n), p(e, r);
271
287
  },
272
- p(r, n) {
288
+ p(i, n) {
273
289
  n[0] & /*$_*/
274
290
  16 && t !== (t = /*$_*/
275
- r[4]("realityCheckLoading") + "") && H(i, t);
291
+ i[4]("realityCheckLoading") + "") && H(r, t);
276
292
  },
277
- d(r) {
278
- r && T(e);
293
+ d(i) {
294
+ i && T(e);
279
295
  }
280
296
  };
281
297
  }
282
- function W(a) {
283
- let e, t, i, r, n = (
298
+ function E(a) {
299
+ let e, t, r, i, n = (
284
300
  /*text*/
285
301
  a[30] + ""
286
- ), k, C, m, g;
287
- return C = he(
302
+ ), k, v, u, h;
303
+ return v = ye(
288
304
  /*$$binding_groups*/
289
305
  a[18][0]
290
306
  ), {
291
307
  c() {
292
- e = R("div"), t = R("input"), i = q(), r = R("label"), k = j(n), v(t, "type", "radio"), v(
308
+ e = R("div"), t = R("input"), r = q(), i = R("label"), k = j(n), C(t, "type", "radio"), C(
293
309
  t,
294
310
  "id",
295
311
  /*value*/
296
312
  a[29]
297
313
  ), t.__value = /*value*/
298
- a[29], ye(t, t.__value), v(
299
- r,
314
+ a[29], fe(t, t.__value), C(
315
+ i,
300
316
  "for",
301
317
  /*value*/
302
318
  a[29]
303
- ), C.p(t);
319
+ ), v.p(t);
304
320
  },
305
321
  m(c, s) {
306
- F(c, e, s), d(e, t), t.checked = t.__value === /*realityCheckValue*/
307
- a[2], d(e, i), d(e, r), d(r, k), m || (g = z(
322
+ F(c, e, s), p(e, t), t.checked = t.__value === /*realityCheckValue*/
323
+ a[2], p(e, r), p(e, i), p(i, k), u || (h = z(
308
324
  t,
309
325
  "change",
310
326
  /*input_change_handler*/
311
327
  a[17]
312
- ), m = !0);
328
+ ), u = !0);
313
329
  },
314
330
  p(c, s) {
315
331
  s[0] & /*realityCheckValue*/
@@ -317,80 +333,80 @@ function W(a) {
317
333
  c[2]);
318
334
  },
319
335
  d(c) {
320
- c && T(e), C.r(), m = !1, g();
336
+ c && T(e), v.r(), u = !1, h();
321
337
  }
322
338
  };
323
339
  }
324
- function be(a) {
325
- let e, t, i, r, n = (
340
+ function we(a) {
341
+ let e, t, r, i, n = (
326
342
  /*$_*/
327
343
  a[4]("titleRealityCheck") + ""
328
- ), k, C, m, g, c = (
344
+ ), k, v, u, h, c = (
329
345
  /*$_*/
330
346
  a[4]("realityCheckText") + ""
331
- ), s, b, u = (
347
+ ), s, b, d = (
332
348
  /*isMobile*/
333
- a[5] && ve(a)
334
- ), p = (
349
+ a[5] && ke(a)
350
+ ), y = (
335
351
  /*realityCheckSuccess*/
336
- a[3] && O(a)
352
+ a[3] && W(a)
337
353
  );
338
- function x(f, M) {
354
+ function x(g, M) {
339
355
  return (
340
356
  /*isLoading*/
341
- f[1] ? Ce : ke
357
+ g[1] ? be : Ce
342
358
  );
343
359
  }
344
- let h = x(a), y = h(a);
360
+ let f = x(a), m = f(a);
345
361
  return {
346
362
  c() {
347
- e = R("div"), u && u.c(), t = q(), p && p.c(), i = q(), r = R("h2"), k = j(n), C = q(), m = R("div"), g = R("p"), s = j(c), b = q(), y.c(), v(r, "class", "RealityCheckTitle " + /*isMobile*/
348
- (a[5] ? "RealityCheckTitleNone" : "")), v(m, "class", "RealityCheckDescription " + /*isMobile*/
349
- (a[5] ? "RealityCheckDescriptionMobile" : "")), v(e, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
363
+ e = R("div"), d && d.c(), t = q(), y && y.c(), r = q(), i = R("h2"), k = j(n), v = q(), u = R("div"), h = R("p"), s = j(c), b = q(), m.c(), C(i, "class", "RealityCheckTitle " + /*isMobile*/
364
+ (a[5] ? "RealityCheckTitleNone" : "")), C(u, "class", "RealityCheckDescription " + /*isMobile*/
365
+ (a[5] ? "RealityCheckDescriptionMobile" : "")), C(e, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
350
366
  (a[5] ? "PlayerRealityCheckWrapperMobile" : ""));
351
367
  },
352
- m(f, M) {
353
- F(f, e, M), u && u.m(e, null), d(e, t), p && p.m(e, null), d(e, i), d(e, r), d(r, k), d(e, C), d(e, m), d(m, g), d(g, s), d(m, b), y.m(m, null), a[19](e);
368
+ m(g, M) {
369
+ F(g, e, M), d && d.m(e, null), p(e, t), y && y.m(e, null), p(e, r), p(e, i), p(i, k), p(e, v), p(e, u), p(u, h), p(h, s), p(u, b), m.m(u, null), a[19](e);
354
370
  },
355
- p(f, M) {
371
+ p(g, M) {
356
372
  /*isMobile*/
357
- f[5] && u.p(f, M), /*realityCheckSuccess*/
358
- f[3] ? p ? p.p(f, M) : (p = O(f), p.c(), p.m(e, i)) : p && (p.d(1), p = null), M[0] & /*$_*/
373
+ g[5] && d.p(g, M), /*realityCheckSuccess*/
374
+ g[3] ? y ? y.p(g, M) : (y = W(g), y.c(), y.m(e, r)) : y && (y.d(1), y = null), M[0] & /*$_*/
359
375
  16 && n !== (n = /*$_*/
360
- f[4]("titleRealityCheck") + "") && H(k, n), M[0] & /*$_*/
376
+ g[4]("titleRealityCheck") + "") && H(k, n), M[0] & /*$_*/
361
377
  16 && c !== (c = /*$_*/
362
- f[4]("realityCheckText") + "") && H(s, c), h === (h = x(f)) && y ? y.p(f, M) : (y.d(1), y = h(f), y && (y.c(), y.m(m, null)));
378
+ g[4]("realityCheckText") + "") && H(s, c), f === (f = x(g)) && m ? m.p(g, M) : (m.d(1), m = f(g), m && (m.c(), m.m(u, null)));
363
379
  },
364
- i: S,
365
- o: S,
366
- d(f) {
367
- f && T(e), u && u.d(), p && p.d(), y.d(), a[19](null);
380
+ i: A,
381
+ o: A,
382
+ d(g) {
383
+ g && T(e), d && d.d(), y && y.d(), m.d(), a[19](null);
368
384
  }
369
385
  };
370
386
  }
371
- function we(a, e, t) {
372
- let i;
373
- oe(a, fe, (l) => t(4, i = l));
374
- let { endpoint: r = "" } = e, { playerid: n = "" } = e, { session: k = "" } = e, { lang: C = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: c = "" } = e, s, b = ce(window.navigator.userAgent) !== "PC", u = !0, p, x = !1, h = [];
375
- const y = () => {
376
- const l = new URL(`${r}/v1/player/${n}/realitycheck`), o = new Headers();
387
+ function Re(a, e, t) {
388
+ let r;
389
+ ce(a, me, (l) => t(4, r = l));
390
+ let { endpoint: i = "" } = e, { playerid: n = "" } = e, { session: k = "" } = e, { lang: v = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: c = "" } = e, s, b = ue(window.navigator.userAgent) !== "PC", d = !0, y, x = !1, f = [];
391
+ const m = () => {
392
+ const l = new URL(`${i}/v1/player/${n}/realitycheck`), o = new Headers();
377
393
  o.append("X-SessionID", k);
378
394
  const _ = { method: "GET", headers: o };
379
395
  fetch(l.href, _).then((w) => w.json()).then(
380
396
  (w) => {
381
- t(2, p = w.UserRealityCheckValue);
397
+ t(2, y = w.UserRealityCheckValue);
382
398
  },
383
399
  (w) => {
384
400
  console.error(w);
385
401
  }
386
402
  );
387
- }, f = () => {
388
- const l = new URL(`${r}/v1/player/${n}/availablerealityvalues`), o = new Headers();
403
+ }, g = () => {
404
+ const l = new URL(`${i}/v1/player/${n}/availablerealityvalues`), o = new Headers();
389
405
  o.append("X-SessionID", k), o.append("accept", "application/json");
390
406
  const _ = { method: "GET", headers: o };
391
407
  fetch(l.href, _).then((w) => w.json()).then(
392
408
  (w) => {
393
- M(w.AvailableRealityCheckValues), t(1, u = !1);
409
+ M(w.AvailableRealityCheckValues), t(1, d = !1);
394
410
  },
395
411
  (w) => {
396
412
  console.error(w);
@@ -398,39 +414,39 @@ function we(a, e, t) {
398
414
  );
399
415
  }, M = (l) => {
400
416
  l.forEach((o) => {
401
- o == 0 ? h.push({
417
+ o == 0 ? f.push({
402
418
  value: o.toString(),
403
- text: i("never")
404
- }) : o < 60 ? h.push({
419
+ text: r("never")
420
+ }) : o < 60 ? f.push({
405
421
  value: o.toString(),
406
- text: o + " " + i("minutes")
407
- }) : o == 60 ? h.push({
422
+ text: o + " " + r("minutes")
423
+ }) : o == 60 ? f.push({
408
424
  value: o.toString(),
409
- text: i("oneHour")
410
- }) : o > 60 && h.push({
425
+ text: r("oneHour")
426
+ }) : o > 60 && f.push({
411
427
  value: o.toString(),
412
- text: o / 60 + " " + i("hours")
428
+ text: o / 60 + " " + r("hours")
413
429
  });
414
430
  });
415
- }, E = async () => {
416
- const l = new URL(`${r}/v1/player/${n}/realitycheck`), o = new Headers();
417
- o.append("X-SessionID", k), o.append("Content-Type", "application/json"), o.append("Accept", "application/json"), o.append("realityCheckValue", `${parseInt(p, 10)}`);
431
+ }, I = () => S(this, null, function* () {
432
+ const l = new URL(`${i}/v1/player/${n}/realitycheck`), o = new Headers();
433
+ o.append("X-SessionID", k), o.append("Content-Type", "application/json"), o.append("Accept", "application/json"), o.append("realityCheckValue", `${parseInt(y, 10)}`);
418
434
  const _ = { method: "POST", headers: o };
419
- return await fetch(l.href, _).then(
435
+ return yield fetch(l.href, _).then(
420
436
  (w) => w.status == 200,
421
437
  (w) => (console.error(w), !1)
422
438
  );
423
- }, I = (l) => {
424
- l.preventDefault(), E().then((o) => {
425
- o && (X(), y());
439
+ }), X = (l) => {
440
+ l.preventDefault(), I().then((o) => {
441
+ o && (G(), m());
426
442
  });
427
- }, X = () => {
443
+ }, G = () => {
428
444
  window.postMessage(
429
445
  {
430
446
  type: "WidgetNotification",
431
447
  data: {
432
448
  type: "success",
433
- message: i("realityCheckSuccess")
449
+ message: r("realityCheckSuccess")
434
450
  }
435
451
  },
436
452
  window.location.href
@@ -443,25 +459,25 @@ function we(a, e, t) {
443
459
  },
444
460
  window.location.href
445
461
  );
446
- }, G = () => {
447
- me(C);
448
462
  }, Y = () => {
463
+ ge(v);
464
+ }, J = () => {
449
465
  fetch(c).then((o) => o.json()).then((o) => {
450
466
  Object.keys(o).forEach((_) => {
451
- D(_, o[_]);
467
+ V(_, o[_]);
452
468
  });
453
469
  }).catch((o) => {
454
470
  console.log(o);
455
471
  });
456
472
  };
457
- Object.keys(V).forEach((l) => {
458
- D(l, V[l]);
473
+ Object.keys(N).forEach((l) => {
474
+ V(l, N[l]);
459
475
  });
460
- const J = () => {
476
+ const K = () => {
461
477
  let l = document.createElement("style");
462
- l.innerHTML = m, s.appendChild(l);
463
- }, K = () => {
464
- let l = new URL(g), o = document.createElement("style");
478
+ l.innerHTML = u, s.appendChild(l);
479
+ }, Z = () => {
480
+ let l = new URL(h), o = document.createElement("style");
465
481
  fetch(l.href).then((_) => _.text()).then((_) => {
466
482
  o.innerHTML = _, setTimeout(
467
483
  () => {
@@ -470,56 +486,56 @@ function we(a, e, t) {
470
486
  1
471
487
  );
472
488
  });
473
- }, Z = [[]], Q = () => B();
474
- function $() {
475
- p = this.__value, t(2, p);
489
+ }, Q = [[]], $ = () => B();
490
+ function ee() {
491
+ y = this.__value, t(2, y);
476
492
  }
477
- function ee(l) {
478
- de[l ? "unshift" : "push"](() => {
493
+ function te(l) {
494
+ pe[l ? "unshift" : "push"](() => {
479
495
  s = l, t(0, s);
480
496
  });
481
497
  }
482
498
  return a.$$set = (l) => {
483
- "endpoint" in l && t(9, r = l.endpoint), "playerid" in l && t(10, n = l.playerid), "session" in l && t(11, k = l.session), "lang" in l && t(12, C = l.lang), "clientstyling" in l && t(13, m = l.clientstyling), "clientstylingurl" in l && t(14, g = l.clientstylingurl), "translationurl" in l && t(15, c = l.translationurl);
499
+ "endpoint" in l && t(9, i = l.endpoint), "playerid" in l && t(10, n = l.playerid), "session" in l && t(11, k = l.session), "lang" in l && t(12, v = l.lang), "clientstyling" in l && t(13, u = l.clientstyling), "clientstylingurl" in l && t(14, h = l.clientstylingurl), "translationurl" in l && t(15, c = l.translationurl);
484
500
  }, a.$$.update = () => {
485
501
  a.$$.dirty[0] & /*lang*/
486
- 4096 && C && G(), a.$$.dirty[0] & /*endpoint, playerid, session*/
487
- 3584 && r && n && k && y(), a.$$.dirty[0] & /*endpoint, playerid, session*/
488
- 3584 && r && n && k && f(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
489
- 16385 && g && s && K(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
490
- 8193 && m && s && J(), a.$$.dirty[0] & /*translationurl*/
491
- 32768 && c && Y();
502
+ 4096 && v && Y(), a.$$.dirty[0] & /*endpoint, playerid, session*/
503
+ 3584 && i && n && k && m(), a.$$.dirty[0] & /*endpoint, playerid, session*/
504
+ 3584 && i && n && k && g(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
505
+ 16385 && h && s && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
+ 8193 && u && s && K(), a.$$.dirty[0] & /*translationurl*/
507
+ 32768 && c && J();
492
508
  }, [
493
509
  s,
494
- u,
495
- p,
510
+ d,
511
+ y,
496
512
  x,
497
- i,
513
+ r,
498
514
  b,
499
- h,
500
- I,
515
+ f,
516
+ X,
501
517
  B,
502
- r,
518
+ i,
503
519
  n,
504
520
  k,
505
- C,
506
- m,
507
- g,
521
+ v,
522
+ u,
523
+ h,
508
524
  c,
509
- Q,
510
525
  $,
511
- Z,
512
- ee
526
+ ee,
527
+ Q,
528
+ te
513
529
  ];
514
530
  }
515
- class Re extends ie {
531
+ class _e extends re {
516
532
  constructor(e) {
517
- super(), re(
533
+ super(), se(
518
534
  this,
519
535
  e,
536
+ Re,
520
537
  we,
521
- be,
522
- le,
538
+ ne,
523
539
  {
524
540
  endpoint: 9,
525
541
  playerid: 10,
@@ -529,7 +545,7 @@ class Re extends ie {
529
545
  clientstylingurl: 14,
530
546
  translationurl: 15
531
547
  },
532
- ge,
548
+ ve,
533
549
  [-1, -1]
534
550
  );
535
551
  }
@@ -576,7 +592,7 @@ class Re extends ie {
576
592
  this.$$set({ translationurl: e }), L();
577
593
  }
578
594
  }
579
- se(Re, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
595
+ le(_e, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
580
596
  export {
581
- Re as default
597
+ _e as default
582
598
  };