@everymatrix/player-account-controller 1.94.9 → 1.94.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CnVAejR5.cjs → GeneralLogout-BQJRUNwp.cjs} +1 -1
- package/components/{GeneralLogout-kTqNTgvC.js → GeneralLogout-BzreXekz.js} +1 -1
- package/components/{GeneralLogout-zgSN4JXC.js → GeneralLogout-CwC7hmDR.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CMXH0Rg-.js → PlayerAccountBettingHistory-CpObxK27.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BWmHoBAe.cjs → PlayerAccountBettingHistory-iBgxnZ1z.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CPbEbbHQ.js → PlayerAccountBettingHistory-t0Tk_p0g.js} +1 -1
- package/components/{PlayerAccountBiometrics-Btxg2ReE.js → PlayerAccountBiometrics-C5OncfaU.js} +2 -2
- package/components/{PlayerAccountBiometrics-C3OhQX00.js → PlayerAccountBiometrics-D7yEbrsq.js} +2 -2
- package/components/{PlayerAccountBiometrics-NRYQDR1V.cjs → PlayerAccountBiometrics-WqGiexBI.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BpWHzxpk.js → PlayerAccountBiometricsAction-BCPPui38.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-B94gsCP8.cjs → PlayerAccountBiometricsAction-DGkhc1cZ.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-_fvfCCxj.js → PlayerAccountBiometricsAction-uCYyRh_C.js} +1 -1
- package/components/{PlayerAccountClosure-C49V_7aD.cjs → PlayerAccountClosure-CNXw7Sjx.cjs} +1 -1
- package/components/{PlayerAccountClosure-C1d0pUoW.js → PlayerAccountClosure-Ct4tBOGU.js} +1 -1
- package/components/{PlayerAccountClosure-C4jgSJYP.js → PlayerAccountClosure-DLFNaf_2.js} +1 -1
- package/components/{PlayerAccountController-C6MS18Sd.js → PlayerAccountController-BHq1U_O6.js} +22 -22
- package/components/{PlayerAccountController-Bd-Ammrb.js → PlayerAccountController-CKZCKQpN.js} +22 -22
- package/components/{PlayerAccountController-CPE5eIap.cjs → PlayerAccountController-KqshAWe2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-T7LipEE_.cjs → PlayerAccountGamingLimits-BdlTSpsU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CCe9uOfh.js → PlayerAccountGamingLimits-C3wWWcGH.js} +2 -2
- package/components/{PlayerAccountGamingLimits-chP_kSHR.js → PlayerAccountGamingLimits-Z6Ce0MoG.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-OxqOTLbT.js → PlayerAccountGamingLimitsConfirmationModal-B7CUyyZF.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BfjfP8D_.js → PlayerAccountGamingLimitsConfirmationModal-Cfk6gWz8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CWtPbAJA.cjs → PlayerAccountGamingLimitsConfirmationModal-DI6j94DD.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DFKPrpCJ.js → PlayerAccountGamingLimitsGroupEdit-CoF5dXFM.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-B6jYzCP7.js → PlayerAccountGamingLimitsGroupEdit-aCJcxI7C.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-BJeQE4sA.cjs → PlayerAccountGamingLimitsGroupEdit-qUGWNtii.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-yyHOWMEJ.cjs → PlayerAccountGamingLimitsHistory2-5ux43rb0.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BmfZwZgM.js → PlayerAccountGamingLimitsHistory2-D4p6d8iD.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BqwQ-RB0.js → PlayerAccountGamingLimitsHistory2-D6yYPKgO.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-Tofo4vZN.cjs → PlayerAccountGamingLimitsInfoCard-DBbFlq2N.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DgtRTtMC.js → PlayerAccountGamingLimitsInfoCard-DD4VF0x7.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-CRZKXfQf.js → PlayerAccountGamingLimitsInfoCard-DimpOAgW.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-zj-tjh23.js → PlayerAccountGamingLimitsPage2Gm16-39Ko_0bM.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-D5TyY7Fa.js → PlayerAccountGamingLimitsPage2Gm16-ByAD5XkL.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B_y_Eo11.cjs → PlayerAccountGamingLimitsPage2Gm16-Cd6aLvED.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CrmeCoDe.cjs → PlayerAccountGamingLimitsPopup-BIRVIt7t.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DeQD-dRc.js → PlayerAccountGamingLimitsPopup-BLjM3dul.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-XYvk39nq.js → PlayerAccountGamingLimitsPopup-DpKQITZC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DNUy1TDd.js → PlayerAccountGamingLimitsWrapper2-Bxh1v-ks.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-UCXXUa_j.js → PlayerAccountGamingLimitsWrapper2-D0oOCM5A.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BIOoxplS.cjs → PlayerAccountGamingLimitsWrapper2-o3uvZC1a.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DM0WWO2-.cjs → PlayerAccountGeneralConfirmationModal-Dbpjs0ok.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DUbqZsUq.js → PlayerAccountGeneralConfirmationModal-XrxuJU94.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BJ5GkodH.js → PlayerAccountGeneralConfirmationModal-v1VPRGeY.js} +1 -1
- package/components/{PlayerAccountMenu-CjkwZGQ-.js → PlayerAccountMenu-D3ydI3e0.js} +2 -2
- package/components/{PlayerAccountMenu-C3r2hbOd.js → PlayerAccountMenu-DOwnMfBp.js} +2 -2
- package/components/{PlayerAccountMenu-D7KXle_O.cjs → PlayerAccountMenu-p1bTKU9o.cjs} +1 -1
- package/components/{PlayerAccountModal-rB45bRsX.js → PlayerAccountModal-CPowwN-K.js} +1 -1
- package/components/{PlayerAccountModal-CmOPmRtc.js → PlayerAccountModal-DM8MYI4c.js} +1 -1
- package/components/{PlayerAccountModal-Dju6j_C4.cjs → PlayerAccountModal-nLc5W2X1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BHkmggUK.js → PlayerAccountNotifications-BLDWrrxI.js} +1 -1
- package/components/{PlayerAccountNotifications-BNWMouzN.cjs → PlayerAccountNotifications-Bclx6LlP.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BA8xOkk7.js → PlayerAccountNotifications-D2o0B9mY.js} +1 -1
- package/components/{PlayerAccountProductRestriction-CeJ8nyQV.js → PlayerAccountProductRestriction-CArQTQHH.js} +3 -3
- package/components/{PlayerAccountProductRestriction-B9Wce-J2.js → PlayerAccountProductRestriction-DHxrM48h.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DfSfUmAF.cjs → PlayerAccountProductRestriction-DcrSkVJ-.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-DdXg8T1C.js → PlayerAccountReviewFrequency-210Gkzzk.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-D14a7YnP.js → PlayerAccountReviewFrequency-BmQDh8wI.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-CqsHl6Q3.cjs → PlayerAccountReviewFrequency-maIKojuS.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-MJhERUGk.cjs → PlayerAccountSelfExclusion-BbGponGq.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-ANDK6YB8.js → PlayerAccountSelfExclusion-CPbHgqgm.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-X4m9-Wif.js → PlayerAccountSelfExclusion-QhkNBndX.js} +2 -2
- package/components/{PlayerAccountTimeout-DW_64okl.js → PlayerAccountTimeout-BEQ_XL2r.js} +3 -3
- package/components/{PlayerAccountTimeout-IFygbRsF.js → PlayerAccountTimeout-CQadGV2a.js} +3 -3
- package/components/{PlayerAccountTimeout-Ao1JVo5-.cjs → PlayerAccountTimeout-CbSDcsVh.cjs} +2 -2
- package/components/{PlayerAccountTransactionsHistory-BH_S2QvH.js → PlayerAccountTransactionsHistory-BcG6cSUz.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-DOmEjYBs.js → PlayerAccountTransactionsHistory-BgeA2OaG.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-cMyiqG_0.cjs → PlayerAccountTransactionsHistory-DLYk17GI.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BOFs5nLV.cjs → PlayerActiveBonuses-B0BbnzpT.cjs} +3 -3
- package/components/{PlayerActiveBonuses-BN5q9S2-.js → PlayerActiveBonuses-DVytvabF.js} +13 -12
- package/components/{PlayerActiveBonuses-DDyHb_RP.js → PlayerActiveBonuses-Dg7d3EXi.js} +3 -2
- package/components/{PlayerBonusCard-BQAGPKpP.js → PlayerBonusCard-C-E_7PSB.js} +2 -2
- package/components/{PlayerBonusCard-CYIktzur.cjs → PlayerBonusCard-CI-sAhBx.cjs} +1 -1
- package/components/{PlayerBonusCard-Bpm8P9Sa.js → PlayerBonusCard-CSj1XzDi.js} +2 -2
- package/components/{PlayerBonusHistory-D1ZIKvKy.cjs → PlayerBonusHistory-BNlbASad.cjs} +1 -1
- package/components/{PlayerBonusHistory-k7HL08qe.js → PlayerBonusHistory-BSDft0iY.js} +2 -2
- package/components/{PlayerBonusHistory-DBtOIHzS.js → PlayerBonusHistory-CMGvjo7T.js} +2 -2
- package/components/{PlayerChangePassword-BJkTqzxD.js → PlayerChangePassword-CDPtd1y2.js} +1 -1
- package/components/{PlayerChangePassword-DoWdtlBb.cjs → PlayerChangePassword-CN2nSbTu.cjs} +1 -1
- package/components/{PlayerChangePassword-BUai6xC1.js → PlayerChangePassword-CjdAhIqW.js} +1 -1
- package/components/{PlayerDeposit-C0XRt5EK.js → PlayerDeposit-BOHnESfn.js} +1 -1
- package/components/{PlayerDeposit-BDODxxlC.cjs → PlayerDeposit-BtS34PMd.cjs} +1 -1
- package/components/{PlayerDeposit-CLyGovJD.js → PlayerDeposit-C9DlPi5i.js} +1 -1
- package/components/{PlayerGamingHistory-DdUzR5OW.cjs → PlayerGamingHistory-BDVH_6B8.cjs} +1 -1
- package/components/{PlayerGamingHistory-BsHSSyhU.js → PlayerGamingHistory-C6WWw2cc.js} +3 -3
- package/components/{PlayerGamingHistory-m0lb-SaP.js → PlayerGamingHistory-Da-Wan4y.js} +3 -3
- package/components/{PlayerPendingWithdrawals-BvhroTya.js → PlayerPendingWithdrawals-BH2fv9D2.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CavqhbX6.js → PlayerPendingWithdrawals-Bbokp3YM.js} +1 -1
- package/components/{PlayerPendingWithdrawals-3U8OWD5l.cjs → PlayerPendingWithdrawals-CgdF4Q07.cjs} +1 -1
- package/components/{PlayerProfileInfo-BKKrxITi.cjs → PlayerProfileInfo-BrN8d1L_.cjs} +1 -1
- package/components/{PlayerProfileInfo-DrBabxG-.js → PlayerProfileInfo-Cl33NXNc.js} +3 -3
- package/components/{PlayerProfileInfo-DejS3qt9.js → PlayerProfileInfo-CtQg5U2I.js} +3 -3
- package/components/{PlayerRealityCheck-DefrXfkM.js → PlayerRealityCheck-CH6yW7w0.js} +1 -1
- package/components/{PlayerRealityCheck-BP88i1lx.cjs → PlayerRealityCheck-DFyTdthH.cjs} +1 -1
- package/components/{PlayerRealityCheck-DcTKJjjQ.js → PlayerRealityCheck-maFkRSmz.js} +1 -1
- package/components/{PlayerTransactionHistory-B-WtWjm5.cjs → PlayerTransactionHistory-B8UFaIzM.cjs} +1 -1
- package/components/{PlayerTransactionHistory-4CZSZQMz.js → PlayerTransactionHistory-BxyX6ai9.js} +1 -1
- package/components/{PlayerTransactionHistory-DTSGZtwn.js → PlayerTransactionHistory-jPhM6ytU.js} +1 -1
- package/components/{PlayerWithdrawal-C4-ZL4z5.js → PlayerWithdrawal-CKHK7F5l.js} +1 -1
- package/components/{PlayerWithdrawal-DI7dGjmC.cjs → PlayerWithdrawal-Crv6enga.cjs} +1 -1
- package/components/{PlayerWithdrawal-DAU0uggw.js → PlayerWithdrawal-D2BakJra.js} +1 -1
- package/components/{QrSessionGenerator-CGtWSfMU.js → QrSessionGenerator-CYedw5yt.js} +1 -1
- package/components/{QrSessionGenerator-fnnwM7n6.cjs → QrSessionGenerator-DHB2Qsq3.cjs} +1 -1
- package/components/{QrSessionGenerator-BMd3QegI.js → QrSessionGenerator-DiPVWwLx.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-KqshAWe2.cjs"),C=(n,e={})=>{const l=new CustomEvent("track-custom-event",{detail:{type:n,data:e},bubbles:!0,composed:!0});document.dispatchEvent(l)};function v(n,e){t.addMessages(n,e)}function T(n){t.$locale.set(n)}const x={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"},"pt-br":{logoutButton:"Fechar Sessão"},"es-mx":{logoutButton:"Cerrar sesión"},"en-us":{logoutButton:"Logout"}};function O(n){t.append_styles(n,"svelte-xtnqa3","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}")}function j(n){let e,l,a,o=n[2]("logoutButton")+"",s,r,d;return{c(){e=t.element("div"),l=t.element("button"),a=t.element("span"),s=t.text(o),t.attr(e,"class","GeneralLogout")},m(u,g){t.insert(u,e,g),t.append(e,l),t.append(l,a),t.append(a,s),r||(d=t.listen(l,"click",n[14]),r=!0)},p(u,g){g&4&&o!==(o=u[2]("logoutButton")+"")&&t.set_data(s,o)},d(u){u&&t.detach(e),r=!1,d()}}}function H(n){let e,l,a,o,s,r,d,u,g,m,y,f=!n[3]&&G(n);return{c(){e=t.element("p"),l=t.element("span"),a=t.svg_element("svg"),o=t.svg_element("defs"),s=t.svg_element("style"),r=t.text(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"),d=t.svg_element("path"),u=t.svg_element("path"),g=t.space(),f&&f.c(),t.attr(d,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(d,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),t.attr(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(u,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),t.attr(a,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),t.attr(a,"data-name","Layer 1"),t.attr(a,"xmlns","http://www.w3.org/2000/svg"),t.attr(a,"viewBox","0 0 150 150"),t.set_style(l,"width",n[3]?n[4].matches?"20px":"24px":"20px"),t.attr(e,"class","PlayerAccountMenuItemBox "+(n[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[4].matches&&n[3]?"PlayerAccountMenuItemBoxTablet":""))},m(h,c){t.insert(h,e,c),t.append(e,l),t.append(l,a),t.append(a,o),t.append(o,s),t.append(s,r),t.append(a,d),t.append(a,u),t.append(e,g),f&&f.m(e,null),m||(y=t.listen(e,"click",n[13]),m=!0)},p(h,c){h[3]||f.p(h,c)},d(h){h&&t.detach(e),f&&f.d(),m=!1,y()}}}function G(n){let e,l=n[2]("logoutButton")+"",a;return{c(){e=t.element("span"),a=t.text(l),t.attr(e,"class","PlayerLogoutText")},m(o,s){t.insert(o,e,s),t.append(e,a)},p(o,s){s&4&&l!==(l=o[2]("logoutButton")+"")&&t.set_data(a,l)},d(o){o&&t.detach(e)}}}function N(n){let e;function l(s,r){return s[0]==="PlayerAccountMenu"?H:j}let a=l(n),o=a(n);return{c(){e=t.element("div"),o.c()},m(s,r){t.insert(s,e,r),o.m(e,null),n[15](e)},p(s,[r]){a===(a=l(s))&&o?o.p(s,r):(o.d(1),o=a(s),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),o.d(),n[15](null)}}}function R(n,e,l){let a;t.component_subscribe(n,t.$format,i=>l(2,a=i));let{endpoint:o=""}=e,{session:s=""}=e,{buttonlocation:r=""}=e,{lang:d=""}=e,{mbsource:u}=e,{clientstyling:g=""}=e,{clientstylingurl:m=""}=e,{translationurl:y=""}=e,f="",h=!1,c,B,M=window.navigator.userAgent,A=t.getDevice(M)!=="PC";const F=window.matchMedia("(min-width: 768px)"),L=()=>{fetch(y).then(b=>b.json()).then(b=>{Object.keys(b).forEach(_=>{v(_,b[_])})}).catch(b=>{console.log(b)})};Object.keys(x).forEach(i=>{v(i,x[i])});const p=()=>{let i=new Headers;i.append("Content-type","application/json"),i.append("X-SessionID",s);let b={method:"DELETE",headers:i};fetch(`${o}/v1/player/session/player`,b).then(_=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href),C("logged_out",{})})},k=()=>(o||(f="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",h=!0,console.error(f)),s||(f="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",h=!0,console.error(f)),h),P=()=>{T(d)};t.onMount(()=>()=>{});const S=()=>p(),E=()=>p();function I(i){t.binding_callbacks[i?"unshift":"push"](()=>{c=i,l(1,c)})}return n.$$set=i=>{"endpoint"in i&&l(6,o=i.endpoint),"session"in i&&l(7,s=i.session),"buttonlocation"in i&&l(0,r=i.buttonlocation),"lang"in i&&l(8,d=i.lang),"mbsource"in i&&l(9,u=i.mbsource),"clientstyling"in i&&l(10,g=i.clientstyling),"clientstylingurl"in i&&l(11,m=i.clientstylingurl),"translationurl"in i&&l(12,y=i.translationurl)},n.$$.update=()=>{n.$$.dirty&193&&o&&s&&r&&k(),n.$$.dirty&256&&d&&P(),n.$$.dirty&1026&&g&&c&&t.setClientStyling(),n.$$.dirty&1026&&g&&c&&t.setClientStyling(c,g),n.$$.dirty&2050&&m&&c&&t.setClientStylingURL(c,m),n.$$.dirty&514&&u&&c&&t.setStreamStyling(c,`${u}.Style`,B),n.$$.dirty&4096&&y&&L()},[r,c,a,A,F,p,o,s,d,u,g,m,y,S,E,I]}class w extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,N,t.safe_not_equal,{endpoint:6,session:7,buttonlocation:0,lang:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12},O)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(w,{endpoint:{},session:{},buttonlocation:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=w;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as q, b as z, S as V, B as Q, Q as Y, t as p, f as Z, J as F, p as v, D as B, q as w, k as J, w as W, M as X, h as K, e as f, I as E, a2 as x, a3 as k, a0 as $, g as b, _ as tt, Y as I, U as L, V as et, W as nt, m as ot, a as st } from "./PlayerAccountController-
|
|
1
|
+
import { c as q, b as z, S as V, B as Q, Q as Y, t as p, f as Z, J as F, p as v, D as B, q as w, k as J, w as W, M as X, h as K, e as f, I as E, a2 as x, a3 as k, a0 as $, g as b, _ as tt, Y as I, U as L, V as et, W as nt, m as ot, a as st } from "./PlayerAccountController-BHq1U_O6.js";
|
|
2
2
|
const lt = (e, t = {}) => {
|
|
3
3
|
const o = new CustomEvent("track-custom-event", {
|
|
4
4
|
detail: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as q, b as z, S as V, B as Q, Q as Y, t as p, f as Z, J as F, p as v, D as B, q as w, k as J, w as W, M as X, h as K, e as f, I as E, a2 as x, a3 as k, a0 as $, g as b, _ as tt, Y as I, U as L, V as et, W as nt, m as ot, a as st } from "./PlayerAccountController-
|
|
1
|
+
import { c as q, b as z, S as V, B as Q, Q as Y, t as p, f as Z, J as F, p as v, D as B, q as w, k as J, w as W, M as X, h as K, e as f, I as E, a2 as x, a3 as k, a0 as $, g as b, _ as tt, Y as I, U as L, V as et, W as nt, m as ot, a as st } from "./PlayerAccountController-CKZCKQpN.js";
|
|
2
2
|
const lt = (e, t = {}) => {
|
|
3
3
|
const o = new CustomEvent("track-custom-event", {
|
|
4
4
|
detail: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as z, b as V, S as G, B as J, Q, t as k, f as X, J as C, p as U, O as Y, Y as R, g as o, X as v, D as q, e as l, I as W, q as M, a0 as A, a3 as L, a6 as Z, k as F, w as K, M as $, a2 as E, h as tt, U as et, V as st, W as it, m as nt, a as lt } from "./PlayerAccountController-
|
|
1
|
+
import { c as z, b as V, S as G, B as J, Q, t as k, f as X, J as C, p as U, O as Y, Y as R, g as o, X as v, D as q, e as l, I as W, q as M, a0 as A, a3 as L, a6 as Z, k as F, w as K, M as $, a2 as E, h as tt, U as et, V as st, W as it, m as nt, a as lt } from "./PlayerAccountController-CKZCKQpN.js";
|
|
2
2
|
function x(s, t) {
|
|
3
3
|
z(s, t);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-KqshAWe2.cjs");function T(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const C={en:{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"},ro:{titleBettingHistory:"Istoric Pariuri",settledBets:"Pariuri Decise",openBets:"Pariuri Deschise"},es:{titleBettingHistory:"Historial de Apuestas",settledBets:"Apuestas cerradas",openBets:"Apuestas abiertas"},hr:{titleBettingHistory:"Povijest klađenja",settledBets:"Obračunate oklade",openBets:"Otvorene oklade"},"pt-br":{titleBettingHistory:"Histórico de apostas",settledBets:"Apostas liquidadas",openBets:"apostas abertas"},"es-mx":{titleBettingHistory:"Historial de apuesta",settledBets:"Apuestas liquidadas",openBets:"Apuestas abiertas"},tr:{titleBettingHistory:"Bahis Geçmişi",settledBets:"Sonuçlandırılmış Bahisler",openBets:"Açık Bahisler"},"en-us":{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"}};function P(n){t.append_styles(n,"svelte-1kgy21f",`@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`)}function x(n){let e,l,p,m,f,_,r,o,y,u,d=n[4]("titleBettingHistory")+"",w,g,a;return{c(){e=t.element("div"),l=t.svg_element("svg"),p=t.svg_element("defs"),m=t.svg_element("style"),f=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),_=t.svg_element("g"),r=t.svg_element("g"),o=t.svg_element("path"),y=t.space(),u=t.element("h2"),w=t.text(d),t.attr(o,"class","aaa"),t.attr(o,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(o,"transform","translate(15 15) rotate(180)"),t.attr(r,"transform","translate(20 158)"),t.attr(_,"transform","translate(-20 -158)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","15"),t.attr(l,"height","15"),t.attr(l,"viewBox","0 0 15 15"),t.attr(u,"class","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(b,h){t.insert(b,e,h),t.append(e,l),t.append(l,p),t.append(p,m),t.append(m,f),t.append(l,_),t.append(_,r),t.append(r,o),t.append(e,y),t.append(e,u),t.append(u,w),g||(a=t.listen(e,"click",n[14]),g=!0)},p(b,h){h&16&&d!==(d=b[4]("titleBettingHistory")+"")&&t.set_data(w,d)},d(b){b&&t.detach(e),g=!1,a()}}}function E(n){return{c:t.noop,m:t.noop,d:t.noop}}function L(n){let e,l,p,m=n[4]("bettingHistory.title")+"",f,_,r,o,y=n[4]("bettingHistory.openBets")+"",u,d,w,g,a=n[4]("bettingHistory.settledBets")+"",b,h,v,c,A,M,S,k,I,H=n[5]&&x(n),s=n[3]==="true"&&n[1]&&E();return{c(){e=t.element("div"),H&&H.c(),l=t.space(),p=t.element("h2"),f=t.text(m),_=t.space(),r=t.element("div"),o=t.element("button"),u=t.text(y),w=t.space(),g=t.element("button"),b=t.text(a),v=t.space(),c=t.element("om-betting-history-list"),A=t.space(),s&&s.c(),M=t.space(),S=t.element("div"),t.attr(p,"class","BettingHistoryTitle "+(n[5]?"BettingHistoryTitleNone":"")),t.attr(p,"part","`BettingHistoryTitleMobile"),t.attr(o,"class",d=`BettingHistoryButton ${n[5]?"BettingHistoryButtonMobile":""} ${n[0]==="openBets"?"BettingHistoryButtonSelected":""}`),t.attr(g,"class",h=`BettingHistoryButton ${n[5]?"BettingHistoryButtonMobile":""} ${n[0]==="settledBets"?"BettingHistoryButtonSelected":""}`),t.attr(r,"class","BettingHistoryTabs"),t.set_custom_element_data(c,"bet-status",n[0]),t.set_custom_element_data(c,"item-layout","V2"),t.set_custom_element_data(c,"match-score-layout","v2"),t.set_custom_element_data(c,"match-score-scope","BHDetailed"),t.set_custom_element_data(c,"date-format","dd.mm.yyyy"),t.set_custom_element_data(c,"time-format","HH:MM"),t.set_custom_element_data(c,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(c,"match-route",":betId"),t.attr(S,"class","OM-MatchScore OM-MatchScore__List"),t.attr(e,"class","BettingHistoryWrapper"),t.toggle_class(e,"BettingHistoryWrapperMobile",n[5])},m(i,B){t.insert(i,e,B),H&&H.m(e,null),t.append(e,l),t.append(e,p),t.append(p,f),t.append(e,_),t.append(e,r),t.append(r,o),t.append(o,u),t.append(r,w),t.append(r,g),t.append(g,b),t.append(e,v),t.append(e,c),t.append(e,A),s&&s.m(e,null),t.append(e,M),t.append(e,S),n[17](e),k||(I=[t.listen(o,"click",n[15]),t.listen(g,"click",n[16]),t.listen(c,"routeChange",n[8])],k=!0)},p(i,[B]){i[5]&&H.p(i,B),B&16&&m!==(m=i[4]("bettingHistory.title")+"")&&t.set_data(f,m),B&16&&y!==(y=i[4]("bettingHistory.openBets")+"")&&t.set_data(u,y),B&1&&d!==(d=`BettingHistoryButton ${i[5]?"BettingHistoryButtonMobile":""} ${i[0]==="openBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(o,"class",d),B&16&&a!==(a=i[4]("bettingHistory.settledBets")+"")&&t.set_data(b,a),B&1&&h!==(h=`BettingHistoryButton ${i[5]?"BettingHistoryButtonMobile":""} ${i[0]==="settledBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(g,"class",h),B&1&&t.set_custom_element_data(c,"bet-status",i[0]),i[3]==="true"&&i[1]?s||(s=E(),s.c(),s.m(e,M)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),H&&H.d(),s&&s.d(),n[17](null),k=!1,t.run_all(I)}}}function R(n,e,l){let p;t.component_subscribe(n,t.$format,s=>l(4,p=s));let{betstatus:m="openBets"}=e,{lang:f="en"}=e,{selectedBetId:_=null}=e,{clientstyling:r=""}=e,{clientstylingurl:o=""}=e,{mbsource:y}=e,{translationurl:u=""}=e,d="false",w=window.navigator.userAgent,g=t.getDevice(w)!=="PC",a,b;const h=()=>{fetch(u).then(i=>i.json()).then(i=>{Object.keys(i).forEach(B=>{T(B,i[B])})}).catch(i=>{console.log(i)})};Object.entries(C).forEach(([s,i])=>{T(s,i)});const v=s=>{l(0,m=s)},c=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:g},window.location.href)},A=s=>{const{betId:i}=s.detail.params;l(1,_=i),l(3,d="true")},M=s=>{var i;((i=s.data)==null?void 0:i.type)==="ModalClosed"&&l(3,d="false")};t.onMount(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)}));const S=()=>c(),k=()=>v("openBets"),I=()=>v("settledBets");function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{a=s,l(2,a)})}return n.$$set=s=>{"betstatus"in s&&l(0,m=s.betstatus),"lang"in s&&l(9,f=s.lang),"selectedBetId"in s&&l(1,_=s.selectedBetId),"clientstyling"in s&&l(10,r=s.clientstyling),"clientstylingurl"in s&&l(11,o=s.clientstylingurl),"mbsource"in s&&l(12,y=s.mbsource),"translationurl"in s&&l(13,u=s.translationurl)},n.$$.update=()=>{n.$$.dirty&512&&f&&j(f),n.$$.dirty&1028&&r&&a&&t.setClientStyling(a,r),n.$$.dirty&2052&&o&&a&&t.setClientStylingURL(a,o),n.$$.dirty&4100&&y&&a&&t.setStreamStyling(a,`${y}.Style`,b),n.$$.dirty&8192&&u&&h()},[m,_,a,d,p,g,v,c,A,f,r,o,y,u,S,k,I,H]}class O extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,L,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},P)}get betstatus(){return this.$$.ctx[0]}set betstatus(e){this.$$set({betstatus:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get selectedBetId(){return this.$$.ctx[1]}set selectedBetId(e){this.$$set({selectedBetId:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(O,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=O;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as z, b as V, S as G, B as J, Q, t as k, f as X, J as C, p as U, O as Y, Y as R, g as o, X as v, D as q, e as l, I as W, q as M, a0 as A, a3 as L, a6 as Z, k as F, w as K, M as $, a2 as E, h as tt, U as et, V as st, W as it, m as nt, a as lt } from "./PlayerAccountController-
|
|
1
|
+
import { c as z, b as V, S as G, B as J, Q, t as k, f as X, J as C, p as U, O as Y, Y as R, g as o, X as v, D as q, e as l, I as W, q as M, a0 as A, a3 as L, a6 as Z, k as F, w as K, M as $, a2 as E, h as tt, U as et, V as st, W as it, m as nt, a as lt } from "./PlayerAccountController-BHq1U_O6.js";
|
|
2
2
|
function x(s, t) {
|
|
3
3
|
z(s, t);
|
|
4
4
|
}
|
package/components/{PlayerAccountBiometrics-Btxg2ReE.js → PlayerAccountBiometrics-C5OncfaU.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as R, b as W, S as C, B as L, Q as N, t as M, f as x, J as S, p as z, Y as U, X as B, D as O, e as a, q as y, a0 as k, a3 as j, g as s, k as q, w as H, M as I, I as V, a2 as A, h as J, U as K, V as Q, W as X, m as Z, a as F } from "./PlayerAccountController-
|
|
2
|
-
import "./PlayerProfileInfo-
|
|
1
|
+
import { c as R, b as W, S as C, B as L, Q as N, t as M, f as x, J as S, p as z, Y as U, X as B, D as O, e as a, q as y, a0 as k, a3 as j, g as s, k as q, w as H, M as I, I as V, a2 as A, h as J, U as K, V as Q, W as X, m as Z, a as F } from "./PlayerAccountController-CKZCKQpN.js";
|
|
2
|
+
import "./PlayerProfileInfo-Cl33NXNc.js";
|
|
3
3
|
function T(t, i) {
|
|
4
4
|
R(t, i);
|
|
5
5
|
}
|
package/components/{PlayerAccountBiometrics-C3OhQX00.js → PlayerAccountBiometrics-D7yEbrsq.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as R, b as W, S as C, B as L, Q as N, t as M, f as x, J as S, p as z, Y as U, X as B, D as O, e as a, q as y, a0 as k, a3 as j, g as s, k as q, w as H, M as I, I as V, a2 as A, h as J, U as K, V as Q, W as X, m as Z, a as F } from "./PlayerAccountController-
|
|
2
|
-
import "./PlayerProfileInfo-
|
|
1
|
+
import { c as R, b as W, S as C, B as L, Q as N, t as M, f as x, J as S, p as z, Y as U, X as B, D as O, e as a, q as y, a0 as k, a3 as j, g as s, k as q, w as H, M as I, I as V, a2 as A, h as J, U as K, V as Q, W as X, m as Z, a as F } from "./PlayerAccountController-BHq1U_O6.js";
|
|
2
|
+
import "./PlayerProfileInfo-CtQg5U2I.js";
|
|
3
3
|
function T(t, i) {
|
|
4
4
|
R(t, i);
|
|
5
5
|
}
|
package/components/{PlayerAccountBiometrics-NRYQDR1V.cjs → PlayerAccountBiometrics-WqGiexBI.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-KqshAWe2.cjs");require("./PlayerProfileInfo-BrN8d1L_.cjs");function P(e,i){t.addMessages(e,i)}function E(e){t.$locale.set(e)}const A={en:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"zh-hk":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},fr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},tr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},ro:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},es:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},pt:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},hr:{titleBiometrics:"Biometrijska autentifikacija",descriptionParagraph1:"Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",descriptionParagraph2:"Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju"},"pt-br":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"es-mx":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"en-us":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"}};function M(e){t.append_styles(e,"svelte-1fepl4m",".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function k(e){let i,n,h,l,u,m,p,a,s,g,d=e[6]("titleBiometrics")+"",B,y,_;return{c(){i=t.element("div"),n=t.svg_element("svg"),h=t.svg_element("defs"),l=t.svg_element("style"),u=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=t.svg_element("g"),p=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),g=t.element("h2"),B=t.text(d),t.attr(a,"class","aaa"),t.attr(a,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(a,"transform","translate(15 15) rotate(180)"),t.attr(p,"transform","translate(20 158)"),t.attr(m,"transform","translate(-20 -158)"),t.attr(n,"xmlns","http://www.w3.org/2000/svg"),t.attr(n,"width","15"),t.attr(n,"height","15"),t.attr(n,"viewBox","0 0 15 15"),t.attr(g,"class","BiometricsTitleMobile"),t.attr(g,"part","BiometricsTitleMobile"),t.attr(i,"class","MenuReturnButton"),t.attr(i,"part","MenuReturnButton")},m(b,v){t.insert(b,i,v),t.append(i,n),t.append(n,h),t.append(h,l),t.append(l,u),t.append(n,m),t.append(m,p),t.append(p,a),t.append(i,s),t.append(i,g),t.append(g,B),y||(_=t.listen(i,"click",e[9]),y=!0)},p(b,v){v&64&&d!==(d=b[6]("titleBiometrics")+"")&&t.set_data(B,d)},d(b){b&&t.detach(i),y=!1,_()}}}function j(e){let i,n,h,l,u=e[6]("titleBiometrics")+"",m,p,a,s,g=e[6]("descriptionParagraph1")+"",d,B,y,_=e[6]("descriptionParagraph2")+"",b,v,w,r,c=e[7]&&k(e);return{c(){i=t.element("div"),n=t.element("div"),c&&c.c(),h=t.space(),l=t.element("h2"),m=t.text(u),p=t.space(),a=t.element("div"),s=t.element("p"),d=t.text(g),B=t.space(),y=t.element("p"),b=t.text(_),v=t.space(),w=t.element("div"),r=t.element("player-account-biometrics-action"),t.attr(l,"class","BiometricsTitle "+(e[7]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(e[7]?"BiometricsDescriptionMobile":"")),t.set_custom_element_data(r,"lang",e[0]),t.set_custom_element_data(r,"translationurl",e[4]),t.set_custom_element_data(r,"clientstyling",e[1]),t.set_custom_element_data(r,"clientstylingurl",e[2]),t.set_custom_element_data(r,"mbsource",e[3]),t.attr(w,"class","BiometricsActionButtons "+(e[7]?"BiometricsActionButtonsMobile":"")),t.attr(n,"class","BiometricsWrapper "+(e[7]?"BiometricsWrapperMobile":""))},m(o,f){t.insert(o,i,f),t.append(i,n),c&&c.m(n,null),t.append(n,h),t.append(n,l),t.append(l,m),t.append(n,p),t.append(n,a),t.append(a,s),t.append(s,d),t.append(a,B),t.append(a,y),t.append(y,b),t.append(n,v),t.append(n,w),t.append(w,r),e[10](i)},p(o,[f]){o[7]&&c.p(o,f),f&64&&u!==(u=o[6]("titleBiometrics")+"")&&t.set_data(m,u),f&64&&g!==(g=o[6]("descriptionParagraph1")+"")&&t.set_data(d,g),f&64&&_!==(_=o[6]("descriptionParagraph2")+"")&&t.set_data(b,_),f&1&&t.set_custom_element_data(r,"lang",o[0]),f&16&&t.set_custom_element_data(r,"translationurl",o[4]),f&2&&t.set_custom_element_data(r,"clientstyling",o[1]),f&4&&t.set_custom_element_data(r,"clientstylingurl",o[2]),f&8&&t.set_custom_element_data(r,"mbsource",o[3])},i:t.noop,o:t.noop,d(o){o&&t.detach(i),c&&c.d(),e[10](null)}}}function S(e,i,n){let h;t.component_subscribe(e,t.$format,r=>n(6,h=r));let{lang:l="en"}=i,{clientstyling:u=""}=i,{clientstylingurl:m=""}=i,{mbsource:p}=i,{translationurl:a=""}=i,s,g,d=window.navigator.userAgent,B=t.getDevice(d)!=="PC";const y=()=>{fetch(a).then(c=>c.json()).then(c=>{Object.keys(c).forEach(o=>{P(o,c[o])})}).catch(c=>{console.log(c)})};Object.keys(A).forEach(r=>{P(r,A[r])});const _=()=>{E(l)},b=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:B},window.location.href)};t.onMount(()=>()=>{});const v=()=>b();function w(r){t.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(5,s)})}return e.$$set=r=>{"lang"in r&&n(0,l=r.lang),"clientstyling"in r&&n(1,u=r.clientstyling),"clientstylingurl"in r&&n(2,m=r.clientstylingurl),"mbsource"in r&&n(3,p=r.mbsource),"translationurl"in r&&n(4,a=r.translationurl)},e.$$.update=()=>{e.$$.dirty&1&&l&&_(),e.$$.dirty&34&&u&&s&&t.setClientStyling(s,u),e.$$.dirty&36&&m&&s&&t.setClientStylingURL(s,m),e.$$.dirty&40&&p&&s&&t.setStreamStyling(s,`${p}.Style`,g),e.$$.dirty&16&&a&&y()},[l,u,m,p,a,s,h,B,b,v,w]}class D extends t.SvelteComponent{constructor(i){super(),t.init(this,i,S,j,t.safe_not_equal,{lang:0,clientstyling:1,clientstylingurl:2,mbsource:3,translationurl:4},M)}get lang(){return this.$$.ctx[0]}set lang(i){this.$$set({lang:i}),t.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(i){this.$$set({mbsource:i}),t.flush()}get translationurl(){return this.$$.ctx[4]}set translationurl(i){this.$$set({translationurl:i}),t.flush()}}t.create_custom_element(D,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=D;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as K, b as G, S as J, B as Q, Q as V, t as u, f as Y, J as R, p as k, D as E, r as Z, k as $, M as ee, q as w, h as ie, Y as te, e as X, I as C, a3 as se, g as S, a6 as f, U as ne, V as oe, W as ae, m as re, a as ce } from "./PlayerAccountController-
|
|
1
|
+
import { c as K, b as G, S as J, B as Q, Q as V, t as u, f as Y, J as R, p as k, D as E, r as Z, k as $, M as ee, q as w, h as ie, Y as te, e as X, I as C, a3 as se, g as S, a6 as f, U as ne, V as oe, W as ae, m as re, a as ce } from "./PlayerAccountController-CKZCKQpN.js";
|
|
2
2
|
function le(t, e) {
|
|
3
3
|
K(t, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var v=(s,e,t)=>new Promise((o,n)=>{var l=b=>{try{a(t.next(b))}catch(d){n(d)}},c=b=>{try{a(t.throw(b))}catch(d){n(d)}},a=b=>b.done?o(b.value):Promise.resolve(b.value).then(l,c);a((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerAccountController-CPE5eIap.cjs");function U(s,e){i.addMessages(s,e)}function P(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(s,t)),e}function K(s){i.append_styles(s,"svelte-4r3z7g",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}')}function x(s){let e;function t(l,c){if(l[1]==="button")return G;if(l[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(l,c){i.insert(l,e,c),n&&n.m(e,null),s[17](e)},p(l,c){o===(o=t(l))&&n?n.p(l,c):(n&&n.d(1),n=o&&o(l),n&&(n.c(),n.m(e,null)))},d(l){l&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,l;return{c(){e=i.element("button"),t=i.element("div"),t.innerHTML='<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>',i.attr(t,"class","skip-switch"),i.toggle_class(t,"checked",s[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,a){i.insert(c,e,a),i.append(e,t),n||(l=i.listen(e,"click",s[8]),n=!0)},p(c,a){a&16&&i.toggle_class(t,"checked",c[4]),a&36&&i.toggle_class(t,"disabled",c[5]||c[2]),a&64&&i.toggle_class(t,"shake",c[6]),a&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,l()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,l,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(a,b){i.insert(a,e,b),i.append(e,o),l||(c=i.listen(e,"click",s[16]),l=!0)},p(a,b){b&144&&t!==(t=(a[4]?a[7]("btnDisableBiometrics"):a[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=a[5]||a[2])&&(e.disabled=n)},d(a){a&&i.detach(e),l=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{mbsource:a}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{U(u,r[u])})},R=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const z=()=>{P(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const C=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),C(),A("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),L()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||A("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},L=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},A=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?L():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const j=()=>S();function F(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,l=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,a=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&z(),s.$$.dirty&1032&&l&&m&&i.setClientStyling(m,l),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&a&&m&&i.setStreamStyling(m,`${a}.Style`,I),s.$$.dirty&8192&&b&&R(),s.$$.dirty&45056&&a&&!b&&t(15,h=q(`${a}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,l,c,a,b,B,h,j,F]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),i.flush()}get isNativeApp(){return this.$$.ctx[0]}set isNativeApp(e){this.$$set({isNativeApp:e}),i.flush()}get mode(){return this.$$.ctx[1]}set mode(e){this.$$set({mode:e}),i.flush()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
|
|
1
|
+
"use strict";var v=(s,e,t)=>new Promise((o,n)=>{var l=b=>{try{a(t.next(b))}catch(d){n(d)}},c=b=>{try{a(t.throw(b))}catch(d){n(d)}},a=b=>b.done?o(b.value):Promise.resolve(b.value).then(l,c);a((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerAccountController-KqshAWe2.cjs");function U(s,e){i.addMessages(s,e)}function P(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(s,t)),e}function K(s){i.append_styles(s,"svelte-4r3z7g",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}')}function x(s){let e;function t(l,c){if(l[1]==="button")return G;if(l[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(l,c){i.insert(l,e,c),n&&n.m(e,null),s[17](e)},p(l,c){o===(o=t(l))&&n?n.p(l,c):(n&&n.d(1),n=o&&o(l),n&&(n.c(),n.m(e,null)))},d(l){l&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,l;return{c(){e=i.element("button"),t=i.element("div"),t.innerHTML='<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>',i.attr(t,"class","skip-switch"),i.toggle_class(t,"checked",s[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,a){i.insert(c,e,a),i.append(e,t),n||(l=i.listen(e,"click",s[8]),n=!0)},p(c,a){a&16&&i.toggle_class(t,"checked",c[4]),a&36&&i.toggle_class(t,"disabled",c[5]||c[2]),a&64&&i.toggle_class(t,"shake",c[6]),a&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,l()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,l,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(a,b){i.insert(a,e,b),i.append(e,o),l||(c=i.listen(e,"click",s[16]),l=!0)},p(a,b){b&144&&t!==(t=(a[4]?a[7]("btnDisableBiometrics"):a[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=a[5]||a[2])&&(e.disabled=n)},d(a){a&&i.detach(e),l=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{mbsource:a}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{U(u,r[u])})},R=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const z=()=>{P(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const C=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),C(),A("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),L()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||A("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},L=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},A=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?L():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const j=()=>S();function F(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,l=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,a=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&z(),s.$$.dirty&1032&&l&&m&&i.setClientStyling(m,l),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&a&&m&&i.setStreamStyling(m,`${a}.Style`,I),s.$$.dirty&8192&&b&&R(),s.$$.dirty&45056&&a&&!b&&t(15,h=q(`${a}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,l,c,a,b,B,h,j,F]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),i.flush()}get isNativeApp(){return this.$$.ctx[0]}set isNativeApp(e){this.$$set({isNativeApp:e}),i.flush()}get mode(){return this.$$.ctx[1]}set mode(e){this.$$set({mode:e}),i.flush()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
|
|
@@ -14,7 +14,7 @@ var z = (t, e, i) => new Promise((n, s) => {
|
|
|
14
14
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(c, r);
|
|
15
15
|
a((i = i.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { c as J, b as Q, S as V, B as Y, Q as Z, t as u, f as $, J as X, p as k, D as E, r as ee, k as ie, M as te, q as w, h as se, Y as ne, e as F, I as U, a3 as oe, g as S, a6 as h, U as ae, V as re, W as ce, m as le, a as be } from "./PlayerAccountController-
|
|
17
|
+
import { c as J, b as Q, S as V, B as Y, Q as Z, t as u, f as $, J as X, p as k, D as E, r as ee, k as ie, M as te, q as w, h as se, Y as ne, e as F, I as U, a3 as oe, g as S, a6 as h, U as ae, V as re, W as ce, m as le, a as be } from "./PlayerAccountController-BHq1U_O6.js";
|
|
18
18
|
function me(t, e) {
|
|
19
19
|
J(t, e);
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CPE5eIap.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function z(r,t){e.addMessages(r,t)}function D(r){e.$locale.set(r)}const B={en:{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"},"zh-hk":{titleAccountClosure:"賬戶關閉",accountClosureDescription:"如果您覺得需要休息,或者您只是想停止使用我們的服務,賬戶關閉會為您的賬戶提供永久訪問限制。",closeAccount:"關閉賬戶",modal:"您確定要關閉您的帳戶嗎?",accountClosureCancel:"不",accountClosureConfirm:"是的"},fr:{titleAccountClosure:"Fermeture du compte",accountClosureDescription:"La fermeture du compte fournit une restriction permanente d'accès à votre compte si vous sentez que vous avez besoin d'une pause ou si vous souhaitez arrêter d'utiliser notre service",closeAccount:"Fermer le compte",modal:"êtes-vous sûr de vouloir fermer votre compte?",accountClosureCancel:"Non",accountClosureConfirm:"Oui"},ro:{titleAccountClosure:"Închidere Cont",accountClosureDescription:'Opțiunea "Închidere Cont" asigură suspendarea permanentă a accesului la contul tău dacă simți că ai nevoie de o pauză sau că vrei să nu mai folosești serviciile noastre.',closeAccount:"Închide Cont",modal:"Esti sigur ca vrei sa inchizi contul?",accountClosureCancel:"Nu",accountClosureConfirm:"Da"},es:{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"Cierre de cuenta provee una restricción permamente de poder ingresar a su cuenta si desea tomar una pausa.",closeAccount:"Cerrar cuenta",modal:"Esta seguro que desea cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},pt:{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O Encerramento de Conta fornece uma restrição de acesso permanente à sua conta se você achar que precisa de uma pausa ou apenas deseja parar de usar nossos serviços.",closeAccount:"Encerrar conta",modal:"Tem certeza de que deseja encerrar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},hr:{titleAccountClosure:"Zatvaranje računa",accountClosureDescription:"Zatvaranje računa omogućuje trajno ograničenje pristupa vašem računu ako smatrate da vam je potreban odmor",closeAccount:"Zatvori račun",modal:"Jeste li sigurni da želite zatvoriti svoj račun?",accountClosureCancel:"Ne",accountClosureConfirm:"Da"},"pt-br":{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O encerramento da conta oferece restrição permanente de acesso à sua conta se você achar que precisa de uma pausa,ou simplesmente deseja parar de usar nossos serviços",closeAccount:"Conta de data",modal:"Tem certeza de que deseja namorar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},"es-mx":{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"El cierre de la cuenta ofrece restricción permanente al acceso de su cuenta si considera que necesita un descanso,o simplemente quiere dejar de utilizar nuestros servicios",closeAccount:"Cerrar cuenta",modal:"Está seguro que quiere cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},tr:{titleAccountClosure:"Hesap kapatma",accountClosureDescription:"Hesap Kapatma, bir ara vermeniz gerektiğini düşünüyorsanız veya hizmetlerimizi kullanmayı bırakmak istiyorsanız, hesabınıza kalıcı erişim kısıtlaması sağlar.",closeAccount:"Hesabı kapat",modal:"Hesabınızı kapatmak istediğinizden emin misiniz?",accountClosureCancel:"HAYIR",accountClosureConfirm:"Evet"},"en-us":{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"}};function j(r){e.append_styles(r,"svelte-1oeuewt",'.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}')}function T(r,t,o){const l=r.slice();return l[22]=t[o],l}function N(r){let t,o,l,n,a,p,u,s,v,m,C=r[3]("titleAccountClosure")+"",w,i,M;return{c(){t=e.element("div"),o=e.svg_element("svg"),l=e.svg_element("defs"),n=e.svg_element("style"),a=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=e.svg_element("g"),u=e.svg_element("g"),s=e.svg_element("path"),v=e.space(),m=e.element("h2"),w=e.text(C),e.attr(s,"class","aaa"),e.attr(s,"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(s,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(p,"transform","translate(-20 -158)"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","15"),e.attr(o,"viewBox","0 0 15 15"),e.attr(m,"class","AccountClosureTitleMobile"),e.attr(m,"part","AccountClosureTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(y,d){e.insert(y,t,d),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,a),e.append(o,p),e.append(p,u),e.append(u,s),e.append(t,v),e.append(t,m),e.append(m,w),i||(M=e.listen(t,"click",r[13]),i=!0)},p(y,d){d&8&&C!==(C=y[3]("titleAccountClosure")+"")&&e.set_data(w,C)},d(y){y&&e.detach(t),i=!1,M()}}}function q(r){let t,o,l=r[3]("accountClosureDescription")+"";return{c(){t=e.element("div"),o=e.element("p"),e.attr(t,"class","AccountClosureDescription "+(r[4]?"AccountClosureDescriptionMobile":""))},m(n,a){e.insert(n,t,a),e.append(t,o),o.innerHTML=l},p(n,a){a&8&&l!==(l=n[3]("accountClosureDescription")+"")&&(o.innerHTML=l)},d(n){n&&e.detach(t)}}}function H(r){let t,o,l=e.ensure_array_like({length:4}),n=[];for(let a=0;a<l.length;a+=1)n[a]=L(T(r,l,a));return{c(){t=e.element("div"),o=e.element("div");for(let a=0;a<n.length;a+=1)n[a].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainerClosure")},m(a,p){e.insert(a,t,p),e.append(t,o);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(o,null)},p:e.noop,d(a){a&&e.detach(t),e.destroy_each(n,a)}}}function L(r){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ',e.attr(t,"class","skeletonNotification")},m(o,l){e.insert(o,t,l)},p:e.noop,d(o){o&&e.detach(t)}}}function W(r){let t,o,l,n,a=r[3]("modal")+"",p,u,s,v,m=r[3]("accountClosureCancel")+"",C,w,i,M=r[3]("accountClosureConfirm")+"",y,d,x;return{c(){t=e.element("div"),o=e.element("div"),l=e.element("div"),n=e.element("p"),p=e.text(a),u=e.space(),s=e.element("div"),v=e.element("button"),C=e.text(m),w=e.space(),i=e.element("button"),y=e.text(M),e.attr(n,"class","ModalText"),e.attr(v,"class","ModalCancel"),e.attr(i,"class","ModalConfirm"),e.attr(s,"class","ModalButtons"),e.attr(l,"class","ModalBody"),e.attr(o,"class","ModalContent"),e.attr(t,"class","ModalWrapper "+(r[4]?"ModalWrapperMobile":""))},m(h,f){e.insert(h,t,f),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,p),e.append(l,u),e.append(l,s),e.append(s,v),e.append(v,C),e.append(s,w),e.append(s,i),e.append(i,y),d||(x=[e.listen(v,"click",r[15]),e.listen(i,"click",r[16])],d=!0)},p(h,f){f&8&&a!==(a=h[3]("modal")+"")&&e.set_data(p,a),f&8&&m!==(m=h[3]("accountClosureCancel")+"")&&e.set_data(C,m),f&8&&M!==(M=h[3]("accountClosureConfirm")+"")&&e.set_data(y,M)},d(h){h&&e.detach(t),d=!1,e.run_all(x)}}}function O(r){let t,o,l,n,a=r[3]("titleAccountClosure")+"",p,u,s,v,m,C=r[3]("closeAccount")+"",w,i,M,y,d=r[4]&&N(r);function x(g,A){return g[1]?H:q}let h=x(r),f=h(r),b=r[2]&&W(r);return{c(){t=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),n=e.element("h2"),p=e.text(a),u=e.space(),f.c(),s=e.space(),v=e.element("div"),m=e.element("button"),w=e.text(C),i=e.space(),b&&b.c(),e.attr(n,"class","AccountClosureTitle "+(r[4]?"AccountClosureTitleNone":"")),e.attr(m,"class","AccountClosureSave "+(r[4]?"AccountClosureSaveMobile":"")),e.attr(v,"class","AccountClosureActionButtons "+(r[4]?"AccountClosureActionButtonsMobile":"")),e.attr(o,"class","AccountClosureWrapper "+(r[4]?"AccountClosureWrapperMobile":""))},m(g,A){e.insert(g,t,A),e.append(t,o),d&&d.m(o,null),e.append(o,l),e.append(o,n),e.append(n,p),e.append(o,u),f.m(o,null),e.append(o,s),e.append(o,v),e.append(v,m),e.append(m,w),e.append(t,i),b&&b.m(t,null),r[17](t),M||(y=e.listen(m,"click",r[14]),M=!0)},p(g,[A]){g[4]&&d.p(g,A),A&8&&a!==(a=g[3]("titleAccountClosure")+"")&&e.set_data(p,a),h===(h=x(g))&&f?f.p(g,A):(f.d(1),f=h(g),f&&(f.c(),f.m(o,s))),A&8&&C!==(C=g[3]("closeAccount")+"")&&e.set_data(w,C),g[2]?b?b.p(g,A):(b=W(g),b.c(),b.m(t,null)):b&&(b.d(1),b=null)},i:e.noop,o:e.noop,d(g){g&&e.detach(t),d&&d.d(),f.d(),b&&b.d(),r[17](null),M=!1,y()}}}function R(r,t,o){let l;e.component_subscribe(r,e.$format,c=>o(3,l=c));let{lang:n="en"}=t,{clientstyling:a=""}=t,{clientstylingurl:p=""}=t,{mbsource:u}=t,{translationurl:s=""}=t,v=window.navigator.userAgent,m=e.getDevice(v)!=="PC",C=!1,w=!1,i,M;const y=()=>{o(1,C=!0),fetch(s).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{z(k,_[k])})}).catch(_=>{console.log(_)}).finally(()=>{o(1,C=!1)})};Object.keys(B).forEach(c=>{z(c,B[c])});const d=c=>{o(2,w=c),c===!0?window.postMessage({type:"DisableScroll"},window.location.href):window.postMessage({type:"EnableScroll"},window.location.href)},x=()=>{d(!1),window.postMessage({type:"AccountClosure"},window.location.href)},h=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:m},window.location.href)},f=()=>{D(n)};e.onMount(()=>()=>{});const b=()=>h(),g=()=>d(!0),A=()=>d(!1),F=()=>x();function S(c){e.binding_callbacks[c?"unshift":"push"](()=>{i=c,o(0,i)})}return r.$$set=c=>{"lang"in c&&o(8,n=c.lang),"clientstyling"in c&&o(9,a=c.clientstyling),"clientstylingurl"in c&&o(10,p=c.clientstylingurl),"mbsource"in c&&o(11,u=c.mbsource),"translationurl"in c&&o(12,s=c.translationurl)},r.$$.update=()=>{r.$$.dirty&256&&n&&f(),r.$$.dirty&513&&a&&i&&e.setClientStyling(i,a),r.$$.dirty&1025&&p&&i&&e.setClientStylingURL(i,p),r.$$.dirty&2049&&u&&i&&e.setStreamStyling(i,`${u}.Style`,M),r.$$.dirty&4096&&s&&y()},[i,C,w,l,m,d,x,h,n,a,p,u,s,b,g,A,F,S]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,O,e.safe_not_equal,{lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},j)}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(E,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=E;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-KqshAWe2.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function z(r,t){e.addMessages(r,t)}function D(r){e.$locale.set(r)}const B={en:{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"},"zh-hk":{titleAccountClosure:"賬戶關閉",accountClosureDescription:"如果您覺得需要休息,或者您只是想停止使用我們的服務,賬戶關閉會為您的賬戶提供永久訪問限制。",closeAccount:"關閉賬戶",modal:"您確定要關閉您的帳戶嗎?",accountClosureCancel:"不",accountClosureConfirm:"是的"},fr:{titleAccountClosure:"Fermeture du compte",accountClosureDescription:"La fermeture du compte fournit une restriction permanente d'accès à votre compte si vous sentez que vous avez besoin d'une pause ou si vous souhaitez arrêter d'utiliser notre service",closeAccount:"Fermer le compte",modal:"êtes-vous sûr de vouloir fermer votre compte?",accountClosureCancel:"Non",accountClosureConfirm:"Oui"},ro:{titleAccountClosure:"Închidere Cont",accountClosureDescription:'Opțiunea "Închidere Cont" asigură suspendarea permanentă a accesului la contul tău dacă simți că ai nevoie de o pauză sau că vrei să nu mai folosești serviciile noastre.',closeAccount:"Închide Cont",modal:"Esti sigur ca vrei sa inchizi contul?",accountClosureCancel:"Nu",accountClosureConfirm:"Da"},es:{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"Cierre de cuenta provee una restricción permamente de poder ingresar a su cuenta si desea tomar una pausa.",closeAccount:"Cerrar cuenta",modal:"Esta seguro que desea cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},pt:{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O Encerramento de Conta fornece uma restrição de acesso permanente à sua conta se você achar que precisa de uma pausa ou apenas deseja parar de usar nossos serviços.",closeAccount:"Encerrar conta",modal:"Tem certeza de que deseja encerrar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},hr:{titleAccountClosure:"Zatvaranje računa",accountClosureDescription:"Zatvaranje računa omogućuje trajno ograničenje pristupa vašem računu ako smatrate da vam je potreban odmor",closeAccount:"Zatvori račun",modal:"Jeste li sigurni da želite zatvoriti svoj račun?",accountClosureCancel:"Ne",accountClosureConfirm:"Da"},"pt-br":{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O encerramento da conta oferece restrição permanente de acesso à sua conta se você achar que precisa de uma pausa,ou simplesmente deseja parar de usar nossos serviços",closeAccount:"Conta de data",modal:"Tem certeza de que deseja namorar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},"es-mx":{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"El cierre de la cuenta ofrece restricción permanente al acceso de su cuenta si considera que necesita un descanso,o simplemente quiere dejar de utilizar nuestros servicios",closeAccount:"Cerrar cuenta",modal:"Está seguro que quiere cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},tr:{titleAccountClosure:"Hesap kapatma",accountClosureDescription:"Hesap Kapatma, bir ara vermeniz gerektiğini düşünüyorsanız veya hizmetlerimizi kullanmayı bırakmak istiyorsanız, hesabınıza kalıcı erişim kısıtlaması sağlar.",closeAccount:"Hesabı kapat",modal:"Hesabınızı kapatmak istediğinizden emin misiniz?",accountClosureCancel:"HAYIR",accountClosureConfirm:"Evet"},"en-us":{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"}};function j(r){e.append_styles(r,"svelte-1oeuewt",'.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}')}function T(r,t,o){const l=r.slice();return l[22]=t[o],l}function N(r){let t,o,l,n,a,p,u,s,v,m,C=r[3]("titleAccountClosure")+"",w,i,M;return{c(){t=e.element("div"),o=e.svg_element("svg"),l=e.svg_element("defs"),n=e.svg_element("style"),a=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=e.svg_element("g"),u=e.svg_element("g"),s=e.svg_element("path"),v=e.space(),m=e.element("h2"),w=e.text(C),e.attr(s,"class","aaa"),e.attr(s,"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(s,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(p,"transform","translate(-20 -158)"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","15"),e.attr(o,"viewBox","0 0 15 15"),e.attr(m,"class","AccountClosureTitleMobile"),e.attr(m,"part","AccountClosureTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(y,d){e.insert(y,t,d),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,a),e.append(o,p),e.append(p,u),e.append(u,s),e.append(t,v),e.append(t,m),e.append(m,w),i||(M=e.listen(t,"click",r[13]),i=!0)},p(y,d){d&8&&C!==(C=y[3]("titleAccountClosure")+"")&&e.set_data(w,C)},d(y){y&&e.detach(t),i=!1,M()}}}function q(r){let t,o,l=r[3]("accountClosureDescription")+"";return{c(){t=e.element("div"),o=e.element("p"),e.attr(t,"class","AccountClosureDescription "+(r[4]?"AccountClosureDescriptionMobile":""))},m(n,a){e.insert(n,t,a),e.append(t,o),o.innerHTML=l},p(n,a){a&8&&l!==(l=n[3]("accountClosureDescription")+"")&&(o.innerHTML=l)},d(n){n&&e.detach(t)}}}function H(r){let t,o,l=e.ensure_array_like({length:4}),n=[];for(let a=0;a<l.length;a+=1)n[a]=L(T(r,l,a));return{c(){t=e.element("div"),o=e.element("div");for(let a=0;a<n.length;a+=1)n[a].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainerClosure")},m(a,p){e.insert(a,t,p),e.append(t,o);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(o,null)},p:e.noop,d(a){a&&e.detach(t),e.destroy_each(n,a)}}}function L(r){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ',e.attr(t,"class","skeletonNotification")},m(o,l){e.insert(o,t,l)},p:e.noop,d(o){o&&e.detach(t)}}}function W(r){let t,o,l,n,a=r[3]("modal")+"",p,u,s,v,m=r[3]("accountClosureCancel")+"",C,w,i,M=r[3]("accountClosureConfirm")+"",y,d,x;return{c(){t=e.element("div"),o=e.element("div"),l=e.element("div"),n=e.element("p"),p=e.text(a),u=e.space(),s=e.element("div"),v=e.element("button"),C=e.text(m),w=e.space(),i=e.element("button"),y=e.text(M),e.attr(n,"class","ModalText"),e.attr(v,"class","ModalCancel"),e.attr(i,"class","ModalConfirm"),e.attr(s,"class","ModalButtons"),e.attr(l,"class","ModalBody"),e.attr(o,"class","ModalContent"),e.attr(t,"class","ModalWrapper "+(r[4]?"ModalWrapperMobile":""))},m(h,f){e.insert(h,t,f),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,p),e.append(l,u),e.append(l,s),e.append(s,v),e.append(v,C),e.append(s,w),e.append(s,i),e.append(i,y),d||(x=[e.listen(v,"click",r[15]),e.listen(i,"click",r[16])],d=!0)},p(h,f){f&8&&a!==(a=h[3]("modal")+"")&&e.set_data(p,a),f&8&&m!==(m=h[3]("accountClosureCancel")+"")&&e.set_data(C,m),f&8&&M!==(M=h[3]("accountClosureConfirm")+"")&&e.set_data(y,M)},d(h){h&&e.detach(t),d=!1,e.run_all(x)}}}function O(r){let t,o,l,n,a=r[3]("titleAccountClosure")+"",p,u,s,v,m,C=r[3]("closeAccount")+"",w,i,M,y,d=r[4]&&N(r);function x(g,A){return g[1]?H:q}let h=x(r),f=h(r),b=r[2]&&W(r);return{c(){t=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),n=e.element("h2"),p=e.text(a),u=e.space(),f.c(),s=e.space(),v=e.element("div"),m=e.element("button"),w=e.text(C),i=e.space(),b&&b.c(),e.attr(n,"class","AccountClosureTitle "+(r[4]?"AccountClosureTitleNone":"")),e.attr(m,"class","AccountClosureSave "+(r[4]?"AccountClosureSaveMobile":"")),e.attr(v,"class","AccountClosureActionButtons "+(r[4]?"AccountClosureActionButtonsMobile":"")),e.attr(o,"class","AccountClosureWrapper "+(r[4]?"AccountClosureWrapperMobile":""))},m(g,A){e.insert(g,t,A),e.append(t,o),d&&d.m(o,null),e.append(o,l),e.append(o,n),e.append(n,p),e.append(o,u),f.m(o,null),e.append(o,s),e.append(o,v),e.append(v,m),e.append(m,w),e.append(t,i),b&&b.m(t,null),r[17](t),M||(y=e.listen(m,"click",r[14]),M=!0)},p(g,[A]){g[4]&&d.p(g,A),A&8&&a!==(a=g[3]("titleAccountClosure")+"")&&e.set_data(p,a),h===(h=x(g))&&f?f.p(g,A):(f.d(1),f=h(g),f&&(f.c(),f.m(o,s))),A&8&&C!==(C=g[3]("closeAccount")+"")&&e.set_data(w,C),g[2]?b?b.p(g,A):(b=W(g),b.c(),b.m(t,null)):b&&(b.d(1),b=null)},i:e.noop,o:e.noop,d(g){g&&e.detach(t),d&&d.d(),f.d(),b&&b.d(),r[17](null),M=!1,y()}}}function R(r,t,o){let l;e.component_subscribe(r,e.$format,c=>o(3,l=c));let{lang:n="en"}=t,{clientstyling:a=""}=t,{clientstylingurl:p=""}=t,{mbsource:u}=t,{translationurl:s=""}=t,v=window.navigator.userAgent,m=e.getDevice(v)!=="PC",C=!1,w=!1,i,M;const y=()=>{o(1,C=!0),fetch(s).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{z(k,_[k])})}).catch(_=>{console.log(_)}).finally(()=>{o(1,C=!1)})};Object.keys(B).forEach(c=>{z(c,B[c])});const d=c=>{o(2,w=c),c===!0?window.postMessage({type:"DisableScroll"},window.location.href):window.postMessage({type:"EnableScroll"},window.location.href)},x=()=>{d(!1),window.postMessage({type:"AccountClosure"},window.location.href)},h=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:m},window.location.href)},f=()=>{D(n)};e.onMount(()=>()=>{});const b=()=>h(),g=()=>d(!0),A=()=>d(!1),F=()=>x();function S(c){e.binding_callbacks[c?"unshift":"push"](()=>{i=c,o(0,i)})}return r.$$set=c=>{"lang"in c&&o(8,n=c.lang),"clientstyling"in c&&o(9,a=c.clientstyling),"clientstylingurl"in c&&o(10,p=c.clientstylingurl),"mbsource"in c&&o(11,u=c.mbsource),"translationurl"in c&&o(12,s=c.translationurl)},r.$$.update=()=>{r.$$.dirty&256&&n&&f(),r.$$.dirty&513&&a&&i&&e.setClientStyling(i,a),r.$$.dirty&1025&&p&&i&&e.setClientStylingURL(i,p),r.$$.dirty&2049&&u&&i&&e.setStreamStyling(i,`${u}.Style`,M),r.$$.dirty&4096&&s&&y()},[i,C,w,l,m,d,x,h,n,a,p,u,s,b,g,A,F,S]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,O,e.safe_not_equal,{lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},j)}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(E,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Y, b as Z, S as P, B as U, Q as J, t as j, f as V, J as T, p as D, Y as F, D as S, e as a, I as N, q as C, a0 as z, a3 as B, g as i, k as K, w as Q, M as G, a2 as E, O as X, h as $, s as ee, o as oe, U as te, V as re, W as ae, m as ne, a as le } from "./PlayerAccountController-
|
|
1
|
+
import { c as Y, b as Z, S as P, B as U, Q as J, t as j, f as V, J as T, p as D, Y as F, D as S, e as a, I as N, q as C, a0 as z, a3 as B, g as i, k as K, w as Q, M as G, a2 as E, O as X, h as $, s as ee, o as oe, U as te, V as re, W as ae, m as ne, a as le } from "./PlayerAccountController-BHq1U_O6.js";
|
|
2
2
|
import "../stencil/ui-skeleton-BKpwkQ2A.js";
|
|
3
3
|
function H(t, e) {
|
|
4
4
|
Y(t, e);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Y, b as Z, S as P, B as U, Q as J, t as j, f as V, J as T, p as D, Y as F, D as S, e as a, I as N, q as C, a0 as z, a3 as B, g as i, k as K, w as Q, M as G, a2 as E, O as X, h as $, s as ee, o as oe, U as te, V as re, W as ae, m as ne, a as le } from "./PlayerAccountController-
|
|
1
|
+
import { c as Y, b as Z, S as P, B as U, Q as J, t as j, f as V, J as T, p as D, Y as F, D as S, e as a, I as N, q as C, a0 as z, a3 as B, g as i, k as K, w as Q, M as G, a2 as E, O as X, h as $, s as ee, o as oe, U as te, V as re, W as ae, m as ne, a as le } from "./PlayerAccountController-CKZCKQpN.js";
|
|
2
2
|
import "../stencil/ui-skeleton-DNuG5l9W.js";
|
|
3
3
|
function H(t, e) {
|
|
4
4
|
Y(t, e);
|
package/components/{PlayerAccountController-C6MS18Sd.js → PlayerAccountController-BHq1U_O6.js}
RENAMED
|
@@ -4829,7 +4829,7 @@ if (typeof window != "undefined") {
|
|
|
4829
4829
|
}
|
|
4830
4830
|
};
|
|
4831
4831
|
};
|
|
4832
|
-
customElements.define = t(customElements.define), import("./PlayerAccountMenu-
|
|
4832
|
+
customElements.define = t(customElements.define), import("./PlayerAccountMenu-DOwnMfBp.js").then(({ default: e }) => {
|
|
4833
4833
|
!customElements.get("player-account-menu") && customElements.define("player-account-menu", e.element);
|
|
4834
4834
|
});
|
|
4835
4835
|
}
|
|
@@ -4845,7 +4845,7 @@ if (typeof window != "undefined") {
|
|
|
4845
4845
|
}
|
|
4846
4846
|
};
|
|
4847
4847
|
};
|
|
4848
|
-
customElements.define = t(customElements.define), import("./PlayerAccountNotifications-
|
|
4848
|
+
customElements.define = t(customElements.define), import("./PlayerAccountNotifications-BLDWrrxI.js").then(({ default: e }) => {
|
|
4849
4849
|
!customElements.get("player-account-notifications") && customElements.define("player-account-notifications", e.element);
|
|
4850
4850
|
});
|
|
4851
4851
|
}
|
|
@@ -4861,7 +4861,7 @@ if (typeof window != "undefined") {
|
|
|
4861
4861
|
}
|
|
4862
4862
|
};
|
|
4863
4863
|
};
|
|
4864
|
-
customElements.define = t(customElements.define), import("./PlayerAccountTimeout-
|
|
4864
|
+
customElements.define = t(customElements.define), import("./PlayerAccountTimeout-CQadGV2a.js").then((e) => e.P).then(({ default: e }) => {
|
|
4865
4865
|
!customElements.get("player-account-timeout") && customElements.define("player-account-timeout", e.element);
|
|
4866
4866
|
});
|
|
4867
4867
|
}
|
|
@@ -4877,7 +4877,7 @@ if (typeof window != "undefined") {
|
|
|
4877
4877
|
}
|
|
4878
4878
|
};
|
|
4879
4879
|
};
|
|
4880
|
-
customElements.define = t(customElements.define), import("./PlayerAccountSelfExclusion-
|
|
4880
|
+
customElements.define = t(customElements.define), import("./PlayerAccountSelfExclusion-CPbHgqgm.js").then((e) => e.P).then(({ default: e }) => {
|
|
4881
4881
|
!customElements.get("player-account-self-exclusion") && customElements.define("player-account-self-exclusion", e.element);
|
|
4882
4882
|
});
|
|
4883
4883
|
}
|
|
@@ -4893,7 +4893,7 @@ if (typeof window != "undefined") {
|
|
|
4893
4893
|
}
|
|
4894
4894
|
};
|
|
4895
4895
|
};
|
|
4896
|
-
customElements.define = t(customElements.define), import("./PlayerAccountClosure-
|
|
4896
|
+
customElements.define = t(customElements.define), import("./PlayerAccountClosure-Ct4tBOGU.js").then(({ default: e }) => {
|
|
4897
4897
|
!customElements.get("player-account-closure") && customElements.define("player-account-closure", e.element);
|
|
4898
4898
|
});
|
|
4899
4899
|
}
|
|
@@ -4909,7 +4909,7 @@ if (typeof window != "undefined") {
|
|
|
4909
4909
|
}
|
|
4910
4910
|
};
|
|
4911
4911
|
};
|
|
4912
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimits-
|
|
4912
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimits-C3wWWcGH.js").then(({ default: e }) => {
|
|
4913
4913
|
!customElements.get("player-account-gaming-limits") && customElements.define("player-account-gaming-limits", e.element);
|
|
4914
4914
|
});
|
|
4915
4915
|
}
|
|
@@ -4925,7 +4925,7 @@ if (typeof window != "undefined") {
|
|
|
4925
4925
|
}
|
|
4926
4926
|
};
|
|
4927
4927
|
};
|
|
4928
|
-
customElements.define = t(customElements.define), import("./PlayerActiveBonuses-
|
|
4928
|
+
customElements.define = t(customElements.define), import("./PlayerActiveBonuses-DVytvabF.js").then(({ default: e }) => {
|
|
4929
4929
|
!customElements.get("player-active-bonuses") && customElements.define("player-active-bonuses", e.element);
|
|
4930
4930
|
});
|
|
4931
4931
|
}
|
|
@@ -4941,7 +4941,7 @@ if (typeof window != "undefined") {
|
|
|
4941
4941
|
}
|
|
4942
4942
|
};
|
|
4943
4943
|
};
|
|
4944
|
-
customElements.define = t(customElements.define), import("./PlayerProfileInfo-
|
|
4944
|
+
customElements.define = t(customElements.define), import("./PlayerProfileInfo-CtQg5U2I.js").then(({ default: e }) => {
|
|
4945
4945
|
!customElements.get("player-profile-info") && customElements.define("player-profile-info", e.element);
|
|
4946
4946
|
});
|
|
4947
4947
|
}
|
|
@@ -4957,7 +4957,7 @@ if (typeof window != "undefined") {
|
|
|
4957
4957
|
}
|
|
4958
4958
|
};
|
|
4959
4959
|
};
|
|
4960
|
-
customElements.define = t(customElements.define), import("./PlayerChangePassword-
|
|
4960
|
+
customElements.define = t(customElements.define), import("./PlayerChangePassword-CDPtd1y2.js").then(({ default: e }) => {
|
|
4961
4961
|
!customElements.get("player-change-password") && customElements.define("player-change-password", e.element);
|
|
4962
4962
|
});
|
|
4963
4963
|
}
|
|
@@ -4973,7 +4973,7 @@ if (typeof window != "undefined") {
|
|
|
4973
4973
|
}
|
|
4974
4974
|
};
|
|
4975
4975
|
};
|
|
4976
|
-
customElements.define = t(customElements.define), import("./PlayerRealityCheck-
|
|
4976
|
+
customElements.define = t(customElements.define), import("./PlayerRealityCheck-CH6yW7w0.js").then(({ default: e }) => {
|
|
4977
4977
|
!customElements.get("player-reality-check") && customElements.define("player-reality-check", e.element);
|
|
4978
4978
|
});
|
|
4979
4979
|
}
|
|
@@ -4989,7 +4989,7 @@ if (typeof window != "undefined") {
|
|
|
4989
4989
|
}
|
|
4990
4990
|
};
|
|
4991
4991
|
};
|
|
4992
|
-
customElements.define = t(customElements.define), import("./PlayerBonusHistory-
|
|
4992
|
+
customElements.define = t(customElements.define), import("./PlayerBonusHistory-BSDft0iY.js").then((e) => e.P).then(({ default: e }) => {
|
|
4993
4993
|
!customElements.get("player-bonus-history") && customElements.define("player-bonus-history", e.element);
|
|
4994
4994
|
});
|
|
4995
4995
|
}
|
|
@@ -5005,7 +5005,7 @@ if (typeof window != "undefined") {
|
|
|
5005
5005
|
}
|
|
5006
5006
|
};
|
|
5007
5007
|
};
|
|
5008
|
-
customElements.define = t(customElements.define), import("./PlayerDeposit-
|
|
5008
|
+
customElements.define = t(customElements.define), import("./PlayerDeposit-BOHnESfn.js").then(({ default: e }) => {
|
|
5009
5009
|
!customElements.get("player-deposit") && customElements.define("player-deposit", e.element);
|
|
5010
5010
|
});
|
|
5011
5011
|
}
|
|
@@ -5021,7 +5021,7 @@ if (typeof window != "undefined") {
|
|
|
5021
5021
|
}
|
|
5022
5022
|
};
|
|
5023
5023
|
};
|
|
5024
|
-
customElements.define = t(customElements.define), import("./PlayerWithdrawal-
|
|
5024
|
+
customElements.define = t(customElements.define), import("./PlayerWithdrawal-D2BakJra.js").then(({ default: e }) => {
|
|
5025
5025
|
!customElements.get("player-withdrawal") && customElements.define("player-withdrawal", e.element);
|
|
5026
5026
|
});
|
|
5027
5027
|
}
|
|
@@ -5037,7 +5037,7 @@ if (typeof window != "undefined") {
|
|
|
5037
5037
|
}
|
|
5038
5038
|
};
|
|
5039
5039
|
};
|
|
5040
|
-
customElements.define = t(customElements.define), import("./PlayerPendingWithdrawals-
|
|
5040
|
+
customElements.define = t(customElements.define), import("./PlayerPendingWithdrawals-BH2fv9D2.js").then(({ default: e }) => {
|
|
5041
5041
|
!customElements.get("player-pending-withdrawals") && customElements.define("player-pending-withdrawals", e.element);
|
|
5042
5042
|
});
|
|
5043
5043
|
}
|
|
@@ -5053,7 +5053,7 @@ if (typeof window != "undefined") {
|
|
|
5053
5053
|
}
|
|
5054
5054
|
};
|
|
5055
5055
|
};
|
|
5056
|
-
customElements.define = t(customElements.define), import("./PlayerTransactionHistory-
|
|
5056
|
+
customElements.define = t(customElements.define), import("./PlayerTransactionHistory-jPhM6ytU.js").then(({ default: e }) => {
|
|
5057
5057
|
!customElements.get("player-transaction-history") && customElements.define("player-transaction-history", e.element);
|
|
5058
5058
|
});
|
|
5059
5059
|
}
|
|
@@ -5069,7 +5069,7 @@ if (typeof window != "undefined") {
|
|
|
5069
5069
|
}
|
|
5070
5070
|
};
|
|
5071
5071
|
};
|
|
5072
|
-
customElements.define = t(customElements.define), import("./PlayerGamingHistory-
|
|
5072
|
+
customElements.define = t(customElements.define), import("./PlayerGamingHistory-C6WWw2cc.js").then(({ default: e }) => {
|
|
5073
5073
|
!customElements.get("player-gaming-history") && customElements.define("player-gaming-history", e.element);
|
|
5074
5074
|
});
|
|
5075
5075
|
}
|
|
@@ -5085,7 +5085,7 @@ if (typeof window != "undefined") {
|
|
|
5085
5085
|
}
|
|
5086
5086
|
};
|
|
5087
5087
|
};
|
|
5088
|
-
customElements.define = t(customElements.define), import("./PlayerAccountBettingHistory-
|
|
5088
|
+
customElements.define = t(customElements.define), import("./PlayerAccountBettingHistory-t0Tk_p0g.js").then(({ default: e }) => {
|
|
5089
5089
|
!customElements.get("player-account-betting-history") && customElements.define("player-account-betting-history", e.element);
|
|
5090
5090
|
});
|
|
5091
5091
|
}
|
|
@@ -5101,7 +5101,7 @@ if (typeof window != "undefined") {
|
|
|
5101
5101
|
}
|
|
5102
5102
|
};
|
|
5103
5103
|
};
|
|
5104
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsWrapper2-
|
|
5104
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsWrapper2-Bxh1v-ks.js").then(({ default: e }) => {
|
|
5105
5105
|
!customElements.get("player-account-gaming-limits-wrapper-2") && customElements.define(
|
|
5106
5106
|
"player-account-gaming-limits-wrapper-2",
|
|
5107
5107
|
e.element
|
|
@@ -5120,7 +5120,7 @@ if (typeof window != "undefined") {
|
|
|
5120
5120
|
}
|
|
5121
5121
|
};
|
|
5122
5122
|
};
|
|
5123
|
-
customElements.define = t(customElements.define), import("./PlayerAccountBiometrics-
|
|
5123
|
+
customElements.define = t(customElements.define), import("./PlayerAccountBiometrics-D7yEbrsq.js").then(({ default: e }) => {
|
|
5124
5124
|
!customElements.get("player-account-biometrics") && customElements.define("player-account-biometrics", e.element);
|
|
5125
5125
|
});
|
|
5126
5126
|
}
|
|
@@ -5136,7 +5136,7 @@ if (typeof window != "undefined") {
|
|
|
5136
5136
|
}
|
|
5137
5137
|
};
|
|
5138
5138
|
};
|
|
5139
|
-
customElements.define = t(customElements.define), import("./PlayerAccountTransactionsHistory-
|
|
5139
|
+
customElements.define = t(customElements.define), import("./PlayerAccountTransactionsHistory-BcG6cSUz.js").then(({ default: e }) => {
|
|
5140
5140
|
!customElements.get("player-account-transactions-history") && customElements.define("player-account-transactions-history", e.element);
|
|
5141
5141
|
});
|
|
5142
5142
|
}
|
|
@@ -5152,7 +5152,7 @@ if (typeof window != "undefined") {
|
|
|
5152
5152
|
}
|
|
5153
5153
|
};
|
|
5154
5154
|
};
|
|
5155
|
-
customElements.define = t(customElements.define), import("./PlayerAccountProductRestriction-
|
|
5155
|
+
customElements.define = t(customElements.define), import("./PlayerAccountProductRestriction-DHxrM48h.js").then(({ default: e }) => {
|
|
5156
5156
|
!customElements.get("player-account-product-restriction") && customElements.define("player-account-product-restriction", e.element);
|
|
5157
5157
|
});
|
|
5158
5158
|
}
|
|
@@ -5168,7 +5168,7 @@ if (typeof window != "undefined") {
|
|
|
5168
5168
|
}
|
|
5169
5169
|
};
|
|
5170
5170
|
};
|
|
5171
|
-
customElements.define = t(customElements.define), import("./PlayerAccountReviewFrequency-
|
|
5171
|
+
customElements.define = t(customElements.define), import("./PlayerAccountReviewFrequency-BmQDh8wI.js").then(({ default: e }) => {
|
|
5172
5172
|
!customElements.get("player-account-review-frequency") && customElements.define("player-account-review-frequency", e.element);
|
|
5173
5173
|
});
|
|
5174
5174
|
}
|