@everymatrix/player-account-controller 1.88.10 → 1.88.12

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 (118) hide show
  1. package/components/{GeneralLogout-Dimh5_1Q.js → GeneralLogout-3f37L92N.js} +1 -1
  2. package/components/{GeneralLogout-JDLtRUPI.js → GeneralLogout-BNcg2rnF.js} +1 -1
  3. package/components/{GeneralLogout-BYRoa1i0.cjs → GeneralLogout-CV4olakD.cjs} +1 -1
  4. package/components/{PlayerAccountBettingHistory-Dsuiqiks.js → PlayerAccountBettingHistory-AznYD_s5.js} +14 -14
  5. package/components/{PlayerAccountBettingHistory-CRa_Vjs1.cjs → PlayerAccountBettingHistory-BE5gE3MK.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-BxTXvGJn.js → PlayerAccountBettingHistory-t0beur9-.js} +11 -11
  7. package/components/{PlayerAccountBiometrics-URi9frFz.js → PlayerAccountBiometrics-BQax31j4.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-BzpiaRqT.js → PlayerAccountBiometrics-C-PAo6Vh.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-BOMKNUWC.cjs → PlayerAccountBiometrics-YYYmrA8I.cjs} +1 -1
  10. package/components/{PlayerAccountBiometricsAction-B5BAuy2J.js → PlayerAccountBiometricsAction-C5yFGihl.js} +7 -7
  11. package/components/{PlayerAccountBiometricsAction-3SXLOW7p.js → PlayerAccountBiometricsAction-CIeZCGso.js} +7 -7
  12. package/components/{PlayerAccountBiometricsAction-Bl9VaoWm.cjs → PlayerAccountBiometricsAction-D_O8awMR.cjs} +1 -1
  13. package/components/{PlayerAccountClosure-D-N9ayhJ.js → PlayerAccountClosure-B1Yn0_WG.js} +1 -1
  14. package/components/{PlayerAccountClosure-C_QmjWrt.cjs → PlayerAccountClosure-D-PcJpa3.cjs} +1 -1
  15. package/components/{PlayerAccountClosure-Bd8du2_g.js → PlayerAccountClosure-DVW0slHf.js} +1 -1
  16. package/components/{PlayerAccountController-BhMzdKIw.js → PlayerAccountController-BIBSVpQp.js} +31 -31
  17. package/components/{PlayerAccountController-rhQprOUh.js → PlayerAccountController-DZwcWMS_.js} +31 -31
  18. package/components/{PlayerAccountController-B9dO7Osu.cjs → PlayerAccountController-c1W5YoSL.cjs} +2 -2
  19. package/components/{PlayerAccountGamingLimits-Dql103_y.js → PlayerAccountGamingLimits-C-PPTWth.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-BDhXXNvu.cjs → PlayerAccountGamingLimits-D9j_F-Ti.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimits-DzE7-HsX.js → PlayerAccountGamingLimits-DMl7l4Ev.js} +2 -2
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-B9obkuhZ.js → PlayerAccountGamingLimitsConfirmationModal-AvT_mb3x.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-DeUmHson.js → PlayerAccountGamingLimitsConfirmationModal-DgPRGMFN.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DmegGw1n.cjs → PlayerAccountGamingLimitsConfirmationModal-DnE3atZP.cjs} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-CPY7Bpiz.js → PlayerAccountGamingLimitsGroupEdit-BvbzLTQu.js} +37 -37
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-DNh-BX25.cjs → PlayerAccountGamingLimitsGroupEdit-DfQzxuJE.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-CZ_f4OQI.js → PlayerAccountGamingLimitsGroupEdit-l28sOuAE.js} +37 -37
  28. package/components/{PlayerAccountGamingLimitsHistory2-DNN6rwns.js → PlayerAccountGamingLimitsHistory2-0HCH3g4a.js} +31 -31
  29. package/components/{PlayerAccountGamingLimitsHistory2-D2NW9KMM.js → PlayerAccountGamingLimitsHistory2-BYG3FJJy.js} +30 -30
  30. package/components/{PlayerAccountGamingLimitsHistory2-Dtdd8Vqz.cjs → PlayerAccountGamingLimitsHistory2-C2MxbCBc.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-CgKpLy88.js → PlayerAccountGamingLimitsInfoCard-8DmNxC2Y.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-DvVCacaz.cjs → PlayerAccountGamingLimitsInfoCard-A0IMHaNM.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-rSr8B17V.js → PlayerAccountGamingLimitsInfoCard-CTKf7STM.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-DgrsAkj5.js → PlayerAccountGamingLimitsPage2Gm16-6kt1l4uO.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-9gUNT26q.js → PlayerAccountGamingLimitsPage2Gm16-B64VCF88.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dkh60C4-.cjs → PlayerAccountGamingLimitsPage2Gm16-BIuOzvlh.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-C4rgYWzp.cjs → PlayerAccountGamingLimitsPopup-DL4YQZ-Y.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-Dbnn_ImA.js → PlayerAccountGamingLimitsPopup-DVDIcKMW.js} +9 -9
  39. package/components/{PlayerAccountGamingLimitsPopup-CHfsHaE_.js → PlayerAccountGamingLimitsPopup-Dfr30Mbi.js} +9 -9
  40. package/components/{PlayerAccountGamingLimitsWrapper2-CKW5ZJbZ.cjs → PlayerAccountGamingLimitsWrapper2-B9g4gCHi.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsWrapper2-BabqPnsJ.js → PlayerAccountGamingLimitsWrapper2-BtEu5brr.js} +3 -3
  42. package/components/{PlayerAccountGamingLimitsWrapper2-BAC5EIrO.js → PlayerAccountGamingLimitsWrapper2-DUwU-Jvb.js} +18 -18
  43. package/components/{PlayerAccountGeneralConfirmationModal-GuLYOaVa.js → PlayerAccountGeneralConfirmationModal-Bx6JYpOg.js} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-cpUPYXPf.cjs → PlayerAccountGeneralConfirmationModal-C5kh1Nm-.cjs} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-BC0rQ5iX.js → PlayerAccountGeneralConfirmationModal-D--hssLf.js} +1 -1
  46. package/components/{PlayerAccountMenu-BlTQ1PO6.js → PlayerAccountMenu-BMo4lF6Q.js} +2 -2
  47. package/components/{PlayerAccountMenu-CfzgM7Md.js → PlayerAccountMenu-B_LYCNtV.js} +2 -2
  48. package/components/{PlayerAccountMenu-DO8153vS.cjs → PlayerAccountMenu-BrlL1sDW.cjs} +1 -1
  49. package/components/{PlayerAccountModal-DDhgjvW3.js → PlayerAccountModal-0chr39OG.js} +20 -20
  50. package/components/{PlayerAccountModal-BMBFI4D1.cjs → PlayerAccountModal-DSDeP3eT.cjs} +1 -1
  51. package/components/{PlayerAccountModal-CLFQAJsf.js → PlayerAccountModal-rRWaVt9E.js} +16 -16
  52. package/components/{PlayerAccountNotifications-WtO4KAxu.cjs → PlayerAccountNotifications-B6y7dER1.cjs} +1 -1
  53. package/components/{PlayerAccountNotifications-Bbdpo1qj.js → PlayerAccountNotifications-D1frIIh3.js} +1 -1
  54. package/components/{PlayerAccountNotifications-CG2tDYC7.js → PlayerAccountNotifications-DQHnGruX.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-BiqF3nsE.cjs → PlayerAccountProductRestriction-CTP6kcX3.cjs} +1 -1
  56. package/components/{PlayerAccountProductRestriction-2lv_5SvI.js → PlayerAccountProductRestriction-lGyLa_-G.js} +42 -42
  57. package/components/{PlayerAccountProductRestriction-N8nYIViG.js → PlayerAccountProductRestriction-mR2QPxjU.js} +50 -50
  58. package/components/{PlayerAccountReviewFrequency-Cjgy2mVr.cjs → PlayerAccountReviewFrequency-BboiAtl8.cjs} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-rKz2JZ5D.js → PlayerAccountReviewFrequency-BzsiCBvi.js} +9 -9
  60. package/components/{PlayerAccountReviewFrequency-CFtqJPD8.js → PlayerAccountReviewFrequency-dEEwjD1I.js} +8 -8
  61. package/components/{PlayerAccountSelfExclusion-Bkt4-_8m.js → PlayerAccountSelfExclusion-BkXPtsGk.js} +32 -32
  62. package/components/{PlayerAccountSelfExclusion-BtOL7oV4.cjs → PlayerAccountSelfExclusion-CBtEwgD6.cjs} +1 -1
  63. package/components/{PlayerAccountSelfExclusion-uRI-fyJ8.js → PlayerAccountSelfExclusion-CEtrhMih.js} +32 -32
  64. package/components/{PlayerAccountTimeout-ChWrrwIf.js → PlayerAccountTimeout-BJvD7ZL7.js} +2577 -2499
  65. package/components/{PlayerAccountTimeout-6FA0CMyL.cjs → PlayerAccountTimeout-BYGu_kj-.cjs} +164 -161
  66. package/components/{PlayerAccountTimeout-rKQ84GdP.js → PlayerAccountTimeout-BgYpOHqG.js} +2543 -2466
  67. package/components/{PlayerAccountTransactionsHistory-DEtXHIkI.js → PlayerAccountTransactionsHistory-B15ToFc4.js} +59 -59
  68. package/components/{PlayerAccountTransactionsHistory-D-CMAlgm.js → PlayerAccountTransactionsHistory-CsHiqDtc.js} +61 -61
  69. package/components/{PlayerAccountTransactionsHistory-cUv9qDdN.cjs → PlayerAccountTransactionsHistory-CxWYyFu4.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-DZ4544Mc.js → PlayerActiveBonuses-Brw6p6sJ.js} +23 -23
  71. package/components/{PlayerActiveBonuses-uR1DIMKR.cjs → PlayerActiveBonuses-DdagPFoo.cjs} +1 -1
  72. package/components/{PlayerActiveBonuses-CW6BR3c-.js → PlayerActiveBonuses-uclpE6Fz.js} +22 -22
  73. package/components/{PlayerBonusCard-BImfhO_z.js → PlayerBonusCard-2eMTBPW5.js} +2 -2
  74. package/components/{PlayerBonusCard-BVeSlvEN.js → PlayerBonusCard-CsBFrOLK.js} +2 -2
  75. package/components/{PlayerBonusCard-CZeCnNwt.cjs → PlayerBonusCard-yri03XDE.cjs} +1 -1
  76. package/components/{PlayerBonusHistory-V1FrTsrx.js → PlayerBonusHistory-3GW0q7cz.js} +2 -2
  77. package/components/{PlayerBonusHistory-BPxQaKU8.js → PlayerBonusHistory-CRvkxkzl.js} +2 -2
  78. package/components/{PlayerBonusHistory-R1yetYEr.cjs → PlayerBonusHistory-DIIiIeU2.cjs} +1 -1
  79. package/components/{PlayerChangePassword-FBcGOGfM.cjs → PlayerChangePassword-Ckh0UgCx.cjs} +1 -1
  80. package/components/{PlayerChangePassword-Bw6Kh7XQ.js → PlayerChangePassword-DdiMBDZB.js} +23 -23
  81. package/components/{PlayerChangePassword-1yD6kUJ_.js → PlayerChangePassword-nci8kW_7.js} +23 -23
  82. package/components/{PlayerDeposit-DRAaP9BR.js → PlayerDeposit-BYathUq_.js} +1 -1
  83. package/components/{PlayerDeposit-C068f0cz.js → PlayerDeposit-B_Pi6J5J.js} +1 -1
  84. package/components/{PlayerDeposit-Cgymt0_R.cjs → PlayerDeposit-Cv_pRjv6.cjs} +1 -1
  85. package/components/{PlayerGamingHistory-DQzfSjGP.js → PlayerGamingHistory-CuxZIjEC.js} +60 -60
  86. package/components/{PlayerGamingHistory-BEvcFfFp.js → PlayerGamingHistory-DDD86DHv.js} +81 -81
  87. package/components/{PlayerGamingHistory-TjCVYLVI.cjs → PlayerGamingHistory-dzrYvVJC.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-BiC_-pbN.cjs → PlayerPendingWithdrawals-DQiDcjn1.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-B8Meosmw.js → PlayerPendingWithdrawals-Q35MniF1.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-lEga1kxV.js → PlayerPendingWithdrawals-ZxC0NW57.js} +1 -1
  91. package/components/{PlayerProfileInfo-BDXaNifM.js → PlayerProfileInfo-Be1LUCLJ.js} +2 -2
  92. package/components/{PlayerProfileInfo-CHg_yF6b.cjs → PlayerProfileInfo-D4ijuSuD.cjs} +2 -2
  93. package/components/{PlayerProfileInfo-dcEoQXS9.js → PlayerProfileInfo-DUsW3Z5w.js} +2 -2
  94. package/components/{PlayerRealityCheck-BYWxpypi.js → PlayerRealityCheck-BCaw959Y.js} +7 -7
  95. package/components/{PlayerRealityCheck-Cx6e7jE-.cjs → PlayerRealityCheck-Bmvxi7is.cjs} +1 -1
  96. package/components/{PlayerRealityCheck-D5Qh9X3z.js → PlayerRealityCheck-DVfkyvpL.js} +6 -6
  97. package/components/{PlayerTransactionHistory-BFx6qb-H.cjs → PlayerTransactionHistory-Balz_sHQ.cjs} +1 -1
  98. package/components/{PlayerTransactionHistory-C2TGIEjS.js → PlayerTransactionHistory-Cp-0m3f8.js} +1 -1
  99. package/components/{PlayerTransactionHistory-DecMj_xk.js → PlayerTransactionHistory-DUTKPo7M.js} +1 -1
  100. package/components/{PlayerWithdrawal-CRumlS8y.cjs → PlayerWithdrawal-BhznMkqA.cjs} +1 -1
  101. package/components/{PlayerWithdrawal-C6BDCukj.js → PlayerWithdrawal-CF2tNr_S.js} +1 -1
  102. package/components/{PlayerWithdrawal-nWZiwAJH.js → PlayerWithdrawal-D5NvwHL1.js} +1 -1
  103. package/es2015/player-account-controller.cjs +1 -1
  104. package/es2015/player-account-controller.js +1 -1
  105. package/esnext/player-account-controller.js +1 -1
  106. package/package.json +1 -1
  107. package/stencil/{checkbox-group-input_16-xNacUvu5.js → checkbox-group-input_16-3Luep8r6.js} +8 -4
  108. package/stencil/{checkbox-group-input_16-D0NDW25Z.js → checkbox-group-input_16-BILuVVwp.js} +8 -4
  109. package/stencil/{checkbox-group-input_16-BTsVd0db.cjs → checkbox-group-input_16-C4h1ckiE.cjs} +2 -2
  110. package/stencil/{index-c666b6e6-g9AWUaUU.cjs → index-c666b6e6-CgcI6HAF.cjs} +1 -1
  111. package/stencil/{index-c666b6e6-CHeQfJP1.js → index-c666b6e6-DoItI-nA.js} +1 -1
  112. package/stencil/{index-c666b6e6-D0eOIPSZ.js → index-c666b6e6-eQvo5DEB.js} +1 -1
  113. package/stencil/{pam-change-password-121f4e26-ByNb5lNg.js → pam-change-password-121f4e26-BexQE9SG.js} +1 -1
  114. package/stencil/{pam-change-password-121f4e26-wGrGMJ7X.js → pam-change-password-121f4e26-BfmFusu4.js} +1 -1
  115. package/stencil/{pam-change-password-121f4e26-D0sDBWFY.cjs → pam-change-password-121f4e26-C1LSezBV.cjs} +1 -1
  116. package/stencil/{pam-change-password-B7gJ1UQE.cjs → pam-change-password-BD5Nihcr.cjs} +1 -1
  117. package/stencil/{pam-change-password-bEI4DTme.js → pam-change-password-BRrpfWZV.js} +1 -1
  118. package/stencil/{pam-change-password-Bq8EYTN6.js → pam-change-password-gmq0gKjg.js} +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-B9dO7Osu.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function W(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const H={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-BYRoa1i0.cjs")).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-5g0xrl",".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, #22B04E));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, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function S(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,g,y,b,_,f,h,u=l[12]&&ee(l),c=l[12]&&te(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=O(S(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),y=e.text(l[10]),b=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,A){e.insert(p,t,A),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,y),e.append(n,b),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let M=0;M<i.length;M+=1)i[M]&&i[M].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,A){if(p[12]&&u.p(p,A),A[0]&512&&e.set_data(s,p[9]),A[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,A),A[0]&12672){d=e.ensure_array_like(p[7]);let M;for(M=0;M<d.length;M+=1){const k=S(p,d,M);i[M]?i[M].p(k,A):(i[M]=O(k),i[M].c(),i[M].m(f,null))}for(;M<i.length;M+=1)i[M].d(1);i.length=d.length}p[12]||v.p(p,A)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function $(l){let t,n,a,r,s,m,g,y,b,_,f=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=j(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"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[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,y);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(y,null);e.append(t,b),e.append(t,_)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=j(v),u[i].c(),u[i].m(y,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,g,y,b,_,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),y=e.svg_element("path"),b=e.space(),_=e.element("h3"),h=e.text(f),e.attr(y,"class","aaa"),e.attr(y,"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(y,"transform","translate(15 15) rotate(180)"),e.attr(g,"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(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,y),e.append(t,b),e.append(t,_),e.append(_,h),u||(c=[e.listen(n,"click",l[14]),e.listen(_,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&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.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function O(l){let t,n,a,r,s,m,g=l[40].label+"",y,b,_,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(g),b=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,b),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(y,g),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,h()}}}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.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},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 j(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=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[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function re(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function oe(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:y=""}=t,{lang:b="en"}=t,{userroles:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,A,M,k=[],x,I=window.navigator.userAgent,U=e.getDevice(I)!=="PC",F="",C="";window.matchMedia("(min-width: 768px)");const D=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{W(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(H).forEach(o=>{W(o,H[o])});const L=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},q=()=>{let o=e.getDevice(I);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,k=P),B()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},N=()=>{let o=new URL(`${r}/v1/player/${y}/profile`);o.searchParams.append("userRoles",_);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,F=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},E=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},B=()=>{var o;n(8,x=(o=k.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{K(b)},V=()=>{N()},X=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Z=o=>E(o);function J(o){e.binding_callbacks[o?"unshift":"push"](()=>{A=o,n(5,A)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,y=o.playerid),"lang"in o&&n(18,b=o.lang),"userroles"in o&&n(19,_=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&b&&G(),l.$$.dirty[0]&393219&&r&&g&&y&&b&&V(),l.$$.dirty[0]&360448&&s&&b&&m&&R(),l.$$.dirty[0]&2097152&&c&&B(),l.$$.dirty[0]&36&&f&&A&&e.setClientStyling(A,f),l.$$.dirty[0]&40&&h&&A&&e.setClientStylingURL(A,h),l.$$.dirty[0]&48&&d&&A&&e.setStreamStyling(A,`${d}.Style`,M),l.$$.dirty[0]&1048576&&u&&D()},[g,r,f,h,d,A,p,k,x,F,C,a,U,E,X,s,m,y,b,_,u,c,i,v,Z,J]}class z 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:4},Q,[-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[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(z,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-c1W5YoSL.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function W(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const H={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-CV4olakD.cjs")).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-5g0xrl",".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, #22B04E));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, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function S(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,g,y,b,_,f,h,u=l[12]&&ee(l),c=l[12]&&te(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=O(S(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),y=e.text(l[10]),b=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,A){e.insert(p,t,A),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,y),e.append(n,b),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let M=0;M<i.length;M+=1)i[M]&&i[M].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,A){if(p[12]&&u.p(p,A),A[0]&512&&e.set_data(s,p[9]),A[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,A),A[0]&12672){d=e.ensure_array_like(p[7]);let M;for(M=0;M<d.length;M+=1){const k=S(p,d,M);i[M]?i[M].p(k,A):(i[M]=O(k),i[M].c(),i[M].m(f,null))}for(;M<i.length;M+=1)i[M].d(1);i.length=d.length}p[12]||v.p(p,A)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function $(l){let t,n,a,r,s,m,g,y,b,_,f=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=j(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"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[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,y);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(y,null);e.append(t,b),e.append(t,_)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=j(v),u[i].c(),u[i].m(y,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,g,y,b,_,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),y=e.svg_element("path"),b=e.space(),_=e.element("h3"),h=e.text(f),e.attr(y,"class","aaa"),e.attr(y,"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(y,"transform","translate(15 15) rotate(180)"),e.attr(g,"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(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,y),e.append(t,b),e.append(t,_),e.append(_,h),u||(c=[e.listen(n,"click",l[14]),e.listen(_,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&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.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function O(l){let t,n,a,r,s,m,g=l[40].label+"",y,b,_,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(g),b=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,b),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(y,g),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,h()}}}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.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},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 j(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=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[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function re(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function oe(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:y=""}=t,{lang:b="en"}=t,{userroles:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,A,M,k=[],x,I=window.navigator.userAgent,U=e.getDevice(I)!=="PC",F="",C="";window.matchMedia("(min-width: 768px)");const D=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{W(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(H).forEach(o=>{W(o,H[o])});const L=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},q=()=>{let o=e.getDevice(I);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,k=P),B()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},N=()=>{let o=new URL(`${r}/v1/player/${y}/profile`);o.searchParams.append("userRoles",_);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,F=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},E=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},B=()=>{var o;n(8,x=(o=k.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{K(b)},V=()=>{N()},X=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Z=o=>E(o);function J(o){e.binding_callbacks[o?"unshift":"push"](()=>{A=o,n(5,A)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,y=o.playerid),"lang"in o&&n(18,b=o.lang),"userroles"in o&&n(19,_=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&b&&G(),l.$$.dirty[0]&393219&&r&&g&&y&&b&&V(),l.$$.dirty[0]&360448&&s&&b&&m&&R(),l.$$.dirty[0]&2097152&&c&&B(),l.$$.dirty[0]&36&&f&&A&&e.setClientStyling(A,f),l.$$.dirty[0]&40&&h&&A&&e.setClientStylingURL(A,h),l.$$.dirty[0]&48&&d&&A&&e.setStreamStyling(A,`${d}.Style`,M),l.$$.dirty[0]&1048576&&u&&D()},[g,r,f,h,d,A,p,k,x,F,C,a,U,E,X,s,m,y,b,_,u,c,i,v,Z,J]}class z 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:4},Q,[-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[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(z,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=z;
@@ -1,4 +1,4 @@
1
- import { a3 as B, S as U, i as j, s as q, f, b as A, d as L, U as w, V as m, X as H, W as N, e as D, O, o as P, Z as R, a4 as S, L as V, _ as X, a0 as Z, a1 as p, p as k, g as _, t as y, k as v, B as F, C as G, D as I, c as J } from "./PlayerAccountController-BhMzdKIw.js";
1
+ import { a3 as B, S as P, i as U, s as j, f, b as q, d as L, U as w, V as m, X as A, W as H, e as D, L as N, o as R, Z as V, a4 as S, P as X, _ as Z, a0 as p, a1 as F, p as k, g as _, t as y, k as v, B as G, C as I, D as J, c as K } from "./PlayerAccountController-BIBSVpQp.js";
2
2
  function C(e, { delay: t = 0, duration: n = 400, easing: i = B } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -8,15 +8,15 @@ function C(e, { delay: t = 0, duration: n = 400, easing: i = B } = {}) {
8
8
  css: (o) => `opacity: ${o * s}`
9
9
  };
10
10
  }
11
- function K(e) {
12
- A(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
11
+ function O(e) {
12
+ q(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
13
13
  }
14
14
  function M(e) {
15
15
  let t, n, i, s, o;
16
16
  const d = (
17
17
  /*#slots*/
18
18
  e[9].default
19
- ), r = R(
19
+ ), r = V(
20
20
  d,
21
21
  e,
22
22
  /*$$scope*/
@@ -32,19 +32,19 @@ function M(e) {
32
32
  },
33
33
  p(a, u) {
34
34
  e = a, r && r.p && (!o || u & /*$$scope*/
35
- 256) && X(
35
+ 256) && Z(
36
36
  r,
37
37
  d,
38
38
  e,
39
39
  /*$$scope*/
40
40
  e[8],
41
- o ? p(
41
+ o ? F(
42
42
  d,
43
43
  /*$$scope*/
44
44
  e[8],
45
45
  u,
46
46
  null
47
- ) : Z(
47
+ ) : p(
48
48
  /*$$scope*/
49
49
  e[8]
50
50
  ),
@@ -52,7 +52,7 @@ function M(e) {
52
52
  );
53
53
  },
54
54
  i(a) {
55
- o || (m(r, a), a && V(() => {
55
+ o || (m(r, a), a && X(() => {
56
56
  o && (s || (s = S(n, C, { transitionDuration: (
57
57
  /*duration*/
58
58
  e[1]
@@ -77,7 +77,7 @@ function Q(e) {
77
77
  );
78
78
  return {
79
79
  c() {
80
- i && i.c(), t = O();
80
+ i && i.c(), t = N();
81
81
  },
82
82
  m(s, o) {
83
83
  i && i.m(s, o), D(s, t, o), n = !0;
@@ -85,9 +85,9 @@ function Q(e) {
85
85
  p(s, [o]) {
86
86
  /*show*/
87
87
  s[0] ? i ? (i.p(s, o), o & /*show*/
88
- 1 && m(i, 1)) : (i = M(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (H(), w(i, 1, 1, () => {
88
+ 1 && m(i, 1)) : (i = M(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (A(), w(i, 1, 1, () => {
89
89
  i = null;
90
- }), N());
90
+ }), H());
91
91
  },
92
92
  i(s) {
93
93
  n || (m(i), n = !0);
@@ -112,7 +112,7 @@ function T(e, t, n) {
112
112
  break;
113
113
  }
114
114
  };
115
- P(() => (window.addEventListener("message", b, !1), () => {
115
+ R(() => (window.addEventListener("message", b, !1), () => {
116
116
  window.removeEventListener("message", b);
117
117
  }));
118
118
  function W(l) {
@@ -129,9 +129,9 @@ function T(e, t, n) {
129
129
  "show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
130
130
  }, e.$$.update = () => {
131
131
  e.$$.dirty & /*clientstyling, customStylingContainer*/
132
- 20 && r && c && F(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
- 36 && a && c && G(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
- 68 && u && c && I(c, `${u}.Style`, E);
132
+ 20 && r && c && G(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
+ 36 && a && c && I(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
+ 68 && u && c && J(c, `${u}.Style`, E);
135
135
  }, [
136
136
  o,
137
137
  d,
@@ -147,14 +147,14 @@ function T(e, t, n) {
147
147
  z
148
148
  ];
149
149
  }
150
- class Y extends U {
150
+ class Y extends P {
151
151
  constructor(t) {
152
- super(), j(
152
+ super(), U(
153
153
  this,
154
154
  t,
155
155
  T,
156
156
  Q,
157
- q,
157
+ j,
158
158
  {
159
159
  show: 0,
160
160
  duration: 1,
@@ -163,7 +163,7 @@ class Y extends U {
163
163
  mbsource: 6,
164
164
  showmodaleventname: 7
165
165
  },
166
- K
166
+ O
167
167
  );
168
168
  }
169
169
  get show() {
@@ -203,7 +203,7 @@ class Y extends U {
203
203
  this.$$set({ showmodaleventname: t }), f();
204
204
  }
205
205
  }
206
- J(Y, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
206
+ K(Y, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
207
207
  export {
208
208
  Y as default
209
209
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-B9dO7Osu.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-c1W5YoSL.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
@@ -1,4 +1,4 @@
1
- import { a3 as j, S as A, i as B, s as U, f, b as q, d as L, U as w, V as m, X as H, W as N, c as z, O, o as P, Z as R, a4 as S, L as V, _ as X, a0 as Z, a1 as F, m as v, e as _, r as y, j as C, z as G, A as I, B as J, C as K } from "./PlayerAccountController-rhQprOUh.js";
1
+ import { a3 as j, S as A, i as B, s as P, f, b as U, d as L, U as w, V as m, X as q, W as H, c as z, L as N, o as R, Z as V, a4 as S, P as X, _ as Z, a0 as F, a1 as G, m as v, e as _, r as y, j as C, z as I, A as J, B as K, C as O } from "./PlayerAccountController-DZwcWMS_.js";
2
2
  function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -9,14 +9,14 @@ function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
9
9
  };
10
10
  }
11
11
  function Q(e) {
12
- q(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
12
+ U(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
13
13
  }
14
14
  function k(e) {
15
15
  let t, n, i, s, o;
16
16
  const d = (
17
17
  /*#slots*/
18
18
  e[9].default
19
- ), r = R(
19
+ ), r = V(
20
20
  d,
21
21
  e,
22
22
  /*$$scope*/
@@ -32,19 +32,19 @@ function k(e) {
32
32
  },
33
33
  p(a, u) {
34
34
  e = a, r && r.p && (!o || u & /*$$scope*/
35
- 256) && X(
35
+ 256) && Z(
36
36
  r,
37
37
  d,
38
38
  e,
39
39
  /*$$scope*/
40
40
  e[8],
41
- o ? F(
41
+ o ? G(
42
42
  d,
43
43
  /*$$scope*/
44
44
  e[8],
45
45
  u,
46
46
  null
47
- ) : Z(
47
+ ) : F(
48
48
  /*$$scope*/
49
49
  e[8]
50
50
  ),
@@ -52,7 +52,7 @@ function k(e) {
52
52
  );
53
53
  },
54
54
  i(a) {
55
- o || (m(r, a), a && V(() => {
55
+ o || (m(r, a), a && X(() => {
56
56
  o && (s || (s = S(n, M, { transitionDuration: (
57
57
  /*duration*/
58
58
  e[1]
@@ -77,7 +77,7 @@ function T(e) {
77
77
  );
78
78
  return {
79
79
  c() {
80
- i && i.c(), t = O();
80
+ i && i.c(), t = N();
81
81
  },
82
82
  m(s, o) {
83
83
  i && i.m(s, o), z(s, t, o), n = !0;
@@ -85,9 +85,9 @@ function T(e) {
85
85
  p(s, [o]) {
86
86
  /*show*/
87
87
  s[0] ? i ? (i.p(s, o), o & /*show*/
88
- 1 && m(i, 1)) : (i = k(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (H(), w(i, 1, 1, () => {
88
+ 1 && m(i, 1)) : (i = k(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (q(), w(i, 1, 1, () => {
89
89
  i = null;
90
- }), N());
90
+ }), H());
91
91
  },
92
92
  i(s) {
93
93
  n || (m(i), n = !0);
@@ -112,7 +112,7 @@ function Y(e, t, n) {
112
112
  break;
113
113
  }
114
114
  };
115
- P(() => (window.addEventListener("message", b, !1), () => {
115
+ R(() => (window.addEventListener("message", b, !1), () => {
116
116
  window.removeEventListener("message", b);
117
117
  }));
118
118
  function E(l) {
@@ -129,9 +129,9 @@ function Y(e, t, n) {
129
129
  "show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
130
130
  }, e.$$.update = () => {
131
131
  e.$$.dirty & /*clientstyling, customStylingContainer*/
132
- 20 && r && c && G(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
- 36 && a && c && I(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
- 68 && u && c && J(c, `${u}.Style`, D);
132
+ 20 && r && c && I(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
+ 36 && a && c && J(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
+ 68 && u && c && K(c, `${u}.Style`, D);
135
135
  }, [
136
136
  o,
137
137
  d,
@@ -154,7 +154,7 @@ class p extends A {
154
154
  t,
155
155
  Y,
156
156
  T,
157
- U,
157
+ P,
158
158
  {
159
159
  show: 0,
160
160
  duration: 1,
@@ -203,7 +203,7 @@ class p extends A {
203
203
  this.$$set({ showmodaleventname: t }), f();
204
204
  }
205
205
  }
206
- K(p, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
206
+ O(p, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
207
207
  export {
208
208
  p as default
209
209
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-B9dO7Osu.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function W(a){e.append_styles(a,"svelte-1b8j2p",':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function v(a,t,o){const n=a.slice();return n[24]=t[o],n}function w(a,t,o){const n=a.slice();return n[21]=t[o],n}function L(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=P(v(a,o,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){e.insert(i,t,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,l){if(l&2){o=e.ensure_array_like(i[1]);let r;for(r=0;r<o.length;r+=1){const c=v(i,o,r);n[r]?n[r].p(c,l):(n[r]=P(c),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=o.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function z(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=N(w(a,n,l));return{c(){t=e.element("div"),o=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainer")},m(l,r){e.insert(l,t,r),e.append(t,o);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,null)},p(l,r){if(r&24){n=e.ensure_array_like({length:3});let c;for(c=0;c<n.length;c+=1){const d=w(l,n,c);i[c]?i[c].p(d,r):(i[c]=N(d),i[c].c(),i[c].m(o,null))}for(;c<i.length;c+=1)i[c].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function P(a){let t,o,n,i,l,r,c,d=a[24].title+"",g,p,u,h=a[24].description+"",k;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(d),p=e.space(),u=e.element("p"),k=e.space(),e.attr(n,"class","PlayerAccountNotificationIcon"),e.attr(n,"width","24px"),e.attr(n,"height","24px"),e.src_url_equal(n.src,i=a[24].icon)||e.attr(n,"src",i),e.attr(n,"alt",l=a[24].title),e.attr(c,"class","PlayerAccountNotificationTitle"),e.attr(o,"class","PlayerAccountNotificationBoxHeader"),e.attr(u,"class","PlayerAccountNotificationText"),e.attr(t,"class","PlayerAccountNotificationBox"),e.set_style(t,"background",a[24].backgroundColor)},m(f,m){e.insert(f,t,m),e.append(t,o),e.append(o,n),e.append(o,r),e.append(o,c),e.append(c,g),e.append(t,p),e.append(t,u),u.innerHTML=h,e.append(t,k)},p(f,m){m&2&&!e.src_url_equal(n.src,i=f[24].icon)&&e.attr(n,"src",i),m&2&&l!==(l=f[24].title)&&e.attr(n,"alt",l),m&2&&d!==(d=f[24].title+"")&&e.set_data(g,d),m&2&&h!==(h=f[24].description+"")&&(u.innerHTML=h),m&2&&e.set_style(t,"background",f[24].backgroundColor)},d(f){f&&e.detach(t)}}}function F(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function I(a){let t;return{c(){t=e.element("ui-skeleton"),t.innerHTML="",e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height","130px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function N(a){let t,o;function n(r,c){return r[3]?F:I}let l=n(a)(a);return{c(){t=e.element("div"),l.c(),o=e.space(),e.attr(t,"class","skeletonNotification")},m(r,c){e.insert(r,t,c),l.m(t,null),e.append(t,o)},p(r,c){l.p(r,c)},d(r){r&&e.detach(t),l.d()}}}function q(a){let t;function o(l,r){var c;if(l[2])return z;if((c=l[1])!=null&&c.length)return L}let n=o(a),i=n&&n(a);return{c(){t=e.element("div"),i&&i.c()},m(l,r){e.insert(l,t,r),i&&i.m(t,null),a[13](t)},p(l,[r]){n===(n=o(l))&&i?i.p(l,r):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(),a[13](null)}}}function j(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h,k=!0,f=window.navigator.userAgent,m=e.getDevice(f)!=="PC",_=[],b=[],C=S();const M=window.matchMedia("(min-width: 768px)");function S(){const s=e.getDevice(f);if(s)return s==="PC"?"dk":"mtWeb"}const T=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",C),fetch(s.href).then(y=>y.json()).then(y=>{y.length&&(o(1,_=y[0].children),_==null||_.forEach(H=>{b.length&&(H.backgroundColor=b[0],b.shift())}))}).catch(y=>{console.error(y)}).finally(()=>{setTimeout(()=>{o(2,k=!1)},1e3)})},x=()=>{c.replace(" ",""),b=c.split(",")};e.onMount(()=>()=>{});function B(s){e.binding_callbacks[s?"unshift":"push"](()=>{u=s,o(0,u)})}return a.$$set=s=>{"lang"in s&&o(5,n=s.lang),"cmsendpoint"in s&&o(6,i=s.cmsendpoint),"env"in s&&o(7,l=s.env),"userroles"in s&&o(8,r=s.userroles),"customnotif"in s&&o(9,c=s.customnotif),"clientstyling"in s&&o(10,d=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&x(),a.$$.dirty&2&&_&&x(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&d&&u&&e.setClientStyling(u,d),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`,h)},[u,_,k,m,M,n,i,l,r,c,d,g,p,B]}class A extends e.SvelteComponent{constructor(t){super(),e.init(this,t,j,q,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},W)}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[7]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(t){this.$$set({customnotif:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(A,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=A;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-c1W5YoSL.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function W(a){e.append_styles(a,"svelte-1b8j2p",':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function v(a,t,o){const n=a.slice();return n[24]=t[o],n}function w(a,t,o){const n=a.slice();return n[21]=t[o],n}function L(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=P(v(a,o,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){e.insert(i,t,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,l){if(l&2){o=e.ensure_array_like(i[1]);let r;for(r=0;r<o.length;r+=1){const c=v(i,o,r);n[r]?n[r].p(c,l):(n[r]=P(c),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=o.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function z(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=N(w(a,n,l));return{c(){t=e.element("div"),o=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainer")},m(l,r){e.insert(l,t,r),e.append(t,o);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,null)},p(l,r){if(r&24){n=e.ensure_array_like({length:3});let c;for(c=0;c<n.length;c+=1){const d=w(l,n,c);i[c]?i[c].p(d,r):(i[c]=N(d),i[c].c(),i[c].m(o,null))}for(;c<i.length;c+=1)i[c].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function P(a){let t,o,n,i,l,r,c,d=a[24].title+"",g,p,u,h=a[24].description+"",k;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(d),p=e.space(),u=e.element("p"),k=e.space(),e.attr(n,"class","PlayerAccountNotificationIcon"),e.attr(n,"width","24px"),e.attr(n,"height","24px"),e.src_url_equal(n.src,i=a[24].icon)||e.attr(n,"src",i),e.attr(n,"alt",l=a[24].title),e.attr(c,"class","PlayerAccountNotificationTitle"),e.attr(o,"class","PlayerAccountNotificationBoxHeader"),e.attr(u,"class","PlayerAccountNotificationText"),e.attr(t,"class","PlayerAccountNotificationBox"),e.set_style(t,"background",a[24].backgroundColor)},m(f,m){e.insert(f,t,m),e.append(t,o),e.append(o,n),e.append(o,r),e.append(o,c),e.append(c,g),e.append(t,p),e.append(t,u),u.innerHTML=h,e.append(t,k)},p(f,m){m&2&&!e.src_url_equal(n.src,i=f[24].icon)&&e.attr(n,"src",i),m&2&&l!==(l=f[24].title)&&e.attr(n,"alt",l),m&2&&d!==(d=f[24].title+"")&&e.set_data(g,d),m&2&&h!==(h=f[24].description+"")&&(u.innerHTML=h),m&2&&e.set_style(t,"background",f[24].backgroundColor)},d(f){f&&e.detach(t)}}}function F(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function I(a){let t;return{c(){t=e.element("ui-skeleton"),t.innerHTML="",e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height","130px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function N(a){let t,o;function n(r,c){return r[3]?F:I}let l=n(a)(a);return{c(){t=e.element("div"),l.c(),o=e.space(),e.attr(t,"class","skeletonNotification")},m(r,c){e.insert(r,t,c),l.m(t,null),e.append(t,o)},p(r,c){l.p(r,c)},d(r){r&&e.detach(t),l.d()}}}function q(a){let t;function o(l,r){var c;if(l[2])return z;if((c=l[1])!=null&&c.length)return L}let n=o(a),i=n&&n(a);return{c(){t=e.element("div"),i&&i.c()},m(l,r){e.insert(l,t,r),i&&i.m(t,null),a[13](t)},p(l,[r]){n===(n=o(l))&&i?i.p(l,r):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(),a[13](null)}}}function j(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h,k=!0,f=window.navigator.userAgent,m=e.getDevice(f)!=="PC",_=[],b=[],C=S();const M=window.matchMedia("(min-width: 768px)");function S(){const s=e.getDevice(f);if(s)return s==="PC"?"dk":"mtWeb"}const T=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",C),fetch(s.href).then(y=>y.json()).then(y=>{y.length&&(o(1,_=y[0].children),_==null||_.forEach(H=>{b.length&&(H.backgroundColor=b[0],b.shift())}))}).catch(y=>{console.error(y)}).finally(()=>{setTimeout(()=>{o(2,k=!1)},1e3)})},x=()=>{c.replace(" ",""),b=c.split(",")};e.onMount(()=>()=>{});function B(s){e.binding_callbacks[s?"unshift":"push"](()=>{u=s,o(0,u)})}return a.$$set=s=>{"lang"in s&&o(5,n=s.lang),"cmsendpoint"in s&&o(6,i=s.cmsendpoint),"env"in s&&o(7,l=s.env),"userroles"in s&&o(8,r=s.userroles),"customnotif"in s&&o(9,c=s.customnotif),"clientstyling"in s&&o(10,d=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&x(),a.$$.dirty&2&&_&&x(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&d&&u&&e.setClientStyling(u,d),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`,h)},[u,_,k,m,M,n,i,l,r,c,d,g,p,B]}class A extends e.SvelteComponent{constructor(t){super(),e.init(this,t,j,q,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},W)}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[7]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(t){this.$$set({customnotif:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(A,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=A;
@@ -1,4 +1,4 @@
1
- import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, e as k, g, j as B, o as O, k as X, m as D, l as S, p as m, t as s, q as C, z as H, u as Y, E as W, v as Z, r as v, B as $, C as tt, D as et, c as it } from "./PlayerAccountController-BhMzdKIw.js";
1
+ import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, e as k, g, j as B, o as O, k as X, m as D, l as S, p as m, t as s, q as C, z as H, u as Y, E as W, v as Z, r as v, B as $, C as tt, D as et, c as it } from "./PlayerAccountController-BIBSVpQp.js";
2
2
  import "../stencil/ui-skeleton-DNuG5l9W.js";
3
3
  function nt(a) {
4
4
  K(a, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
@@ -1,4 +1,4 @@
1
- import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, c as k, e as g, h as B, o as O, j as X, k as S, l as j, m, r as s, p as C, y as H, t as Y, E as W, u as Z, q as P, z as $, A as tt, B as et, C as it } from "./PlayerAccountController-rhQprOUh.js";
1
+ import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, c as k, e as g, h as B, o as O, j as X, k as S, l as j, m, r as s, p as C, y as H, t as Y, E as W, u as Z, q as P, z as $, A as tt, B as et, C as it } from "./PlayerAccountController-DZwcWMS_.js";
2
2
  import "../stencil/ui-skeleton-BKpwkQ2A.js";
3
3
  function nt(r) {
4
4
  K(r, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');