@everymatrix/player-account-controller-nd 1.49.2 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/components/GeneralLogout-BBoBE1Lx.cjs +8 -0
  2. package/components/{GeneralLogout-CT6JdzJJ.js → GeneralLogout-CpfJL45A.js} +323 -317
  3. package/components/PlayerAccountBettingHistory-BhFyAw7S.cjs +1 -0
  4. package/components/{PlayerAccountBettingHistory-BQS41tJM.js → PlayerAccountBettingHistory-C6Jnecgm.js} +35 -35
  5. package/components/{PlayerAccountBiometrics-BrG1qQsh.js → PlayerAccountBiometrics-CbgGBdjA.js} +38 -38
  6. package/components/PlayerAccountBiometrics-U1ab8cUd.cjs +1 -0
  7. package/components/PlayerAccountClosureNd-CLRXe1KM.cjs +1 -0
  8. package/components/{PlayerAccountClosureNd-DZGf20sc.js → PlayerAccountClosureNd-CQa6GJ-9.js} +22 -22
  9. package/components/{PlayerAccountControllerNd-DfkUpXUA.js → PlayerAccountControllerNd-BSVMbuxt.js} +21 -21
  10. package/components/PlayerAccountControllerNd-CuHyqivG.cjs +1 -0
  11. package/components/{PlayerAccountGamingLimits-DZT2yHAi.js → PlayerAccountGamingLimits-BysIpKq_.js} +43 -43
  12. package/components/PlayerAccountGamingLimits-ImaSq8Bu.cjs +1 -0
  13. package/components/PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs +1 -0
  14. package/components/{PlayerAccountGamingLimitsConfirmationModal-Ct6y_gaE.js → PlayerAccountGamingLimitsConfirmationModal-C1JaSEj9.js} +21 -21
  15. package/components/{PlayerAccountGamingLimitsGroupEdit-Cf0Vwm5f.js → PlayerAccountGamingLimitsGroupEdit-DvbllfiB.js} +178 -178
  16. package/components/{PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs → PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs} +4 -4
  17. package/components/{PlayerAccountGamingLimitsHistory2Nd-NOHMlmb-.js → PlayerAccountGamingLimitsHistory2Nd-5utMOF-c.js} +59 -59
  18. package/components/PlayerAccountGamingLimitsHistory2Nd-PWXwK3xR.cjs +1 -0
  19. package/components/PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsInfoCard-gzrqsmTe.js → PlayerAccountGamingLimitsInfoCard-Cf-_Q_Il.js} +80 -80
  21. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dbm8J6qJ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-Cd5sgo9y.cjs} +4 -4
  22. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CDvdIJm8.js → PlayerAccountGamingLimitsPage2Gm16Nd-Dgj11XWr.js} +2 -2
  23. package/components/{PlayerAccountGamingLimitsPopup-P4wj3V9k.js → PlayerAccountGamingLimitsPopup-BGVFSakv.js} +14 -14
  24. package/components/PlayerAccountGamingLimitsPopup-C47JGdE1.cjs +1 -0
  25. package/components/PlayerAccountGamingLimitsWrapper2Nd-B1d5eGWo.cjs +1 -0
  26. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CbVCR27v.js → PlayerAccountGamingLimitsWrapper2Nd-D2CBz_5K.js} +14 -14
  27. package/components/{PlayerAccountMenuNd-BgsY7YQL.js → PlayerAccountMenuNd-Cy1yKfxC.js} +75 -75
  28. package/components/PlayerAccountMenuNd-T9fpXE8-.cjs +1 -0
  29. package/components/{PlayerAccountModal-CIR41mpM.cjs → PlayerAccountModal-CUdeZ6ZD.cjs} +1 -1
  30. package/components/{PlayerAccountModal-Dl52frb-.js → PlayerAccountModal-CcuAGQY1.js} +1 -1
  31. package/components/PlayerAccountNotifications-B5y5G3E_.cjs +1 -0
  32. package/components/{PlayerAccountNotifications-sQPz396P.js → PlayerAccountNotifications-BS8gXEjF.js} +5 -5
  33. package/components/{PlayerAccountSelfExclusionNd-BtlWGpcC.js → PlayerAccountSelfExclusionNd-DJdimTeI.js} +483 -4
  34. package/components/{PlayerAccountSelfExclusionNd-Wf-Zcu-v.cjs → PlayerAccountSelfExclusionNd-uHrwQnpT.cjs} +482 -4
  35. package/components/PlayerAccountTimeout-CNtkqjo7.cjs +1 -0
  36. package/components/{PlayerAccountTimeout-4Wj662L_.js → PlayerAccountTimeout-CoL4r8kh.js} +42 -42
  37. package/components/PlayerActiveBonuses-DOOKCxQp.cjs +1 -0
  38. package/components/{PlayerActiveBonuses-BE0qfJz_.js → PlayerActiveBonuses-Dm8oJ-8E.js} +33 -33
  39. package/components/{PlayerBonusCard-DdxYH7lf.cjs → PlayerBonusCard-Bt-n3Mxi.cjs} +1 -1
  40. package/components/{PlayerBonusCard-BwUugzC6.js → PlayerBonusCard-y6Mmy7BC.js} +2 -2
  41. package/components/{PlayerBonusHistory-CpVXrw4-.js → PlayerBonusHistory-BAqio45G.js} +4 -4
  42. package/components/{PlayerBonusHistory-DNRm6rTc.cjs → PlayerBonusHistory-CwcvkOns.cjs} +1 -1
  43. package/components/{PlayerChangePassword-BDyXZ2_q.cjs → PlayerChangePassword-C-8QN3hH.cjs} +1 -1
  44. package/components/{PlayerChangePassword-Cv6wa7VL.js → PlayerChangePassword-CU9ISaq8.js} +1 -1
  45. package/components/{PlayerDeposit-CYpXuZIT.cjs → PlayerDeposit-BLymLH97.cjs} +1 -1
  46. package/components/{PlayerDeposit-DvSZCw5N.js → PlayerDeposit-BO3gHJ2M.js} +1 -1
  47. package/components/{PlayerGamingHistory-DXKWBhvu.cjs → PlayerGamingHistory-Bsrdosmr.cjs} +1 -1
  48. package/components/{PlayerGamingHistory-DB4CakRN.js → PlayerGamingHistory-dHWr4quw.js} +4 -4
  49. package/components/{PlayerPendingWithdrawals-pwyPkm03.js → PlayerPendingWithdrawals-CSQvhjqu.js} +1 -1
  50. package/components/{PlayerPendingWithdrawals-Dn63yKxo.cjs → PlayerPendingWithdrawals-CUpLO6X3.cjs} +1 -1
  51. package/components/{PlayerProfileInfo-i7DhTVz2.cjs → PlayerProfileInfo-8LQ0QT94.cjs} +1 -1
  52. package/components/{PlayerProfileInfo-BqvwYfPx.js → PlayerProfileInfo-CFjLZ0AP.js} +1 -1
  53. package/components/PlayerRealityCheck-B--KgOX7.cjs +1 -0
  54. package/components/{PlayerRealityCheck-BVQGrSeS.js → PlayerRealityCheck-CKMxPxsj.js} +52 -52
  55. package/components/{PlayerTransactionHistory-BLQrFvTx.js → PlayerTransactionHistory-1P_fFQ9M.js} +1 -1
  56. package/components/{PlayerTransactionHistory-DJICk5qY.cjs → PlayerTransactionHistory-KkAMcV0S.cjs} +1 -1
  57. package/components/{PlayerWithdrawal-gkzbD0rI.js → PlayerWithdrawal-Bho97r_v.js} +1 -1
  58. package/components/{PlayerWithdrawal-DuxGAxKs.cjs → PlayerWithdrawal-Bt2B8luj.cjs} +1 -1
  59. package/es2015/player-account-controller-nd.cjs +1 -1
  60. package/es2015/player-account-controller-nd.js +1 -1
  61. package/package.json +1 -1
  62. package/components/GeneralLogout-bc8vhI_H.cjs +0 -8
  63. package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +0 -1
  64. package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +0 -1
  65. package/components/PlayerAccountClosureNd-DWE1BQjS.cjs +0 -1
  66. package/components/PlayerAccountControllerNd-C3AI8QtD.cjs +0 -1
  67. package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +0 -1
  68. package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +0 -1
  69. package/components/PlayerAccountGamingLimitsHistory2Nd-BNHdTsFe.cjs +0 -1
  70. package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +0 -1
  71. package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +0 -1
  72. package/components/PlayerAccountGamingLimitsWrapper2Nd-x7iKhdJf.cjs +0 -1
  73. package/components/PlayerAccountMenuNd-uyqoX0xo.cjs +0 -1
  74. package/components/PlayerAccountNotifications-DNWMsUnC.cjs +0 -1
  75. package/components/PlayerAccountTimeout-C0nlqzAC.cjs +0 -1
  76. package/components/PlayerActiveBonuses-D2PR-NJe.cjs +0 -1
  77. package/components/PlayerRealityCheck-BaBE_tNE.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.cjs");function E(a,t){e.addMessages(a,t)}function X(a){e.$locale.set(a)}const L={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"}};if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-BBoBE1Lx.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Z(a){e.append_styles(a,"svelte-pqb66s",'.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.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;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.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;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.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)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.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:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:16px;line-height:16px;font-weight:400;word-break:break-word;text-align:left;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;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.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}')}function T(a,t,n){const r=a.slice();return r[37]=t[n],r}function Q(a){let t,n,r,o,m,u,p,f,A,b,h,M,_=a[10]&&J(a),d=a[10]&&K(a),s=e.ensure_array_like(a[5]),c=[];for(let i=0;i<s.length;i+=1)c[i]=B(T(a,s,i));let v=!a[10]&&Y(a);return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),r=e.space(),o=e.element("p"),m=e.text(a[7]),u=e.space(),p=e.element("p"),f=e.text(a[8]),A=e.space(),d&&d.c(),b=e.space(),h=e.element("div");for(let i=0;i<c.length;i+=1)c[i].c();M=e.space(),v&&v.c(),e.attr(o,"class","PlayerAccountMenuUser"),e.attr(p,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[10]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[10]?"PlayerAccountMobileContainer":"")+" "+(a[11].matches&&a[10]?"PlayerAccountTabletContainer":""))},m(i,w){e.insert(i,t,w),e.append(t,n),_&&_.m(n,null),e.append(n,r),e.append(n,o),e.append(o,m),e.append(n,u),e.append(n,p),e.append(p,f),e.append(n,A),d&&d.m(n,null),e.append(t,b),e.append(t,h);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(h,null);e.append(t,M),v&&v.m(t,null)},p(i,w){if(i[10]&&_.p(i,w),w[0]&128&&e.set_data(m,i[7]),w[0]&256&&e.set_data(f,i[8]),i[10]&&d.p(i,w),w[0]&5216){s=e.ensure_array_like(i[5]);let g;for(g=0;g<s.length;g+=1){const x=T(i,s,g);c[g]?c[g].p(x,w):(c[g]=B(x),c[g].c(),c[g].m(h,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=s.length}i[10]||v.p(i,w)},d(i){i&&e.detach(t),_&&_.d(),d&&d.d(),e.destroy_each(c,i),v&&v.d()}}}function J(a){let t,n,r,o,m,u,p,f,A,b,h=a[9]("title")+"",M,_,d;return{c(){t=e.element("div"),n=e.svg_element("svg"),r=e.svg_element("defs"),o=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),u=e.svg_element("g"),p=e.svg_element("g"),f=e.svg_element("path"),A=e.space(),b=e.element("h3"),M=e.text(h),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(p,"transform","translate(20 158)"),e.attr(u,"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(b,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(s,c){e.insert(s,t,c),e.append(t,n),e.append(n,r),e.append(r,o),e.append(o,m),e.append(n,u),e.append(u,p),e.append(p,f),e.append(t,A),e.append(t,b),e.append(b,M),_||(d=[e.listen(n,"click",a[13]),e.listen(b,"click",a[13])],_=!0)},p(s,c){c[0]&512&&h!==(h=s[9]("title")+"")&&e.set_data(M,h)},d(s){s&&e.detach(t),_=!1,e.run_all(d)}}}function K(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,o){e.insert(r,t,o),e.append(t,n)},p(r,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&1&&e.set_custom_element_data(n,"session",r[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3])},d(r){r&&e.detach(t)}}}function B(a){let t,n,r,o,m,u,p=a[37].label+"",f,A,b,h,M;function _(){return a[22](a[37])}return{c(){t=e.element("div"),n=e.element("p"),r=e.element("img"),m=e.space(),u=e.element("span"),f=e.text(p),A=e.space(),e.attr(r,"class","PlayerAccountMenuItemIcon "+(a[10]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(r.src,o=a[37].img)||e.attr(r,"src",o),e.attr(u,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",b="PlayerAccountMenuItemBox "+(a[6]===a[37].id&&!a[10]?"PlayerAccountMenuActiveItemBox":""))},m(d,s){e.insert(d,t,s),e.append(t,n),e.append(n,r),e.append(n,m),e.append(n,u),e.append(u,f),e.append(t,A),h||(M=e.listen(t,"click",_),h=!0)},p(d,s){a=d,s[0]&32&&!e.src_url_equal(r.src,o=a[37].img)&&e.attr(r,"src",o),s[0]&32&&p!==(p=a[37].label+"")&&e.set_data(f,p),s[0]&96&&b!==(b="PlayerAccountMenuItemBox "+(a[6]===a[37].id&&!a[10]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",b)},d(d){d&&e.detach(t),h=!1,M()}}}function Y(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,o){e.insert(r,t,o),e.append(t,n)},p(r,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&1&&e.set_custom_element_data(n,"session",r[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3])},d(r){r&&e.detach(t)}}}function $(a){let t;function n(m,u){return Q}let o=n()(a);return{c(){t=e.element("div"),o.c()},m(m,u){e.insert(m,t,u),o.m(t,null),a[23](t)},p(m,u){o.p(m,u)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),o.d(),a[23](null)}}}function ee(a,t,n){let r;e.component_subscribe(a,e.$format,l=>n(9,r=l));let{endpoint:o=""}=t,{cmsendpoint:m=""}=t,{env:u=""}=t,{session:p=""}=t,{playerid:f=""}=t,{lang:A="en"}=t,{selecteditem:b=""}=t,{userroles:h=""}=t,{clientstyling:M=""}=t,{clientstylingurl:_=""}=t,{translationurl:d=""}=t,{activemenuitem:s=""}=t,c,v=[],i,w=window.navigator.userAgent,g=e.getDevice(w)!=="PC",x="",C="";const z=window.matchMedia("(min-width: 768px)"),S=()=>{fetch(d).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{E(P,y[P])})}).catch(y=>{console.error(y)})};Object.keys(L).forEach(l=>{E(l,L[l])});const F=l=>{if(l.data)switch(l.data.type){case"AccountMenuDetails":availableMenuItemsArray=l.data.accountMenuInfo;break;case"UserSessionID":n(0,p=l.data.session);break}},W=()=>{let l=e.getDevice(w);if(l)return l==="PC"?"dk":"mtWeb"},D=()=>{const l=new URL(`${m}/${A}/profile-menu?env=${u}`);l.searchParams.append("device",W()),fetch(l.href).then(y=>y.json()).then(y=>{n(5,v=y),k()}).catch(y=>{console.error("Error getting menu items",y)})},O=()=>{let l=new URL(`${o}/v1/player/${f}/profile`);l.searchParams.append("userRoles",h);let y={method:"GET",headers:{"X-SessionID":p}};fetch(l.href,y).then(P=>P.json()).then(P=>{n(7,x=P.username),n(8,C=P.email)},P=>{console.error(P)})},I=l=>{window.postMessage({type:"ChangeAccountPage",page:l},window.location.href),n(6,i=l.id)},k=()=>{var l;n(6,i=(l=v.find(y=>y.path.includes(s)))==null?void 0:l.id)},U=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},j=()=>{X(A)},q=()=>{O()},R=()=>{let l=document.createElement("style");l.innerHTML=M,c.appendChild(l)},G=()=>{let l=new URL(_),y=document.createElement("style");fetch(l.href).then(P=>P.text()).then(P=>{y.innerHTML=P,setTimeout(()=>{c.appendChild(y)},1)})};e.onMount(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));const N=l=>I(l);function V(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,n(4,c)})}return a.$$set=l=>{"endpoint"in l&&n(1,o=l.endpoint),"cmsendpoint"in l&&n(14,m=l.cmsendpoint),"env"in l&&n(15,u=l.env),"session"in l&&n(0,p=l.session),"playerid"in l&&n(16,f=l.playerid),"lang"in l&&n(17,A=l.lang),"selecteditem"in l&&n(18,b=l.selecteditem),"userroles"in l&&n(19,h=l.userroles),"clientstyling"in l&&n(2,M=l.clientstyling),"clientstylingurl"in l&&n(3,_=l.clientstylingurl),"translationurl"in l&&n(20,d=l.translationurl),"activemenuitem"in l&&n(21,s=l.activemenuitem)},a.$$.update=()=>{a.$$.dirty[0]&131072&&A&&j(),a.$$.dirty[0]&196611&&o&&p&&f&&A&&q(),a.$$.dirty[0]&180224&&m&&A&&u&&D(),a.$$.dirty[0]&2097152&&s&&k(),a.$$.dirty[0]&24&&_&&c&&G(),a.$$.dirty[0]&20&&M&&c&&R(),a.$$.dirty[0]&1048576&&d&&S()},[p,o,M,_,c,v,i,x,C,r,g,z,I,U,m,u,f,A,b,h,d,s,N,V]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ee,$,e.safe_not_equal,{endpoint:1,cmsendpoint:14,env:15,session:0,playerid:16,lang:17,selecteditem:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21},Z,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[15]}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[16]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[18]}set selecteditem(t){this.$$set({selecteditem: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()}}e.create_custom_element(H,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=H;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-bc8vhI_H.cjs");function y(n,{delay:e=0,duration:l=400,easing:i=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:l,easing:i,css:r=>`opacity: ${r*s}`}}function S(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 m(n){let e,l,i,s,r;const d=n[7].default,a=t.create_slot(d,n,n[6],null);return{c(){e=t.element("div"),l=t.element("div"),i=t.element("div"),a&&a.c(),t.attr(i,"class","ModalContainer"),t.attr(l,"class","ModalWindow"),t.attr(l,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,l),t.append(l,i),a&&a.m(i,null),n[8](l),n[9](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&64)&&t.update_slot_base(a,d,n,n[6],r?t.get_slot_changes(d,n[6],c,null):t.get_all_dirty_from_scope(n[6]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[8](null),u&&s&&s.end(),n[9](null)}}}function L(n){let e,l,i=n[0]&&m(n);return{c(){i&&i.c(),e=t.empty()},m(s,r){i&&i.m(s,r),t.insert(s,e,r),l=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&t.transition_in(i,1)):(i=m(s),i.c(),t.transition_in(i,1),i.m(e.parentNode,e)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros())},i(s){l||(t.transition_in(i),l=!0)},o(s){t.transition_out(i),l=!1},d(s){s&&t.detach(e),i&&i.d(s)}}}function k(n,e,l){let{$$slots:i={},$$scope:s}=e,{show:r=!1}=e,{duration:d=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,c,f;const g=o=>{o.data.type=="ModalClosed"&&l(0,r=!1),o.data.type==="ShowLimitsConfirmationModal"&&(l(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))},w=()=>{let o=document.createElement("style");o.innerHTML=a,c.appendChild(o)},p=()=>{let o=new URL(u),h=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{h.innerHTML=_,setTimeout(()=>{c.appendChild(h)},1)})};t.onMount(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function M(o){t.binding_callbacks[o?"unshift":"push"](()=>{f=o,l(3,f)})}function C(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return n.$$set=o=>{"show"in o&&l(0,r=o.show),"duration"in o&&l(1,d=o.duration),"clientstyling"in o&&l(4,a=o.clientstyling),"clientstylingurl"in o&&l(5,u=o.clientstylingurl),"$$scope"in o&&l(6,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&36&&u&&c&&p(),n.$$.dirty&20&&a&&c&&w()},[r,d,c,f,a,u,s,i,M,C]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,L,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5},S)}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()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{}},["default"],[],!0);exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BBoBE1Lx.cjs");function y(n,{delay:e=0,duration:l=400,easing:i=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:l,easing:i,css:r=>`opacity: ${r*s}`}}function S(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 m(n){let e,l,i,s,r;const d=n[7].default,a=t.create_slot(d,n,n[6],null);return{c(){e=t.element("div"),l=t.element("div"),i=t.element("div"),a&&a.c(),t.attr(i,"class","ModalContainer"),t.attr(l,"class","ModalWindow"),t.attr(l,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,l),t.append(l,i),a&&a.m(i,null),n[8](l),n[9](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&64)&&t.update_slot_base(a,d,n,n[6],r?t.get_slot_changes(d,n[6],c,null):t.get_all_dirty_from_scope(n[6]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[8](null),u&&s&&s.end(),n[9](null)}}}function L(n){let e,l,i=n[0]&&m(n);return{c(){i&&i.c(),e=t.empty()},m(s,r){i&&i.m(s,r),t.insert(s,e,r),l=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&t.transition_in(i,1)):(i=m(s),i.c(),t.transition_in(i,1),i.m(e.parentNode,e)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros())},i(s){l||(t.transition_in(i),l=!0)},o(s){t.transition_out(i),l=!1},d(s){s&&t.detach(e),i&&i.d(s)}}}function k(n,e,l){let{$$slots:i={},$$scope:s}=e,{show:r=!1}=e,{duration:d=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,c,f;const g=o=>{o.data.type=="ModalClosed"&&l(0,r=!1),o.data.type==="ShowLimitsConfirmationModal"&&(l(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))},w=()=>{let o=document.createElement("style");o.innerHTML=a,c.appendChild(o)},p=()=>{let o=new URL(u),h=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{h.innerHTML=_,setTimeout(()=>{c.appendChild(h)},1)})};t.onMount(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function M(o){t.binding_callbacks[o?"unshift":"push"](()=>{f=o,l(3,f)})}function C(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return n.$$set=o=>{"show"in o&&l(0,r=o.show),"duration"in o&&l(1,d=o.duration),"clientstyling"in o&&l(4,a=o.clientstyling),"clientstylingurl"in o&&l(5,u=o.clientstylingurl),"$$scope"in o&&l(6,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&36&&u&&c&&p(),n.$$.dirty&20&&a&&c&&w()},[r,d,c,f,a,u,s,i,M,C]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,L,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5},S)}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()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{}},["default"],[],!0);exports.default=b;
@@ -1,4 +1,4 @@
1
- import { Y as z, S as B, i as F, f, c as P, s as R, b as U, B as W, k as L, H as c, I as m, Z as j, p as E, v as q, D as A, e as h, g as y, l as p, E as G, F as I, G as N, P as Y, _ as M, a0 as Z, x as C } from "./GeneralLogout-CT6JdzJJ.js";
1
+ import { Y as z, S as B, i as F, f, c as P, s as R, b as U, B as W, k as L, H as c, I as m, Z as j, p as E, v as q, D as A, e as h, g as y, l as p, E as G, F as I, G as N, P as Y, _ as M, a0 as Z, x as C } from "./GeneralLogout-CpfJL45A.js";
2
2
  function S(e, { delay: t = 0, duration: i = 400, easing: n = z } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BBoBE1Lx.cjs");function M(o){t.append_styles(o,"svelte-8rjudp",'.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.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}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}')}function x(o,e,a){const n=o.slice();return n[20]=e[a],n}function B(o){let e,a=t.ensure_array_like(o[1]),n=[];for(let i=0;i<a.length;i+=1)n[i]=A(x(o,a,i));return{c(){e=t.element("div");for(let i=0;i<n.length;i+=1)n[i].c();t.attr(e,"class","PlayerAccountNotificationsContainer "+(o[2]&&o[3].matches?"PlayerAccountNotificationsTabletContainer":o[2]?"PlayerAccountNotificationsMobileContainer":"")),t.attr(e,"part","PlayerAccountNotificationsContainer "+(o[2]&&o[3].matches?"PlayerAccountNotificationsTabletContainer":o[2]?"PlayerAccountNotificationsMobileContainer":""))},m(i,r){t.insert(i,e,r);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(e,null)},p(i,r){if(r&2){a=t.ensure_array_like(i[1]);let c;for(c=0;c<a.length;c+=1){const u=x(i,a,c);n[c]?n[c].p(u,r):(n[c]=A(u),n[c].c(),n[c].m(e,null))}for(;c<n.length;c+=1)n[c].d(1);n.length=a.length}},d(i){i&&t.detach(e),t.destroy_each(n,i)}}}function A(o){let e,a,n,i,r,c,u,d=o[20].title+"",h,f,p,P=o[20].description+"",y;return{c(){e=t.element("div"),a=t.element("div"),n=t.element("img"),c=t.space(),u=t.element("p"),h=t.text(d),f=t.space(),p=t.element("p"),y=t.space(),t.attr(n,"class","PlayerAccountNotificationIcon"),t.src_url_equal(n.src,i=o[20].icon)||t.attr(n,"src",i),t.attr(n,"alt",r=o[20].title),t.attr(u,"class","PlayerAccountNotificationTitle"),t.attr(a,"class","PlayerAccountNotificationBoxHeader"),t.attr(p,"class","PlayerAccountNotificationText"),t.attr(e,"class","PlayerAccountNotificationBox"),t.set_style(e,"background",o[20].backgroundColor)},m(s,g){t.insert(s,e,g),t.append(e,a),t.append(a,n),t.append(a,c),t.append(a,u),t.append(u,h),t.append(e,f),t.append(e,p),p.innerHTML=P,t.append(e,y)},p(s,g){g&2&&!t.src_url_equal(n.src,i=s[20].icon)&&t.attr(n,"src",i),g&2&&r!==(r=s[20].title)&&t.attr(n,"alt",r),g&2&&d!==(d=s[20].title+"")&&t.set_data(h,d),g&2&&P!==(P=s[20].description+"")&&(p.innerHTML=P),g&2&&t.set_style(e,"background",s[20].backgroundColor)},d(s){s&&t.detach(e)}}}function H(o){let e;function a(r,c){if(r[1].length)return B}let n=a(o),i=n&&n(o);return{c(){e=t.element("div"),i&&i.c()},m(r,c){t.insert(r,e,c),i&&i.m(e,null),o[11](e)},p(r,[c]){n===(n=a(r))&&i?i.p(r,c):(i&&i.d(1),i=n&&n(r),i&&(i.c(),i.m(e,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i&&i.d(),o[11](null)}}}function L(o,e,a){let{lang:n=""}=e,{cmsendpoint:i=""}=e,{env:r=""}=e,{userroles:c=""}=e,{customnotif:u=""}=e,{clientstyling:d=""}=e,{clientstylingurl:h=""}=e,f,p=window.navigator.userAgent,P=t.getDevice(p)!=="PC",y=[],s=[],g=C();const v=window.matchMedia("(min-width: 768px)");function C(){const l=t.getDevice(p);if(l)return l==="PC"?"dk":"mtWeb"}const w=()=>{const l=new URL(`${i}/${n}/support-information`);l.searchParams.append("env",r),l.searchParams.append("userRoles",c),l.searchParams.append("device",g),fetch(l.href).then(m=>m.json()).then(m=>{m.length&&(a(1,y=m[0].children),y.forEach(_=>{s.length&&(_.backgroundColor=s[0],s.shift())}))},m=>{console.error(m)})},b=()=>{u.replace(" ",""),s=u.split(",")},T=()=>{let l=document.createElement("style");l.innerHTML=d,f.appendChild(l)},k=()=>{let l=new URL(h),m=document.createElement("style");fetch(l.href).then(_=>_.text()).then(_=>{m.innerHTML=_,setTimeout(()=>{f.appendChild(m)},1)})};function F(l){t.binding_callbacks[l?"unshift":"push"](()=>{f=l,a(0,f)})}return o.$$set=l=>{"lang"in l&&a(4,n=l.lang),"cmsendpoint"in l&&a(5,i=l.cmsendpoint),"env"in l&&a(6,r=l.env),"userroles"in l&&a(7,c=l.userroles),"customnotif"in l&&a(8,u=l.customnotif),"clientstyling"in l&&a(9,d=l.clientstyling),"clientstylingurl"in l&&a(10,h=l.clientstylingurl)},o.$$.update=()=>{o.$$.dirty&256&&u&&b(),o.$$.dirty&2&&y&&b(),o.$$.dirty&240&&c&&i&&r&&n&&w(),o.$$.dirty&1025&&h&&f&&k(),o.$$.dirty&513&&d&&f&&T()},[f,y,P,v,n,i,r,c,u,d,h,F]}class N extends t.SvelteComponent{constructor(e){super(),t.init(this,e,L,H,t.safe_not_equal,{lang:4,cmsendpoint:5,env:6,userroles:7,customnotif:8,clientstyling:9,clientstylingurl:10},M)}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get cmsendpoint(){return this.$$.ctx[5]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),t.flush()}get env(){return this.$$.ctx[6]}set env(e){this.$$set({env:e}),t.flush()}get userroles(){return this.$$.ctx[7]}set userroles(e){this.$$set({userroles:e}),t.flush()}get customnotif(){return this.$$.ctx[8]}set customnotif(e){this.$$set({customnotif:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(N,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=N;
@@ -1,6 +1,6 @@
1
- import { S as E, i as q, f as x, c as W, s as j, b as K, e as A, k as C, o as k, p as v, u as T, x as Q, K as F, g as u, L as V, d as _, t as X, X as M, U as B, l as p, n as G } from "./GeneralLogout-CT6JdzJJ.js";
1
+ import { S as E, i as j, f as x, c as q, s as W, b as K, e as A, k as C, o as k, p as v, u as T, x as Q, K as F, g as u, L as V, d as _, t as X, X as M, U as B, l as p, n as G } from "./GeneralLogout-CpfJL45A.js";
2
2
  function J(n) {
3
- K(n, "svelte-1uzv27a", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.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(--emfe-w-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}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
3
+ K(n, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.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}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
4
4
  }
5
5
  function H(n, t, a) {
6
6
  const i = n.slice();
@@ -194,12 +194,12 @@ function Z(n, t, a) {
194
194
  }
195
195
  class $ extends E {
196
196
  constructor(t) {
197
- super(), q(
197
+ super(), j(
198
198
  this,
199
199
  t,
200
200
  Z,
201
201
  Y,
202
- j,
202
+ W,
203
203
  {
204
204
  lang: 4,
205
205
  cmsendpoint: 5,
@@ -255,7 +255,7 @@ class $ extends E {
255
255
  this.$$set({ clientstylingurl: t }), x();
256
256
  }
257
257
  }
258
- W($, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
258
+ q($, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
259
259
  export {
260
260
  $ as default
261
261
  };