@everymatrix/player-account-controller 1.93.12 → 1.93.14

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-C2y7Y1dE.cjs → GeneralLogout-B9rrlZBb.cjs} +1 -1
  2. package/components/{GeneralLogout-Czvcegs5.js → GeneralLogout-BZM9T7CK.js} +1 -1
  3. package/components/{GeneralLogout-BewfWDIc.js → GeneralLogout-ClBEcRB6.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-CM97TaVJ.js → PlayerAccountBettingHistory-C9I0cckz.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-DLSYtCZp.cjs → PlayerAccountBettingHistory-SYN2syiA.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-s5znvIxt.js → PlayerAccountBettingHistory-pLeLHrem.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-Qoytvaxy.cjs → PlayerAccountBiometrics-CG2q6QaB.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-h-dyAXxg.js → PlayerAccountBiometrics-D0yKw3DT.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-BKYna6WA.js → PlayerAccountBiometrics-axlsVN6-.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-DDXu8QXv.js → PlayerAccountBiometricsAction-BvEpB-Ve.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-BqGYtfNg.js → PlayerAccountBiometricsAction-brm2NhRZ.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-ClGKS2gp.cjs → PlayerAccountBiometricsAction-h41_nJ42.cjs} +1 -1
  13. package/components/{PlayerAccountClosure-BssaJEGB.js → PlayerAccountClosure-BSfN2HY0.js} +1 -1
  14. package/components/{PlayerAccountClosure-PwcGFe0J.js → PlayerAccountClosure-D5qh46xj.js} +1 -1
  15. package/components/{PlayerAccountClosure-BGsdGJU3.cjs → PlayerAccountClosure-Hi-mevLE.cjs} +1 -1
  16. package/components/{PlayerAccountController-DLXlZ6SW.cjs → PlayerAccountController-CJNkxh4N.cjs} +2 -2
  17. package/components/{PlayerAccountController-DsJ74Us2.js → PlayerAccountController-Dt7k430j.js} +23 -23
  18. package/components/{PlayerAccountController-SntRT_hM.js → PlayerAccountController-d7is_o01.js} +23 -23
  19. package/components/{PlayerAccountGamingLimits-CTGgeEPm.js → PlayerAccountGamingLimits-5_dEoJ3H.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-BBI62m2M.js → PlayerAccountGamingLimits-DCE5WW9K.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-_RZx_m5W.cjs → PlayerAccountGamingLimits-jm6wkwMl.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-DFOcuwIh.js → PlayerAccountGamingLimitsConfirmationModal-BpHKNhJW.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-CE01pg7P.cjs → PlayerAccountGamingLimitsConfirmationModal-DX7x8WBJ.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-CKwFrXcz.js → PlayerAccountGamingLimitsConfirmationModal-w0RLRmRy.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-DWC376x3.js → PlayerAccountGamingLimitsGroupEdit-DKP3HIm4.js} +5 -5
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-6y04dYzq.js → PlayerAccountGamingLimitsGroupEdit-S10k2_83.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-CdkRwGIG.cjs → PlayerAccountGamingLimitsGroupEdit-_T49vdI8.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsHistory2-ClfDvYz5.js → PlayerAccountGamingLimitsHistory2--EXiaim5.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-BFKK_PHb.cjs → PlayerAccountGamingLimitsHistory2-BVm79o7F.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-CBEGaMY3.js → PlayerAccountGamingLimitsHistory2-DeXLhjxc.js} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-CYBvAKAo.js → PlayerAccountGamingLimitsInfoCard-BlzyMzu4.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-BhJtrPGf.cjs → PlayerAccountGamingLimitsInfoCard-D8Achbmu.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-DuAQqQMM.js → PlayerAccountGamingLimitsInfoCard-Dk7vH95z.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-C8uCJhKP.js → PlayerAccountGamingLimitsPage2Gm16-189Ky1pH.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-D7tAsvtX.cjs → PlayerAccountGamingLimitsPage2Gm16-B3UOt6IK.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-BYzr5vwa.js → PlayerAccountGamingLimitsPage2Gm16-XQpeKm2S.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-D9_oGqEa.cjs → PlayerAccountGamingLimitsPopup-B6pD_Fp8.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-B_ct-g3T.js → PlayerAccountGamingLimitsPopup-Cjbb7cnA.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-CUDTCM1F.js → PlayerAccountGamingLimitsPopup-D_3rSbne.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-C2zg2CAI.js → PlayerAccountGamingLimitsWrapper2-C9bKEgJY.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-BliP4ItH.cjs → PlayerAccountGamingLimitsWrapper2-CA84rMd3.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2-D2BMF4mt.js → PlayerAccountGamingLimitsWrapper2-DmoKkzfO.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-BtbmIISI.cjs → PlayerAccountGeneralConfirmationModal-Ck11RhIm.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-CqON6ro1.js → PlayerAccountGeneralConfirmationModal-EccEeF9X.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-B_t7QPdS.js → PlayerAccountGeneralConfirmationModal-wAcx5trr.js} +1 -1
  46. package/components/{PlayerAccountMenu-DnRhW9pN.cjs → PlayerAccountMenu-Cjst80Qe.cjs} +1 -1
  47. package/components/{PlayerAccountMenu-D8cVhd2H.js → PlayerAccountMenu-DZ5LXOVn.js} +2 -2
  48. package/components/{PlayerAccountMenu-DQCrC-4R.js → PlayerAccountMenu-K44JQwSs.js} +2 -2
  49. package/components/{PlayerAccountModal-BLW1ybcK.cjs → PlayerAccountModal-4olX5Kg4.cjs} +1 -1
  50. package/components/{PlayerAccountModal-DpJNoelk.js → PlayerAccountModal-CsnFYmGk.js} +1 -1
  51. package/components/{PlayerAccountModal-CeP6yj14.js → PlayerAccountModal-Jf9sHaEz.js} +1 -1
  52. package/components/{PlayerAccountNotifications-CxHtpdNr.js → PlayerAccountNotifications-C9LDblcd.js} +1 -1
  53. package/components/{PlayerAccountNotifications-BFcCZ7Zu.js → PlayerAccountNotifications-CRq07XyH.js} +1 -1
  54. package/components/{PlayerAccountNotifications-DbQdy81X.cjs → PlayerAccountNotifications-yNFnow3R.cjs} +1 -1
  55. package/components/{PlayerAccountProductRestriction-LMRzxRV2.js → PlayerAccountProductRestriction-C_FnATwg.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-CZ7EoRjk.js → PlayerAccountProductRestriction-Dzc7XQeq.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-ktMW-ZvT.cjs → PlayerAccountProductRestriction-U_ELCSO4.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-DlpnpwkB.js → PlayerAccountReviewFrequency-B7_mv50F.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-DnabhObX.cjs → PlayerAccountReviewFrequency-B_s7cERS.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-CfmK1Obu.js → PlayerAccountReviewFrequency-zrmXO601.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-Jb_V4i6_.js → PlayerAccountSelfExclusion-D6Wpm-wg.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-CtIgMC0t.js → PlayerAccountSelfExclusion-Dzst1jKz.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-0v1N8elD.cjs → PlayerAccountSelfExclusion-MNDwvl2_.cjs} +1 -1
  64. package/components/{PlayerAccountTimeout-8fzk_RgK.js → PlayerAccountTimeout-Cg6T52XP.js} +3 -3
  65. package/components/{PlayerAccountTimeout-B_rvinGm.js → PlayerAccountTimeout-DApjUNBI.js} +3 -3
  66. package/components/{PlayerAccountTimeout-PUZUbjl5.cjs → PlayerAccountTimeout-DLvuUsfZ.cjs} +2 -2
  67. package/components/{PlayerAccountTransactionsHistory-D4v46D-9.cjs → PlayerAccountTransactionsHistory-CUiYDPem.cjs} +1 -1
  68. package/components/{PlayerAccountTransactionsHistory-DLu-55uY.js → PlayerAccountTransactionsHistory-CqOvI4_o.js} +4 -4
  69. package/components/{PlayerAccountTransactionsHistory-Cmvap37J.js → PlayerAccountTransactionsHistory-D3GWNpk3.js} +4 -4
  70. package/components/{PlayerActiveBonuses-C1PpUxaU.cjs → PlayerActiveBonuses-BrqMX85I.cjs} +1 -1
  71. package/components/{PlayerActiveBonuses-xqjLxWxj.js → PlayerActiveBonuses-D1rEAHWJ.js} +2 -2
  72. package/components/{PlayerActiveBonuses-DuONPq12.js → PlayerActiveBonuses-DP3VyMW4.js} +2 -2
  73. package/components/{PlayerBonusCard-DjeuOIGK.js → PlayerBonusCard-2nQ-DOjo.js} +2 -2
  74. package/components/{PlayerBonusCard-BPekoz_J.cjs → PlayerBonusCard-CFZ2-iHJ.cjs} +1 -1
  75. package/components/{PlayerBonusCard-Cd4CFOvV.js → PlayerBonusCard-DF3NZjQ1.js} +2 -2
  76. package/components/{PlayerBonusHistory-DgS2gdht.cjs → PlayerBonusHistory-BgurT_zS.cjs} +1 -1
  77. package/components/{PlayerBonusHistory-DU1SycKq.js → PlayerBonusHistory-CV882OhV.js} +2 -2
  78. package/components/{PlayerBonusHistory-D--3LkB0.js → PlayerBonusHistory-Dv04FecI.js} +2 -2
  79. package/components/{PlayerChangePassword-B5XpvV9H.cjs → PlayerChangePassword-9Bi4G6F0.cjs} +1 -1
  80. package/components/{PlayerChangePassword-CLerFf5K.js → PlayerChangePassword-CZeljveX.js} +1 -1
  81. package/components/{PlayerChangePassword-Dl-dCIpW.js → PlayerChangePassword-DyIfE0gZ.js} +1 -1
  82. package/components/{PlayerDeposit-b1W47bGW.cjs → PlayerDeposit-BSvqGLb1.cjs} +1 -1
  83. package/components/{PlayerDeposit-h04Mh6YW.js → PlayerDeposit-Bg3BOgXZ.js} +1 -1
  84. package/components/{PlayerDeposit-B-v03sTE.js → PlayerDeposit-BsWukS1H.js} +1 -1
  85. package/components/{PlayerGamingHistory-Cv8-Rfzo.js → PlayerGamingHistory-C9_YFuw0.js} +3 -3
  86. package/components/{PlayerGamingHistory-DsW9jT5y.cjs → PlayerGamingHistory-LitoJ1mv.cjs} +1 -1
  87. package/components/{PlayerGamingHistory-DmKqCLau.js → PlayerGamingHistory-ZW6KQE6T.js} +3 -3
  88. package/components/{PlayerPendingWithdrawals-DYzXY4hW.cjs → PlayerPendingWithdrawals-BpgyotNS.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-ZAMQ5qqB.js → PlayerPendingWithdrawals-DCv5QaRU.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-Dn8gpaSl.js → PlayerPendingWithdrawals-DDeVMgY-.js} +1 -1
  91. package/components/{PlayerProfileInfo-B7dKfAe_.js → PlayerProfileInfo-ChvBwcan.js} +3 -3
  92. package/components/{PlayerProfileInfo-BEMt39Gt.js → PlayerProfileInfo-Cyr5TTka.js} +3 -3
  93. package/components/{PlayerProfileInfo-DjD4E513.cjs → PlayerProfileInfo-DGhtjitN.cjs} +1 -1
  94. package/components/{PlayerRealityCheck-Bnyc-oHq.cjs → PlayerRealityCheck-CYR8Tp3t.cjs} +1 -1
  95. package/components/{PlayerRealityCheck-B52w0x7t.js → PlayerRealityCheck-fFwCPw4l.js} +1 -1
  96. package/components/{PlayerRealityCheck-Dbzh832i.js → PlayerRealityCheck-wKb5QRPn.js} +1 -1
  97. package/components/{PlayerTransactionHistory-B70UTWWR.js → PlayerTransactionHistory-9l2U7HuU.js} +1 -1
  98. package/components/{PlayerTransactionHistory-D8Jy6PgB.cjs → PlayerTransactionHistory-CYYwIrM0.cjs} +1 -1
  99. package/components/{PlayerTransactionHistory-C81SVMNQ.js → PlayerTransactionHistory-Dpdo2PQx.js} +1 -1
  100. package/components/{PlayerWithdrawal-CJUkIcgA.cjs → PlayerWithdrawal-CWdppILV.cjs} +1 -1
  101. package/components/{PlayerWithdrawal-C3SkDGS_.js → PlayerWithdrawal-Ck82C_c_.js} +1 -1
  102. package/components/{PlayerWithdrawal-DlCsEoDt.js → PlayerWithdrawal-DHaHS2XO.js} +1 -1
  103. package/components/{QrSessionGenerator-hn3NvTO5.js → QrSessionGenerator-CgW-9Tbq.js} +1 -1
  104. package/components/{QrSessionGenerator-BzNmvH-J.js → QrSessionGenerator-DdrnSo0r.js} +1 -1
  105. package/components/{QrSessionGenerator-DatUnp4r.cjs → QrSessionGenerator-jIoufAcx.cjs} +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-P8h0R10S.js → index-9c0f6c58-BLHPAiHp.js} +1 -1
  111. package/stencil/{index-9c0f6c58-DnbhPPTI.cjs → index-9c0f6c58-DlXOBm1V.cjs} +1 -1
  112. package/stencil/{index-9c0f6c58-CK57ve5P.js → index-9c0f6c58-Dt7MQ5_j.js} +1 -1
  113. package/stencil/{player-kyc-verification-mnYQMtSn.js → player-kyc-verification-BO_q93r0.js} +188 -134
  114. package/stencil/{player-kyc-verification-C2xE1hLK.js → player-kyc-verification-BhngQMYp.js} +165 -111
  115. package/stencil/player-kyc-verification-ISE1zaDp.cjs +210 -0
  116. package/stencil/player-kyc-verification-Cb647IzH.cjs +0 -181
@@ -1,11 +1,11 @@
1
- import { b as k, p as w, r as C, h as t, F as m } from "./index-9c0f6c58-P8h0R10S.js";
2
- import { a as S } from "./app-globals-0f993ce5-XUXOuUQl.js";
3
- var x = () => {
1
+ import { b as w, p as k, r as S, h as t, F as m } from "./index-9c0f6c58-BLHPAiHp.js";
2
+ import { a as x } from "./app-globals-0f993ce5-XUXOuUQl.js";
3
+ var b = () => {
4
4
  const e = import.meta.url, i = {};
5
- return e !== "" && (i.resourcesUrl = new URL(".", e).href), w(i);
5
+ return e !== "" && (i.resourcesUrl = new URL(".", e).href), k(i);
6
6
  };
7
- x().then(async (e) => (await S(), k([["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], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
8
- const b = "en";
7
+ b().then(async (e) => (await x(), w([["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] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
8
+ const P = "en";
9
9
  let u = {
10
10
  en: {
11
11
  loading: "Loading, please wait ...",
@@ -595,70 +595,70 @@ let u = {
595
595
  }
596
596
  };
597
597
  const y = (e) => new Promise((i) => {
598
- fetch(e).then((n) => n.json()).then((n) => {
599
- Object.keys(n).forEach((o) => {
600
- u[o] || (u[o] = {});
601
- for (let a in n[o])
602
- u[o][a] = n[o][a];
598
+ fetch(e).then((o) => o.json()).then((o) => {
599
+ Object.keys(o).forEach((n) => {
600
+ u[n] || (u[n] = {});
601
+ for (let a in o[n])
602
+ u[n][a] = o[n][a];
603
603
  }), i(!0);
604
604
  });
605
- }), s = (e, i, n) => {
606
- const o = i;
607
- return u[o !== void 0 && o in u ? o : b][e];
608
- }, P = (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)), c = "__WIDGET_GLOBAL_STYLE_CACHE__";
605
+ }), s = (e, i, o) => {
606
+ const n = i;
607
+ return u[n !== void 0 && n in u ? n : P][e];
608
+ }, D = (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)), c = "__WIDGET_GLOBAL_STYLE_CACHE__";
609
609
  function g(e, i) {
610
610
  if (e) {
611
- const n = document.createElement("style");
612
- n.innerHTML = i, e.appendChild(n);
611
+ const o = document.createElement("style");
612
+ o.innerHTML = i, e.appendChild(o);
613
613
  }
614
614
  }
615
615
  function v(e, i) {
616
616
  if (!e || !i)
617
617
  return;
618
- const n = new URL(i);
619
- fetch(n.href).then((o) => o.text()).then((o) => {
618
+ const o = new URL(i);
619
+ fetch(o.href).then((n) => n.text()).then((n) => {
620
620
  const a = document.createElement("style");
621
- a.innerHTML = o, e && e.appendChild(a);
622
- }).catch((o) => {
623
- console.error("There was an error while trying to load client styling from URL", o);
621
+ a.innerHTML = n, e && e.appendChild(a);
622
+ }).catch((n) => {
623
+ console.error("There was an error while trying to load client styling from URL", n);
624
624
  });
625
625
  }
626
- function D(e, i, n, o = !1) {
626
+ function I(e, i, o, n = !1) {
627
627
  if (!window.emMessageBus)
628
628
  return;
629
- if (!("adoptedStyleSheets" in Document.prototype) || !o)
630
- return n = O(e, i), n;
631
- window[c] || (window[c] = {}), n = I(e, i);
632
- const r = n.unsubscribe.bind(n), d = () => {
629
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
630
+ return o = O(e, i), o;
631
+ window[c] || (window[c] = {}), o = B(e, i);
632
+ const r = o.unsubscribe.bind(o), d = () => {
633
633
  if (window[c][i]) {
634
634
  const l = window[c][i];
635
635
  l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[c][i];
636
636
  }
637
637
  r();
638
638
  };
639
- return n.unsubscribe = d, n;
639
+ return o.unsubscribe = d, o;
640
640
  }
641
641
  function O(e, i) {
642
- const n = document.createElement("style");
643
- return window.emMessageBus.subscribe(i, (o) => {
644
- e && (n.innerHTML = o, e.appendChild(n));
642
+ const o = document.createElement("style");
643
+ return window.emMessageBus.subscribe(i, (n) => {
644
+ e && (o.innerHTML = n, e.appendChild(o));
645
645
  });
646
646
  }
647
- function I(e, i) {
648
- return window.emMessageBus.subscribe(i, (n) => {
647
+ function B(e, i) {
648
+ return window.emMessageBus.subscribe(i, (o) => {
649
649
  if (!e)
650
650
  return;
651
- const o = e.getRootNode(), a = window[c];
651
+ const n = e.getRootNode(), a = window[c];
652
652
  let r = a[i] && a[i].sheet;
653
- r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(n), a[i] = {
653
+ r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(o), a[i] = {
654
654
  sheet: r,
655
655
  refCount: 1
656
656
  });
657
- const d = o.adoptedStyleSheets || [];
658
- d.includes(r) || (o.adoptedStyleSheets = [...d, r]);
657
+ const d = n.adoptedStyleSheets || [];
658
+ d.includes(r) || (n.adoptedStyleSheets = [...d, r]);
659
659
  });
660
660
  }
661
- const B = `:host {
661
+ const F = `:host {
662
662
  font-family: inherit;
663
663
  }
664
664
 
@@ -838,11 +838,82 @@ button, select {
838
838
  .player-kyc-verification-widget .verification-types {
839
839
  grid-template-columns: repeat(2, 1fr);
840
840
  }
841
- }`, F = B, A = class {
841
+ }
842
+ .ModalLoader {
843
+ width: 300px;
844
+ height: 300px;
845
+ margin: 0 auto;
846
+ display: flex;
847
+ align-items: center;
848
+ justify-content: center;
849
+ }
850
+
851
+ .ModalLoader:after {
852
+ content: " ";
853
+ display: block;
854
+ width: 64px;
855
+ height: 64px;
856
+ margin: 8px;
857
+ border-radius: 50%;
858
+ border: 5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
859
+ border-color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;
860
+ animation: Loader 1.2s linear infinite;
861
+ }
862
+
863
+ @keyframes Loader {
864
+ 0% {
865
+ transform: rotate(0deg);
866
+ }
867
+ 100% {
868
+ transform: rotate(360deg);
869
+ }
870
+ }`, L = F, A = class {
842
871
  constructor(e) {
843
- C(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = P(this.userAgent), this.handleToggleScreen = () => {
872
+ S(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = D(this.userAgent), this.getKYCCustomerStatus = () => {
873
+ try {
874
+ this.isKYCLoading = !0;
875
+ let i = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus?language=${this.language}`);
876
+ const o = {
877
+ method: "POST",
878
+ headers: {
879
+ "X-SessionId": this.session,
880
+ "Content-Type": "application/json"
881
+ },
882
+ body: JSON.stringify({})
883
+ };
884
+ fetch(i.href, o).then((n) => {
885
+ if (n.status === 200)
886
+ return n.json();
887
+ throw new Error("HTTP status " + n.status);
888
+ }).then((n) => {
889
+ var a;
890
+ 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) => {
891
+ var d;
892
+ if (r?.documents.length !== 0)
893
+ return (d = r?.documents) === null || d === void 0 ? void 0 : d.some((l) => l.status === "Uploaded");
894
+ })), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType), Array.isArray(this.verificationType) && this.handleVerificationShuftiMessage(this.verificationType)), this.isKYCLoading = !1;
895
+ }).catch((n) => {
896
+ this.isKYCLoading = !1, console.error(n);
897
+ });
898
+ } catch (i) {
899
+ console.error("Error fetching verification types:", i);
900
+ }
901
+ }, this.handleShuftiMessage = (i) => {
902
+ const o = i.data, n = o.event || o.verification_status;
903
+ if (n)
904
+ switch (n) {
905
+ case "verification.declined":
906
+ case "verification.accepted":
907
+ setTimeout(() => {
908
+ this.isKYCLoading = !0;
909
+ }, 500), setTimeout(() => {
910
+ this.getKYCCustomerStatus();
911
+ }, 5500);
912
+ break;
913
+ }
914
+ }, this.handleToggleScreen = () => {
844
915
  this.toggleScreen(this.isMobile);
845
- }, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = void 0, 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.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1;
916
+ }, 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;
846
917
  }
847
918
  handleNewTranslations() {
848
919
  this.isLoading = !0, y(this.translationUrl).then(() => {
@@ -859,53 +930,36 @@ button, select {
859
930
  e != i && this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl);
860
931
  }
861
932
  async componentDidLoad() {
862
- this.stylingContainer && (window.emMessageBus != null ? D(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
863
- try {
864
- let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
865
- const i = {
866
- method: "POST",
867
- headers: {
868
- "X-SessionId": this.session,
869
- "Content-Type": "application/json"
870
- },
871
- body: JSON.stringify({})
872
- };
873
- fetch(e.href, i).then((n) => {
874
- if (n.status === 200)
875
- return n.json();
876
- throw new Error("HTTP status " + n.status);
877
- }).then((n) => {
878
- var o;
879
- this.verificationType = n.verifications, this.hideKycDescription === "true" && ((o = this.verificationType) === null || o === void 0 ? void 0 : o.length) > 0 && (this.hasAllDocumentsUploaded = this.verificationType.every((a) => {
880
- var r;
881
- if (a?.documents.length !== 0)
882
- return (r = a?.documents) === null || r === void 0 ? void 0 : r.some((d) => d.status === "Uploaded");
883
- }), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType));
884
- }).catch((n) => {
885
- console.error(n);
886
- });
887
- } catch (e) {
888
- console.error("Error fetching verification types:", e);
889
- }
933
+ this.stylingContainer && (window.emMessageBus != null ? I(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0), this.getKYCCustomerStatus();
934
+ }
935
+ removeVerificationShuftiMessage() {
936
+ window.removeEventListener("message", this.handleShuftiMessage);
937
+ }
938
+ handleVerificationShuftiMessage(e) {
939
+ const i = e.find((o) => {
940
+ var n;
941
+ return o.vendorName === "ShuftiPro" && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.actionNeeded) === !0;
942
+ });
943
+ this.removeVerificationShuftiMessage(), i && window.addEventListener("message", this.handleShuftiMessage);
890
944
  }
891
945
  getGeneralVerificationStatus(e) {
892
- const i = e?.map((n) => n.status.toLowerCase());
893
- return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((n) => n === "verified") ? "Verified" : "Unknown";
946
+ const i = e?.map((o) => o.status.toLowerCase());
947
+ return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((o) => o === "verified") ? "Verified" : "Unknown";
894
948
  }
895
949
  disconnectedCallback() {
896
- this.stylingSubscription && this.stylingSubscription.unsubscribe();
950
+ this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.removeVerificationShuftiMessage();
897
951
  }
898
952
  handleOptionChange(e, i) {
899
- const n = e.target;
900
- this.verificationType = this.verificationType.map((o) => (o.type === i && (o.optionChosen = n.value), o));
953
+ const o = e.target;
954
+ this.verificationType = this.verificationType.map((n) => (n.type === i && (n.optionChosen = o.value), n));
901
955
  }
902
- handleDocumentsStatus(e, i, n) {
903
- this.verificationType = this.verificationType.map((o) => {
904
- if (o.type === e) {
905
- const a = o.documents.find((r) => r.code === n);
956
+ handleDocumentsStatus(e, i, o) {
957
+ this.verificationType = this.verificationType.map((n) => {
958
+ if (n.type === e) {
959
+ const a = n.documents.find((r) => r.code === o);
906
960
  a && (a.statusUploaded = i);
907
961
  }
908
- return o;
962
+ return n;
909
963
  });
910
964
  }
911
965
  downloadPDF(e) {
@@ -913,9 +967,9 @@ button, select {
913
967
  i.href = e, i.download = "file.pdf", i.target = "_blank", i.dispatchEvent(new MouseEvent("click"));
914
968
  }
915
969
  toggleVerificationType(e, i) {
916
- this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((n) => {
917
- var o;
918
- return n.type === e && ((o = n.flowInfo) === null || o === void 0 ? void 0 : o.type) == i && (n.expanded = !n.expanded), n;
970
+ this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((o) => {
971
+ var n;
972
+ return o.type === e && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.type) == i && (o.expanded = !o.expanded), o;
919
973
  });
920
974
  }
921
975
  toggleScreen(e) {
@@ -923,16 +977,16 @@ button, select {
923
977
  }
924
978
  checkFileSize(e) {
925
979
  let i = 0;
926
- return Object.keys(e).forEach((n) => {
927
- i += e[n].size;
980
+ return Object.keys(e).forEach((o) => {
981
+ i += e[o].size;
928
982
  }), i <= this.MAX_UPLOAD_SIZE;
929
983
  }
930
- handleFileSelection(e, i, n) {
984
+ handleFileSelection(e, i, o) {
931
985
  if (e && e.length > 0)
932
986
  if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
933
- console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), this.uploadSizeExceeded = !0;
987
+ console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), this.uploadSizeExceeded = !0;
934
988
  else {
935
- const o = {
989
+ const n = {
936
990
  method: "POST",
937
991
  headers: {
938
992
  "Content-Type": "application/json",
@@ -940,35 +994,35 @@ button, select {
940
994
  },
941
995
  body: JSON.stringify({ DocumentCode: i })
942
996
  };
943
- fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, o).then((a) => {
997
+ fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, n).then((a) => {
944
998
  if (a.ok)
945
- return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), a.json();
999
+ return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), a.json();
946
1000
  }).then((a) => {
947
1001
  if (a.ResponseCode == "Success") {
948
1002
  const r = new FormData();
949
1003
  r.append(i, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((d) => {
950
- d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), console.error("File upload error:", d.status));
1004
+ d.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:", d.status));
951
1005
  }).catch((d) => {
952
1006
  console.error("File upload error:", d);
953
1007
  });
954
1008
  } else
955
- this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i);
1009
+ this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i);
956
1010
  }).catch((a) => {
957
1011
  console.error("File upload error:", a);
958
1012
  });
959
1013
  }
960
1014
  }
961
1015
  importScript(e) {
962
- return new Promise((i, n) => {
963
- fetch(e).then((o) => o.text()).then((o) => {
964
- if (new Function(o)(), this.scriptInjected)
1016
+ return new Promise((i, o) => {
1017
+ fetch(e).then((n) => n.text()).then((n) => {
1018
+ if (new Function(n)(), this.scriptInjected)
965
1019
  i(!0);
966
1020
  else {
967
1021
  const r = document.createElement("script");
968
1022
  r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, i(!0);
969
1023
  }
970
- }).catch((o) => {
971
- n(o);
1024
+ }).catch((n) => {
1025
+ o(n);
972
1026
  });
973
1027
  });
974
1028
  }
@@ -976,11 +1030,11 @@ button, select {
976
1030
  return !!(e && e.status === "Uploaded");
977
1031
  }
978
1032
  getFirstRequestedDocument(e) {
979
- var i, n;
980
- let o;
1033
+ var i, o;
1034
+ let n;
981
1035
  return (i = e?.documents) === null || i === void 0 || i.forEach((a) => {
982
- a.status == "Requested" && (o = o ?? a.code);
983
- }), o || (o = (n = e?.documents[0]) === null || n === void 0 ? void 0 : n.code), o;
1036
+ a.status == "Requested" && (n = n ?? a.code);
1037
+ }), n || (n = (o = e?.documents[0]) === null || o === void 0 ? void 0 : o.code), n;
984
1038
  }
985
1039
  renderDescription(e) {
986
1040
  const i = this.hideKycDescription === "true" && this.hasAllDocumentsUploaded;
@@ -995,27 +1049,27 @@ button, select {
995
1049
  }
996
1050
  renderVerificationTypeBox(e) {
997
1051
  this.expandedOnDesktop && (e.expanded = !0);
998
- let i = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || i, r = e.status, d = e.documents, l = e.flowInfo;
999
- const f = r === "Verified", p = r === "Failed" || r === "Expired";
1000
- return f && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : t("div", { class: `verification-box ${n ? "expanded" : ""} ${p ? "failed" : ""} ${f ? "success" : ""}` }, t("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
1052
+ let i = this.getFirstRequestedDocument(e), o = e.expanded, n = e.type.trim(), a = e.optionChosen || i, r = e.status, d = e.documents, l = e.flowInfo;
1053
+ const C = e.vendorName === "ShuftiPro" && r !== "InProgress", f = r === "Verified", p = r === "Failed" || r === "Expired";
1054
+ return f && n === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" || C ? null : t("div", { class: `verification-box ${o ? "expanded" : ""} ${p ? "failed" : ""} ${f ? "success" : ""}` }, t("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
1001
1055
  var h;
1002
1056
  return this.toggleVerificationType(e.type, (h = e.flowInfo) === null || h === void 0 ? void 0 : h.type);
1003
- } }, t("div", { class: "box-icon" }, f ? 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" }))) : p ? 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(o, 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: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, r, d, l, f, p) : t("div", { class: "box box-content" }, t("div", { id: "__avs-wrapper" })));
1057
+ } }, t("div", { class: "box-icon" }, f ? 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" }))) : p ? 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, d, l, f, p) : t("div", { class: "box box-content" }, t("div", { id: "__avs-wrapper" })));
1004
1058
  }
1005
- renderDocumentsActions(e, i, n) {
1006
- return t("div", null, this.isStatusUploaded(e) ? t("div", { class: "upload-status" }, s("uploaded", this.language)) : e?.statusUploaded ? t("div", { class: "upload-status" }, e?.statusUploaded) : t("div", { class: "documents-action" }, t("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? t("button", { class: "download-button", onClick: () => this.downloadPDF(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: (o) => this.handleFileSelection(o.target.files, i, n.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)));
1059
+ renderDocumentsActions(e, i, o) {
1060
+ return t("div", null, this.isStatusUploaded(e) ? t("div", { class: "upload-status" }, s("uploaded", this.language)) : e?.statusUploaded ? t("div", { class: "upload-status" }, e?.statusUploaded) : t("div", { class: "documents-action" }, t("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? t("button", { class: "download-button", onClick: () => this.downloadPDF(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)));
1007
1061
  }
1008
- renderExpandedContent(e, i, n, o, a, r, d) {
1062
+ renderExpandedContent(e, i, o, n, a, r, d) {
1009
1063
  if (a?.type === "Widget")
1010
1064
  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 *" }));
1011
- if (a?.type === "Redirect" && e.vendorName !== "Manual" && n !== "Verified") {
1065
+ if (a?.type === "Redirect" && e.vendorName !== "Manual" && o !== "Verified") {
1012
1066
  const l = e.vendorName === "ShuftiPro" ? "650px" : "400px";
1013
1067
  return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: l, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1014
1068
  } else
1015
- return t("div", { class: "box box-content" }, t(m, null, r ? t("div", { class: "verification-status" }, s("verificationComplete", this.language)) : d ? t("div", { class: "verification-status" }, n === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : o.length > 0 ? t("div", { class: "documents-dropdown" }, t("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => t("option", { selected: l.code == i, value: l.code }, s(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === i), i, e)) : null));
1069
+ return t("div", { class: "box box-content" }, t(m, null, r ? t("div", { class: "verification-status" }, s("verificationComplete", this.language)) : d ? 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: (l) => this.handleOptionChange(l, e.type) }, n.map((l) => t("option", { selected: l.code == i, value: l.code }, s(l.type, this.language)))), this.renderDocumentsActions(n.find((l) => l.code === i), i, e)) : null));
1016
1070
  }
1017
1071
  render() {
1018
- 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.verificationType.length === 0 ? t("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : t(m, null, this.hideKycDescription === "true" ? this.renderDescription(this.verificationsGeneralStatus) : t("div", { class: "widget-description" }, " ", s("kycDescription", this.language)), t("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
1072
+ 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.isKYCLoading ? t("div", { class: "ModalLoader" }) : this.verificationType.length === 0 ? t("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : t(m, null, this.hideKycDescription === "true" ? this.renderDescription(this.verificationsGeneralStatus) : t("div", { class: "widget-description" }, " ", s("kycDescription", this.language)), t("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
1019
1073
  }
1020
1074
  static get watchers() {
1021
1075
  return {
@@ -1025,7 +1079,7 @@ button, select {
1025
1079
  };
1026
1080
  }
1027
1081
  };
1028
- A.style = F;
1082
+ A.style = L;
1029
1083
  export {
1030
1084
  A as player_kyc_verification
1031
1085
  };