@everymatrix/player-account-controller 1.54.12 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CMYMtWfC.cjs → GeneralLogout-9pZTJKCj.cjs} +4 -4
- package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-DH2dZPHM.js} +744 -729
- package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DKa2JUny.js} +617 -602
- package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-CxIU3NjD.js} +127 -131
- package/components/PlayerAccountBettingHistory-DcspNMNL.js +329 -0
- package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-BBYUw87N.js} +126 -127
- package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-D3fKLHtV.js} +126 -127
- package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-CtTfS7wl.js} +121 -122
- package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-DJv7cY7T.js} +121 -122
- package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-Z7IuAXPP.cjs} +1 -1
- package/components/PlayerAccountController-BfaTH0AY.cjs +1 -0
- package/components/{PlayerAccountController-Nco62fa4.js → PlayerAccountController-BqEnzpc6.js} +2707 -2169
- package/components/{PlayerAccountController-B99YscRG.js → PlayerAccountController-Djsrrn-h.js} +2713 -2175
- package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-Bd5ti2Yy.js} +296 -245
- package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-cnXxBvfZ.js} +296 -245
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CS4mjsLb.js} +123 -127
- package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-_MNPhSXy.js} +123 -127
- package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-45Rp4DP_.js} +1086 -1090
- package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-C7OBS8be.js} +1086 -1090
- package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-VyLPwXZu.js} +219 -227
- package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-XZt8OllP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-mJtlR6Ge.js} +212 -220
- package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-BxU5hBOF.js} +644 -593
- package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-C7pCh3__.js} +644 -593
- package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-CNiOjWfB.js} +1058 -1034
- package/components/PlayerAccountGamingLimitsPage2Gm16-Cha-RkAd.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-D66arvZd.js} +1157 -1133
- package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BzEwvjUN.js} +113 -117
- package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-D3UUO_Eq.js} +113 -117
- package/components/PlayerAccountGamingLimitsWrapper2-5LQf2KmJ.js +1017 -0
- package/components/PlayerAccountGamingLimitsWrapper2-Bodw0FD-.js +1011 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CFxTXIfS.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-CXql07aQ.js} +145 -146
- package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-D8JPZNbs.js} +145 -146
- package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
- package/components/PlayerAccountMenu-5EvNrc-W.cjs +1 -0
- package/components/PlayerAccountMenu-BHWtSf34.js +684 -0
- package/components/PlayerAccountMenu-CKSsdVD4.js +683 -0
- package/components/PlayerAccountModal-CAL-lChv.js +209 -0
- package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
- package/components/PlayerAccountModal-c01xdqmW.js +209 -0
- package/components/PlayerAccountNotifications-B-haSjPr.cjs +1 -0
- package/components/PlayerAccountNotifications-Bvoot0Jw.js +368 -0
- package/components/PlayerAccountNotifications-CitVsKYm.js +369 -0
- package/components/{PlayerAccountSelfExclusion-Dlkeebgy.cjs → PlayerAccountSelfExclusion-CW1t2BNm.cjs} +92 -92
- package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-Cz0rML3Z.js} +1756 -1618
- package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-DzxXZ0NG.js} +1743 -1605
- package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-9wxsYv0_.js} +496 -365
- package/components/PlayerAccountTimeout-CAWJeQ3d.cjs +1 -0
- package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-gWHY_22Q.js} +496 -365
- package/components/PlayerActiveBonuses-D0jBzeb4.js +1055 -0
- package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
- package/components/PlayerActiveBonuses-qHNn2eq8.js +1056 -0
- package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
- package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-CGoRkCFh.js} +149 -151
- package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-CaQEQ2Fx.js} +149 -151
- package/components/PlayerBonusHistory-C6p_5FRc.cjs +1 -0
- package/components/PlayerBonusHistory-DBCc2ItI.js +937 -0
- package/components/PlayerBonusHistory-DfQd--j_.js +938 -0
- package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-6dHXMBQg.js} +388 -392
- package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
- package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-COdBpupf.js} +388 -392
- package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
- package/components/PlayerDeposit-CTXnx-k2.js +391 -0
- package/components/PlayerDeposit-DwxXelMX.js +391 -0
- package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-4f_MiXvH.js} +337 -341
- package/components/PlayerGamingHistory-DAfDiFej.cjs +1 -0
- package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-dDHtahYn.js} +363 -367
- package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BFrv_-ow.js} +113 -114
- package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-CHHH7JPW.js} +113 -114
- package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
- package/components/PlayerProfileInfo-DDHAv267.cjs +1 -0
- package/components/PlayerProfileInfo-DlA-e6OI.js +1821 -0
- package/components/PlayerProfileInfo-Yky_xo7E.js +1804 -0
- package/components/PlayerRealityCheck-BLlc8RGo.cjs +1 -0
- package/components/PlayerRealityCheck-Bn_ov_Ie.js +652 -0
- package/components/PlayerRealityCheck-JOxPFKqm.js +668 -0
- package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
- package/components/PlayerTransactionHistory-CxRrWzgQ.js +314 -0
- package/components/PlayerTransactionHistory-CzOvo_E3.js +314 -0
- package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
- package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-BlhHRFmC.js} +136 -140
- package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-CnoGAUmo.js} +136 -140
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-C0vi_PY4.js → app-globals-0f993ce5-DzSE6TtH.js} +4 -2
- package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-B_RfUM6E.js} +86 -83
- package/stencil/{checkbox-group-input_9-B0JD93gn.cjs → checkbox-group-input_9-C2IUNSpC.cjs} +26 -26
- package/stencil/{checkbox-group-input_9-9b62GyCW.js → checkbox-group-input_9-C98yT4vw.js} +90 -87
- package/stencil/{general-input-BXIgsD0E.js → general-input-CqTf7ErJ.js} +1 -1
- package/stencil/{general-input-CwyM4h8z.js → general-input-DTHw5Z1Q.js} +1 -1
- package/stencil/{general-input-BL1L8PI-.cjs → general-input-wM2i7b57.cjs} +1 -1
- package/stencil/{index-0a27499c-BaAMIKJI.js → index-12dd2b03-B2coll71.js} +143 -142
- package/stencil/index-12dd2b03-Dd1hsUZX.cjs +1 -0
- package/stencil/{index-0a27499c-DaAhyku1.js → index-12dd2b03-YP3skHrn.js} +133 -132
- package/stencil/{index-92b64862-CK1ANWGa.cjs → index-92b64862-BRYoLHww.cjs} +1 -1
- package/stencil/{index-92b64862-Bnmv00O2.js → index-92b64862-C_69cKxK.js} +4 -4
- package/stencil/{index-92b64862-CO3_TP5h.js → index-92b64862-w9a1l35N.js} +4 -4
- package/stencil/{index-1d58b17d-CY3tvLdR.js → index-b1bdf3f6-0mlbFiN3.js} +121 -120
- package/stencil/{index-1d58b17d-BREebYgt.js → index-b1bdf3f6-DBuAhDH-.js} +128 -127
- package/stencil/index-b1bdf3f6-DdF5azN0.cjs +1 -0
- package/stencil/{index-45f4006f-D9GyS-vs.js → index-c7e52808-7ohcD8fQ.js} +44 -44
- package/stencil/index-c7e52808-DYutdKGj.cjs +1 -0
- package/stencil/{index-45f4006f-DKAxZFDZ.js → index-c7e52808-WCb5gCA6.js} +46 -46
- package/stencil/index-db5752f9-B4MZ13Fz.js +610 -0
- package/stencil/index-db5752f9-C_VcDZns.js +594 -0
- package/stencil/index-db5752f9-DSHLGBj_.cjs +1 -0
- package/stencil/{password-input_2-D3ziy4Iu.cjs → password-input_2-B2qvf6ku.cjs} +1 -1
- package/stencil/{password-input_2-ZN0C3aqj.js → password-input_2-CdHS5fmR.js} +3 -3
- package/stencil/{password-input_2-B5ePukhS.js → password-input_2-DdQvCp3o.js} +3 -3
- package/stencil/player-change-password-gm2-1hTMqepH.js +7 -0
- package/stencil/player-change-password-gm2-2YEpyazj.js +25 -0
- package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +84 -65
- package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +84 -65
- package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
- package/stencil/player-change-password-gm2-CDxgB3eD.cjs +1 -0
- package/stencil/player-kyc-verification-5V24oWMX.cjs +180 -0
- package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-BPrVDLfj.js} +79 -59
- package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CRwnm961.js} +84 -64
- package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-B4OOk9wz.js} +1 -1
- package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-Cwo_Ny77.js} +1 -1
- package/stencil/{toggle-checkbox-input-n5b3s-CU.cjs → toggle-checkbox-input-tQDhlcag.cjs} +1 -1
- package/stencil/ui-skeleton-982450d2-BEC6vjfL.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-CXoVwMz-.js +122 -0
- package/stencil/ui-skeleton-982450d2-DgSl7oS5.js +122 -0
- package/stencil/ui-skeleton-BjdFVTvB.cjs +1 -0
- package/stencil/ui-skeleton-BkychLQM.js +29 -0
- package/stencil/ui-skeleton-Bw-C78oa.js +11 -0
- package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-51pO8ttC.js} +181 -164
- package/stencil/user-deposit-withdrawal-Bn1WPRou.cjs +59 -0
- package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-C0SOQks0.js} +257 -240
- package/stencil/user-transaction-history-8EskARbv.cjs +1 -0
- package/stencil/user-transaction-history-BsTUJ4on.js +350 -0
- package/stencil/user-transaction-history-LRgu-JMX.js +374 -0
- package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +1 -1
- package/stencil/{vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs → vaadin-button-mixin-ef61174c-DuDVejN4.cjs} +1 -1
- package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +1 -1
- package/components/PlayerAccountBettingHistory-C6G8D9gE.js +0 -333
- package/components/PlayerAccountBettingHistory-Cb8OMNy9.cjs +0 -1
- package/components/PlayerAccountController-C2q8ibgU.cjs +0 -1
- package/components/PlayerAccountGamingLimits-DbX9_Kpb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js +0 -866
- package/components/PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js +0 -860
- package/components/PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs +0 -1
- package/components/PlayerAccountMenu-Bnj75Pyr.js +0 -578
- package/components/PlayerAccountMenu-VCDFEkVV.js +0 -579
- package/components/PlayerAccountMenu-kULPvwXH.cjs +0 -1
- package/components/PlayerAccountModal-BGNjm-FU.js +0 -213
- package/components/PlayerAccountModal-DLxnK5Aq.cjs +0 -1
- package/components/PlayerAccountModal-d2eY7pgp.js +0 -213
- package/components/PlayerAccountNotifications-BkPn9o0x.js +0 -261
- package/components/PlayerAccountNotifications-DLpnh54-.cjs +0 -1
- package/components/PlayerAccountNotifications-DwHaboef.js +0 -261
- package/components/PlayerAccountTimeout-DX8TE-kL.cjs +0 -1
- package/components/PlayerActiveBonuses-DZ1TuekM.js +0 -1088
- package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
- package/components/PlayerActiveBonuses-WBu-rYFj.js +0 -1089
- package/components/PlayerBonusHistory-C7m0o7Yl.js +0 -919
- package/components/PlayerBonusHistory-D-qDx10G.cjs +0 -1
- package/components/PlayerBonusHistory-DDNLaEBO.js +0 -920
- package/components/PlayerDeposit-B04mpHHT.js +0 -395
- package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
- package/components/PlayerDeposit-DJXOEJyq.js +0 -395
- package/components/PlayerGamingHistory-CcFH-mIk.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BvhoX5n1.cjs +0 -1
- package/components/PlayerProfileInfo-AEY5xCAX.js +0 -1740
- package/components/PlayerProfileInfo-D7thO7JS.js +0 -1757
- package/components/PlayerProfileInfo-DQflJzdX.cjs +0 -1
- package/components/PlayerRealityCheck-6ZyJUl5U.js +0 -598
- package/components/PlayerRealityCheck-CzPyJQgR.js +0 -582
- package/components/PlayerRealityCheck-DMI_8YfG.cjs +0 -1
- package/components/PlayerTransactionHistory-CSK3J3Na.js +0 -315
- package/components/PlayerTransactionHistory-Dj8ABxFp.cjs +0 -1
- package/components/PlayerTransactionHistory-DmTfwUdw.js +0 -315
- package/components/PlayerWithdrawal-BwymNFiL.cjs +0 -1
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
- package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
- package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
- package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
- package/stencil/player-change-password-gm2-2de114b8-j-W8UbVm.cjs +0 -1
- package/stencil/player-change-password-gm2-BDCYchnQ.js +0 -25
- package/stencil/player-change-password-gm2-CQtvRl58.js +0 -7
- package/stencil/player-change-password-gm2-DLw7pfT_.cjs +0 -1
- package/stencil/player-kyc-verification-CnOn9bB_.cjs +0 -180
- package/stencil/user-deposit-withdrawal-BZXlCCQr.cjs +0 -59
- package/stencil/user-transaction-history-CLdEzp7O.cjs +0 -1
- package/stencil/user-transaction-history-CtDvqHoF.js +0 -329
- package/stencil/user-transaction-history-DW482EoT.js +0 -355
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as H, $ as J, S as K, i as Q, s as V, f as v, b as X, G as Y, d as j, r as Z, H as $, I as ee, J as te, K as ne, L as oe, c as S, g as L, h as m, l as O, j as _, k as z, m as E, o as l, p as ie, q as re, u as ae, n as le, v as W, w as se, x as ce, y as me, z as fe, A as de, B as ue } from "./GeneralLogout-DH2dZPHM.js";
|
|
2
2
|
function q(n, e) {
|
|
3
|
-
|
|
3
|
+
H(n, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function ge(n) {
|
|
6
|
+
J.set(n);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const N = {
|
|
9
9
|
en: {
|
|
10
10
|
cancel: "Cancel",
|
|
11
11
|
confirm: "Confirm"
|
|
@@ -51,47 +51,47 @@ const H = {
|
|
|
51
51
|
confirm: "Confirm"
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
function
|
|
55
|
-
|
|
54
|
+
function be(n) {
|
|
55
|
+
X(n, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
56
|
}
|
|
57
|
-
const
|
|
58
|
-
function
|
|
57
|
+
const he = (n) => ({}), P = (n) => ({});
|
|
58
|
+
function Ce(n) {
|
|
59
59
|
let e, t;
|
|
60
60
|
return {
|
|
61
61
|
c() {
|
|
62
|
-
e = W("svg"), t = W("path"),
|
|
62
|
+
e = W("svg"), t = W("path"), l(t, "stroke-linecap", "round"), l(t, "stroke-linejoin", "round"), l(t, "stroke-width", "2"), l(t, "d", "M6 18L18 6M6 6l12 12"), l(e, "class", "w-6 h-6"), l(e, "fill", "none"), l(e, "stroke", "currentColor"), l(e, "viewBox", "0 0 24 24"), l(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
63
|
},
|
|
64
|
-
m(
|
|
65
|
-
|
|
64
|
+
m(r, s) {
|
|
65
|
+
L(r, e, s), m(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
68
|
-
d(
|
|
69
|
-
|
|
67
|
+
p: le,
|
|
68
|
+
d(r) {
|
|
69
|
+
r && j(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
let e, t,
|
|
73
|
+
function I(n) {
|
|
74
|
+
let e, t, r;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e =
|
|
77
|
+
e = _("div"), t = _("h2"), r = E(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
|
-
),
|
|
80
|
+
), l(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
|
-
m(
|
|
83
|
-
|
|
82
|
+
m(s, d) {
|
|
83
|
+
L(s, e, d), m(e, t), m(t, r);
|
|
84
84
|
},
|
|
85
|
-
p(
|
|
86
|
-
|
|
87
|
-
2 &&
|
|
88
|
-
|
|
85
|
+
p(s, d) {
|
|
86
|
+
d & /*modaltitle*/
|
|
87
|
+
2 && S(
|
|
88
|
+
r,
|
|
89
89
|
/*modaltitle*/
|
|
90
|
-
|
|
90
|
+
s[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
|
-
d(
|
|
94
|
-
|
|
93
|
+
d(s) {
|
|
94
|
+
s && j(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -99,65 +99,65 @@ function R(n) {
|
|
|
99
99
|
let e, t = (
|
|
100
100
|
/*$_*/
|
|
101
101
|
n[4]("cancel") + ""
|
|
102
|
-
),
|
|
102
|
+
), r, s, d;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e =
|
|
105
|
+
e = _("button"), r = E(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
|
-
m(
|
|
108
|
-
|
|
107
|
+
m(f, C) {
|
|
108
|
+
L(f, e, C), m(e, r), s || (d = O(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
112
|
-
n[
|
|
113
|
-
),
|
|
112
|
+
n[17]
|
|
113
|
+
), s = !0);
|
|
114
114
|
},
|
|
115
|
-
p(
|
|
115
|
+
p(f, C) {
|
|
116
116
|
C & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
|
|
118
|
+
f[4]("cancel") + "") && S(r, t);
|
|
119
119
|
},
|
|
120
|
-
d(
|
|
121
|
-
|
|
120
|
+
d(f) {
|
|
121
|
+
f && j(e), s = !1, d();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
let e, t,
|
|
125
|
+
function pe(n) {
|
|
126
|
+
let e, t, r, s, d, f, C, A, g, y, p, w = (
|
|
127
127
|
/*$_*/
|
|
128
128
|
n[4]("confirm") + ""
|
|
129
|
-
),
|
|
129
|
+
), k, u, G, b;
|
|
130
130
|
const F = (
|
|
131
131
|
/*#slots*/
|
|
132
|
-
n[
|
|
133
|
-
), M =
|
|
132
|
+
n[16].close
|
|
133
|
+
), M = Y(
|
|
134
134
|
F,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
137
|
-
n[
|
|
138
|
-
|
|
139
|
-
),
|
|
140
|
-
let
|
|
137
|
+
n[15],
|
|
138
|
+
P
|
|
139
|
+
), h = M || Ce();
|
|
140
|
+
let a = (
|
|
141
141
|
/*modaltitle*/
|
|
142
|
-
n[1] &&
|
|
142
|
+
n[1] && I(n)
|
|
143
143
|
), c = (
|
|
144
144
|
/*hascancelbutton*/
|
|
145
145
|
n[2] && R(n)
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e =
|
|
149
|
+
e = _("div"), t = _("div"), r = _("span"), h && h.c(), s = z(), a && a.c(), d = z(), f = _("div"), C = E(
|
|
150
150
|
/*modaltext*/
|
|
151
151
|
n[0]
|
|
152
|
-
), A =
|
|
153
|
-
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
154
|
-
(n[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
152
|
+
), A = z(), g = _("div"), c && c.c(), y = z(), p = _("button"), k = E(w), l(r, "class", "ModalCloseBtn"), l(r, "role", "button"), l(f, "class", "GeneralConfirmationContent"), l(p, "class", "GeneralConfirmButton"), l(g, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
153
|
+
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), l(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
154
|
+
(n[5] ? "GeneralConfirmationContainerMobile" : "")), l(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
155
155
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
156
156
|
},
|
|
157
|
-
m(
|
|
158
|
-
|
|
157
|
+
m(i, x) {
|
|
158
|
+
L(i, e, x), m(e, t), m(t, r), h && h.m(r, null), m(t, s), a && a.m(t, null), m(t, d), m(t, f), m(f, C), m(t, A), m(t, g), c && c.m(g, null), m(g, y), m(g, p), m(p, k), n[19](e), u = !0, G || (b = [
|
|
159
159
|
O(
|
|
160
|
-
|
|
160
|
+
r,
|
|
161
161
|
"click",
|
|
162
162
|
/*close*/
|
|
163
163
|
n[6]
|
|
@@ -166,130 +166,122 @@ function be(n) {
|
|
|
166
166
|
p,
|
|
167
167
|
"click",
|
|
168
168
|
/*click_handler_1*/
|
|
169
|
-
n[
|
|
169
|
+
n[18]
|
|
170
170
|
)
|
|
171
|
-
],
|
|
171
|
+
], G = !0);
|
|
172
172
|
},
|
|
173
|
-
p(
|
|
173
|
+
p(i, [x]) {
|
|
174
174
|
M && M.p && (!u || x & /*$$scope*/
|
|
175
|
-
|
|
175
|
+
32768) && te(
|
|
176
176
|
M,
|
|
177
177
|
F,
|
|
178
|
-
|
|
178
|
+
i,
|
|
179
179
|
/*$$scope*/
|
|
180
|
-
|
|
181
|
-
u ?
|
|
180
|
+
i[15],
|
|
181
|
+
u ? oe(
|
|
182
182
|
F,
|
|
183
183
|
/*$$scope*/
|
|
184
|
-
|
|
184
|
+
i[15],
|
|
185
185
|
x,
|
|
186
|
-
|
|
187
|
-
) :
|
|
186
|
+
he
|
|
187
|
+
) : ne(
|
|
188
188
|
/*$$scope*/
|
|
189
|
-
|
|
189
|
+
i[15]
|
|
190
190
|
),
|
|
191
|
-
|
|
191
|
+
P
|
|
192
192
|
), /*modaltitle*/
|
|
193
|
-
|
|
194
|
-
1) &&
|
|
193
|
+
i[1] ? a ? a.p(i, x) : (a = I(i), a.c(), a.m(t, d)) : a && (a.d(1), a = null), (!u || x & /*modaltext*/
|
|
194
|
+
1) && S(
|
|
195
195
|
C,
|
|
196
196
|
/*modaltext*/
|
|
197
|
-
|
|
197
|
+
i[0]
|
|
198
198
|
), /*hascancelbutton*/
|
|
199
|
-
|
|
200
|
-
16) &&
|
|
201
|
-
|
|
199
|
+
i[2] ? c ? c.p(i, x) : (c = R(i), c.c(), c.m(g, y)) : c && (c.d(1), c = null), (!u || x & /*$_*/
|
|
200
|
+
16) && w !== (w = /*$_*/
|
|
201
|
+
i[4]("confirm") + "") && S(k, w);
|
|
202
202
|
},
|
|
203
|
-
i(
|
|
204
|
-
u || (
|
|
203
|
+
i(i) {
|
|
204
|
+
u || (ee(h, i), u = !0);
|
|
205
205
|
},
|
|
206
|
-
o(
|
|
207
|
-
|
|
206
|
+
o(i) {
|
|
207
|
+
$(h, i), u = !1;
|
|
208
208
|
},
|
|
209
|
-
d(
|
|
210
|
-
|
|
209
|
+
d(i) {
|
|
210
|
+
i && j(e), h && h.d(i), a && a.d(), c && c.d(), n[19](null), G = !1, Z(b);
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
let
|
|
216
|
-
ie(n,
|
|
217
|
-
let { $$slots:
|
|
218
|
-
const
|
|
214
|
+
function xe(n, e, t) {
|
|
215
|
+
let r;
|
|
216
|
+
ie(n, ue, (o) => t(4, r = o));
|
|
217
|
+
let { $$slots: s = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: C = "" } = e, { hascancelbutton: A = !1 } = e, { modalconfirmevent: g = {} } = e, { modalcancelevent: y = {} } = e, { lang: p = "en" } = e, { clientstyling: w = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: u = "" } = e, { mbsource: G } = e, b, F = window.navigator.userAgent, M = re(F) !== "PC";
|
|
218
|
+
const h = () => {
|
|
219
219
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
220
|
-
},
|
|
221
|
-
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" &&
|
|
222
|
-
}, s = () => {
|
|
223
|
-
let o = document.createElement("style");
|
|
224
|
-
o.innerHTML = v, h.appendChild(o);
|
|
220
|
+
}, a = (o) => {
|
|
221
|
+
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" && y && window.postMessage(y, window.location.href), h();
|
|
225
222
|
}, c = () => {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
() => {
|
|
230
|
-
h.appendChild(w);
|
|
231
|
-
},
|
|
232
|
-
1
|
|
233
|
-
);
|
|
234
|
-
});
|
|
235
|
-
}, l = () => {
|
|
236
|
-
fetch(u).then((w) => w.json()).then((w) => {
|
|
237
|
-
Object.keys(w).forEach((B) => {
|
|
238
|
-
q(B, w[B]);
|
|
223
|
+
fetch(u).then((B) => B.json()).then((B) => {
|
|
224
|
+
Object.keys(B).forEach((T) => {
|
|
225
|
+
q(T, B[T]);
|
|
239
226
|
});
|
|
240
|
-
}).catch((
|
|
241
|
-
console.log(
|
|
227
|
+
}).catch((B) => {
|
|
228
|
+
console.log(B);
|
|
242
229
|
});
|
|
243
230
|
};
|
|
244
|
-
Object.keys(
|
|
245
|
-
q(o,
|
|
231
|
+
Object.keys(N).forEach((o) => {
|
|
232
|
+
q(o, N[o]);
|
|
246
233
|
});
|
|
247
|
-
const
|
|
248
|
-
|
|
249
|
-
}
|
|
250
|
-
|
|
234
|
+
const i = () => {
|
|
235
|
+
ge(p);
|
|
236
|
+
};
|
|
237
|
+
ae(() => () => {
|
|
238
|
+
});
|
|
239
|
+
const x = () => a("cancel"), U = () => a("confirm");
|
|
240
|
+
function D(o) {
|
|
251
241
|
se[o ? "unshift" : "push"](() => {
|
|
252
|
-
|
|
242
|
+
b = o, t(3, b);
|
|
253
243
|
});
|
|
254
244
|
}
|
|
255
245
|
return n.$$set = (o) => {
|
|
256
|
-
"modaltext" in o && t(0,
|
|
246
|
+
"modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1, C = o.modaltitle), "hascancelbutton" in o && t(2, A = o.hascancelbutton), "modalconfirmevent" in o && t(8, g = o.modalconfirmevent), "modalcancelevent" in o && t(9, y = o.modalcancelevent), "lang" in o && t(10, p = o.lang), "clientstyling" in o && t(11, w = o.clientstyling), "clientstylingurl" in o && t(12, k = o.clientstylingurl), "translationurl" in o && t(13, u = o.translationurl), "mbsource" in o && t(14, G = o.mbsource), "$$scope" in o && t(15, d = o.$$scope);
|
|
257
247
|
}, n.$$.update = () => {
|
|
258
248
|
n.$$.dirty & /*modaltext, lang*/
|
|
259
|
-
1025 &&
|
|
260
|
-
2056 &&
|
|
261
|
-
4104 &&
|
|
262
|
-
|
|
249
|
+
1025 && f && p && i(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
250
|
+
2056 && w && b && ce(b, w), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
251
|
+
4104 && k && b && me(b, k), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
252
|
+
16392 && G && b && fe(b, `${G}.Style`), n.$$.dirty & /*translationurl*/
|
|
253
|
+
8192 && u && c();
|
|
263
254
|
}, [
|
|
264
|
-
|
|
255
|
+
f,
|
|
265
256
|
C,
|
|
266
257
|
A,
|
|
267
|
-
h,
|
|
268
|
-
i,
|
|
269
|
-
F,
|
|
270
|
-
M,
|
|
271
258
|
b,
|
|
259
|
+
r,
|
|
260
|
+
M,
|
|
261
|
+
h,
|
|
262
|
+
a,
|
|
272
263
|
g,
|
|
273
|
-
|
|
264
|
+
y,
|
|
274
265
|
p,
|
|
275
|
-
|
|
276
|
-
|
|
266
|
+
w,
|
|
267
|
+
k,
|
|
277
268
|
u,
|
|
278
|
-
|
|
279
|
-
|
|
269
|
+
G,
|
|
270
|
+
d,
|
|
271
|
+
s,
|
|
272
|
+
x,
|
|
280
273
|
U,
|
|
281
|
-
D
|
|
282
|
-
I
|
|
274
|
+
D
|
|
283
275
|
];
|
|
284
276
|
}
|
|
285
|
-
class
|
|
277
|
+
class ve extends K {
|
|
286
278
|
constructor(e) {
|
|
287
|
-
super(),
|
|
279
|
+
super(), Q(
|
|
288
280
|
this,
|
|
289
281
|
e,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
282
|
+
xe,
|
|
283
|
+
pe,
|
|
284
|
+
V,
|
|
293
285
|
{
|
|
294
286
|
modaltext: 0,
|
|
295
287
|
modaltitle: 1,
|
|
@@ -299,67 +291,74 @@ class Ce extends Q {
|
|
|
299
291
|
lang: 10,
|
|
300
292
|
clientstyling: 11,
|
|
301
293
|
clientstylingurl: 12,
|
|
302
|
-
translationurl: 13
|
|
294
|
+
translationurl: 13,
|
|
295
|
+
mbsource: 14
|
|
303
296
|
},
|
|
304
|
-
|
|
297
|
+
be
|
|
305
298
|
);
|
|
306
299
|
}
|
|
307
300
|
get modaltext() {
|
|
308
301
|
return this.$$.ctx[0];
|
|
309
302
|
}
|
|
310
303
|
set modaltext(e) {
|
|
311
|
-
this.$$set({ modaltext: e }),
|
|
304
|
+
this.$$set({ modaltext: e }), v();
|
|
312
305
|
}
|
|
313
306
|
get modaltitle() {
|
|
314
307
|
return this.$$.ctx[1];
|
|
315
308
|
}
|
|
316
309
|
set modaltitle(e) {
|
|
317
|
-
this.$$set({ modaltitle: e }),
|
|
310
|
+
this.$$set({ modaltitle: e }), v();
|
|
318
311
|
}
|
|
319
312
|
get hascancelbutton() {
|
|
320
313
|
return this.$$.ctx[2];
|
|
321
314
|
}
|
|
322
315
|
set hascancelbutton(e) {
|
|
323
|
-
this.$$set({ hascancelbutton: e }),
|
|
316
|
+
this.$$set({ hascancelbutton: e }), v();
|
|
324
317
|
}
|
|
325
318
|
get modalconfirmevent() {
|
|
326
319
|
return this.$$.ctx[8];
|
|
327
320
|
}
|
|
328
321
|
set modalconfirmevent(e) {
|
|
329
|
-
this.$$set({ modalconfirmevent: e }),
|
|
322
|
+
this.$$set({ modalconfirmevent: e }), v();
|
|
330
323
|
}
|
|
331
324
|
get modalcancelevent() {
|
|
332
325
|
return this.$$.ctx[9];
|
|
333
326
|
}
|
|
334
327
|
set modalcancelevent(e) {
|
|
335
|
-
this.$$set({ modalcancelevent: e }),
|
|
328
|
+
this.$$set({ modalcancelevent: e }), v();
|
|
336
329
|
}
|
|
337
330
|
get lang() {
|
|
338
331
|
return this.$$.ctx[10];
|
|
339
332
|
}
|
|
340
333
|
set lang(e) {
|
|
341
|
-
this.$$set({ lang: e }),
|
|
334
|
+
this.$$set({ lang: e }), v();
|
|
342
335
|
}
|
|
343
336
|
get clientstyling() {
|
|
344
337
|
return this.$$.ctx[11];
|
|
345
338
|
}
|
|
346
339
|
set clientstyling(e) {
|
|
347
|
-
this.$$set({ clientstyling: e }),
|
|
340
|
+
this.$$set({ clientstyling: e }), v();
|
|
348
341
|
}
|
|
349
342
|
get clientstylingurl() {
|
|
350
343
|
return this.$$.ctx[12];
|
|
351
344
|
}
|
|
352
345
|
set clientstylingurl(e) {
|
|
353
|
-
this.$$set({ clientstylingurl: e }),
|
|
346
|
+
this.$$set({ clientstylingurl: e }), v();
|
|
354
347
|
}
|
|
355
348
|
get translationurl() {
|
|
356
349
|
return this.$$.ctx[13];
|
|
357
350
|
}
|
|
358
351
|
set translationurl(e) {
|
|
359
|
-
this.$$set({ translationurl: e }),
|
|
352
|
+
this.$$set({ translationurl: e }), v();
|
|
353
|
+
}
|
|
354
|
+
get mbsource() {
|
|
355
|
+
return this.$$.ctx[14];
|
|
356
|
+
}
|
|
357
|
+
set mbsource(e) {
|
|
358
|
+
this.$$set({ mbsource: e }), v();
|
|
360
359
|
}
|
|
361
360
|
}
|
|
362
|
-
|
|
361
|
+
de(ve, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
363
362
|
export {
|
|
364
|
-
|
|
363
|
+
ve as default
|
|
365
364
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-9pZTJKCj.cjs");function A(o,t){e.addMessages(o,t)}function T(o){e.$locale.set(o)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function P(o){e.append_styles(o,"svelte-1o81iqe",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const W=o=>({}),z=o=>({});function q(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(i,c){e.insert(i,t,c),e.append(t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function S(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("h2"),i=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(c,m){e.insert(c,t,m),e.append(t,n),e.append(n,i)},p(c,m){m&2&&e.set_data(i,c[1])},d(c){c&&e.detach(t)}}}function E(o){let t,n=o[4]("cancel")+"",i,c,m;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,h){e.insert(d,t,h),e.append(t,i),c||(m=e.listen(t,"click",o[17]),c=!0)},p(d,h){h&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(i,n)},d(d){d&&e.detach(t),c=!1,m()}}}function N(o){let t,n,i,c,m,d,h,G,u,_,p,x=o[4]("confirm")+"",v,f,w,g;const M=o[16].close,y=e.create_slot(M,o,o[15],z),b=y||q();let a=o[1]&&S(o),s=o[2]&&E(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),b&&b.c(),c=e.space(),a&&a.c(),m=e.space(),d=e.element("div"),h=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),_=e.space(),p=e.element("button"),v=e.text(x),e.attr(i,"class","ModalCloseBtn"),e.attr(i,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(p,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,C){e.insert(l,t,C),e.append(t,n),e.append(n,i),b&&b.m(i,null),e.append(n,c),a&&a.m(n,null),e.append(n,m),e.append(n,d),e.append(d,h),e.append(n,G),e.append(n,u),s&&s.m(u,null),e.append(u,_),e.append(u,p),e.append(p,v),o[19](t),f=!0,w||(g=[e.listen(i,"click",o[6]),e.listen(p,"click",o[18])],w=!0)},p(l,[C]){y&&y.p&&(!f||C&32768)&&e.update_slot_base(y,M,l,l[15],f?e.get_slot_changes(M,l[15],C,W):e.get_all_dirty_from_scope(l[15]),z),l[1]?a?a.p(l,C):(a=S(l),a.c(),a.m(n,m)):a&&(a.d(1),a=null),(!f||C&1)&&e.set_data(h,l[0]),l[2]?s?s.p(l,C):(s=E(l),s.c(),s.m(u,_)):s&&(s.d(1),s=null),(!f||C&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(v,x)},i(l){f||(e.transition_in(b,l),f=!0)},o(l){e.transition_out(b,l),f=!1},d(l){l&&e.detach(t),b&&b.d(l),a&&a.d(),s&&s.d(),o[19](null),w=!1,e.run_all(g)}}}function R(o,t,n){let i;e.component_subscribe(o,e.$format,r=>n(4,i=r));let{$$slots:c={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:h=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:_={}}=t,{lang:p="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:v=""}=t,{translationurl:f=""}=t,{mbsource:w}=t,g,M=window.navigator.userAgent,y=e.getDevice(M)!=="PC";const b=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},a=r=>{r==="confirm"&&u&&window.postMessage(u,window.location.href),r==="cancel"&&_&&window.postMessage(_,window.location.href),b()},s=()=>{fetch(f).then(k=>k.json()).then(k=>{Object.keys(k).forEach(B=>{A(B,k[B])})}).catch(k=>{console.log(k)})};Object.keys(F).forEach(r=>{A(r,F[r])});const l=()=>{T(p)};e.onMount(()=>()=>{});const C=()=>a("cancel"),L=()=>a("confirm");function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(3,g)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,h=r.modaltitle),"hascancelbutton"in r&&n(2,G=r.hascancelbutton),"modalconfirmevent"in r&&n(8,u=r.modalconfirmevent),"modalcancelevent"in r&&n(9,_=r.modalcancelevent),"lang"in r&&n(10,p=r.lang),"clientstyling"in r&&n(11,x=r.clientstyling),"clientstylingurl"in r&&n(12,v=r.clientstylingurl),"translationurl"in r&&n(13,f=r.translationurl),"mbsource"in r&&n(14,w=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&p&&l(),o.$$.dirty&2056&&x&&g&&e.setClientStyling(g,x),o.$$.dirty&4104&&v&&g&&e.setClientStylingURL(g,v),o.$$.dirty&16392&&w&&g&&e.setStreamStyling(g,`${w}.Style`),o.$$.dirty&8192&&f&&s()},[d,h,G,g,i,y,b,a,u,_,p,x,v,f,w,m,c,C,L,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,N,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},P)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-9pZTJKCj.cjs");require("../stencil/ui-skeleton-BjdFVTvB.cjs");function E(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const B={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-9pZTJKCj.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(l){e.append_styles(l,"svelte-io9slc",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function W(l,t,n){const a=l.slice();return a[40]=t[n],a}function H(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,o,s,m,y,f,P,h,g,_,u=l[11]&&ee(l),c=l[11]&&te(l),p=e.ensure_array_like(l[6]),i=[];for(let d=0;d<p.length;d+=1)i[d]=S(W(l,p,d));let v=!l[11]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),o=e.element("p"),s=e.text(l[8]),m=e.space(),y=e.element("p"),f=e.text(l[9]),P=e.space(),c&&c.c(),h=e.space(),g=e.element("div");for(let d=0;d<i.length;d+=1)i[d].c();_=e.space(),v&&v.c(),e.attr(o,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[11]?"PlayerAccountMenuHeaderMobile":"")),e.attr(g,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[11]?"PlayerAccountMobileContainer":"")+" "+(l[12].matches&&l[11]?"PlayerAccountTabletContainer":""))},m(d,b){e.insert(d,t,b),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,o),e.append(o,s),e.append(n,m),e.append(n,y),e.append(y,f),e.append(n,P),c&&c.m(n,null),e.append(t,h),e.append(t,g);for(let A=0;A<i.length;A+=1)i[A]&&i[A].m(g,null);e.append(t,_),v&&v.m(t,null)},p(d,b){if(d[11]&&u.p(d,b),b[0]&256&&e.set_data(s,d[8]),b[0]&512&&e.set_data(f,d[9]),d[11]&&c.p(d,b),b[0]&10432){p=e.ensure_array_like(d[6]);let A;for(A=0;A<p.length;A+=1){const x=W(d,p,A);i[A]?i[A].p(x,b):(i[A]=S(x),i[A].c(),i[A].m(g,null))}for(;A<i.length;A+=1)i[A].d(1);i.length=p.length}d[11]||v.p(d,b)},d(d){d&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,d),v&&v.d()}}}function $(l){let t,n,a,o,s,m,y,f,P,h,g=l[11]&&le(),_=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<_.length;c+=1)u[c]=z(H(l,_,c));return{c(){t=e.element("div"),n=e.element("div"),g&&g.c(),a=e.space(),o=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),f=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();P=e.space(),h=e.element("div"),h.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(o,"structure","title"),e.set_custom_element_data(o,"width","100px"),e.set_custom_element_data(o,"height","20px"),e.set_custom_element_data(o,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[11]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(h,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[11]?"PlayerAccountMobileContainer":"")+" "+(l[12].matches&&l[11]?"PlayerAccountTabletContainer":""))},m(c,p){e.insert(c,t,p),e.append(t,n),g&&g.m(n,null),e.append(n,a),e.append(n,o),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,f);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(f,null);e.append(t,P),e.append(t,h)},p(c,p){if(p[0]&2048){_=e.ensure_array_like(Array(18));let i;for(i=0;i<_.length;i+=1){const v=H(c,_,i);u[i]?u[i].p(v,p):(u[i]=z(v),u[i].c(),u[i].m(f,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=_.length}},d(c){c&&e.detach(t),g&&g.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,o,s,m,y,f,P,h,g=l[10]("title")+"",_,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),o=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),f=e.svg_element("path"),P=e.space(),h=e.element("h3"),_=e.text(g),e.attr(f,"class","aaa"),e.attr(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(f,"transform","translate(15 15) rotate(180)"),e.attr(y,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(h,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,a),e.append(a,o),e.append(o,s),e.append(n,m),e.append(m,y),e.append(y,f),e.append(t,P),e.append(t,h),e.append(h,_),u||(c=[e.listen(n,"click",l[14]),e.listen(h,"click",l[14])],u=!0)},p(p,i){i[0]&1024&&g!==(g=p[10]("title")+"")&&e.set_data(_,g)},d(p){p&&e.detach(t),u=!1,e.run_all(c)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,o){e.insert(a,t,o),e.append(t,n)},p(a,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),o[0]&1&&e.set_custom_element_data(n,"session",a[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,o,s,m,y=l[40].label+"",f,P,h,g,_;function u(){return l[25](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),f=e.text(y),P=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[11]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,o=l[40].img)||e.attr(a,"src",o),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",h="PlayerAccountMenuItemBox "+(l[7]===l[40].id&&!l[11]?"PlayerAccountMenuActiveItemBox":""))},m(c,p){e.insert(c,t,p),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,f),e.append(t,P),g||(_=e.listen(t,"click",u),g=!0)},p(c,p){l=c,p[0]&64&&!e.src_url_equal(a.src,o=l[40].img)&&e.attr(a,"src",o),p[0]&64&&y!==(y=l[40].label+"")&&e.set_data(f,y),p[0]&192&&h!==(h="PlayerAccountMenuItemBox "+(l[7]===l[40].id&&!l[11]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",h)},d(c){c&&e.detach(t),g=!1,_()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,o){e.insert(a,t,o),e.append(t,n)},p(a,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),o[0]&1&&e.set_custom_element_data(n,"session",a[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function z(l){let t,n,a,o,s=!l[11]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),o=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[11]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[11]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,o)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function re(l){let t;function n(s,m){return s[5]?$:Y}let a=n(l),o=a(l);return{c(){t=e.element("div"),o.c()},m(s,m){e.insert(s,t,m),o.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&o?o.p(s,m):(o.d(1),o=a(s),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o.d(),l[26](null)}}}function oe(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(10,a=r));let{endpoint:o=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:f=""}=t,{lang:P="en"}=t,{userroles:h=""}=t,{clientstyling:g=""}=t,{clientstylingurl:_=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:p}=t,i=!1,v=!1,d=!0,b,A=[],x,k=window.navigator.userAgent,D=e.getDevice(k)!=="PC",I="",C="";const j=window.matchMedia("(min-width: 768px)"),U=()=>{fetch(u).then(M=>M.json()).then(M=>{Object.keys(M).forEach(w=>{E(w,M[w])})}).catch(M=>{console.error(M)})};Object.keys(B).forEach(r=>{E(r,B[r])});const F=r=>{if(r.data)switch(r.data.type){case"UserSessionID":n(0,y=r.data.session);break}},q=()=>{let r=e.getDevice(k);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${s}/${P}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(6,A=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,i=!0)})},G=()=>{let r=new URL(`${o}/v1/player/${f}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":y}};fetch(r.href,M).then(w=>w.json()).then(w=>{n(8,I=w.username),n(9,C=w.email)},w=>{console.error(w)}).finally(()=>{n(24,v=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(7,x=r.id)},T=()=>{var r;n(7,x=(r=A.find(M=>M.path.includes(c)))==null?void 0:r.id)},N=()=>{J(P)},Q=()=>{G()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));const X=r=>L(r);function Z(r){e.binding_callbacks[r?"unshift":"push"](()=>{b=r,n(4,b)})}return l.$$set=r=>{"endpoint"in r&&n(1,o=r.endpoint),"cmsendpoint"in r&&n(15,s=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,y=r.session),"playerid"in r&&n(17,f=r.playerid),"lang"in r&&n(18,P=r.lang),"userroles"in r&&n(19,h=r.userroles),"clientstyling"in r&&n(2,g=r.clientstyling),"clientstylingurl"in r&&n(3,_=r.clientstylingurl),"translationurl"in r&&n(20,u=r.translationurl),"activemenuitem"in r&&n(21,c=r.activemenuitem),"mbsource"in r&&n(22,p=r.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(5,d=!i||!v),l.$$.dirty[0]&262144&&P&&N(),l.$$.dirty[0]&393219&&o&&y&&f&&P&&Q(),l.$$.dirty[0]&360448&&s&&P&&m&&R(),l.$$.dirty[0]&2097152&&c&&T(),l.$$.dirty[0]&20&&g&&b&&e.setClientStyling(b,g),l.$$.dirty[0]&24&&_&&b&&e.setClientStylingURL(b,_),l.$$.dirty[0]&4194320&&p&&b&&e.setStreamStyling(b,`${p}.Style`),l.$$.dirty[0]&1048576&&u&&U()},[y,o,g,_,b,d,A,x,I,C,a,D,j,L,V,s,m,f,P,h,u,c,p,i,v,X,Z]}class O extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:22},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(O,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=O;
|