@everymatrix/player-account-controller 1.56.0 → 1.56.2

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 (174) hide show
  1. package/components/GeneralLogout-B0tDLggX.cjs +21 -0
  2. package/components/{GeneralLogout-DKa2JUny.js → GeneralLogout-BSaw6CR3.js} +706 -647
  3. package/components/{GeneralLogout-DH2dZPHM.js → GeneralLogout-P0C6s5DZ.js} +804 -745
  4. package/components/PlayerAccountBettingHistory-DeLbSbrJ.js +329 -0
  5. package/components/PlayerAccountBettingHistory-QrFClf-q.cjs +1 -0
  6. package/components/{PlayerAccountBettingHistory-DcspNMNL.js → PlayerAccountBettingHistory-l2jKP400.js} +126 -127
  7. package/components/{PlayerAccountBiometrics-D3fKLHtV.js → PlayerAccountBiometrics-BrjU0LiD.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-8CaZALdD.cjs → PlayerAccountBiometrics-Bs6NMHc0.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-BBYUw87N.js → PlayerAccountBiometrics-DSkIQnzt.js} +22 -22
  10. package/components/{PlayerAccountClosure-Z7IuAXPP.cjs → PlayerAccountClosure-BOIOY2XA.cjs} +1 -1
  11. package/components/{PlayerAccountClosure-DJv7cY7T.js → PlayerAccountClosure-DfeDK9W_.js} +32 -32
  12. package/components/{PlayerAccountClosure-CtTfS7wl.js → PlayerAccountClosure-DiGREXoY.js} +32 -32
  13. package/components/{PlayerAccountController-BqEnzpc6.js → PlayerAccountController-B0nEgZTS.js} +340 -296
  14. package/components/{PlayerAccountController-BfaTH0AY.cjs → PlayerAccountController-B7U-7bNI.cjs} +1 -1
  15. package/components/{PlayerAccountController-Djsrrn-h.js → PlayerAccountController-CFyMeqDb.js} +339 -295
  16. package/components/{PlayerAccountGamingLimits-cnXxBvfZ.js → PlayerAccountGamingLimits-Crfy5IPI.js} +81 -81
  17. package/components/{PlayerAccountGamingLimits-DoYSa5g4.cjs → PlayerAccountGamingLimits-D46zagPJ.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-Bd5ti2Yy.js → PlayerAccountGamingLimits-Ktm0tqeu.js} +81 -81
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs → PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CS4mjsLb.js → PlayerAccountGamingLimitsConfirmationModal-CVt2dp2q.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-_MNPhSXy.js → PlayerAccountGamingLimitsConfirmationModal-GJsD4EXP.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-C7OBS8be.js → PlayerAccountGamingLimitsGroupEdit-CBQMS6_H.js} +1302 -1355
  23. package/components/PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs +10 -0
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-45Rp4DP_.js → PlayerAccountGamingLimitsGroupEdit-G4w9DdS2.js} +1302 -1355
  25. package/components/{PlayerAccountGamingLimitsHistory2-mJtlR6Ge.js → PlayerAccountGamingLimitsHistory2-Ciipqbhq.js} +43 -42
  26. package/components/{PlayerAccountGamingLimitsHistory2-VyLPwXZu.js → PlayerAccountGamingLimitsHistory2-CtA0oegi.js} +41 -40
  27. package/components/{PlayerAccountGamingLimitsHistory2-XZt8OllP.cjs → PlayerAccountGamingLimitsHistory2-D4h59ZvH.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-C7pCh3__.js → PlayerAccountGamingLimitsInfoCard-BEtS-68W.js} +91 -87
  29. package/components/{PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs → PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-BxU5hBOF.js → PlayerAccountGamingLimitsInfoCard-LGJizeyk.js} +91 -87
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-CNiOjWfB.js → PlayerAccountGamingLimitsPage2Gm16-BcM2sb1p.js} +35 -22
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-D66arvZd.js → PlayerAccountGamingLimitsPage2Gm16-DdhPHIQd.js} +35 -22
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cha-RkAd.cjs → PlayerAccountGamingLimitsPage2Gm16-HZl-4uMr.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPopup-BzEwvjUN.js → PlayerAccountGamingLimitsPopup-CdRdI3JR.js} +26 -26
  35. package/components/{PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs → PlayerAccountGamingLimitsPopup-DyBIvm50.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-D3UUO_Eq.js → PlayerAccountGamingLimitsPopup-Yhb7EjIg.js} +26 -26
  37. package/components/{PlayerAccountGamingLimitsWrapper2-Bodw0FD-.js → PlayerAccountGamingLimitsWrapper2-BYv2y-rY.js} +55 -55
  38. package/components/{PlayerAccountGamingLimitsWrapper2-5LQf2KmJ.js → PlayerAccountGamingLimitsWrapper2-C6xKIGFF.js} +20 -20
  39. package/components/{PlayerAccountGamingLimitsWrapper2-CFxTXIfS.cjs → PlayerAccountGamingLimitsWrapper2-gGub1fuG.cjs} +1 -1
  40. package/components/{PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs → PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-D8JPZNbs.js → PlayerAccountGeneralConfirmationModal-CD-C2QtO.js} +34 -34
  42. package/components/{PlayerAccountGeneralConfirmationModal-CXql07aQ.js → PlayerAccountGeneralConfirmationModal-DyiU178q.js} +34 -34
  43. package/components/{PlayerAccountMenu-BHWtSf34.js → PlayerAccountMenu-CdKBgnzJ.js} +180 -158
  44. package/components/{PlayerAccountMenu-CKSsdVD4.js → PlayerAccountMenu-DFrCnbsI.js} +211 -189
  45. package/components/PlayerAccountMenu-bdpP915D.cjs +1 -0
  46. package/components/{PlayerAccountModal-CLW-XTid.cjs → PlayerAccountModal-COJeLuDu.cjs} +1 -1
  47. package/components/{PlayerAccountModal-CAL-lChv.js → PlayerAccountModal-DvoqjoAL.js} +27 -27
  48. package/components/{PlayerAccountModal-c01xdqmW.js → PlayerAccountModal-oVEZuWB2.js} +27 -27
  49. package/components/{PlayerAccountNotifications-CitVsKYm.js → PlayerAccountNotifications-BaNsCEei.js} +35 -33
  50. package/components/{PlayerAccountNotifications-B-haSjPr.cjs → PlayerAccountNotifications-DAWwzmCU.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-Bvoot0Jw.js → PlayerAccountNotifications-fgHOmoJ0.js} +36 -34
  52. package/components/{PlayerAccountSelfExclusion-Cz0rML3Z.js → PlayerAccountSelfExclusion-ARIxVSLP.js} +1578 -1559
  53. package/components/{PlayerAccountSelfExclusion-DzxXZ0NG.js → PlayerAccountSelfExclusion-Bx-xxb7Y.js} +1454 -1434
  54. package/components/{PlayerAccountSelfExclusion-CW1t2BNm.cjs → PlayerAccountSelfExclusion-lAbJlcUC.cjs} +182 -184
  55. package/components/{PlayerAccountTimeout-gWHY_22Q.js → PlayerAccountTimeout-04shprSV.js} +41 -41
  56. package/components/{PlayerAccountTimeout-9wxsYv0_.js → PlayerAccountTimeout-C392Fv8K.js} +41 -41
  57. package/components/{PlayerAccountTimeout-CAWJeQ3d.cjs → PlayerAccountTimeout-C7KH6ovR.cjs} +1 -1
  58. package/components/{PlayerActiveBonuses-qHNn2eq8.js → PlayerActiveBonuses-5eFyy-RT.js} +239 -217
  59. package/components/PlayerActiveBonuses-DZpjmd5_.cjs +1 -0
  60. package/components/{PlayerActiveBonuses-D0jBzeb4.js → PlayerActiveBonuses-TbfmKgcG.js} +239 -217
  61. package/components/{PlayerBonusCard-5gtng8cd.cjs → PlayerBonusCard-BLy1uhLi.cjs} +1 -1
  62. package/components/{PlayerBonusCard-CaQEQ2Fx.js → PlayerBonusCard-CukAjEqo.js} +80 -80
  63. package/components/{PlayerBonusCard-CGoRkCFh.js → PlayerBonusCard-DW5VwRsP.js} +80 -80
  64. package/components/{PlayerBonusHistory-DfQd--j_.js → PlayerBonusHistory-CIbSh98F.js} +33 -33
  65. package/components/{PlayerBonusHistory-C6p_5FRc.cjs → PlayerBonusHistory-DLekMCrR.cjs} +1 -1
  66. package/components/{PlayerBonusHistory-DBCc2ItI.js → PlayerBonusHistory-DyASnKHg.js} +33 -33
  67. package/components/{PlayerChangePassword-6dHXMBQg.js → PlayerChangePassword-Bjf-BD9m.js} +86 -84
  68. package/components/{PlayerChangePassword-COdBpupf.js → PlayerChangePassword-RGHCaEP3.js} +86 -84
  69. package/components/{PlayerChangePassword-BsM1lBfW.cjs → PlayerChangePassword-UepIdqvw.cjs} +1 -1
  70. package/components/{PlayerDeposit-DwxXelMX.js → PlayerDeposit-BEZ5yfVx.js} +99 -99
  71. package/components/{PlayerDeposit-CTXnx-k2.js → PlayerDeposit-C2zLAno5.js} +99 -99
  72. package/components/PlayerDeposit-Dcjjga2V.cjs +1 -0
  73. package/components/{PlayerGamingHistory-4f_MiXvH.js → PlayerGamingHistory-DYtKLxtA.js} +57 -57
  74. package/components/{PlayerGamingHistory-DAfDiFej.cjs → PlayerGamingHistory-Qv5CmegZ.cjs} +1 -1
  75. package/components/{PlayerGamingHistory-dDHtahYn.js → PlayerGamingHistory-f408ehA1.js} +62 -62
  76. package/components/{PlayerPendingWithdrawals-CHHH7JPW.js → PlayerPendingWithdrawals-Bl7G42a8.js} +26 -26
  77. package/components/{PlayerPendingWithdrawals-qMs8We3P.cjs → PlayerPendingWithdrawals-CvxjxkOD.cjs} +1 -1
  78. package/components/{PlayerPendingWithdrawals-BFrv_-ow.js → PlayerPendingWithdrawals-Dd-hUBTs.js} +26 -26
  79. package/components/{PlayerProfileInfo-DDHAv267.cjs → PlayerProfileInfo-AlvN_pUL.cjs} +1 -1
  80. package/components/{PlayerProfileInfo-Yky_xo7E.js → PlayerProfileInfo-Chwlpy6G.js} +74 -72
  81. package/components/{PlayerProfileInfo-DlA-e6OI.js → PlayerProfileInfo-tT3FUcqx.js} +74 -72
  82. package/components/{PlayerRealityCheck-JOxPFKqm.js → PlayerRealityCheck-6MNq7GKW.js} +33 -33
  83. package/components/{PlayerRealityCheck-Bn_ov_Ie.js → PlayerRealityCheck-BBRdpOqG.js} +33 -33
  84. package/components/{PlayerRealityCheck-BLlc8RGo.cjs → PlayerRealityCheck-DSYoUIrf.cjs} +1 -1
  85. package/components/{PlayerTransactionHistory-CxRrWzgQ.js → PlayerTransactionHistory-6qxdyqQZ.js} +24 -24
  86. package/components/{PlayerTransactionHistory-CzOvo_E3.js → PlayerTransactionHistory-BrGY_Ah9.js} +24 -24
  87. package/components/{PlayerTransactionHistory-BqEXyDt-.cjs → PlayerTransactionHistory-Cvm1EwgV.cjs} +1 -1
  88. package/components/{PlayerWithdrawal-BlhHRFmC.js → PlayerWithdrawal-B3-mcOWq.js} +19 -19
  89. package/components/{PlayerWithdrawal-1i-tYxaO.cjs → PlayerWithdrawal-D9w69Llz.cjs} +1 -1
  90. package/components/{PlayerWithdrawal-CnoGAUmo.js → PlayerWithdrawal-dfFj1w6I.js} +19 -19
  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/checkbox-group-input_9-DMrH9pTx.cjs +2045 -0
  96. package/stencil/{checkbox-group-input_9-B_RfUM6E.js → checkbox-group-input_9-DtZ9kvK4.js} +945 -903
  97. package/stencil/{checkbox-group-input_9-C98yT4vw.js → checkbox-group-input_9-DvXvp-ML.js} +984 -942
  98. package/stencil/general-input-CFqrfrup.cjs +1 -0
  99. package/stencil/{general-input-CqTf7ErJ.js → general-input-eCxMClmW.js} +6 -6
  100. package/stencil/{general-input-DTHw5Z1Q.js → general-input-rL_ftR3H.js} +6 -6
  101. package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
  102. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
  103. package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
  104. package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
  105. package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
  106. package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
  107. package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
  108. package/stencil/index-9c0f6c58-CqoLeK5G.js +549 -0
  109. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
  110. package/stencil/index-9cd44522-BqLgI-Ho.js +626 -0
  111. package/stencil/index-9cd44522-Cygpa4pV.js +610 -0
  112. package/stencil/index-9cd44522-DwMekoGN.cjs +1 -0
  113. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
  114. package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
  115. package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
  116. package/stencil/{password-input_2-CdHS5fmR.js → password-input_2-9_yxZI2g.js} +51 -31
  117. package/stencil/{password-input_2-B2qvf6ku.cjs → password-input_2-BabcxKun.cjs} +7 -7
  118. package/stencil/{password-input_2-DdQvCp3o.js → password-input_2-D-YA_Jkx.js} +51 -31
  119. package/stencil/{player-change-password-gm2-38dff08c-BNhjxr22.js → player-change-password-gm2-039e300e-CcWiaT26.js} +3 -3
  120. package/stencil/{player-change-password-gm2-38dff08c-DnYXSeKg.cjs → player-change-password-gm2-039e300e-DiYWgS70.cjs} +1 -1
  121. package/stencil/{player-change-password-gm2-38dff08c-CPRdwVFF.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +3 -3
  122. package/stencil/player-change-password-gm2-BWjI2Hs0.js +25 -0
  123. package/stencil/player-change-password-gm2-BaYafift.js +7 -0
  124. package/stencil/player-change-password-gm2-DsT1aXcX.cjs +1 -0
  125. package/stencil/{player-kyc-verification-BPrVDLfj.js → player-kyc-verification-B8arDCja.js} +7 -7
  126. package/stencil/{player-kyc-verification-CRwnm961.js → player-kyc-verification-Di40xn9z.js} +11 -11
  127. package/stencil/{player-kyc-verification-5V24oWMX.cjs → player-kyc-verification-GFBDUbhm.cjs} +2 -2
  128. package/stencil/{toggle-checkbox-input-B4OOk9wz.js → toggle-checkbox-input-BxUGWw2X.js} +15 -7
  129. package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
  130. package/stencil/{toggle-checkbox-input-Cwo_Ny77.js → toggle-checkbox-input-PSoH9KF2.js} +15 -7
  131. package/stencil/{ui-skeleton-BjdFVTvB.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
  132. package/stencil/{ui-skeleton-Bw-C78oa.js → ui-skeleton-DT0OMDC6.js} +2 -2
  133. package/stencil/{ui-skeleton-BkychLQM.js → ui-skeleton-T4HYbNcC.js} +2 -2
  134. package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +1 -0
  135. package/stencil/{ui-skeleton-982450d2-CXoVwMz-.js → ui-skeleton-a642cced-Ba-weZ4g.js} +21 -21
  136. package/stencil/{ui-skeleton-982450d2-DgSl7oS5.js → ui-skeleton-a642cced-DhjmNsN7.js} +21 -21
  137. package/stencil/{user-deposit-withdrawal-Bn1WPRou.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +2 -2
  138. package/stencil/{user-deposit-withdrawal-51pO8ttC.js → user-deposit-withdrawal-DRe5oBqv.js} +63 -42
  139. package/stencil/{user-deposit-withdrawal-C0SOQks0.js → user-deposit-withdrawal-Dj3Po03r.js} +62 -41
  140. package/stencil/{user-transaction-history-LRgu-JMX.js → user-transaction-history-6-z3byrF.js} +5 -5
  141. package/stencil/{user-transaction-history-BsTUJ4on.js → user-transaction-history-Dca7qx08.js} +5 -5
  142. package/stencil/{user-transaction-history-8EskARbv.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
  143. package/stencil/{vaadin-button-mixin-ef61174c-DuDVejN4.cjs → vaadin-button-mixin-e8c3f355-BdntioNA.cjs} +130 -124
  144. package/stencil/{vaadin-button-mixin-ef61174c-B_vhSFKU.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +821 -795
  145. package/stencil/{vaadin-button-mixin-ef61174c-EQiVsI4x.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +931 -906
  146. package/components/GeneralLogout-9pZTJKCj.cjs +0 -8
  147. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +0 -1
  148. package/components/PlayerAccountBettingHistory-CxIU3NjD.js +0 -328
  149. package/components/PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs +0 -10
  150. package/components/PlayerAccountMenu-5EvNrc-W.cjs +0 -1
  151. package/components/PlayerActiveBonuses-DTgD47j8.cjs +0 -1
  152. package/components/PlayerDeposit-0eaqfWH1.cjs +0 -1
  153. package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +0 -2045
  154. package/stencil/general-input-wM2i7b57.cjs +0 -1
  155. package/stencil/index-12dd2b03-B2coll71.js +0 -725
  156. package/stencil/index-12dd2b03-Dd1hsUZX.cjs +0 -1
  157. package/stencil/index-12dd2b03-YP3skHrn.js +0 -698
  158. package/stencil/index-92b64862-BRYoLHww.cjs +0 -1
  159. package/stencil/index-92b64862-C_69cKxK.js +0 -708
  160. package/stencil/index-92b64862-w9a1l35N.js +0 -692
  161. package/stencil/index-b1bdf3f6-0mlbFiN3.js +0 -632
  162. package/stencil/index-b1bdf3f6-DBuAhDH-.js +0 -659
  163. package/stencil/index-b1bdf3f6-DdF5azN0.cjs +0 -1
  164. package/stencil/index-c7e52808-7ohcD8fQ.js +0 -638
  165. package/stencil/index-c7e52808-DYutdKGj.cjs +0 -1
  166. package/stencil/index-c7e52808-WCb5gCA6.js +0 -654
  167. package/stencil/index-db5752f9-B4MZ13Fz.js +0 -610
  168. package/stencil/index-db5752f9-C_VcDZns.js +0 -594
  169. package/stencil/index-db5752f9-DSHLGBj_.cjs +0 -1
  170. package/stencil/player-change-password-gm2-1hTMqepH.js +0 -7
  171. package/stencil/player-change-password-gm2-2YEpyazj.js +0 -25
  172. package/stencil/player-change-password-gm2-CDxgB3eD.cjs +0 -1
  173. package/stencil/toggle-checkbox-input-tQDhlcag.cjs +0 -1
  174. package/stencil/ui-skeleton-982450d2-BEC6vjfL.cjs +0 -1
@@ -1,12 +1,15 @@
1
- import { r as l, c as o, h as t } from "./index-92b64862-C_69cKxK.js";
1
+ import { r as l, c as o, h as t } from "./index-9cd44522-BqLgI-Ho.js";
2
2
  import { t as a } from "./locale-BG_TzyDt.js";
3
- import { t as r } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
- const s = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', n = s, c = class {
3
+ import { t as n } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
+ const s = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', r = s, c = class {
5
5
  constructor(e) {
6
- l(this, e), this.sendValidityState = o(this, "sendValidityState"), this.sendInputValue = o(this, "sendInputValue"), this.defaultValue = "", this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.showFields = this.defaultValue === "true", this.value = "", this.setClientStyling = () => {
6
+ l(this, e), this.sendValidityState = o(this, "sendValidityState", 7), this.sendInputValue = o(this, "sendInputValue", 7), this.value = "", this.setClientStyling = () => {
7
7
  let i = document.createElement("style");
8
8
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
9
- };
9
+ }, this.name = void 0, this.displayName = void 0, this.defaultValue = "", this.options = void 0, this.autofilled = void 0, this.tooltip = void 0, this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1, this.showFields = this.defaultValue === "true";
10
+ }
11
+ handleStylingChange(e, i) {
12
+ e !== i && this.setClientStyling();
10
13
  }
11
14
  validityStateHandler(e) {
12
15
  this.sendValidityState.emit(e);
@@ -37,10 +40,15 @@ const s = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggle
37
40
  return this.showTooltip ? t("div", { class: `togglecheckbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (e) => this.tooltipReference = e, innerHTML: this.tooltip }) : null;
38
41
  }
39
42
  render() {
40
- return t("div", { key: "8c8e9bb2ae7feadf3a5fc38b9913e38d7ccb9aed", class: `togglecheckbox__wrapper ${this.name}__input`, ref: (e) => this.stylingContainer = e }, t("div", { key: "18e2ec43ff98738323ddab1e134d6d215978e1c7", class: "togglecheckbox__wrapper--flex" }, t("input", { key: "640b3ba4fd34bd813239533236e51f452e735409", class: "togglecheckbox__input", type: "checkbox", id: `${this.name}__input`, ref: (e) => this.checkboxReference = e, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), t("small", { key: "efd70a691559cfa98e93561dd945a0fe92909718", class: "togglecheckbox__error-message" }, this.errorMessage), t("div", { key: "e56a8fafa17da25d01f894fe6e6c143c318d2aab", class: "togglecheckbox__wrapper--relative" }, this.tooltip && t("img", { key: "8b59366827b8f4f8ca5581203a2dca44ae8132d5", class: "togglecheckbox__tooltip-icon", src: r, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), t("div", { key: "475e27345b51396c36e78b5a1e06edd980bc3ae1", class: `togglecheckbox__fields-wrapper ${this.showFields ? "" : "hidden"}` }, this.options.map((e) => t("general-input", { type: e.inputType, name: e.name, displayName: e.displayName, validation: e.validate, action: e.action || null, defaultValue: e.defaultValue, autofilled: e.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: e.tooltip, placeholder: e.placeholder == null ? "" : e.placeholder }))));
43
+ return t("div", { key: "e8be91ce94cf76ebecc58a433ab567ab549f4692", class: `togglecheckbox__wrapper ${this.name}__input`, ref: (e) => this.stylingContainer = e }, t("div", { key: "dd42a6316cda06e357843165329de7525a24e3d5", class: "togglecheckbox__wrapper--flex" }, t("input", { key: "932a6f8caeafa0d006f636484e33dda246c314d0", class: "togglecheckbox__input", type: "checkbox", id: `${this.name}__input`, ref: (e) => this.checkboxReference = e, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), t("small", { key: "cbc789c8a5c21debc05971ff347371fbc25d4975", class: "togglecheckbox__error-message" }, this.errorMessage), t("div", { key: "a5ce470c985829eb1f5a0567bb974cc15e3d0d64", class: "togglecheckbox__wrapper--relative" }, this.tooltip && t("img", { key: "faef05dd9341ffe44b6833ca8f4c86b85ed61956", class: "togglecheckbox__tooltip-icon", src: n, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), t("div", { key: "89fed5f103acecca78fa53eea64d57574ef42727", class: `togglecheckbox__fields-wrapper ${this.showFields ? "" : "hidden"}` }, this.options.map((e) => t("general-input", { type: e.inputType, name: e.name, displayName: e.displayName, validation: e.validate, action: e.action || null, defaultValue: e.defaultValue, autofilled: e.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: e.tooltip, placeholder: e.placeholder == null ? "" : e.placeholder }))));
44
+ }
45
+ static get watchers() {
46
+ return {
47
+ clientStyling: ["handleStylingChange"]
48
+ };
41
49
  }
42
50
  };
43
- c.style = n;
51
+ c.style = r;
44
52
  export {
45
53
  c as toggle_checkbox_input
46
54
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-9cd44522-DwMekoGN.cjs"),l=require("./locale-B5abSHU_.cjs"),a=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),n='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}',s=n,o=class{constructor(e){t.registerInstance(this,e),this.sendValidityState=t.createEvent(this,"sendValidityState",7),this.sendInputValue=t.createEvent(this,"sendInputValue",7),this.value="",this.setClientStyling=()=>{let i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.options=void 0,this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.showFields=this.defaultValue==="true"}handleStylingChange(e,i){e!==i&&this.setClientStyling()}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}handleClick(){this.showFields=this.checkboxReference.checked,this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.valueHandler({name:this.name,value:this.checkboxReference.checked?"true":"false",type:"toggle"})}setValidity(){return this.checkboxReference.validity.valid}setErrorMessage(){if(this.checkboxReference.validity.valueMissing)return l.translate("requiredError",this.language)}renderLabel(){return t.h("label",{class:"togglecheckbox__label",htmlFor:`${this.name}__input`},t.h("div",{class:"togglecheckbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?t.h("div",{class:`togglecheckbox__tooltip ${this.showTooltip?"visible":""}`,ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return t.h("div",{key:"e8be91ce94cf76ebecc58a433ab567ab549f4692",class:`togglecheckbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},t.h("div",{key:"dd42a6316cda06e357843165329de7525a24e3d5",class:"togglecheckbox__wrapper--flex"},t.h("input",{key:"932a6f8caeafa0d006f636484e33dda246c314d0",class:"togglecheckbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.checkboxReference=e,name:this.name,checked:this.defaultValue==="true",readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel()),t.h("small",{key:"cbc789c8a5c21debc05971ff347371fbc25d4975",class:"togglecheckbox__error-message"},this.errorMessage),t.h("div",{key:"a5ce470c985829eb1f5a0567bb974cc15e3d0d64",class:"togglecheckbox__wrapper--relative"},this.tooltip&&t.h("img",{key:"faef05dd9341ffe44b6833ca8f4c86b85ed61956",class:"togglecheckbox__tooltip-icon",src:a.tooltipIconSvg,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),t.h("div",{key:"89fed5f103acecca78fa53eea64d57574ef42727",class:`togglecheckbox__fields-wrapper ${this.showFields?"":"hidden"}`},this.options.map(e=>t.h("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:e.placeholder==null?"":e.placeholder}))))}static get watchers(){return{clientStyling:["handleStylingChange"]}}};o.style=s;exports.toggle_checkbox_input=o;
@@ -1,12 +1,15 @@
1
- import { r as l, c as o, h as t } from "./index-92b64862-w9a1l35N.js";
1
+ import { r as l, c as o, h as t } from "./index-9cd44522-Cygpa4pV.js";
2
2
  import { t as a } from "./locale-BG_TzyDt.js";
3
- import { t as r } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
- const s = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', n = s, c = class {
3
+ import { t as n } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
+ const s = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', r = s, c = class {
5
5
  constructor(e) {
6
- l(this, e), this.sendValidityState = o(this, "sendValidityState"), this.sendInputValue = o(this, "sendInputValue"), this.defaultValue = "", this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.showFields = this.defaultValue === "true", this.value = "", this.setClientStyling = () => {
6
+ l(this, e), this.sendValidityState = o(this, "sendValidityState", 7), this.sendInputValue = o(this, "sendInputValue", 7), this.value = "", this.setClientStyling = () => {
7
7
  let i = document.createElement("style");
8
8
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
9
- };
9
+ }, this.name = void 0, this.displayName = void 0, this.defaultValue = "", this.options = void 0, this.autofilled = void 0, this.tooltip = void 0, this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1, this.showFields = this.defaultValue === "true";
10
+ }
11
+ handleStylingChange(e, i) {
12
+ e !== i && this.setClientStyling();
10
13
  }
11
14
  validityStateHandler(e) {
12
15
  this.sendValidityState.emit(e);
@@ -37,10 +40,15 @@ const s = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggle
37
40
  return this.showTooltip ? t("div", { class: `togglecheckbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (e) => this.tooltipReference = e, innerHTML: this.tooltip }) : null;
38
41
  }
39
42
  render() {
40
- return t("div", { key: "8c8e9bb2ae7feadf3a5fc38b9913e38d7ccb9aed", class: `togglecheckbox__wrapper ${this.name}__input`, ref: (e) => this.stylingContainer = e }, t("div", { key: "18e2ec43ff98738323ddab1e134d6d215978e1c7", class: "togglecheckbox__wrapper--flex" }, t("input", { key: "640b3ba4fd34bd813239533236e51f452e735409", class: "togglecheckbox__input", type: "checkbox", id: `${this.name}__input`, ref: (e) => this.checkboxReference = e, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), t("small", { key: "efd70a691559cfa98e93561dd945a0fe92909718", class: "togglecheckbox__error-message" }, this.errorMessage), t("div", { key: "e56a8fafa17da25d01f894fe6e6c143c318d2aab", class: "togglecheckbox__wrapper--relative" }, this.tooltip && t("img", { key: "8b59366827b8f4f8ca5581203a2dca44ae8132d5", class: "togglecheckbox__tooltip-icon", src: r, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), t("div", { key: "475e27345b51396c36e78b5a1e06edd980bc3ae1", class: `togglecheckbox__fields-wrapper ${this.showFields ? "" : "hidden"}` }, this.options.map((e) => t("general-input", { type: e.inputType, name: e.name, displayName: e.displayName, validation: e.validate, action: e.action || null, defaultValue: e.defaultValue, autofilled: e.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: e.tooltip, placeholder: e.placeholder == null ? "" : e.placeholder }))));
43
+ return t("div", { key: "e8be91ce94cf76ebecc58a433ab567ab549f4692", class: `togglecheckbox__wrapper ${this.name}__input`, ref: (e) => this.stylingContainer = e }, t("div", { key: "dd42a6316cda06e357843165329de7525a24e3d5", class: "togglecheckbox__wrapper--flex" }, t("input", { key: "932a6f8caeafa0d006f636484e33dda246c314d0", class: "togglecheckbox__input", type: "checkbox", id: `${this.name}__input`, ref: (e) => this.checkboxReference = e, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), t("small", { key: "cbc789c8a5c21debc05971ff347371fbc25d4975", class: "togglecheckbox__error-message" }, this.errorMessage), t("div", { key: "a5ce470c985829eb1f5a0567bb974cc15e3d0d64", class: "togglecheckbox__wrapper--relative" }, this.tooltip && t("img", { key: "faef05dd9341ffe44b6833ca8f4c86b85ed61956", class: "togglecheckbox__tooltip-icon", src: n, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), t("div", { key: "89fed5f103acecca78fa53eea64d57574ef42727", class: `togglecheckbox__fields-wrapper ${this.showFields ? "" : "hidden"}` }, this.options.map((e) => t("general-input", { type: e.inputType, name: e.name, displayName: e.displayName, validation: e.validate, action: e.action || null, defaultValue: e.defaultValue, autofilled: e.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: e.tooltip, placeholder: e.placeholder == null ? "" : e.placeholder }))));
44
+ }
45
+ static get watchers() {
46
+ return {
47
+ clientStyling: ["handleStylingChange"]
48
+ };
41
49
  }
42
50
  };
43
- c.style = n;
51
+ c.style = r;
44
52
  export {
45
53
  c as toggle_checkbox_input
46
54
  };
@@ -1 +1 @@
1
- "use strict";var l=(r,t,o)=>new Promise((c,s)=>{var d=e=>{try{n(o.next(e))}catch(i){s(i)}},m=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?c(e.value):Promise.resolve(e.value).then(d,m);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-db5752f9-DSHLGBj_.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs"),g=require("./ui-skeleton-982450d2-BEC6vjfL.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-BjdFVTvB.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>l(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"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
1
+ "use strict";var c=(r,t,o)=>new Promise((u,s)=>{var d=e=>{try{n(o.next(e))}catch(i){s(i)}},m=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?u(e.value):Promise.resolve(e.value).then(d,m);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-ae04a8b1-D4wvtXTw.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs"),g=require("./ui-skeleton-a642cced-B8H73O_q.cjs");var a=typeof document!="undefined"?document.currentScript:null,y=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-BC4mw1ae.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),l.promiseResolve(t)};y().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),l.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"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
@@ -1,6 +1,6 @@
1
- import { b as t, p as e } from "./index-db5752f9-C_VcDZns.js";
1
+ import { b as t, p as e } from "./index-ae04a8b1-fpBaOn88.js";
2
2
  import { b as a } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
- import { U as p } from "./ui-skeleton-982450d2-DgSl7oS5.js";
3
+ import { U as p } from "./ui-skeleton-a642cced-DhjmNsN7.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,9 +14,9 @@ var n = (o, t, e) => new Promise((m, s) => {
14
14
  }, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, p);
15
15
  a((e = e.apply(o, t)).next());
16
16
  });
17
- import { b as u, p as c } from "./index-db5752f9-B4MZ13Fz.js";
17
+ import { b as u, p as c } from "./index-ae04a8b1-ixlRj3zC.js";
18
18
  import { b as g } from "./app-globals-0f993ce5-DzSE6TtH.js";
19
- import { U as C } from "./ui-skeleton-982450d2-CXoVwMz-.js";
19
+ import { U as C } from "./ui-skeleton-a642cced-Ba-weZ4g.js";
20
20
  var d = () => {
21
21
  const o = import.meta.url, t = {};
22
22
  return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./index-ae04a8b1-D4wvtXTw.cjs"),n=".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,i=class{constructor(e){r.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,t){t!==e&&this.handleStructure(e)}updateStyles(){this.primaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-primary-color",this.primaryColor),this.secondaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-secondary-color",this.secondaryColor)}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()}}renderLogo(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return Array.from({length:this.rows>0?this.rows:1}).map((t,o)=>r.h("div",{style:e,key:o,class:"Text "+(this.animation?"Skeleton":"")}))}renderRectangle(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){const e={width:`${this.size}`,height:`${this.size}`,"background-color":`${this.color}`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Circle "+(this.animation?"Skeleton":"")}))}componentDidLoad(){this.updateStyles()}render(){return this.handleStructure(this.structure)}static get watchers(){return{structure:["handleStructureChange"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}}};i.style=s;exports.UiSkeleton=i;
@@ -1,16 +1,16 @@
1
- import { r as o, h as r } from "./index-db5752f9-B4MZ13Fz.js";
2
- const s = ".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 = s, a = class {
3
- constructor(t) {
4
- o(this, t), this.animation = !0;
1
+ import { r as o, h as r } from "./index-ae04a8b1-ixlRj3zC.js";
2
+ const n = ".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 {
3
+ constructor(e) {
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
  }
6
- handleStructureChange(t, e) {
7
- e !== t && this.handleStructure(t);
6
+ handleStructureChange(e, t) {
7
+ t !== e && this.handleStructure(e);
8
8
  }
9
9
  updateStyles() {
10
10
  this.primaryColor && this.skeletonContainer.style.setProperty("--emw-skeleton-primary-color", this.primaryColor), this.secondaryColor && this.skeletonContainer.style.setProperty("--emw-skeleton-secondary-color", this.secondaryColor);
11
11
  }
12
- handleStructure(t) {
13
- switch (t) {
12
+ handleStructure(e) {
13
+ switch (e) {
14
14
  case "logo":
15
15
  return this.renderLogo();
16
16
  case "image":
@@ -26,7 +26,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
26
26
  }
27
27
  }
28
28
  renderLogo() {
29
- const t = {
29
+ const e = {
30
30
  width: `${this.width}`,
31
31
  height: `${this.height}`,
32
32
  "background-color": `${this.color}`,
@@ -36,10 +36,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
36
36
  "margin-left": `${this.marginLeft}px`,
37
37
  "margin-right": `${this.marginRight}px`
38
38
  };
39
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Logo " + (this.animation ? "Skeleton" : "") }));
39
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Logo " + (this.animation ? "Skeleton" : "") }));
40
40
  }
41
41
  renderImage() {
42
- const t = {
42
+ const e = {
43
43
  width: `${this.width}`,
44
44
  height: `${this.height}`,
45
45
  "background-color": `${this.color}`,
@@ -49,10 +49,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
49
49
  "margin-left": `${this.marginLeft}px`,
50
50
  "margin-right": `${this.marginRight}px`
51
51
  };
52
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Image " + (this.animation ? "Skeleton" : "") }));
52
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Image " + (this.animation ? "Skeleton" : "") }));
53
53
  }
54
54
  renderTitle() {
55
- const t = {
55
+ const e = {
56
56
  width: `${this.width}`,
57
57
  height: `${this.height}`,
58
58
  "background-color": `${this.color}`,
@@ -62,10 +62,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
62
62
  "margin-left": `${this.marginLeft}px`,
63
63
  "margin-right": `${this.marginRight}px`
64
64
  };
65
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Title " + (this.animation ? "Skeleton" : "") }));
65
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Title " + (this.animation ? "Skeleton" : "") }));
66
66
  }
67
67
  renderText() {
68
- const t = {
68
+ const e = {
69
69
  width: `${this.width}`,
70
70
  height: `${this.height}`,
71
71
  "background-color": `${this.color}`,
@@ -75,10 +75,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
75
75
  "margin-left": `${this.marginLeft}px`,
76
76
  "margin-right": `${this.marginRight}px`
77
77
  };
78
- return Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => r("div", { style: t, key: i, class: "Text " + (this.animation ? "Skeleton" : "") }));
78
+ return Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((t, i) => r("div", { style: e, key: i, class: "Text " + (this.animation ? "Skeleton" : "") }));
79
79
  }
80
80
  renderRectangle() {
81
- const t = {
81
+ const e = {
82
82
  width: `${this.width}`,
83
83
  height: `${this.height}`,
84
84
  "background-color": `${this.color}`,
@@ -88,10 +88,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
88
88
  "margin-left": `${this.marginLeft}px`,
89
89
  "margin-right": `${this.marginRight}px`
90
90
  };
91
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
91
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
92
92
  }
93
93
  renderCircle() {
94
- const t = {
94
+ const e = {
95
95
  width: `${this.size}`,
96
96
  height: `${this.size}`,
97
97
  "background-color": `${this.color}`,
@@ -100,7 +100,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
100
100
  "margin-left": `${this.marginLeft}px`,
101
101
  "margin-right": `${this.marginRight}px`
102
102
  };
103
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Circle " + (this.animation ? "Skeleton" : "") }));
103
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Circle " + (this.animation ? "Skeleton" : "") }));
104
104
  }
105
105
  componentDidLoad() {
106
106
  this.updateStyles();
@@ -116,7 +116,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
116
116
  };
117
117
  }
118
118
  };
119
- a.style = n;
119
+ a.style = s;
120
120
  export {
121
121
  a as U
122
122
  };
@@ -1,16 +1,16 @@
1
- import { r as o, h as r } from "./index-db5752f9-C_VcDZns.js";
2
- const s = ".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 = s, a = class {
3
- constructor(t) {
4
- o(this, t), this.animation = !0;
1
+ import { r as o, h as r } from "./index-ae04a8b1-fpBaOn88.js";
2
+ const n = ".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 {
3
+ constructor(e) {
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
  }
6
- handleStructureChange(t, e) {
7
- e !== t && this.handleStructure(t);
6
+ handleStructureChange(e, t) {
7
+ t !== e && this.handleStructure(e);
8
8
  }
9
9
  updateStyles() {
10
10
  this.primaryColor && this.skeletonContainer.style.setProperty("--emw-skeleton-primary-color", this.primaryColor), this.secondaryColor && this.skeletonContainer.style.setProperty("--emw-skeleton-secondary-color", this.secondaryColor);
11
11
  }
12
- handleStructure(t) {
13
- switch (t) {
12
+ handleStructure(e) {
13
+ switch (e) {
14
14
  case "logo":
15
15
  return this.renderLogo();
16
16
  case "image":
@@ -26,7 +26,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
26
26
  }
27
27
  }
28
28
  renderLogo() {
29
- const t = {
29
+ const e = {
30
30
  width: `${this.width}`,
31
31
  height: `${this.height}`,
32
32
  "background-color": `${this.color}`,
@@ -36,10 +36,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
36
36
  "margin-left": `${this.marginLeft}px`,
37
37
  "margin-right": `${this.marginRight}px`
38
38
  };
39
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Logo " + (this.animation ? "Skeleton" : "") }));
39
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Logo " + (this.animation ? "Skeleton" : "") }));
40
40
  }
41
41
  renderImage() {
42
- const t = {
42
+ const e = {
43
43
  width: `${this.width}`,
44
44
  height: `${this.height}`,
45
45
  "background-color": `${this.color}`,
@@ -49,10 +49,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
49
49
  "margin-left": `${this.marginLeft}px`,
50
50
  "margin-right": `${this.marginRight}px`
51
51
  };
52
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Image " + (this.animation ? "Skeleton" : "") }));
52
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Image " + (this.animation ? "Skeleton" : "") }));
53
53
  }
54
54
  renderTitle() {
55
- const t = {
55
+ const e = {
56
56
  width: `${this.width}`,
57
57
  height: `${this.height}`,
58
58
  "background-color": `${this.color}`,
@@ -62,10 +62,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
62
62
  "margin-left": `${this.marginLeft}px`,
63
63
  "margin-right": `${this.marginRight}px`
64
64
  };
65
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Title " + (this.animation ? "Skeleton" : "") }));
65
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Title " + (this.animation ? "Skeleton" : "") }));
66
66
  }
67
67
  renderText() {
68
- const t = {
68
+ const e = {
69
69
  width: `${this.width}`,
70
70
  height: `${this.height}`,
71
71
  "background-color": `${this.color}`,
@@ -75,10 +75,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
75
75
  "margin-left": `${this.marginLeft}px`,
76
76
  "margin-right": `${this.marginRight}px`
77
77
  };
78
- return Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => r("div", { style: t, key: i, class: "Text " + (this.animation ? "Skeleton" : "") }));
78
+ return Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((t, i) => r("div", { style: e, key: i, class: "Text " + (this.animation ? "Skeleton" : "") }));
79
79
  }
80
80
  renderRectangle() {
81
- const t = {
81
+ const e = {
82
82
  width: `${this.width}`,
83
83
  height: `${this.height}`,
84
84
  "background-color": `${this.color}`,
@@ -88,10 +88,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
88
88
  "margin-left": `${this.marginLeft}px`,
89
89
  "margin-right": `${this.marginRight}px`
90
90
  };
91
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
91
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
92
92
  }
93
93
  renderCircle() {
94
- const t = {
94
+ const e = {
95
95
  width: `${this.size}`,
96
96
  height: `${this.size}`,
97
97
  "background-color": `${this.color}`,
@@ -100,7 +100,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
100
100
  "margin-left": `${this.marginLeft}px`,
101
101
  "margin-right": `${this.marginRight}px`
102
102
  };
103
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Circle " + (this.animation ? "Skeleton" : "") }));
103
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Circle " + (this.animation ? "Skeleton" : "") }));
104
104
  }
105
105
  componentDidLoad() {
106
106
  this.updateStyles();
@@ -116,7 +116,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
116
116
  };
117
117
  }
118
118
  };
119
- a.style = n;
119
+ a.style = s;
120
120
  export {
121
121
  a as U
122
122
  };
@@ -1,4 +1,4 @@
1
- "use strict";var Q=(n,h,s)=>new Promise((l,p)=>{var L=c=>{try{g(s.next(c))}catch(b){p(b)}},w=c=>{try{g(s.throw(c))}catch(b){p(b)}},g=c=>c.done?l(c.value):Promise.resolve(c.value).then(L,w);g((s=s.apply(n,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-c7e52808-DYutdKGj.cjs"),de=require("./app-globals-0f993ce5-DgYhdguE.cjs");var K=typeof document!="undefined"?document.currentScript:null,ue=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-Bn1WPRou.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),S.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts$3(),S.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],dynamicHeight:[32],cashierInfoUrl:[32]},null,{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const ce="en",le=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],re={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},he=n=>new Promise(h=>{fetch(n).then(s=>s.json()).then(s=>{Object.keys(s).forEach(l=>{for(let p in s[l])re[l][p]=s[l][p]}),h(!0)})}),I=(n,h)=>{const s=h;return re[s!==void 0&&le.includes(s)?s:ce][n]};function ee(n,h){if(n){const s=document.createElement("style");s.innerHTML=h,n.appendChild(s)}}function te(n,h){const s=new URL(h);fetch(s.href).then(l=>l.text()).then(l=>{const p=document.createElement("style");p.innerHTML=l,n&&n.appendChild(p)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function fe(n,h,s){if(window.emMessageBus){const l=document.createElement("style");window.emMessageBus.subscribe(h,p=>{l.innerHTML=p,n&&n.appendChild(l)})}}const pe=n=>!!(n.toLowerCase().match(/android/i)||n.toLowerCase().match(/blackberry|bb/i)||n.toLowerCase().match(/iphone|ipad|ipod/i)||n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ie={exports:{}};(function(n,h){(function(s,l){n.exports=l()})(ne,function(){var s=1e3,l=6e4,p=36e5,L="millisecond",w="second",g="minute",c="hour",b="day",q="week",M="month",N="quarter",k="year",O="date",o="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(a,r,e){var i=String(a);return!i||i.length>=r?a:""+Array(r+1-i.length).join(e)+a},G={s:W,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),i=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+W(i,2,"0")+":"+W(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var i=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(i,M),d=e-t<0,u=r.clone().add(i+(d?-1:1),M);return+(-(i+(e-t)/(d?t-u:u-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:k,w:q,d:b,D:O,h:c,m:g,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},j="en",z={};z[j]=F;var P="$isDayjsObject",B=function(a){return a instanceof Z||!(!a||!a[P])},E=function a(r,e,i){var t;if(!r)return j;if(typeof r=="string"){var d=r.toLowerCase();z[d]&&(t=d),e&&(z[d]=e,t=d);var u=r.split("-");if(!t&&u.length>1)return a(u[0])}else{var m=r.name;z[m]=r,t=m}return!i&&t&&(j=t),t||!i&&j},C=function(a,r){if(B(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},f=G;f.l=E,f.i=B,f.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[P]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(i){var t=i.date,d=i.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(U);if(u){var m=u[2]-1||0,y=(u[7]||"0").substring(0,3);return d?new Date(Date.UTC(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)):new Date(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,i){var t=C(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return C(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<C(e)},r.$g=function(e,i,t){return f.u(e)?this[i]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,i){var t=this,d=!!f.u(i)||i,u=f.p(e),m=function(R,D){var x=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?x:x.endOf(b)},y=function(R,D){return f.w(t.toDate()[R].apply(t.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(D)),t)},v=this.$W,$=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case k:return d?m(1,0):m(31,11);case M:return d?m(1,$):m(0,$+1);case q:var _=this.$locale().weekStart||0,A=(v<_?v+7:v)-_;return m(d?T-A:T+(6-A),$);case b:case O:return y(Y+"Hours",0);case c:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,i){var t,d=f.p(e),u="set"+(this.$u?"UTC":""),m=(t={},t[b]=u+"Date",t[O]=u+"Date",t[M]=u+"Month",t[k]=u+"FullYear",t[c]=u+"Hours",t[g]=u+"Minutes",t[w]=u+"Seconds",t[L]=u+"Milliseconds",t)[d],y=d===b?this.$D+(i-this.$W):i;if(d===M||d===k){var v=this.clone().set(O,1);v.$d[m](y),v.init(),this.$d=v.set(O,Math.min(this.$D,v.daysInMonth())).$d}else m&&this.$d[m](y);return this.init(),this},r.set=function(e,i){return this.clone().$set(e,i)},r.get=function(e){return this[f.p(e)]()},r.add=function(e,i){var t,d=this;e=Number(e);var u=f.p(i),m=function($){var T=C(d);return f.w(T.date(T.date()+Math.round($*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===k)return this.set(k,this.$y+e);if(u===b)return m(1);if(u===q)return m(7);var y=(t={},t[g]=l,t[c]=p,t[w]=s,t)[u]||1,v=this.$d.getTime()+e*y;return f.w(v,this)},r.subtract=function(e,i){return this.add(-1*e,i)},r.format=function(e){var i=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,y=this.$m,v=this.$M,$=t.weekdays,T=t.months,Y=t.meridiem,_=function(D,x,V,J){return D&&(D[x]||D(i,d))||V[x].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,x,V){var J=D<12?"AM":"PM";return V?J.toLowerCase():J};return d.replace(H,function(D,x){return x||function(V){switch(V){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return v+1;case"MM":return f.s(v+1,2,"0");case"MMM":return _(t.monthsShort,v,T,3);case"MMMM":return _(T,v);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return _(t.weekdaysMin,i.$W,$,2);case"ddd":return _(t.weekdaysShort,i.$W,$,3);case"dddd":return $[i.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return R(m,y,!0);case"A":return R(m,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return u}return null}(D)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,i,t){var d,u=this,m=f.p(i),y=C(e),v=(y.utcOffset()-this.utcOffset())*l,$=this-y,T=function(){return f.m(u,y)};switch(m){case k:d=T()/12;break;case M:d=T();break;case N:d=T()/3;break;case q:d=($-v)/6048e5;break;case b:d=($-v)/864e5;break;case c:d=$/p;break;case g:d=$/l;break;case w:d=$/s;break;default:d=$}return t?d:f.a(d)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return z[this.$L]},r.locale=function(e,i){if(!e)return this.$L;var t=this.clone(),d=E(e,i,!0);return d&&(t.$L=d),t},r.clone=function(){return f.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",g],["$H",c],["$W",b],["$M",M],["$y",k],["$D",O]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=E,C.isDayjs=B,C.unix=function(a){return C(1e3*a)},C.en=z[j],C.Ls=z,C.p={},C})})(ie);const ae=ie.exports;var oe={exports:{}};(function(n,h){(function(s,l){n.exports=l()})(ne,function(){var s="minute",l=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(L,w,g){var c=w.prototype;g.utc=function(o){var U={date:o,utc:!0,args:arguments};return new w(U)},c.utc=function(o){var U=g(this.toDate(),{locale:this.$L,utc:!0});return o?U.add(this.utcOffset(),s):U},c.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=c.parse;c.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),b.call(this,o)};var q=c.init;c.init=function(){if(this.$u){var o=this.$d;this.$y=o.getUTCFullYear(),this.$M=o.getUTCMonth(),this.$D=o.getUTCDate(),this.$W=o.getUTCDay(),this.$H=o.getUTCHours(),this.$m=o.getUTCMinutes(),this.$s=o.getUTCSeconds(),this.$ms=o.getUTCMilliseconds()}else q.call(this)};var M=c.utcOffset;c.utcOffset=function(o,U){var H=this.$utils().u;if(H(o))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(j){j===void 0&&(j="");var z=j.match(l);if(!z)return null;var P=(""+z[0]).match(p)||["-",0,0],B=P[0],E=60*+P[1]+ +P[2];return E===0?0:B==="+"?E:-E}(o),o===null))return this;var F=Math.abs(o)<=16?60*o:o,W=this;if(U)return W.$offset=F,W.$u=o===0,W;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,s)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var N=c.format;c.format=function(o){var U=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,U)},c.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var k=c.toDate;c.toDate=function(o){return o==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var O=c.diff;c.diff=function(o,U,H){if(o&&this.$u===o.$u)return O.call(this,o,U,H);var F=this.local(),W=g(o).local();return O.call(F,W,U,H)}}})})(oe);const me=oe.exports,ge=`:host {
1
+ "use strict";var Q=(n,h,s)=>new Promise((l,p)=>{var L=c=>{try{g(s.next(c))}catch(b){p(b)}},w=c=>{try{g(s.throw(c))}catch(b){p(b)}},g=c=>c.done?l(c.value):Promise.resolve(c.value).then(L,w);g((s=s.apply(n,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-1ef3a64c-BvKbNMH8.cjs"),de=require("./app-globals-0f993ce5-DgYhdguE.cjs");var K=typeof document!="undefined"?document.currentScript:null,ue=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-BQKFgZ31.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),S.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts$3(),S.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],dynamicHeight:[32],cashierInfoUrl:[32]},null,{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const ce="en",le=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],re={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},he=n=>new Promise(h=>{fetch(n).then(s=>s.json()).then(s=>{Object.keys(s).forEach(l=>{for(let p in s[l])re[l][p]=s[l][p]}),h(!0)})}),x=(n,h)=>{const s=h;return re[s!==void 0&&le.includes(s)?s:ce][n]};function ee(n,h){if(n){const s=document.createElement("style");s.innerHTML=h,n.appendChild(s)}}function te(n,h){const s=new URL(h);fetch(s.href).then(l=>l.text()).then(l=>{const p=document.createElement("style");p.innerHTML=l,n&&n.appendChild(p)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function fe(n,h,s){if(window.emMessageBus){const l=document.createElement("style");window.emMessageBus.subscribe(h,p=>{l.innerHTML=p,n&&n.appendChild(l)})}}const pe=n=>!!(n.toLowerCase().match(/android/i)||n.toLowerCase().match(/blackberry|bb/i)||n.toLowerCase().match(/iphone|ipad|ipod/i)||n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ie={exports:{}};(function(n,h){(function(s,l){n.exports=l()})(ne,function(){var s=1e3,l=6e4,p=36e5,L="millisecond",w="second",g="minute",c="hour",b="day",q="week",M="month",N="quarter",k="year",O="date",o="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(a,r,e){var i=String(a);return!i||i.length>=r?a:""+Array(r+1-i.length).join(e)+a},G={s:W,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),i=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+W(i,2,"0")+":"+W(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var i=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(i,M),d=e-t<0,u=r.clone().add(i+(d?-1:1),M);return+(-(i+(e-t)/(d?t-u:u-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:k,w:q,d:b,D:O,h:c,m:g,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},j="en",z={};z[j]=F;var P="$isDayjsObject",B=function(a){return a instanceof Z||!(!a||!a[P])},E=function a(r,e,i){var t;if(!r)return j;if(typeof r=="string"){var d=r.toLowerCase();z[d]&&(t=d),e&&(z[d]=e,t=d);var u=r.split("-");if(!t&&u.length>1)return a(u[0])}else{var m=r.name;z[m]=r,t=m}return!i&&t&&(j=t),t||!i&&j},C=function(a,r){if(B(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},f=G;f.l=E,f.i=B,f.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[P]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(i){var t=i.date,d=i.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(U);if(u){var m=u[2]-1||0,y=(u[7]||"0").substring(0,3);return d?new Date(Date.UTC(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)):new Date(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,i){var t=C(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return C(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<C(e)},r.$g=function(e,i,t){return f.u(e)?this[i]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,i){var t=this,d=!!f.u(i)||i,u=f.p(e),m=function(R,D){var I=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?I:I.endOf(b)},y=function(R,D){return f.w(t.toDate()[R].apply(t.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(D)),t)},v=this.$W,$=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case k:return d?m(1,0):m(31,11);case M:return d?m(1,$):m(0,$+1);case q:var _=this.$locale().weekStart||0,A=(v<_?v+7:v)-_;return m(d?T-A:T+(6-A),$);case b:case O:return y(Y+"Hours",0);case c:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,i){var t,d=f.p(e),u="set"+(this.$u?"UTC":""),m=(t={},t[b]=u+"Date",t[O]=u+"Date",t[M]=u+"Month",t[k]=u+"FullYear",t[c]=u+"Hours",t[g]=u+"Minutes",t[w]=u+"Seconds",t[L]=u+"Milliseconds",t)[d],y=d===b?this.$D+(i-this.$W):i;if(d===M||d===k){var v=this.clone().set(O,1);v.$d[m](y),v.init(),this.$d=v.set(O,Math.min(this.$D,v.daysInMonth())).$d}else m&&this.$d[m](y);return this.init(),this},r.set=function(e,i){return this.clone().$set(e,i)},r.get=function(e){return this[f.p(e)]()},r.add=function(e,i){var t,d=this;e=Number(e);var u=f.p(i),m=function($){var T=C(d);return f.w(T.date(T.date()+Math.round($*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===k)return this.set(k,this.$y+e);if(u===b)return m(1);if(u===q)return m(7);var y=(t={},t[g]=l,t[c]=p,t[w]=s,t)[u]||1,v=this.$d.getTime()+e*y;return f.w(v,this)},r.subtract=function(e,i){return this.add(-1*e,i)},r.format=function(e){var i=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,y=this.$m,v=this.$M,$=t.weekdays,T=t.months,Y=t.meridiem,_=function(D,I,V,J){return D&&(D[I]||D(i,d))||V[I].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,I,V){var J=D<12?"AM":"PM";return V?J.toLowerCase():J};return d.replace(H,function(D,I){return I||function(V){switch(V){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return v+1;case"MM":return f.s(v+1,2,"0");case"MMM":return _(t.monthsShort,v,T,3);case"MMMM":return _(T,v);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return _(t.weekdaysMin,i.$W,$,2);case"ddd":return _(t.weekdaysShort,i.$W,$,3);case"dddd":return $[i.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return R(m,y,!0);case"A":return R(m,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return u}return null}(D)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,i,t){var d,u=this,m=f.p(i),y=C(e),v=(y.utcOffset()-this.utcOffset())*l,$=this-y,T=function(){return f.m(u,y)};switch(m){case k:d=T()/12;break;case M:d=T();break;case N:d=T()/3;break;case q:d=($-v)/6048e5;break;case b:d=($-v)/864e5;break;case c:d=$/p;break;case g:d=$/l;break;case w:d=$/s;break;default:d=$}return t?d:f.a(d)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return z[this.$L]},r.locale=function(e,i){if(!e)return this.$L;var t=this.clone(),d=E(e,i,!0);return d&&(t.$L=d),t},r.clone=function(){return f.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",g],["$H",c],["$W",b],["$M",M],["$y",k],["$D",O]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=E,C.isDayjs=B,C.unix=function(a){return C(1e3*a)},C.en=z[j],C.Ls=z,C.p={},C})})(ie);const ae=ie.exports;var oe={exports:{}};(function(n,h){(function(s,l){n.exports=l()})(ne,function(){var s="minute",l=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(L,w,g){var c=w.prototype;g.utc=function(o){var U={date:o,utc:!0,args:arguments};return new w(U)},c.utc=function(o){var U=g(this.toDate(),{locale:this.$L,utc:!0});return o?U.add(this.utcOffset(),s):U},c.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=c.parse;c.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),b.call(this,o)};var q=c.init;c.init=function(){if(this.$u){var o=this.$d;this.$y=o.getUTCFullYear(),this.$M=o.getUTCMonth(),this.$D=o.getUTCDate(),this.$W=o.getUTCDay(),this.$H=o.getUTCHours(),this.$m=o.getUTCMinutes(),this.$s=o.getUTCSeconds(),this.$ms=o.getUTCMilliseconds()}else q.call(this)};var M=c.utcOffset;c.utcOffset=function(o,U){var H=this.$utils().u;if(H(o))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(j){j===void 0&&(j="");var z=j.match(l);if(!z)return null;var P=(""+z[0]).match(p)||["-",0,0],B=P[0],E=60*+P[1]+ +P[2];return E===0?0:B==="+"?E:-E}(o),o===null))return this;var F=Math.abs(o)<=16?60*o:o,W=this;if(U)return W.$offset=F,W.$u=o===0,W;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,s)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var N=c.format;c.format=function(o){var U=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,U)},c.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var k=c.toDate;c.toDate=function(o){return o==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var O=c.diff;c.diff=function(o,U,H){if(o&&this.$u===o.$u)return O.call(this,o,U,H);var F=this.local(),W=g(o).local();return O.call(F,W,U,H)}}})})(oe);const me=oe.exports,ge=`:host {
2
2
  font: inherit;
3
3
  display: block;
4
4
  height: 100%;
@@ -56,4 +56,4 @@
56
56
  margin-top: 70px;
57
57
  text-align: center;
58
58
  color: var(--emw--color-black, #000000);
59
- }`,ye=ge;ae.extend(me);const we=()=>{},se=class{constructor(n){S.registerInstance(this,n),this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.beforeRedirect=we,this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=pe(this.userAgent),this.errorCodes=["21123","21122"]}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(n,h){n!=h&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,h){n!=h&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return he(this.translationUrl)})}toggleScreen(n){window.postMessage({type:"PlayerAccountMenuActive",isMobile:n},window.location.href)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?fe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return S.h(S.Host,{key:"4963fd9b7ce608f13fd464996c085c29045fcd59"},S.h("div",{key:"1fe503816ddb4f18d50545f0f627dd917e6f62ec",ref:n=>this.stylingContainer=n},!(this.isMobile&&!this.isShortCashier)&&S.h("h2",{key:"5bf653f70da5f95173a7dc2c7067d0968876b50a",class:"CategoryTitle"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),S.h("div",{key:"44a47893b6b2ce83e45f69e8997aa6e450968941",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{height:this.dynamicHeight,marginTop:this.isShortCashier?"30px":"0"}},S.h("div",{key:"949862539b439d5f2375a08115a7389bf355dd2c"},this.isMobile&&!this.isShortCashier?S.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},S.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},S.h("defs",null),S.h("g",{transform:"translate(-20 -158)"},S.h("g",{transform:"translate(20 158)"},S.h("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)"})))),S.h("h2",{class:"CategoryTitleMobile"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?S.h("iframe",{width:"100%",height:"100%",src:this.cashierInfoUrl}):S.h("h3",{class:"ErrorMessage"},this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const n={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const h=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,s=yield fetch(h,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(n)});if(!s.ok){const p=yield s.text();throw new Error(p)}const l=yield s.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let p;if(l.ResponseMessage){let w=this.errorCodes.find(g=>l.ResponseMessage.includes(g))||null;w?p=I(`errorCode${w}`,this.language):p=I("notFoundErrorCode",this.language)}else p=this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language);const L={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,l,p,L,w,g,c;n.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),n.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setQuickDepositHeight"].toString()+"px"),n.data["MMFE:setIFrameHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setIFrameHeight"].toString()+"px"),((h=n.data)===null||h===void 0?void 0:h.type)==="mm-hcback-to-merchant"&&this.doRedirect(n.data.type,this.homeUrl),((s=n.data)===null||s===void 0?void 0:s.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(n.data.redirect,this.homeUrl),((l=n.data)===null||l===void 0?void 0:l.redirect)==="mm-hc-sports"&&this.doRedirect((p=n.data)===null||p===void 0?void 0:p.redirect,this.sportsUrl),((L=n.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=n.data)===null||w===void 0?void 0:w.redirect)==="mm-hc-contact"&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),(((g=n.data)===null||g===void 0?void 0:g.redirect)==="mm-wm-hc-init-deposit"||((c=n.data)===null||c===void 0?void 0:c.redirect)==="mm-wm-hc-init-deposit-quick")&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(n,h){const s={reason:n,url:h,cancel:!1};if(this.beforeRedirect(s),!s.cancel){if(!s.url){window.location.href="/";return}window.location.href=s.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=ye;exports.user_deposit_withdrawal=se;
59
+ }`,ye=ge;ae.extend(me);const we=()=>{},se=class{constructor(n){S.registerInstance(this,n),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=pe(this.userAgent),this.errorCodes=["21123","21122"],this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.endpoint=void 0,this.type=void 0,this.channel=void 0,this.language=void 0,this.productType=void 0,this.userId=void 0,this.session=void 0,this.successUrl=void 0,this.cancelUrl=void 0,this.failUrl=void 0,this.sportsUrl=void 0,this.casinoUrl=void 0,this.contactUrl=void 0,this.depositUrl=void 0,this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.homeUrl=void 0,this.beforeRedirect=we,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(n,h){n!=h&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,h){n!=h&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return he(this.translationUrl)})}toggleScreen(n){window.postMessage({type:"PlayerAccountMenuActive",isMobile:n},window.location.href)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?fe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return S.h(S.Host,{key:"4963fd9b7ce608f13fd464996c085c29045fcd59"},S.h("div",{key:"1fe503816ddb4f18d50545f0f627dd917e6f62ec",ref:n=>this.stylingContainer=n},!(this.isMobile&&!this.isShortCashier)&&S.h("h2",{key:"5bf653f70da5f95173a7dc2c7067d0968876b50a",class:"CategoryTitle"},x(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),S.h("div",{key:"44a47893b6b2ce83e45f69e8997aa6e450968941",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{height:this.dynamicHeight,marginTop:this.isShortCashier?"30px":"0"}},S.h("div",{key:"949862539b439d5f2375a08115a7389bf355dd2c"},this.isMobile&&!this.isShortCashier?S.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},S.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},S.h("defs",null),S.h("g",{transform:"translate(-20 -158)"},S.h("g",{transform:"translate(20 158)"},S.h("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)"})))),S.h("h2",{class:"CategoryTitleMobile"},x(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?S.h("iframe",{width:"100%",height:"100%",src:this.cashierInfoUrl}):S.h("h3",{class:"ErrorMessage"},this.type==="deposit"?x("denyDeposit",this.language):x("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const n={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const h=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,s=yield fetch(h,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(n)});if(!s.ok){const p=yield s.text();throw new Error(p)}const l=yield s.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let p;if(l.ResponseMessage){let w=this.errorCodes.find(g=>l.ResponseMessage.includes(g))||null;w?p=x(`errorCode${w}`,this.language):p=x("notFoundErrorCode",this.language)}else p=this.type==="deposit"?x("denyDeposit",this.language):x("denyWithdrawal",this.language);const L={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,l,p,L,w,g,c;n.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),n.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setQuickDepositHeight"].toString()+"px"),n.data["MMFE:setIFrameHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setIFrameHeight"].toString()+"px"),((h=n.data)===null||h===void 0?void 0:h.type)==="mm-hcback-to-merchant"&&this.doRedirect(n.data.type,this.homeUrl),((s=n.data)===null||s===void 0?void 0:s.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(n.data.redirect,this.homeUrl),((l=n.data)===null||l===void 0?void 0:l.redirect)==="mm-hc-sports"&&this.doRedirect((p=n.data)===null||p===void 0?void 0:p.redirect,this.sportsUrl),((L=n.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=n.data)===null||w===void 0?void 0:w.redirect)==="mm-hc-contact"&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),(((g=n.data)===null||g===void 0?void 0:g.redirect)==="mm-wm-hc-init-deposit"||((c=n.data)===null||c===void 0?void 0:c.redirect)==="mm-wm-hc-init-deposit-quick")&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(n,h){const s={reason:n,url:h,cancel:!1};if(this.beforeRedirect(s),!s.cancel){if(!s.url){window.location.href="/";return}window.location.href=s.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=ye;exports.user_deposit_withdrawal=se;