@everymatrix/player-account-controller 1.61.1 → 1.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/components/{GeneralLogout-C38FmUFl.js → GeneralLogout-B5B3mUfv.js} +953 -910
  2. package/components/GeneralLogout-CG738i36.cjs +21 -0
  3. package/components/{GeneralLogout-D-G0wJfI.js → GeneralLogout-r9dFykD6.js} +969 -926
  4. package/components/{PlayerAccountBettingHistory-ClvAJn7G.cjs → PlayerAccountBettingHistory-Lp_KBkg4.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-At0LtRRx.js → PlayerAccountBettingHistory-Y7x-t1aM.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-C7ncnu-s.js → PlayerAccountBettingHistory-a4zyborD.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-DKhi-g1X.js → PlayerAccountBiometrics-BINKHe7T.js} +1 -1
  8. package/components/{PlayerAccountBiometrics-CY06pWs8.js → PlayerAccountBiometrics-BoLCbqW9.js} +1 -1
  9. package/components/{PlayerAccountBiometrics-CqDrX8sl.cjs → PlayerAccountBiometrics-CeKoZNyZ.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-D9uP7QYP.js → PlayerAccountClosure-BKiVR8lN.js} +1 -1
  11. package/components/{PlayerAccountClosure-PhH0M42z.cjs → PlayerAccountClosure-CoudEK96.cjs} +1 -1
  12. package/components/{PlayerAccountClosure-D5r1hdkX.js → PlayerAccountClosure-OZey9sGY.js} +1 -1
  13. package/components/{PlayerAccountController-CFveIiLH.js → PlayerAccountController-B738sw2d.js} +24 -24
  14. package/components/{PlayerAccountController-DsIsI9ww.cjs → PlayerAccountController-CiWBnnkt.cjs} +1 -1
  15. package/components/{PlayerAccountController-CP2uODru.js → PlayerAccountController-DMn6yjxB.js} +24 -24
  16. package/components/{PlayerAccountGamingLimits-D3pKs0ht.js → PlayerAccountGamingLimits-C43ExhLF.js} +2 -2
  17. package/components/{PlayerAccountGamingLimits-C0_hRUCj.js → PlayerAccountGamingLimits-CazKuri6.js} +2 -2
  18. package/components/{PlayerAccountGamingLimits-BnzPj9tx.cjs → PlayerAccountGamingLimits-T_6zt26G.cjs} +1 -1
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BazG22ih.js → PlayerAccountGamingLimitsConfirmationModal-Bg7QGMAg.js} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-Cg2EZjXZ.cjs → PlayerAccountGamingLimitsConfirmationModal-D4IU66Wc.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-xjZZUbpF.js → PlayerAccountGamingLimitsConfirmationModal-QUP7vWLj.js} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-DGnRlAUZ.cjs → PlayerAccountGamingLimitsGroupEdit-BQRjAEj3.cjs} +2 -2
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-CnW3YzfS.js → PlayerAccountGamingLimitsGroupEdit-D-PNbWFM.js} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-DeUVEnCP.js → PlayerAccountGamingLimitsGroupEdit-RindahYU.js} +4 -4
  25. package/components/{PlayerAccountGamingLimitsHistory2-CsxTesLB.cjs → PlayerAccountGamingLimitsHistory2-BMAe0pe6.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsHistory2-D7J0FgHo.js → PlayerAccountGamingLimitsHistory2-CJGqCDFL.js} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-TkOqxfj1.js → PlayerAccountGamingLimitsHistory2-uDPEWTzm.js} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-BRpxiqVR.js → PlayerAccountGamingLimitsInfoCard-CFgV1w4z.js} +3 -3
  29. package/components/{PlayerAccountGamingLimitsInfoCard-D1qSvNxW.js → PlayerAccountGamingLimitsInfoCard-CRMCtZqj.js} +3 -3
  30. package/components/{PlayerAccountGamingLimitsInfoCard-jhpuGIrw.cjs → PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-BEYO8tnS.cjs → PlayerAccountGamingLimitsPage2Gm16-AWVFiO4-.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-CAfx0SZl.js → PlayerAccountGamingLimitsPage2Gm16-ONM_FRN3.js} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-djQdW8L6.js → PlayerAccountGamingLimitsPage2Gm16-gTIR4g1p.js} +2 -2
  34. package/components/{PlayerAccountGamingLimitsPopup-Bst4PQwl.js → PlayerAccountGamingLimitsPopup-B4IR8T1h.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-Cvl_mdrl.cjs → PlayerAccountGamingLimitsPopup-BsJZk5nW.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-D3DnB3bN.js → PlayerAccountGamingLimitsPopup-CyDdC98K.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BKVQxFca.js → PlayerAccountGamingLimitsWrapper2-B-HI-JBh.js} +3 -3
  38. package/components/{PlayerAccountGamingLimitsWrapper2-Coq_1wOX.cjs → PlayerAccountGamingLimitsWrapper2-Ci9NymX1.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-DY7OziU-.js → PlayerAccountGamingLimitsWrapper2-Cz0NDH_o.js} +3 -3
  40. package/components/{PlayerAccountGeneralConfirmationModal-DNkcN7ty.cjs → PlayerAccountGeneralConfirmationModal-C855qGTP.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-BbAXu7LA.js → PlayerAccountGeneralConfirmationModal-CIv11GhP.js} +1 -1
  42. package/components/{PlayerAccountGeneralConfirmationModal-CNr7wBeh.js → PlayerAccountGeneralConfirmationModal-DZGBTYv0.js} +1 -1
  43. package/components/PlayerAccountMenu-BnFxWsrj.cjs +1 -0
  44. package/components/{PlayerAccountMenu-CARKaeb_.js → PlayerAccountMenu-faH_tMrr.js} +111 -112
  45. package/components/{PlayerAccountMenu-CSjfFSiS.js → PlayerAccountMenu-muxxYK_y.js} +111 -112
  46. package/components/{PlayerAccountModal-DcuNgIsg.js → PlayerAccountModal-BVOMSchH.js} +1 -1
  47. package/components/{PlayerAccountModal-Dmgt5WVr.cjs → PlayerAccountModal-DISAz4QD.cjs} +1 -1
  48. package/components/{PlayerAccountModal-IFpCl0Uz.js → PlayerAccountModal-DOARFyxN.js} +1 -1
  49. package/components/PlayerAccountNotifications-DN4TPQQU.cjs +1 -0
  50. package/components/{PlayerAccountNotifications-DFauPmd4.js → PlayerAccountNotifications-RAJoer4R.js} +54 -55
  51. package/components/{PlayerAccountNotifications-C1NLTeZY.js → PlayerAccountNotifications-ZTSodR_w.js} +58 -59
  52. package/components/{PlayerAccountSelfExclusion-CcBtRscg.cjs → PlayerAccountSelfExclusion-0cKw8uv6.cjs} +1 -1
  53. package/components/{PlayerAccountSelfExclusion-BYJ28ASb.js → PlayerAccountSelfExclusion-BzJmueBq.js} +2 -2
  54. package/components/{PlayerAccountSelfExclusion-BKNMjGeJ.js → PlayerAccountSelfExclusion-DgY6NOih.js} +2 -2
  55. package/components/{PlayerAccountTimeout-B3AH6XOt.js → PlayerAccountTimeout-D3Klg06M.js} +4 -4
  56. package/components/{PlayerAccountTimeout-Bkmp3-eA.js → PlayerAccountTimeout-DS4vaCRe.js} +4 -4
  57. package/components/{PlayerAccountTimeout-CLi5If_j.cjs → PlayerAccountTimeout-Dw5oqiqy.cjs} +1 -1
  58. package/components/{PlayerActiveBonuses-NHzgl6B8.cjs → PlayerActiveBonuses-BMD0VJ2_.cjs} +1 -1
  59. package/components/{PlayerActiveBonuses-C2N9z4Wk.js → PlayerActiveBonuses-CpZclWGh.js} +2 -2
  60. package/components/{PlayerActiveBonuses-BRNrSu8p.js → PlayerActiveBonuses-K3C-mEXB.js} +2 -2
  61. package/components/PlayerBonusCard-69HwaVge.cjs +1 -0
  62. package/components/{PlayerBonusCard-ys8sEqaW.js → PlayerBonusCard-C1HOmtzk.js} +152 -151
  63. package/components/{PlayerBonusCard-BnXPy7Pl.js → PlayerBonusCard-CqTwze07.js} +152 -151
  64. package/components/{PlayerBonusHistory-DSTP6ZoH.js → PlayerBonusHistory-BLVjkz2G.js} +4 -4
  65. package/components/{PlayerBonusHistory-DMarejVg.js → PlayerBonusHistory-CHIhzG2z.js} +4 -4
  66. package/components/{PlayerBonusHistory-Dg5LjtIZ.cjs → PlayerBonusHistory-CmSqqsTj.cjs} +1 -1
  67. package/components/{PlayerChangePassword-DIJxZkuX.js → PlayerChangePassword-0M_mNZGg.js} +1 -1
  68. package/components/{PlayerChangePassword-sZQBKHjd.js → PlayerChangePassword-CSp7wLtb.js} +1 -1
  69. package/components/{PlayerChangePassword-DkVY0JFR.cjs → PlayerChangePassword-CeUedW_1.cjs} +1 -1
  70. package/components/{PlayerDeposit-DgZ1K6jf.cjs → PlayerDeposit-BmunpkgB.cjs} +1 -1
  71. package/components/{PlayerDeposit-DJdl_B5Q.js → PlayerDeposit-CaAAHcig.js} +1 -1
  72. package/components/{PlayerDeposit-C8yaYj_O.js → PlayerDeposit-D_teqol-.js} +1 -1
  73. package/components/{PlayerGamingHistory-Bz-tWEB-.cjs → PlayerGamingHistory-ClPLNmQZ.cjs} +1 -1
  74. package/components/{PlayerGamingHistory-CUv-flEN.js → PlayerGamingHistory-D3MM0M-d.js} +4 -4
  75. package/components/{PlayerGamingHistory-C-a7eWUa.js → PlayerGamingHistory-Dwci4jbI.js} +4 -4
  76. package/components/{PlayerPendingWithdrawals-H49FURps.cjs → PlayerPendingWithdrawals-BdgNl6Vs.cjs} +1 -1
  77. package/components/{PlayerPendingWithdrawals-DtwQGdZm.js → PlayerPendingWithdrawals-BsBdAyWz.js} +1 -1
  78. package/components/{PlayerPendingWithdrawals-D9Yxc7FK.js → PlayerPendingWithdrawals-cd7rhkZE.js} +1 -1
  79. package/components/{PlayerProfileInfo-DCG1m8s7.js → PlayerProfileInfo-BSSvn4ky.js} +2 -2
  80. package/components/{PlayerProfileInfo-B2B_yWpR.cjs → PlayerProfileInfo-CGrlx6XJ.cjs} +1 -1
  81. package/components/{PlayerProfileInfo-TSYhIxp0.js → PlayerProfileInfo-CljM7MQx.js} +2 -2
  82. package/components/{PlayerRealityCheck-Bs__HuR3.cjs → PlayerRealityCheck-BPjD8dSn.cjs} +1 -1
  83. package/components/{PlayerRealityCheck-BCc9e1-4.js → PlayerRealityCheck-Car60VrF.js} +2 -2
  84. package/components/{PlayerRealityCheck-YPtJgHZo.js → PlayerRealityCheck-DcKE6Uql.js} +2 -2
  85. package/components/{PlayerTransactionHistory-CSHYcAs1.js → PlayerTransactionHistory-C1BTOKWO.js} +1 -1
  86. package/components/{PlayerTransactionHistory-Bb8js_3p.cjs → PlayerTransactionHistory-D8WUTK8U.cjs} +1 -1
  87. package/components/{PlayerTransactionHistory-D31yO5X5.js → PlayerTransactionHistory-me_c2Kdi.js} +1 -1
  88. package/components/{PlayerWithdrawal-BcoiHu5m.js → PlayerWithdrawal-CFGV-nzN.js} +1 -1
  89. package/components/{PlayerWithdrawal-Byr8jun8.js → PlayerWithdrawal-CJsQNLis.js} +1 -1
  90. package/components/{PlayerWithdrawal-xHn3kl2k.cjs → PlayerWithdrawal-g7alD3vj.cjs} +1 -1
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  96. package/stencil/{app-globals-0f993ce5-CQ9uDp49.js → app-globals-0f993ce5-DzSE6TtH.js} +2 -4
  97. package/stencil/{index-1ef3a64c-Kn7ohe2t.js → index-1ef3a64c-C4-h3nXC.js} +1 -1
  98. package/stencil/{index-1ef3a64c-BQUwxiUT.js → index-1ef3a64c-Cb8qLHe4.js} +1 -1
  99. package/stencil/{index-1ef3a64c-Btq5IvMJ.cjs → index-1ef3a64c-CzlpRJE7.cjs} +1 -1
  100. package/stencil/{index-21ba09dd-DNkmY6MF.js → index-7c5e707a-C9R6jYpt.js} +4 -4
  101. package/stencil/{index-21ba09dd-C-HsjTUn.js → index-7c5e707a-DvxqcEpc.js} +4 -4
  102. package/stencil/index-7c5e707a-ESX_oqGB.cjs +1 -0
  103. package/stencil/index-9c0f6c58-D5txcAjr.js +549 -0
  104. package/stencil/index-9c0f6c58-DeCWAW-B.cjs +1 -0
  105. package/stencil/{index-34008883-DRJSKOUl.js → index-9c0f6c58-DeLVbTUg.js} +200 -228
  106. package/stencil/{index-b2193545-DXYxg-Ur.js → index-b2193545-CnMZ4-Ff.js} +1 -1
  107. package/stencil/{index-b2193545-CZLTKj69.cjs → index-b2193545-Ct5AhxM8.cjs} +1 -1
  108. package/stencil/{index-b2193545-BTiWOlSy.js → index-b2193545-DePry399.js} +1 -1
  109. package/stencil/{player-change-password-gm2-imi6O1-U.js → player-change-password-gm2-DHnclYKw.js} +1 -1
  110. package/stencil/{player-change-password-gm2-ADkIHrgJ.cjs → player-change-password-gm2-DRIOay0t.cjs} +1 -1
  111. package/stencil/{player-change-password-gm2-CfP6Qbnu.js → player-change-password-gm2-nCHwkzVc.js} +1 -1
  112. package/stencil/player-kyc-verification-C0h2CP_Y.cjs +180 -0
  113. package/stencil/{player-kyc-verification_2-EJZCFPKM.js → player-kyc-verification-dmJNIHni.js} +39 -67
  114. package/stencil/{player-kyc-verification_2-w8_XwPSF.js → player-kyc-verification-z8R7nMzo.js} +28 -58
  115. package/stencil/{ui-skeleton-6d1c12ae-C3kv5BUk.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +4 -4
  116. package/stencil/{ui-skeleton-6d1c12ae-DJPgMPrF.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +2 -2
  117. package/stencil/{ui-skeleton-6d1c12ae-CaaJODhZ.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +4 -4
  118. package/stencil/{ui-skeleton-DX9fcIIz.js → ui-skeleton-C974aG7g.js} +3 -3
  119. package/stencil/{ui-skeleton-1aZpiK3a.js → ui-skeleton-DoX-UmRU.js} +5 -5
  120. package/stencil/{ui-skeleton-84ZRJzrd.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
  121. package/stencil/{user-deposit-withdrawal-BC5Vpfet.cjs → user-deposit-withdrawal-CBWlU3d2.cjs} +1 -1
  122. package/stencil/{user-deposit-withdrawal-IExj2XcB.js → user-deposit-withdrawal-CE9oDw4W.js} +2 -2
  123. package/stencil/{user-deposit-withdrawal-DHbTwAxF.js → user-deposit-withdrawal-Dnqg2IvK.js} +2 -2
  124. package/stencil/{ui-image_2-nVKXie9g.js → user-transaction-history-BAK7MHHa.js} +93 -121
  125. package/stencil/{ui-image_2-CYG1_Yew.js → user-transaction-history-DhQ6RqNc.js} +81 -111
  126. package/stencil/user-transaction-history-DiRXpfbN.cjs +1 -0
  127. package/components/GeneralLogout-CneHnHyh.cjs +0 -21
  128. package/components/PlayerAccountMenu-DbPwX5s7.cjs +0 -1
  129. package/components/PlayerAccountNotifications-VnrN4aPw.cjs +0 -1
  130. package/components/PlayerBonusCard-B1SyuM2F.cjs +0 -1
  131. package/stencil/app-globals-0f993ce5-zj2RKZu-.cjs +0 -1
  132. package/stencil/index-21ba09dd-lQRQL1Nd.cjs +0 -1
  133. package/stencil/index-34008883-B7S8keyz.js +0 -577
  134. package/stencil/index-34008883-CX1Vpol5.cjs +0 -1
  135. package/stencil/index-b7bbd57e-98ddCQYl.js +0 -534
  136. package/stencil/index-b7bbd57e-BTUOk4HF.js +0 -550
  137. package/stencil/index-b7bbd57e-CCr8MvU_.cjs +0 -1
  138. package/stencil/player-kyc-verification-CJSQoIZp.js +0 -25
  139. package/stencil/player-kyc-verification-ChHU4NZP.js +0 -7
  140. package/stencil/player-kyc-verification-YKqDy8y5.cjs +0 -1
  141. package/stencil/player-kyc-verification_2-HIgoVn9n.cjs +0 -180
  142. package/stencil/ui-image-38c3c15f-B5VYjuwc.cjs +0 -1
  143. package/stencil/ui-image-38c3c15f-GCugIif_.js +0 -39
  144. package/stencil/ui-image-38c3c15f-jIUUUHF_.js +0 -39
  145. package/stencil/ui-image-C3z33p-I.js +0 -29
  146. package/stencil/ui-image-DZDIlV4g.js +0 -11
  147. package/stencil/ui-image-Doro4rUa.cjs +0 -1
  148. package/stencil/ui-image_2-Cyb78tZB.cjs +0 -1
  149. package/stencil/user-transaction-history-BQjF7asc.cjs +0 -1
  150. package/stencil/user-transaction-history-BhqF7ecn.js +0 -7
  151. package/stencil/user-transaction-history-GwpbhIB0.js +0 -25
@@ -1,21 +1,29 @@
1
- var m = (e, t, n) => new Promise((o, a) => {
2
- var s = (l) => {
1
+ var p = (e, t, n) => new Promise((o, a) => {
2
+ var s = (d) => {
3
3
  try {
4
- d(n.next(l));
4
+ l(n.next(d));
5
5
  } catch (f) {
6
6
  a(f);
7
7
  }
8
- }, c = (l) => {
8
+ }, c = (d) => {
9
9
  try {
10
- d(n.throw(l));
10
+ l(n.throw(d));
11
11
  } catch (f) {
12
12
  a(f);
13
13
  }
14
- }, d = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(s, c);
15
- d((n = n.apply(e, t)).next());
14
+ }, l = (d) => d.done ? o(d.value) : Promise.resolve(d.value).then(s, c);
15
+ l((n = n.apply(e, t)).next());
16
16
  });
17
- import { r as w, h as i, F as h, g as C } from "./index-34008883-DRJSKOUl.js";
18
- const k = "en";
17
+ import { b as w, p as C, r as k, h as i, F as h } from "./index-9c0f6c58-DeLVbTUg.js";
18
+ import { a as x } from "./app-globals-0f993ce5-DzSE6TtH.js";
19
+ var S = () => {
20
+ const e = import.meta.url, t = {};
21
+ return e !== "" && (t.resourcesUrl = new URL(".", e).href), C(t);
22
+ };
23
+ S().then((e) => p(void 0, null, function* () {
24
+ return yield x(), w([["player-kyc-verification", [[1, "player-kyc-verification", { 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"], verificationType: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], selectedOption: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e);
25
+ }));
26
+ const b = "en";
19
27
  let u = {
20
28
  en: {
21
29
  loading: "Loading, please wait ...",
@@ -526,7 +534,7 @@ let u = {
526
534
  Voucher: "Voucher"
527
535
  }
528
536
  };
529
- const g = (e) => new Promise((t) => {
537
+ const y = (e) => new Promise((t) => {
530
538
  fetch(e).then((n) => n.json()).then((n) => {
531
539
  Object.keys(n).forEach((o) => {
532
540
  u[o] || (u[o] = {});
@@ -536,9 +544,9 @@ const g = (e) => new Promise((t) => {
536
544
  });
537
545
  }), r = (e, t, n) => {
538
546
  const o = t;
539
- return u[o !== void 0 && o in u ? o : k][e];
540
- }, x = (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));
541
- function y(e, t) {
547
+ return u[o !== void 0 && o in u ? o : b][e];
548
+ }, 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));
549
+ function g(e, t) {
542
550
  if (e) {
543
551
  const n = document.createElement("style");
544
552
  n.innerHTML = t, e.appendChild(n);
@@ -553,7 +561,7 @@ function v(e, t) {
553
561
  console.error("There was an error while trying to load client styling from URL", o);
554
562
  });
555
563
  }
556
- function b(e, t, n) {
564
+ function D(e, t, n) {
557
565
  if (window.emMessageBus) {
558
566
  const o = document.createElement("style");
559
567
  window.emMessageBus.subscribe(t, (a) => {
@@ -561,7 +569,7 @@ function b(e, t, n) {
561
569
  });
562
570
  }
563
571
  }
564
- const S = `:host {
572
+ const O = `:host {
565
573
  font-family: inherit;
566
574
  }
567
575
 
@@ -740,31 +748,31 @@ button, select {
740
748
  .player-kyc-verification-widget .verification-types {
741
749
  grid-template-columns: repeat(2, 1fr);
742
750
  }
743
- }`, P = S, D = class {
751
+ }`, I = O, B = class {
744
752
  constructor(e) {
745
- w(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = x(this.userAgent), this.handleToggleScreen = () => {
753
+ k(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = P(this.userAgent), this.handleToggleScreen = () => {
746
754
  this.toggleScreen(this.isMobile);
747
755
  }, 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.verificationType = [], this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.selectedOption = void 0, this.expandedOnDesktop = !1;
748
756
  }
749
757
  handleNewTranslations() {
750
- this.isLoading = !0, g(this.translationUrl).then(() => {
758
+ this.isLoading = !0, y(this.translationUrl).then(() => {
751
759
  this.isLoading = !1;
752
760
  });
753
761
  }
754
762
  componentWillLoad() {
755
- return m(this, null, function* () {
756
- this.translationUrl.length > 2 && (yield g(this.translationUrl));
763
+ return p(this, null, function* () {
764
+ this.translationUrl.length > 2 && (yield y(this.translationUrl));
757
765
  });
758
766
  }
759
767
  handleClientStylingChange(e, t) {
760
- e != t && y(this.stylingContainer, this.clientStyling);
768
+ e != t && g(this.stylingContainer, this.clientStyling);
761
769
  }
762
770
  handleClientStylingUrlChange(e, t) {
763
771
  e != t && this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl);
764
772
  }
765
773
  componentDidLoad() {
766
- return m(this, null, function* () {
767
- this.stylingContainer && (window.emMessageBus != null ? b(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && y(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
774
+ return p(this, null, function* () {
775
+ this.stylingContainer && (window.emMessageBus != null ? D(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
768
776
  try {
769
777
  let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
770
778
  const t = {
@@ -878,18 +886,18 @@ button, select {
878
886
  }
879
887
  renderVerificationTypeBox(e) {
880
888
  this.expandedOnDesktop && (e.expanded = !0);
881
- let t = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || t, s = e.status, c = e.documents, d = e.flowInfo;
882
- const l = s === "Verified", f = s === "Failed" || s === "Expired";
883
- return i("div", { class: `verification-box ${n ? "expanded" : ""} ${f ? "failed" : ""} ${l ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
884
- var p;
885
- return this.toggleVerificationType(e.type, (p = e.flowInfo) === null || p === void 0 ? void 0 : p.type);
886
- } }, i("div", { class: "box-icon" }, l ? i("div", null, this.verifiedIcon ? i("ui-image", { imgClass: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : f ? i("div", null, this.failedIcon ? i("ui-image", { imgClass: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("ui-image", { imgClass: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("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" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("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" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, c, d, l, f) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
889
+ let t = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || t, s = e.status, c = e.documents, l = e.flowInfo;
890
+ const d = s === "Verified", f = s === "Failed" || s === "Expired";
891
+ return i("div", { class: `verification-box ${n ? "expanded" : ""} ${f ? "failed" : ""} ${d ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
892
+ var m;
893
+ return this.toggleVerificationType(e.type, (m = e.flowInfo) === null || m === void 0 ? void 0 : m.type);
894
+ } }, i("div", { class: "box-icon" }, d ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : f ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("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" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("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" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, c, l, d, f) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
887
895
  }
888
896
  renderDocumentsActions(e, t, n) {
889
897
  return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e != null && e.statusUploaded ? i("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("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, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, t ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, this.selectedOption, n.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
890
898
  }
891
899
  renderExpandedContent(e, t, n, o, a, s, c) {
892
- return (a == null ? void 0 : a.type) === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : (a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(h, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : c ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (d) => this.handleOptionChange(d, e.type) }, o.map((d) => i("option", { selected: d.code == t, value: d.code }, r(d.type, this.language)))), this.renderDocumentsActions(o.find((d) => d.code === t), t, e)) : null));
900
+ return (a == null ? void 0 : a.type) === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : (a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(h, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : c ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => i("option", { selected: l.code == t, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === t), t, e)) : null));
893
901
  }
894
902
  render() {
895
903
  return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("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)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(h, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
@@ -902,43 +910,7 @@ button, select {
902
910
  };
903
911
  }
904
912
  };
905
- D.style = P;
906
- const O = ":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", I = O, B = class {
907
- constructor(e) {
908
- w(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.imgClass = "", this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
909
- }
910
- handleSrc() {
911
- if (!this.shouldLoad)
912
- return;
913
- const e = new Image();
914
- e.src = this.src, e.onload = () => {
915
- this.image && (this.image.src = this.src, this.imgLoaded = !0, this.el.dispatchEvent(new CustomEvent("load", { bubbles: !0 })));
916
- };
917
- }
918
- componentDidLoad() {
919
- "IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((e) => {
920
- e.forEach((t) => {
921
- if (t.isIntersecting) {
922
- const n = t.target.__uxComponent;
923
- n && (n.shouldLoad = !0, n.handleSrc()), window.EMUxObserver.unobserve(t.target);
924
- }
925
- });
926
- }, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
927
- }
928
- render() {
929
- return i("img", { key: "2bb4dc391fc2f753514103e91c0abf065de3236a", ref: (e) => this.image = e, style: this.styles, class: `${this.imgClass} ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" });
930
- }
931
- get el() {
932
- return C(this);
933
- }
934
- static get watchers() {
935
- return {
936
- src: ["handleSrc"]
937
- };
938
- }
939
- };
940
913
  B.style = I;
941
914
  export {
942
- D as player_kyc_verification,
943
- B as ui_image
915
+ B as player_kyc_verification
944
916
  };
@@ -1,5 +1,11 @@
1
- import { r as v, h as i, F as m, g as w } from "./index-34008883-B7S8keyz.js";
2
- const C = "en";
1
+ import { b as v, p as w, r as C, h as i, F as m } from "./index-9c0f6c58-D5txcAjr.js";
2
+ import { a as k } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
+ var x = () => {
4
+ const e = import.meta.url, t = {};
5
+ return e !== "" && (t.resourcesUrl = new URL(".", e).href), w(t);
6
+ };
7
+ x().then(async (e) => (await k(), v([["player-kyc-verification", [[1, "player-kyc-verification", { 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"], verificationType: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], selectedOption: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
8
+ const S = "en";
3
9
  let c = {
4
10
  en: {
5
11
  loading: "Loading, please wait ...",
@@ -520,15 +526,15 @@ const h = (e) => new Promise((t) => {
520
526
  });
521
527
  }), r = (e, t, n) => {
522
528
  const o = t;
523
- return c[o !== void 0 && o in c ? o : C][e];
524
- }, k = (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));
525
- function g(e, t) {
529
+ return c[o !== void 0 && o in c ? o : S][e];
530
+ }, b = (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));
531
+ function y(e, t) {
526
532
  if (e) {
527
533
  const n = document.createElement("style");
528
534
  n.innerHTML = t, e.appendChild(n);
529
535
  }
530
536
  }
531
- function y(e, t) {
537
+ function g(e, t) {
532
538
  const n = new URL(t);
533
539
  fetch(n.href).then((o) => o.text()).then((o) => {
534
540
  const a = document.createElement("style");
@@ -537,7 +543,7 @@ function y(e, t) {
537
543
  console.error("There was an error while trying to load client styling from URL", o);
538
544
  });
539
545
  }
540
- function x(e, t, n) {
546
+ function P(e, t, n) {
541
547
  if (window.emMessageBus) {
542
548
  const o = document.createElement("style");
543
549
  window.emMessageBus.subscribe(t, (a) => {
@@ -545,7 +551,7 @@ function x(e, t, n) {
545
551
  });
546
552
  }
547
553
  }
548
- const b = `:host {
554
+ const D = `:host {
549
555
  font-family: inherit;
550
556
  }
551
557
 
@@ -724,9 +730,9 @@ button, select {
724
730
  .player-kyc-verification-widget .verification-types {
725
731
  grid-template-columns: repeat(2, 1fr);
726
732
  }
727
- }`, S = b, P = class {
733
+ }`, O = D, I = class {
728
734
  constructor(e) {
729
- v(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = k(this.userAgent), this.handleToggleScreen = () => {
735
+ C(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = b(this.userAgent), this.handleToggleScreen = () => {
730
736
  this.toggleScreen(this.isMobile);
731
737
  }, 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.verificationType = [], this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.selectedOption = void 0, this.expandedOnDesktop = !1;
732
738
  }
@@ -739,13 +745,13 @@ button, select {
739
745
  this.translationUrl.length > 2 && await h(this.translationUrl);
740
746
  }
741
747
  handleClientStylingChange(e, t) {
742
- e != t && g(this.stylingContainer, this.clientStyling);
748
+ e != t && y(this.stylingContainer, this.clientStyling);
743
749
  }
744
750
  handleClientStylingUrlChange(e, t) {
745
- e != t && this.clientStylingUrl && y(this.stylingContainer, this.clientStylingUrl);
751
+ e != t && this.clientStylingUrl && g(this.stylingContainer, this.clientStylingUrl);
746
752
  }
747
753
  async componentDidLoad() {
748
- this.stylingContainer && (window.emMessageBus != null ? x(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && y(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
754
+ this.stylingContainer && (window.emMessageBus != null ? P(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && y(this.stylingContainer, this.clientStyling), this.clientStylingUrl && g(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
749
755
  try {
750
756
  let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
751
757
  const t = {
@@ -822,10 +828,10 @@ button, select {
822
828
  return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), a.json();
823
829
  }).then((a) => {
824
830
  const s = new FormData();
825
- s.append(t, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((l) => {
826
- l.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), console.error("File upload error:", l.status));
827
- }).catch((l) => {
828
- console.error("File upload error:", l);
831
+ s.append(t, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((d) => {
832
+ d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), console.error("File upload error:", d.status));
833
+ }).catch((d) => {
834
+ console.error("File upload error:", d);
829
835
  });
830
836
  }).catch((a) => {
831
837
  console.error("File upload error:", a);
@@ -858,18 +864,18 @@ button, select {
858
864
  }
859
865
  renderVerificationTypeBox(e) {
860
866
  this.expandedOnDesktop && (e.expanded = !0);
861
- let t = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || t, s = e.status, l = e.documents, d = e.flowInfo;
867
+ let t = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || t, s = e.status, d = e.documents, l = e.flowInfo;
862
868
  const f = s === "Verified", u = s === "Failed" || s === "Expired";
863
869
  return i("div", { class: `verification-box ${n ? "expanded" : ""} ${u ? "failed" : ""} ${f ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
864
870
  var p;
865
871
  return this.toggleVerificationType(e.type, (p = e.flowInfo) === null || p === void 0 ? void 0 : p.type);
866
- } }, i("div", { class: "box-icon" }, f ? i("div", null, this.verifiedIcon ? i("ui-image", { imgClass: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : u ? i("div", null, this.failedIcon ? i("ui-image", { imgClass: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("ui-image", { imgClass: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("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" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("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" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, l, d, f, u) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
872
+ } }, i("div", { class: "box-icon" }, f ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : u ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("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" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("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" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, d, l, f, u) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
867
873
  }
868
874
  renderDocumentsActions(e, t, n) {
869
875
  return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("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, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, t ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, this.selectedOption, n.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
870
876
  }
871
- renderExpandedContent(e, t, n, o, a, s, l) {
872
- return a?.type === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : a?.type === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(m, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : l ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (d) => this.handleOptionChange(d, e.type) }, o.map((d) => i("option", { selected: d.code == t, value: d.code }, r(d.type, this.language)))), this.renderDocumentsActions(o.find((d) => d.code === t), t, e)) : null));
877
+ renderExpandedContent(e, t, n, o, a, s, d) {
878
+ return a?.type === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : a?.type === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(m, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : d ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => i("option", { selected: l.code == t, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === t), t, e)) : null));
873
879
  }
874
880
  render() {
875
881
  return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("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)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(m, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
@@ -882,43 +888,7 @@ button, select {
882
888
  };
883
889
  }
884
890
  };
885
- P.style = S;
886
- const D = ":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", O = D, I = class {
887
- constructor(e) {
888
- v(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.imgClass = "", this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
889
- }
890
- handleSrc() {
891
- if (!this.shouldLoad)
892
- return;
893
- const e = new Image();
894
- e.src = this.src, e.onload = () => {
895
- this.image && (this.image.src = this.src, this.imgLoaded = !0, this.el.dispatchEvent(new CustomEvent("load", { bubbles: !0 })));
896
- };
897
- }
898
- componentDidLoad() {
899
- "IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((e) => {
900
- e.forEach((t) => {
901
- if (t.isIntersecting) {
902
- const n = t.target.__uxComponent;
903
- n && (n.shouldLoad = !0, n.handleSrc()), window.EMUxObserver.unobserve(t.target);
904
- }
905
- });
906
- }, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
907
- }
908
- render() {
909
- return i("img", { key: "2bb4dc391fc2f753514103e91c0abf065de3236a", ref: (e) => this.image = e, style: this.styles, class: `${this.imgClass} ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" });
910
- }
911
- get el() {
912
- return w(this);
913
- }
914
- static get watchers() {
915
- return {
916
- src: ["handleSrc"]
917
- };
918
- }
919
- };
920
891
  I.style = O;
921
892
  export {
922
- P as player_kyc_verification,
923
- I as ui_image
893
+ I as player_kyc_verification
924
894
  };
@@ -1,5 +1,5 @@
1
- import { r as o, h as t, H as i } from "./index-b2193545-BTiWOlSy.js";
2
- const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
1
+ import { r as o, h as t, H as i } from "./index-b2193545-CnMZ4-Ff.js";
2
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
3
3
  constructor(e) {
4
4
  o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
5
5
  }
@@ -28,7 +28,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
28
28
  return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
29
29
  }
30
30
  renderImage() {
31
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Image " + (this.animation ? "Skeleton" : "") }));
31
+ return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
32
32
  }
33
33
  renderTitle() {
34
34
  return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
@@ -138,7 +138,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
138
138
  default:
139
139
  e = "";
140
140
  }
141
- return t(i, { key: "0641e666452d2172c26ed238d236c2ca3db9f8ed" }, t("style", { key: "285fb8210d32aff7f99005627fdecf36f66e82a4" }, e), this.handleStructure(this.structure));
141
+ return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
142
142
  }
143
143
  static get watchers() {
144
144
  return {
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./index-b2193545-CZLTKj69.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",n=i,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
1
+ "use strict";const t=require("./index-b2193545-Ct5AhxM8.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",n=i,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
2
  :host {
3
3
  --emw-skeleton-logo-width: ${this.width};
4
4
  --emw-skeleton-logo-height: ${this.height};
@@ -70,4 +70,4 @@
70
70
  --emw-skeleton-primary-color: ${this.primaryColor};
71
71
  --emw-skeleton-secondary-color: ${this.secondaryColor};
72
72
  }
73
- `;break;default:e=""}return t.h(t.Host,{key:"0641e666452d2172c26ed238d236c2ca3db9f8ed"},t.h("style",{key:"285fb8210d32aff7f99005627fdecf36f66e82a4"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=n;exports.UiSkeleton=o;
73
+ `;break;default:e=""}return t.h(t.Host,{key:"3bb792a149db7fe732d5cbfa092cdb4d6ca0689e"},t.h("style",{key:"a4607599b60659f385ae2660513e38b383739674"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=n;exports.UiSkeleton=o;
@@ -1,5 +1,5 @@
1
- import { r as o, h as t, H as i } from "./index-b2193545-DXYxg-Ur.js";
2
- const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
1
+ import { r as o, h as t, H as i } from "./index-b2193545-DePry399.js";
2
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
3
3
  constructor(e) {
4
4
  o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
5
5
  }
@@ -28,7 +28,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
28
28
  return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
29
29
  }
30
30
  renderImage() {
31
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Image " + (this.animation ? "Skeleton" : "") }));
31
+ return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
32
32
  }
33
33
  renderTitle() {
34
34
  return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
@@ -138,7 +138,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
138
138
  default:
139
139
  e = "";
140
140
  }
141
- return t(i, { key: "0641e666452d2172c26ed238d236c2ca3db9f8ed" }, t("style", { key: "285fb8210d32aff7f99005627fdecf36f66e82a4" }, e), this.handleStructure(this.structure));
141
+ return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
142
142
  }
143
143
  static get watchers() {
144
144
  return {
@@ -1,6 +1,6 @@
1
- import { b as t, p as e } from "./index-b2193545-BTiWOlSy.js";
2
- import { c as a } from "./app-globals-0f993ce5-CQ9uDp49.js";
3
- import { U as u } from "./ui-skeleton-6d1c12ae-C3kv5BUk.js";
1
+ import { b as t, p as e } from "./index-b2193545-DePry399.js";
2
+ import { b as a } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
+ import { U as u } from "./ui-skeleton-1cb75d00-CwDKR1VD.js";
4
4
  var i = () => {
5
5
  const r = import.meta.url, o = {};
6
6
  return r !== "" && (o.resourcesUrl = new URL(".", r).href), e(o);
@@ -14,15 +14,15 @@ var n = (o, t, e) => new Promise((m, s) => {
14
14
  }, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, u);
15
15
  a((e = e.apply(o, t)).next());
16
16
  });
17
- import { b as c, p } from "./index-b2193545-DXYxg-Ur.js";
18
- import { c as g } from "./app-globals-0f993ce5-CQ9uDp49.js";
19
- import { U as R } from "./ui-skeleton-6d1c12ae-CaaJODhZ.js";
17
+ import { b as p, p as c } from "./index-b2193545-CnMZ4-Ff.js";
18
+ import { b as g } from "./app-globals-0f993ce5-DzSE6TtH.js";
19
+ import { U as R } from "./ui-skeleton-1cb75d00-BI5A-j0y.js";
20
20
  var h = () => {
21
21
  const o = import.meta.url, t = {};
22
- return o !== "" && (t.resourcesUrl = new URL(".", o).href), p(t);
22
+ return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
23
23
  };
24
24
  h().then((o) => n(void 0, null, function* () {
25
- return yield g(), c([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], o);
25
+ return yield g(), p([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], o);
26
26
  }));
27
27
  export {
28
28
  R as ui_skeleton
@@ -1 +1 @@
1
- "use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-CZLTKj69.cjs"),p=require("./app-globals-0f993ce5-zj2RKZu-.cjs"),g=require("./ui-skeleton-6d1c12ae-DJPgMPrF.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-84ZRJzrd.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$3(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
1
+ "use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-Ct5AhxM8.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs"),g=require("./ui-skeleton-1cb75d00-Batko5iK.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-t0bb1jH7.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;