@everymatrix/player-account-controller 1.94.26 → 1.94.28

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 (116) hide show
  1. package/components/{GeneralLogout-C4zscfCx.cjs → GeneralLogout-BFVb3wWj.cjs} +1 -1
  2. package/components/{GeneralLogout-CpE101GN.js → GeneralLogout-DHOR9w8K.js} +1 -1
  3. package/components/{GeneralLogout-CXb7OdeA.js → GeneralLogout-DV9OjLlf.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-BEC5Dbk4.cjs → PlayerAccountBettingHistory-CV_NwDUW.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-D2UOjGmQ.js → PlayerAccountBettingHistory-D8y9bsr9.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-DdxkAioI.js → PlayerAccountBettingHistory-l46vpI8x.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-BoITt8OK.js → PlayerAccountBiometrics-C-_u2o9x.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-CkHgmfP_.cjs → PlayerAccountBiometrics-DxCfULWf.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-DufGqDU4.js → PlayerAccountBiometrics-rkMK1luo.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-Dpgb3qw8.js → PlayerAccountBiometricsAction-B1To1M7_.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-B5FkZd-r.js → PlayerAccountBiometricsAction-CLLcznc0.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-CrfbCZc0.cjs → PlayerAccountBiometricsAction-DcVbficW.cjs} +1 -1
  13. package/components/{PlayerAccountClosure-BkZo4ds8.js → PlayerAccountClosure-9BJJUw4y.js} +1 -1
  14. package/components/{PlayerAccountClosure-CTVdrvUs.cjs → PlayerAccountClosure-BCEQObeh.cjs} +1 -1
  15. package/components/{PlayerAccountClosure-Rn4rUpUm.js → PlayerAccountClosure-C0gcRjPs.js} +1 -1
  16. package/components/{PlayerAccountController-DgE57QwT.js → PlayerAccountController-CSOHDfL1.js} +23 -23
  17. package/components/{PlayerAccountController-CO8cZYgr.js → PlayerAccountController-CrPbCiX4.js} +23 -23
  18. package/components/{PlayerAccountController-BBk-9TOg.cjs → PlayerAccountController-DXH2r3ql.cjs} +2 -2
  19. package/components/{PlayerAccountGamingLimits-CxpBIVY6.js → PlayerAccountGamingLimits-Bfayv_fx.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-V927kAz2.js → PlayerAccountGamingLimits-CH4Z_SZ-.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-B-5nWzRS.cjs → PlayerAccountGamingLimits-D96Wli1p.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-BveODcSU.js → PlayerAccountGamingLimitsConfirmationModal-64TbUlzT.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-CJgeqRLo.cjs → PlayerAccountGamingLimitsConfirmationModal-C830PkGa.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-CG7r6PIK.js → PlayerAccountGamingLimitsConfirmationModal-DZOxNLNk.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-Cyu-XItn.cjs → PlayerAccountGamingLimitsGroupEdit-7SDrgQLG.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-DXbMOl6-.js → PlayerAccountGamingLimitsGroupEdit-Bn0WvKaI.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-vujLn0t-.js → PlayerAccountGamingLimitsGroupEdit-DG_zT_Z_.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-C1J6OpLl.js → PlayerAccountGamingLimitsHistory2-C7gojxsf.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-C6HksI_l.cjs → PlayerAccountGamingLimitsHistory2-CKSlKu2J.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-ch2erx5S.js → PlayerAccountGamingLimitsHistory2-COuVH161.js} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-C-DFY5Ok.cjs → PlayerAccountGamingLimitsInfoCard-BhSRpJTL.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsInfoCard-C17cmXa_.js → PlayerAccountGamingLimitsInfoCard-CMCH0U3J.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-g7I5qkLj.js → PlayerAccountGamingLimitsInfoCard-MNGZdBDT.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-5DbisV99.js → PlayerAccountGamingLimitsPage2Gm16-BYwOQVie.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-BD2PAPr7.cjs → PlayerAccountGamingLimitsPage2Gm16-Efl3TDTg.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-vkWd1ihI.js → PlayerAccountGamingLimitsPage2Gm16-w1veWq9G.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-7JDTXTtQ.js → PlayerAccountGamingLimitsPopup-BoULPDN6.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-CBrl659u.js → PlayerAccountGamingLimitsPopup-BsbREu0h.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-CvgPjhi-.cjs → PlayerAccountGamingLimitsPopup-Ce_28LKV.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-jQr15q3J.js → PlayerAccountGamingLimitsWrapper2-B_hVmWhf.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-DWD-0F-D.js → PlayerAccountGamingLimitsWrapper2-Bgyb9Jhz.js} +3 -3
  42. package/components/{PlayerAccountGamingLimitsWrapper2-Bm2vuvTx.cjs → PlayerAccountGamingLimitsWrapper2-DG8b-IVT.cjs} +1 -1
  43. package/components/{PlayerAccountGeneralConfirmationModal-B_cFWoG1.cjs → PlayerAccountGeneralConfirmationModal-0Ow5pxhh.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-D7km7Zog.js → PlayerAccountGeneralConfirmationModal-Biw9FEZO.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-Bnwi7Hps.js → PlayerAccountGeneralConfirmationModal-Dx8dTnsN.js} +1 -1
  46. package/components/{PlayerAccountMenu-D-jM_PCb.js → PlayerAccountMenu-BHVN00Hp.js} +2 -2
  47. package/components/{PlayerAccountMenu-7UYVqYH-.js → PlayerAccountMenu-C2Ezvoz_.js} +2 -2
  48. package/components/{PlayerAccountMenu-CBhFGN5v.cjs → PlayerAccountMenu-deILI02P.cjs} +1 -1
  49. package/components/{PlayerAccountModal-InDwj5CZ.js → PlayerAccountModal-B9mBmadl.js} +1 -1
  50. package/components/{PlayerAccountModal-BQZExMfG.cjs → PlayerAccountModal-DPSatH1F.cjs} +1 -1
  51. package/components/{PlayerAccountModal-BxFPmZIg.js → PlayerAccountModal-Dad4GVfU.js} +1 -1
  52. package/components/{PlayerAccountNotifications-C7bklpfG.cjs → PlayerAccountNotifications-B4X33GVn.cjs} +1 -1
  53. package/components/{PlayerAccountNotifications-kDZBI187.js → PlayerAccountNotifications-B8CdKh__.js} +1 -1
  54. package/components/{PlayerAccountNotifications-BKQa6iL8.js → PlayerAccountNotifications-CBY3KNYJ.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-DbEkMKO3.js → PlayerAccountProductRestriction-B3Cn-WDe.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-CFIjlnOX.js → PlayerAccountProductRestriction-CPU4xLgm.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-B2pinL7l.cjs → PlayerAccountProductRestriction-RhYK0xjV.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-DjERKwb7.js → PlayerAccountReviewFrequency-BqnLnzof.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-BYWEOhzw.js → PlayerAccountReviewFrequency-CeBQ_NDS.js} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-DMwFO_R2.cjs → PlayerAccountReviewFrequency-T8UuOdaF.cjs} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-BM_tkQy1.js → PlayerAccountSelfExclusion-B0NTFqD4.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-Byk2bLi5.js → PlayerAccountSelfExclusion-BcbpJMR3.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-CMk-HM8u.cjs → PlayerAccountSelfExclusion-CvTwYyt0.cjs} +1 -1
  64. package/components/{PlayerAccountTimeout-BKqM9z9S.cjs → PlayerAccountTimeout-B4aNgv8R.cjs} +2 -2
  65. package/components/{PlayerAccountTimeout-CvNSJCuP.js → PlayerAccountTimeout-CJssCDD8.js} +3 -3
  66. package/components/{PlayerAccountTimeout-B52QzMyN.js → PlayerAccountTimeout-Co9WBjqw.js} +3 -3
  67. package/components/{PlayerAccountTransactionsHistory-DfYoqbPR.js → PlayerAccountTransactionsHistory-B3P50G4d.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-Ct9bbtaS.js → PlayerAccountTransactionsHistory-B_B1O6lk.js} +4 -4
  69. package/components/{PlayerAccountTransactionsHistory-vlF8HWQr.cjs → PlayerAccountTransactionsHistory-DjirboOY.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-C5pOksPm.js → PlayerActiveBonuses-BzjqOm2E.js} +2 -2
  71. package/components/{PlayerActiveBonuses-DYEcrFhQ.js → PlayerActiveBonuses-D0kgukX6.js} +2 -2
  72. package/components/{PlayerActiveBonuses-iTkyXHsD.cjs → PlayerActiveBonuses-lM_wZChL.cjs} +1 -1
  73. package/components/{PlayerBonusCard-DgHQKXJE.cjs → PlayerBonusCard-CNmB_5sK.cjs} +1 -1
  74. package/components/{PlayerBonusCard-Bggf2jM-.js → PlayerBonusCard-j1Ks9iww.js} +2 -2
  75. package/components/{PlayerBonusCard-CVByVySk.js → PlayerBonusCard-ztUxqyX7.js} +2 -2
  76. package/components/{PlayerBonusHistory-Cvq_m9mr.cjs → PlayerBonusHistory-B0wQpvD6.cjs} +1 -1
  77. package/components/{PlayerBonusHistory-A1LztGVe.js → PlayerBonusHistory-BV0p8FJB.js} +2 -2
  78. package/components/{PlayerBonusHistory-vvCROk6P.js → PlayerBonusHistory-DUGWQ0Vm.js} +2 -2
  79. package/components/{PlayerChangePassword-Ck2ADweJ.cjs → PlayerChangePassword-DbaQzSfI.cjs} +1 -1
  80. package/components/{PlayerChangePassword-DfLb_jZA.js → PlayerChangePassword-Dz9_jTvS.js} +1 -1
  81. package/components/{PlayerChangePassword-BpW3ZGPE.js → PlayerChangePassword-QwKZR2N3.js} +1 -1
  82. package/components/{PlayerDeposit-HbzBoc73.js → PlayerDeposit-D1UQtmKj.js} +1 -1
  83. package/components/{PlayerDeposit-CCzkiEdB.cjs → PlayerDeposit-DN6kN01y.cjs} +1 -1
  84. package/components/{PlayerDeposit-CpU80gtj.js → PlayerDeposit-v91D54Ed.js} +1 -1
  85. package/components/{PlayerGamingHistory-DpSeY1cI.js → PlayerGamingHistory-6EXt5gic.js} +3 -3
  86. package/components/{PlayerGamingHistory-D7i_K4mx.js → PlayerGamingHistory-Bp2RN37F.js} +3 -3
  87. package/components/{PlayerGamingHistory-C-1-WJwY.cjs → PlayerGamingHistory-CaeEjYVd.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-BubG3Pn4.cjs → PlayerPendingWithdrawals-Boe2o7y6.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-C9gR_Y0d.js → PlayerPendingWithdrawals-DNyukUkp.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-BwdyTHVG.js → PlayerPendingWithdrawals-ULlRd2xK.js} +1 -1
  91. package/components/{PlayerProfileInfo-DerxJF3S.js → PlayerProfileInfo-0bSBuf2S.js} +3 -3
  92. package/components/{PlayerProfileInfo-DNlp4qra.cjs → PlayerProfileInfo-DazL2zAt.cjs} +1 -1
  93. package/components/{PlayerProfileInfo-C5By7H5W.js → PlayerProfileInfo-ixxu3QKj.js} +3 -3
  94. package/components/{PlayerRealityCheck-CQS6Dta8.js → PlayerRealityCheck-CGQqUhGB.js} +1 -1
  95. package/components/{PlayerRealityCheck-1wRbKOda.js → PlayerRealityCheck-CjRqA9yH.js} +1 -1
  96. package/components/{PlayerRealityCheck-DrzWTJ0l.cjs → PlayerRealityCheck-DWiI3x0p.cjs} +1 -1
  97. package/components/{PlayerTransactionHistory-DSCZ7OVe.js → PlayerTransactionHistory-BX6tGsNe.js} +1 -1
  98. package/components/{PlayerTransactionHistory-BIxhXd3Y.js → PlayerTransactionHistory-C9Hk_Fki.js} +1 -1
  99. package/components/{PlayerTransactionHistory-DlRKQ_LH.cjs → PlayerTransactionHistory-CIXbZYC0.cjs} +1 -1
  100. package/components/{PlayerWithdrawal-B8PG-Cig.js → PlayerWithdrawal-Df2KwQdP.js} +1 -1
  101. package/components/{PlayerWithdrawal-B5lYxcpO.cjs → PlayerWithdrawal-Dt9hF3TL.cjs} +1 -1
  102. package/components/{PlayerWithdrawal-zFpUyw_q.js → PlayerWithdrawal-mG02wrsB.js} +1 -1
  103. package/components/{QrSessionGenerator-ChEh7Qwb.js → QrSessionGenerator-CJM6TIuB.js} +1 -1
  104. package/components/{QrSessionGenerator-BeNaNuyX.cjs → QrSessionGenerator-CsBGsqXR.cjs} +1 -1
  105. package/components/{QrSessionGenerator-DuxpFDzg.js → QrSessionGenerator-DwmJ6V57.js} +1 -1
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/stencil/{index-9c0f6c58-CeHgKkkN.js → index-9c0f6c58-CPGvOhwM.js} +1 -1
  111. package/stencil/{index-9c0f6c58-DGo4u6sZ.js → index-9c0f6c58-CZJp9Ksm.js} +1 -1
  112. package/stencil/{index-9c0f6c58-CLDl-isE.cjs → index-9c0f6c58-Cl0TcV5w.cjs} +1 -1
  113. package/stencil/{player-kyc-verification-Cm-zE62-.js → player-kyc-verification-CvBWt2j6.js} +145 -136
  114. package/stencil/player-kyc-verification-NcanG7Cb.cjs +210 -0
  115. package/stencil/{player-kyc-verification-ByWsZG6l.js → player-kyc-verification-fcpUfHN5.js} +139 -130
  116. package/stencil/player-kyc-verification-9Ic-jm7L.cjs +0 -210
@@ -1,30 +1,30 @@
1
- var m = (e, i, o) => new Promise((n, a) => {
1
+ var m = (e, t, o) => new Promise((i, a) => {
2
2
  var r = (c) => {
3
3
  try {
4
4
  d(o.next(c));
5
- } catch (f) {
6
- a(f);
5
+ } catch (u) {
6
+ a(u);
7
7
  }
8
- }, l = (c) => {
8
+ }, s = (c) => {
9
9
  try {
10
10
  d(o.throw(c));
11
- } catch (f) {
12
- a(f);
11
+ } catch (u) {
12
+ a(u);
13
13
  }
14
- }, d = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(r, l);
15
- d((o = o.apply(e, i)).next());
14
+ }, d = (c) => c.done ? i(c.value) : Promise.resolve(c.value).then(r, s);
15
+ d((o = o.apply(e, t)).next());
16
16
  });
17
- import { b as S, p as x, r as b, h as t, F as v } from "./index-9c0f6c58-DGo4u6sZ.js";
17
+ import { b as S, p as b, r as x, h as n, F as v } from "./index-9c0f6c58-CZJp9Ksm.js";
18
18
  import { a as P } from "./app-globals-0f993ce5-XUXOuUQl.js";
19
19
  var D = () => {
20
- const e = import.meta.url, i = {};
21
- return e !== "" && (i.resourcesUrl = new URL(".", e).href), x(i);
20
+ const e = import.meta.url, t = {};
21
+ return e !== "" && (t.resourcesUrl = new URL(".", e).href), b(t);
22
22
  };
23
23
  D().then((e) => m(void 0, null, function* () {
24
- return yield P(), S([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], hideKycDescription: [1, "hide-kyc-description"], verificationType: [32], hasAllDocumentsUploaded: [32], verificationsGeneralStatus: [32], isLoading: [32], isKYCLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32], isDataLoading: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e);
24
+ return yield P(), S([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], hideKycDescription: [1, "hide-kyc-description"], overridableTypesStr: [1, "overridable-types-str"], verificationType: [32], hasAllDocumentsUploaded: [32], verificationsGeneralStatus: [32], isLoading: [32], isKYCLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32], isDataLoading: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e);
25
25
  }));
26
26
  const I = "en";
27
- let p = {
27
+ let h = {
28
28
  en: {
29
29
  loading: "Loading, please wait ...",
30
30
  noVerificationRequired: "There is no verification required for your account at this moment.",
@@ -612,68 +612,68 @@ let p = {
612
612
  Voucher: "Voucher"
613
613
  }
614
614
  };
615
- const C = (e) => new Promise((i) => {
615
+ const w = (e) => new Promise((t) => {
616
616
  fetch(e).then((o) => o.json()).then((o) => {
617
- Object.keys(o).forEach((n) => {
618
- p[n] || (p[n] = {});
619
- for (let a in o[n])
620
- p[n][a] = o[n][a];
621
- }), i(!0);
617
+ Object.keys(o).forEach((i) => {
618
+ h[i] || (h[i] = {});
619
+ for (let a in o[i])
620
+ h[i][a] = o[i][a];
621
+ }), t(!0);
622
622
  });
623
- }), s = (e, i, o) => {
624
- const n = i;
625
- return p[n !== void 0 && n in p ? n : I][e];
626
- }, O = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), u = "__WIDGET_GLOBAL_STYLE_CACHE__";
627
- function w(e, i) {
623
+ }), l = (e, t, o) => {
624
+ const i = t;
625
+ return h[i !== void 0 && i in h ? i : I][e];
626
+ }, O = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), p = "__WIDGET_GLOBAL_STYLE_CACHE__";
627
+ function C(e, t) {
628
628
  if (e) {
629
629
  const o = document.createElement("style");
630
- o.innerHTML = i, e.appendChild(o);
630
+ o.innerHTML = t, e.appendChild(o);
631
631
  }
632
632
  }
633
- function k(e, i) {
634
- if (!e || !i)
633
+ function k(e, t) {
634
+ if (!e || !t)
635
635
  return;
636
- const o = new URL(i);
637
- fetch(o.href).then((n) => n.text()).then((n) => {
636
+ const o = new URL(t);
637
+ fetch(o.href).then((i) => i.text()).then((i) => {
638
638
  const a = document.createElement("style");
639
- a.innerHTML = n, e && e.appendChild(a);
640
- }).catch((n) => {
641
- console.error("There was an error while trying to load client styling from URL", n);
639
+ a.innerHTML = i, e && e.appendChild(a);
640
+ }).catch((i) => {
641
+ console.error("There was an error while trying to load client styling from URL", i);
642
642
  });
643
643
  }
644
- function B(e, i, o, n = !1) {
644
+ function B(e, t, o, i = !1) {
645
645
  if (!window.emMessageBus)
646
646
  return;
647
- if (!("adoptedStyleSheets" in Document.prototype) || !n)
648
- return o = F(e, i), o;
649
- window[u] || (window[u] = {}), o = L(e, i);
650
- const r = o.unsubscribe.bind(o), l = () => {
651
- if (window[u][i]) {
652
- const d = window[u][i];
653
- d.refCount > 1 ? d.refCount = d.refCount - 1 : delete window[u][i];
647
+ if (!("adoptedStyleSheets" in Document.prototype) || !i)
648
+ return o = F(e, t), o;
649
+ window[p] || (window[p] = {}), o = L(e, t);
650
+ const r = o.unsubscribe.bind(o), s = () => {
651
+ if (window[p][t]) {
652
+ const d = window[p][t];
653
+ d.refCount > 1 ? d.refCount = d.refCount - 1 : delete window[p][t];
654
654
  }
655
655
  r();
656
656
  };
657
- return o.unsubscribe = l, o;
657
+ return o.unsubscribe = s, o;
658
658
  }
659
- function F(e, i) {
659
+ function F(e, t) {
660
660
  const o = document.createElement("style");
661
- return window.emMessageBus.subscribe(i, (n) => {
662
- e && (o.innerHTML = n, e.appendChild(o));
661
+ return window.emMessageBus.subscribe(t, (i) => {
662
+ e && (o.innerHTML = i, e.appendChild(o));
663
663
  });
664
664
  }
665
- function L(e, i) {
666
- return window.emMessageBus.subscribe(i, (o) => {
665
+ function L(e, t) {
666
+ return window.emMessageBus.subscribe(t, (o) => {
667
667
  if (!e)
668
668
  return;
669
- const n = e.getRootNode(), a = window[u];
670
- let r = a[i] && a[i].sheet;
671
- r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(o), a[i] = {
669
+ const i = e.getRootNode(), a = window[p];
670
+ let r = a[t] && a[t].sheet;
671
+ r ? a[t].refCount = a[t].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(o), a[t] = {
672
672
  sheet: r,
673
673
  refCount: 1
674
674
  });
675
- const l = n.adoptedStyleSheets || [];
676
- l.includes(r) || (n.adoptedStyleSheets = [...l, r]);
675
+ const s = i.adoptedStyleSheets || [];
676
+ s.includes(r) || (i.adoptedStyleSheets = [...s, r]);
677
677
  });
678
678
  }
679
679
  const A = `:host {
@@ -887,10 +887,10 @@ button, select {
887
887
  }
888
888
  }`, U = A, V = class {
889
889
  constructor(e) {
890
- b(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = O(this.userAgent), this.getKYCCustomerStatus = () => {
890
+ x(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = O(this.userAgent), this.getKYCCustomerStatus = () => {
891
891
  try {
892
892
  this.isKYCLoading = !0;
893
- let i = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus?language=${this.language}`);
893
+ let t = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus?language=${this.language}`);
894
894
  const o = {
895
895
  method: "POST",
896
896
  headers: {
@@ -899,29 +899,29 @@ button, select {
899
899
  },
900
900
  body: JSON.stringify({})
901
901
  };
902
- fetch(i.href, o).then((n) => {
903
- if (n.status === 200)
904
- return n.json();
905
- throw new Error("HTTP status " + n.status);
906
- }).then((n) => {
902
+ fetch(t.href, o).then((i) => {
903
+ if (i.status === 200)
904
+ return i.json();
905
+ throw new Error("HTTP status " + i.status);
906
+ }).then((i) => {
907
907
  var a;
908
- this.verificationType = n.verifications, ((a = this.verificationType) === null || a === void 0 ? void 0 : a.length) > 0 && (this.hideKycDescription === "true" && (this.hasAllDocumentsUploaded = this.verificationType.every((r) => {
909
- var l;
908
+ this.verificationType = i.verifications, ((a = this.verificationType) === null || a === void 0 ? void 0 : a.length) > 0 && (this.hideKycDescription === "true" && (this.hasAllDocumentsUploaded = this.verificationType.every((r) => {
909
+ var s;
910
910
  if ((r == null ? void 0 : r.documents.length) !== 0)
911
- return (l = r == null ? void 0 : r.documents) === null || l === void 0 ? void 0 : l.some((d) => d.status === "Uploaded");
911
+ return (s = r == null ? void 0 : r.documents) === null || s === void 0 ? void 0 : s.some((d) => d.status === "Uploaded");
912
912
  })), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType), Array.isArray(this.verificationType) && this.handleVerificationShuftiMessage(this.verificationType)), this.isKYCLoading = !1;
913
- }).catch((n) => {
914
- this.isKYCLoading = !1, console.error(n);
913
+ }).catch((i) => {
914
+ this.isKYCLoading = !1, console.error(i);
915
915
  }).finally(() => {
916
916
  this.isDataLoading = !1;
917
917
  });
918
- } catch (i) {
919
- console.error("Error fetching verification types:", i);
918
+ } catch (t) {
919
+ console.error("Error fetching verification types:", t);
920
920
  }
921
- }, this.handleShuftiMessage = (i) => {
922
- const o = i.data, n = o.event || o.verification_status;
923
- if (n)
924
- switch (n) {
921
+ }, this.handleShuftiMessage = (t) => {
922
+ const o = t.data, i = o.event || o.verification_status;
923
+ if (i)
924
+ switch (i) {
925
925
  case "verification.declined":
926
926
  case "verification.accepted":
927
927
  setTimeout(() => {
@@ -933,120 +933,129 @@ button, select {
933
933
  }
934
934
  }, this.handleToggleScreen = () => {
935
935
  this.toggleScreen(this.isMobile);
936
- }, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = "en", this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.hideKycDescription = "false", this.verificationType = [], this.hasAllDocumentsUploaded = !1, this.verificationsGeneralStatus = void 0, this.isLoading = !1, this.isKYCLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1, this.isDataLoading = !0;
936
+ }, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = "en", this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.hideKycDescription = "false", this.overridableTypesStr = "", this.verificationType = [], this.hasAllDocumentsUploaded = !1, this.verificationsGeneralStatus = void 0, this.isLoading = !1, this.isKYCLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1, this.isDataLoading = !0;
937
937
  }
938
938
  handleNewTranslations() {
939
- this.isLoading = !0, C(this.translationUrl).then(() => {
939
+ this.isLoading = !0, w(this.translationUrl).then(() => {
940
940
  this.isLoading = !1;
941
941
  });
942
942
  }
943
943
  componentWillLoad() {
944
944
  return m(this, null, function* () {
945
- this.translationUrl.length > 2 && (yield C(this.translationUrl));
945
+ this.translationUrl.length > 2 && (yield w(this.translationUrl));
946
946
  });
947
947
  }
948
- handleClientStylingChange(e, i) {
949
- e != i && w(this.stylingContainer, this.clientStyling);
948
+ handleClientStylingChange(e, t) {
949
+ e != t && C(this.stylingContainer, this.clientStyling);
950
950
  }
951
- handleClientStylingUrlChange(e, i) {
952
- e != i && this.clientStylingUrl && k(this.stylingContainer, this.clientStylingUrl);
951
+ handleClientStylingUrlChange(e, t) {
952
+ e != t && this.clientStylingUrl && k(this.stylingContainer, this.clientStylingUrl);
953
953
  }
954
954
  componentDidLoad() {
955
955
  return m(this, null, function* () {
956
- this.stylingContainer && (window.emMessageBus != null ? B(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && w(this.stylingContainer, this.clientStyling), this.clientStylingUrl && k(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0), this.getKYCCustomerStatus();
956
+ this.stylingContainer && (window.emMessageBus != null ? B(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && C(this.stylingContainer, this.clientStyling), this.clientStylingUrl && k(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0), this.getKYCCustomerStatus();
957
957
  });
958
958
  }
959
959
  removeVerificationShuftiMessage() {
960
960
  window.removeEventListener("message", this.handleShuftiMessage);
961
961
  }
962
962
  handleVerificationShuftiMessage(e) {
963
- const i = e.find((o) => {
964
- var n;
965
- return o.vendorName === "ShuftiPro" && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.actionNeeded) === !0;
963
+ const t = e.find((o) => {
964
+ var i;
965
+ return o.vendorName === "ShuftiPro" && ((i = o.flowInfo) === null || i === void 0 ? void 0 : i.actionNeeded) === !0;
966
966
  });
967
- this.removeVerificationShuftiMessage(), i && window.addEventListener("message", this.handleShuftiMessage);
967
+ this.removeVerificationShuftiMessage(), t && window.addEventListener("message", this.handleShuftiMessage);
968
968
  }
969
969
  getGeneralVerificationStatus(e) {
970
- const i = e == null ? void 0 : e.map((o) => o.status.toLowerCase());
971
- return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((o) => o === "verified") ? "Verified" : "Unknown";
970
+ if (!Array.isArray(e) || e.length === 0)
971
+ return "Unknown";
972
+ const t = (this.overridableTypesStr || "").split(",").map((i) => i.trim().toLowerCase()).filter((i) => i !== "" && i !== "false"), o = e.map((i) => {
973
+ var a, r;
974
+ const s = ((a = i == null ? void 0 : i.type) === null || a === void 0 ? void 0 : a.toLowerCase()) || "";
975
+ return t.includes(s) && e.some((c) => {
976
+ var u, f;
977
+ return ((u = c == null ? void 0 : c.type) === null || u === void 0 ? void 0 : u.toLowerCase()) === s && ((f = c == null ? void 0 : c.status) === null || f === void 0 ? void 0 : f.toLowerCase()) === "verified";
978
+ }) ? "verified" : ((r = i == null ? void 0 : i.status) === null || r === void 0 ? void 0 : r.toLowerCase()) || "";
979
+ });
980
+ return o.includes("failed") ? "Failed" : o.includes("expired") ? "Expired" : o.includes("inprogress") ? "InProgress" : o.every((i) => i === "verified") ? "Verified" : "Unknown";
972
981
  }
973
982
  disconnectedCallback() {
974
983
  this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.removeVerificationShuftiMessage();
975
984
  }
976
- handleOptionChange(e, i) {
985
+ handleOptionChange(e, t) {
977
986
  const o = e.target;
978
- this.verificationType = this.verificationType.map((n) => (n.type === i && (n.optionChosen = o.value), n));
987
+ this.verificationType = this.verificationType.map((i) => (i.type === t && (i.optionChosen = o.value), i));
979
988
  }
980
- handleDocumentsStatus(e, i, o) {
981
- this.verificationType = this.verificationType.map((n) => {
982
- if (n.type === e) {
983
- const a = n.documents.find((r) => r.code === o);
984
- a && (a.statusUploaded = i);
989
+ handleDocumentsStatus(e, t, o) {
990
+ this.verificationType = this.verificationType.map((i) => {
991
+ if (i.type === e) {
992
+ const a = i.documents.find((r) => r.code === o);
993
+ a && (a.statusUploaded = t);
985
994
  }
986
- return n;
995
+ return i;
987
996
  });
988
997
  }
989
998
  downloadPDF(e) {
990
- const i = document.createElement("a");
991
- i.href = e, i.download = "file.pdf", i.target = "_blank", i.dispatchEvent(new MouseEvent("click"));
999
+ const t = document.createElement("a");
1000
+ t.href = e, t.download = "file.pdf", t.target = "_blank", t.dispatchEvent(new MouseEvent("click"));
992
1001
  }
993
- toggleVerificationType(e, i) {
1002
+ toggleVerificationType(e, t) {
994
1003
  this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((o) => {
995
- var n;
996
- return o.type === e && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.type) == i && (o.expanded = !o.expanded), o;
1004
+ var i;
1005
+ return o.type === e && ((i = o.flowInfo) === null || i === void 0 ? void 0 : i.type) == t && (o.expanded = !o.expanded), o;
997
1006
  });
998
1007
  }
999
1008
  toggleScreen(e) {
1000
1009
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
1001
1010
  }
1002
1011
  checkFileSize(e) {
1003
- let i = 0;
1012
+ let t = 0;
1004
1013
  return Object.keys(e).forEach((o) => {
1005
- i += e[o].size;
1006
- }), i <= this.MAX_UPLOAD_SIZE;
1014
+ t += e[o].size;
1015
+ }), t <= this.MAX_UPLOAD_SIZE;
1007
1016
  }
1008
- handleFileSelection(e, i, o) {
1017
+ handleFileSelection(e, t, o) {
1009
1018
  if (e && e.length > 0)
1010
1019
  if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
1011
- console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), this.uploadSizeExceeded = !0;
1020
+ console.error(l("fileSizeExceeded", this.language)), this.uploadingStatus = l("fileSizeExceeded", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t), this.uploadSizeExceeded = !0;
1012
1021
  else {
1013
- const n = {
1022
+ const i = {
1014
1023
  method: "POST",
1015
1024
  headers: {
1016
1025
  "Content-Type": "application/json",
1017
1026
  "X-SessionId": this.session
1018
1027
  },
1019
- body: JSON.stringify({ DocumentCode: i })
1028
+ body: JSON.stringify({ DocumentCode: t })
1020
1029
  };
1021
- fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, n).then((a) => {
1030
+ fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, i).then((a) => {
1022
1031
  if (a.ok)
1023
- return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), a.json();
1032
+ return this.uploadingStatus = l("uploading", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t), a.json();
1024
1033
  }).then((a) => {
1025
1034
  if (a.ResponseCode == "Success") {
1026
1035
  const r = new FormData();
1027
- r.append(i, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((l) => {
1028
- l.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), console.error("File upload error:", l.status));
1029
- }).catch((l) => {
1030
- console.error("File upload error:", l);
1036
+ r.append(t, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((s) => {
1037
+ s.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = l("successUploadMultipleFiles", this.language) : this.uploadingStatus = l("successUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t)) : (this.uploadingStatus = l("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t), console.error("File upload error:", s.status));
1038
+ }).catch((s) => {
1039
+ console.error("File upload error:", s);
1031
1040
  });
1032
1041
  } else
1033
- this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i);
1042
+ this.uploadingStatus = l("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t);
1034
1043
  }).catch((a) => {
1035
1044
  console.error("File upload error:", a);
1036
1045
  });
1037
1046
  }
1038
1047
  }
1039
1048
  importScript(e) {
1040
- return new Promise((i, o) => {
1041
- fetch(e).then((n) => n.text()).then((n) => {
1042
- if (new Function(n)(), this.scriptInjected)
1043
- i(!0);
1049
+ return new Promise((t, o) => {
1050
+ fetch(e).then((i) => i.text()).then((i) => {
1051
+ if (new Function(i)(), this.scriptInjected)
1052
+ t(!0);
1044
1053
  else {
1045
1054
  const r = document.createElement("script");
1046
- r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, i(!0);
1055
+ r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, t(!0);
1047
1056
  }
1048
- }).catch((n) => {
1049
- o(n);
1057
+ }).catch((i) => {
1058
+ o(i);
1050
1059
  });
1051
1060
  });
1052
1061
  }
@@ -1054,49 +1063,49 @@ button, select {
1054
1063
  return !!(e && e.status === "Uploaded");
1055
1064
  }
1056
1065
  getFirstRequestedDocument(e) {
1057
- var i, o;
1058
- let n;
1059
- return (i = e == null ? void 0 : e.documents) === null || i === void 0 || i.forEach((a) => {
1060
- a.status == "Requested" && (n = n != null ? n : a.code);
1061
- }), n || (n = (o = e == null ? void 0 : e.documents[0]) === null || o === void 0 ? void 0 : o.code), n;
1066
+ var t, o;
1067
+ let i;
1068
+ return (t = e == null ? void 0 : e.documents) === null || t === void 0 || t.forEach((a) => {
1069
+ a.status == "Requested" && (i = i != null ? i : a.code);
1070
+ }), i || (i = (o = e == null ? void 0 : e.documents[0]) === null || o === void 0 ? void 0 : o.code), i;
1062
1071
  }
1063
1072
  renderVerificationTypeBox(e) {
1064
1073
  this.expandedOnDesktop && (e.expanded = !0);
1065
- let i = this.getFirstRequestedDocument(e), o = e.expanded, n = e.type.trim(), a = e.optionChosen || i, r = e.status, l = e.documents, d = e.flowInfo;
1066
- const f = e.vendorName === "ShuftiPro" && r !== "InProgress", h = r === "Verified", y = r === "Failed" || r === "Expired";
1067
- return h && n === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" || f ? null : t("div", { class: `verification-box ${o ? "expanded" : ""} ${y ? "failed" : ""} ${h ? "success" : ""}` }, t("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
1074
+ let t = this.getFirstRequestedDocument(e), o = e.expanded, i = e.type.trim(), a = e.optionChosen || t, r = e.status, s = e.documents, d = e.flowInfo;
1075
+ const u = e.vendorName === "ShuftiPro" && r !== "InProgress", f = r === "Verified", y = r === "Failed" || r === "Expired";
1076
+ return f && i === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" || u ? null : n("div", { class: `verification-box ${o ? "expanded" : ""} ${y ? "failed" : ""} ${f ? "success" : ""}` }, n("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
1068
1077
  var g;
1069
1078
  return this.toggleVerificationType(e.type, (g = e.flowInfo) === null || g === void 0 ? void 0 : g.type);
1070
- } }, t("div", { class: "box-icon" }, h ? t("div", null, this.verifiedIcon ? t("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), t("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), t("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : y ? t("div", null, this.failedIcon ? t("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), t("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), t("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : t("div", null, this.defaultIcon ? t("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : t("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), t("div", { class: "box-title" }, s(n, this.language)), t("div", { class: "chevron-icon" }, t("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, t("path", { d: o ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), o ? this.renderExpandedContent(e, a, r, l, d, h, y) : t("div", { class: "box box-content" }, t("div", { id: "__avs-wrapper" })));
1079
+ } }, n("div", { class: "box-icon" }, f ? n("div", null, this.verifiedIcon ? n("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : n("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), n("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), n("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : y ? n("div", null, this.failedIcon ? n("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : n("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), n("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), n("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : n("div", null, this.defaultIcon ? n("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : n("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, n("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), n("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), n("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), n("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), n("div", { class: "box-title" }, l(i, this.language)), n("div", { class: "chevron-icon" }, n("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, n("path", { d: o ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), o ? this.renderExpandedContent(e, a, r, s, d, f, y) : n("div", { class: "box box-content" }, n("div", { id: "__avs-wrapper" })));
1071
1080
  }
1072
- renderDocumentsActions(e, i, o) {
1073
- return t("div", null, this.isStatusUploaded(e) ? t("div", { class: "upload-status" }, s("uploaded", this.language)) : e != null && e.statusUploaded ? t("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : t("div", { class: "documents-action" }, t("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? t("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), t("span", null, s("download", this.language))) : null), t("div", { class: "upload-button" }, i ? t("label", null, t("input", { type: "file", accept: "*", onChange: (n) => this.handleFileSelection(n.target.files, i, o.type), style: { display: "none" } }), t("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), t("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
1081
+ renderDocumentsActions(e, t, o) {
1082
+ return n("div", null, this.isStatusUploaded(e) ? n("div", { class: "upload-status" }, l("uploaded", this.language)) : e != null && e.statusUploaded ? n("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : n("div", { class: "documents-action" }, n("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? n("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, n("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, n("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), n("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), n("span", null, l("download", this.language))) : null), n("div", { class: "upload-button" }, t ? n("label", null, n("input", { type: "file", accept: "*", onChange: (i) => this.handleFileSelection(i.target.files, t, o.type), style: { display: "none" } }), n("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), n("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), n("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
1074
1083
  }
1075
- renderExpandedContent(e, i, o, n, a, r, l) {
1084
+ renderExpandedContent(e, t, o, i, a, r, s) {
1076
1085
  if ((a == null ? void 0 : a.type) === "Widget")
1077
- return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1086
+ return n("div", null, n("hr", { style: { margin: "5px" } }), n("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1078
1087
  if ((a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && o !== "Verified") {
1079
1088
  const d = e.vendorName === "ShuftiPro" ? "650px" : "400px";
1080
- return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: d, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1089
+ return n("div", null, n("hr", { style: { margin: "5px" } }), n("iframe", { src: a.url, frameborder: "0", height: d, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1081
1090
  } else
1082
- return t("div", { class: "box box-content" }, t(v, null, r ? t("div", { class: "verification-status" }, s("verificationComplete", this.language)) : l ? t("div", { class: "verification-status" }, o === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : n.length > 0 ? t("div", { class: "documents-dropdown" }, t("select", { class: "nice-select", onChange: (d) => this.handleOptionChange(d, e.type) }, n.map((d) => t("option", { selected: d.code == i, value: d.code }, s(d.type, this.language)))), this.renderDocumentsActions(n.find((d) => d.code === i), i, e)) : null));
1091
+ return n("div", { class: "box box-content" }, n(v, null, r ? n("div", { class: "verification-status" }, l("verificationComplete", this.language)) : s ? n("div", { class: "verification-status" }, o === "Failed" ? l("verificationFailed", this.language) : l("verificationExpired", this.language)) : i.length > 0 ? n("div", { class: "documents-dropdown" }, n("select", { class: "nice-select", onChange: (d) => this.handleOptionChange(d, e.type) }, i.map((d) => n("option", { selected: d.code == t, value: d.code }, l(d.type, this.language)))), this.renderDocumentsActions(i.find((d) => d.code === t), t, e)) : null));
1083
1092
  }
1084
1093
  renderKycDescription() {
1085
1094
  if (this.hideKycDescription === "true")
1086
1095
  switch (this.verificationsGeneralStatus) {
1087
1096
  case "Verified":
1088
- return t("div", { class: "widget-description-verified" }, s("kycVerifiedDescription", this.language));
1097
+ return n("div", { class: "widget-description-verified" }, l("kycVerifiedDescription", this.language));
1089
1098
  case "Failed":
1090
- return t("div", { class: "widget-description-failed" }, s("kycFailedDescription", this.language));
1099
+ return n("div", { class: "widget-description-failed" }, l("kycFailedDescription", this.language));
1091
1100
  default:
1092
1101
  if (this.hasAllDocumentsUploaded)
1093
1102
  return null;
1094
1103
  break;
1095
1104
  }
1096
- return t("div", { class: "widget-description" }, s("kycDescription", this.language));
1105
+ return n("div", { class: "widget-description" }, l("kycDescription", this.language));
1097
1106
  }
1098
1107
  render() {
1099
- return this.isLoading ? t("div", null, t("p", null, s("loading", this.language))) : t("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, t("div", { class: "player-kyc-verification-widget" }, this.isMobile ? t("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, t("defs", null), t("g", { transform: "translate(-20 -158)" }, t("g", { transform: "translate(20 158)" }, t("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), t("h2", null, s("kycTitle", this.language))) : t("h2", null, s("kycTitle", this.language)), this.isDataLoading ? t("div", { class: "loader" }, s("loading", this.language)) : this.verificationType.length === 0 ? t("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : t(v, null, this.renderKycDescription(), t("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
1108
+ return this.isLoading ? n("div", null, n("p", null, l("loading", this.language))) : n("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, n("div", { class: "player-kyc-verification-widget" }, this.isMobile ? n("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, n("defs", null), n("g", { transform: "translate(-20 -158)" }, n("g", { transform: "translate(20 158)" }, n("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), n("h2", null, l("kycTitle", this.language))) : n("h2", null, l("kycTitle", this.language)), this.isDataLoading ? n("div", { class: "loader" }, l("loading", this.language)) : this.verificationType.length === 0 ? n("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, l("noVerificationRequired", this.language)) : n(v, null, this.renderKycDescription(), n("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
1100
1109
  }
1101
1110
  static get watchers() {
1102
1111
  return {