@everymatrix/player-account-controller 1.88.10 → 1.88.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-Dimh5_1Q.js → GeneralLogout-3f37L92N.js} +1 -1
- package/components/{GeneralLogout-JDLtRUPI.js → GeneralLogout-BNcg2rnF.js} +1 -1
- package/components/{GeneralLogout-BYRoa1i0.cjs → GeneralLogout-CV4olakD.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-Dsuiqiks.js → PlayerAccountBettingHistory-AznYD_s5.js} +14 -14
- package/components/{PlayerAccountBettingHistory-CRa_Vjs1.cjs → PlayerAccountBettingHistory-BE5gE3MK.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-BxTXvGJn.js → PlayerAccountBettingHistory-t0beur9-.js} +11 -11
- package/components/{PlayerAccountBiometrics-URi9frFz.js → PlayerAccountBiometrics-BQax31j4.js} +2 -2
- package/components/{PlayerAccountBiometrics-BzpiaRqT.js → PlayerAccountBiometrics-C-PAo6Vh.js} +2 -2
- package/components/{PlayerAccountBiometrics-BOMKNUWC.cjs → PlayerAccountBiometrics-YYYmrA8I.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-B5BAuy2J.js → PlayerAccountBiometricsAction-C5yFGihl.js} +7 -7
- package/components/{PlayerAccountBiometricsAction-3SXLOW7p.js → PlayerAccountBiometricsAction-CIeZCGso.js} +7 -7
- package/components/{PlayerAccountBiometricsAction-Bl9VaoWm.cjs → PlayerAccountBiometricsAction-D_O8awMR.cjs} +1 -1
- package/components/{PlayerAccountClosure-D-N9ayhJ.js → PlayerAccountClosure-B1Yn0_WG.js} +1 -1
- package/components/{PlayerAccountClosure-C_QmjWrt.cjs → PlayerAccountClosure-D-PcJpa3.cjs} +1 -1
- package/components/{PlayerAccountClosure-Bd8du2_g.js → PlayerAccountClosure-DVW0slHf.js} +1 -1
- package/components/{PlayerAccountController-BhMzdKIw.js → PlayerAccountController-BIBSVpQp.js} +31 -31
- package/components/{PlayerAccountController-rhQprOUh.js → PlayerAccountController-DZwcWMS_.js} +31 -31
- package/components/{PlayerAccountController-B9dO7Osu.cjs → PlayerAccountController-c1W5YoSL.cjs} +2 -2
- package/components/{PlayerAccountGamingLimits-Dql103_y.js → PlayerAccountGamingLimits-C-PPTWth.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BDhXXNvu.cjs → PlayerAccountGamingLimits-D9j_F-Ti.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DzE7-HsX.js → PlayerAccountGamingLimits-DMl7l4Ev.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B9obkuhZ.js → PlayerAccountGamingLimitsConfirmationModal-AvT_mb3x.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DeUmHson.js → PlayerAccountGamingLimitsConfirmationModal-DgPRGMFN.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DmegGw1n.cjs → PlayerAccountGamingLimitsConfirmationModal-DnE3atZP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CPY7Bpiz.js → PlayerAccountGamingLimitsGroupEdit-BvbzLTQu.js} +37 -37
- package/components/{PlayerAccountGamingLimitsGroupEdit-DNh-BX25.cjs → PlayerAccountGamingLimitsGroupEdit-DfQzxuJE.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CZ_f4OQI.js → PlayerAccountGamingLimitsGroupEdit-l28sOuAE.js} +37 -37
- package/components/{PlayerAccountGamingLimitsHistory2-DNN6rwns.js → PlayerAccountGamingLimitsHistory2-0HCH3g4a.js} +31 -31
- package/components/{PlayerAccountGamingLimitsHistory2-D2NW9KMM.js → PlayerAccountGamingLimitsHistory2-BYG3FJJy.js} +30 -30
- package/components/{PlayerAccountGamingLimitsHistory2-Dtdd8Vqz.cjs → PlayerAccountGamingLimitsHistory2-C2MxbCBc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CgKpLy88.js → PlayerAccountGamingLimitsInfoCard-8DmNxC2Y.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DvVCacaz.cjs → PlayerAccountGamingLimitsInfoCard-A0IMHaNM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-rSr8B17V.js → PlayerAccountGamingLimitsInfoCard-CTKf7STM.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DgrsAkj5.js → PlayerAccountGamingLimitsPage2Gm16-6kt1l4uO.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-9gUNT26q.js → PlayerAccountGamingLimitsPage2Gm16-B64VCF88.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dkh60C4-.cjs → PlayerAccountGamingLimitsPage2Gm16-BIuOzvlh.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-C4rgYWzp.cjs → PlayerAccountGamingLimitsPopup-DL4YQZ-Y.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dbnn_ImA.js → PlayerAccountGamingLimitsPopup-DVDIcKMW.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-CHfsHaE_.js → PlayerAccountGamingLimitsPopup-Dfr30Mbi.js} +9 -9
- package/components/{PlayerAccountGamingLimitsWrapper2-CKW5ZJbZ.cjs → PlayerAccountGamingLimitsWrapper2-B9g4gCHi.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BabqPnsJ.js → PlayerAccountGamingLimitsWrapper2-BtEu5brr.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BAC5EIrO.js → PlayerAccountGamingLimitsWrapper2-DUwU-Jvb.js} +18 -18
- package/components/{PlayerAccountGeneralConfirmationModal-GuLYOaVa.js → PlayerAccountGeneralConfirmationModal-Bx6JYpOg.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-cpUPYXPf.cjs → PlayerAccountGeneralConfirmationModal-C5kh1Nm-.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BC0rQ5iX.js → PlayerAccountGeneralConfirmationModal-D--hssLf.js} +1 -1
- package/components/{PlayerAccountMenu-BlTQ1PO6.js → PlayerAccountMenu-BMo4lF6Q.js} +2 -2
- package/components/{PlayerAccountMenu-CfzgM7Md.js → PlayerAccountMenu-B_LYCNtV.js} +2 -2
- package/components/{PlayerAccountMenu-DO8153vS.cjs → PlayerAccountMenu-BrlL1sDW.cjs} +1 -1
- package/components/{PlayerAccountModal-DDhgjvW3.js → PlayerAccountModal-0chr39OG.js} +20 -20
- package/components/{PlayerAccountModal-BMBFI4D1.cjs → PlayerAccountModal-DSDeP3eT.cjs} +1 -1
- package/components/{PlayerAccountModal-CLFQAJsf.js → PlayerAccountModal-rRWaVt9E.js} +16 -16
- package/components/{PlayerAccountNotifications-WtO4KAxu.cjs → PlayerAccountNotifications-B6y7dER1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-Bbdpo1qj.js → PlayerAccountNotifications-D1frIIh3.js} +1 -1
- package/components/{PlayerAccountNotifications-CG2tDYC7.js → PlayerAccountNotifications-DQHnGruX.js} +1 -1
- package/components/{PlayerAccountProductRestriction-BiqF3nsE.cjs → PlayerAccountProductRestriction-CTP6kcX3.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-2lv_5SvI.js → PlayerAccountProductRestriction-lGyLa_-G.js} +42 -42
- package/components/{PlayerAccountProductRestriction-N8nYIViG.js → PlayerAccountProductRestriction-mR2QPxjU.js} +50 -50
- package/components/{PlayerAccountReviewFrequency-Cjgy2mVr.cjs → PlayerAccountReviewFrequency-BboiAtl8.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-rKz2JZ5D.js → PlayerAccountReviewFrequency-BzsiCBvi.js} +9 -9
- package/components/{PlayerAccountReviewFrequency-CFtqJPD8.js → PlayerAccountReviewFrequency-dEEwjD1I.js} +8 -8
- package/components/{PlayerAccountSelfExclusion-Bkt4-_8m.js → PlayerAccountSelfExclusion-BkXPtsGk.js} +32 -32
- package/components/{PlayerAccountSelfExclusion-BtOL7oV4.cjs → PlayerAccountSelfExclusion-CBtEwgD6.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-uRI-fyJ8.js → PlayerAccountSelfExclusion-CEtrhMih.js} +32 -32
- package/components/{PlayerAccountTimeout-ChWrrwIf.js → PlayerAccountTimeout-BJvD7ZL7.js} +2577 -2499
- package/components/{PlayerAccountTimeout-6FA0CMyL.cjs → PlayerAccountTimeout-BYGu_kj-.cjs} +164 -161
- package/components/{PlayerAccountTimeout-rKQ84GdP.js → PlayerAccountTimeout-BgYpOHqG.js} +2543 -2466
- package/components/{PlayerAccountTransactionsHistory-DEtXHIkI.js → PlayerAccountTransactionsHistory-B15ToFc4.js} +59 -59
- package/components/{PlayerAccountTransactionsHistory-D-CMAlgm.js → PlayerAccountTransactionsHistory-CsHiqDtc.js} +61 -61
- package/components/{PlayerAccountTransactionsHistory-cUv9qDdN.cjs → PlayerAccountTransactionsHistory-CxWYyFu4.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DZ4544Mc.js → PlayerActiveBonuses-Brw6p6sJ.js} +23 -23
- package/components/{PlayerActiveBonuses-uR1DIMKR.cjs → PlayerActiveBonuses-DdagPFoo.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CW6BR3c-.js → PlayerActiveBonuses-uclpE6Fz.js} +22 -22
- package/components/{PlayerBonusCard-BImfhO_z.js → PlayerBonusCard-2eMTBPW5.js} +2 -2
- package/components/{PlayerBonusCard-BVeSlvEN.js → PlayerBonusCard-CsBFrOLK.js} +2 -2
- package/components/{PlayerBonusCard-CZeCnNwt.cjs → PlayerBonusCard-yri03XDE.cjs} +1 -1
- package/components/{PlayerBonusHistory-V1FrTsrx.js → PlayerBonusHistory-3GW0q7cz.js} +2 -2
- package/components/{PlayerBonusHistory-BPxQaKU8.js → PlayerBonusHistory-CRvkxkzl.js} +2 -2
- package/components/{PlayerBonusHistory-R1yetYEr.cjs → PlayerBonusHistory-DIIiIeU2.cjs} +1 -1
- package/components/{PlayerChangePassword-FBcGOGfM.cjs → PlayerChangePassword-Ckh0UgCx.cjs} +1 -1
- package/components/{PlayerChangePassword-Bw6Kh7XQ.js → PlayerChangePassword-DdiMBDZB.js} +23 -23
- package/components/{PlayerChangePassword-1yD6kUJ_.js → PlayerChangePassword-nci8kW_7.js} +23 -23
- package/components/{PlayerDeposit-DRAaP9BR.js → PlayerDeposit-BYathUq_.js} +1 -1
- package/components/{PlayerDeposit-C068f0cz.js → PlayerDeposit-B_Pi6J5J.js} +1 -1
- package/components/{PlayerDeposit-Cgymt0_R.cjs → PlayerDeposit-Cv_pRjv6.cjs} +1 -1
- package/components/{PlayerGamingHistory-DQzfSjGP.js → PlayerGamingHistory-CuxZIjEC.js} +60 -60
- package/components/{PlayerGamingHistory-BEvcFfFp.js → PlayerGamingHistory-DDD86DHv.js} +81 -81
- package/components/{PlayerGamingHistory-TjCVYLVI.cjs → PlayerGamingHistory-dzrYvVJC.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BiC_-pbN.cjs → PlayerPendingWithdrawals-DQiDcjn1.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B8Meosmw.js → PlayerPendingWithdrawals-Q35MniF1.js} +1 -1
- package/components/{PlayerPendingWithdrawals-lEga1kxV.js → PlayerPendingWithdrawals-ZxC0NW57.js} +1 -1
- package/components/{PlayerProfileInfo-BDXaNifM.js → PlayerProfileInfo-Be1LUCLJ.js} +2 -2
- package/components/{PlayerProfileInfo-CHg_yF6b.cjs → PlayerProfileInfo-D4ijuSuD.cjs} +2 -2
- package/components/{PlayerProfileInfo-dcEoQXS9.js → PlayerProfileInfo-DUsW3Z5w.js} +2 -2
- package/components/{PlayerRealityCheck-BYWxpypi.js → PlayerRealityCheck-BCaw959Y.js} +7 -7
- package/components/{PlayerRealityCheck-Cx6e7jE-.cjs → PlayerRealityCheck-Bmvxi7is.cjs} +1 -1
- package/components/{PlayerRealityCheck-D5Qh9X3z.js → PlayerRealityCheck-DVfkyvpL.js} +6 -6
- package/components/{PlayerTransactionHistory-BFx6qb-H.cjs → PlayerTransactionHistory-Balz_sHQ.cjs} +1 -1
- package/components/{PlayerTransactionHistory-C2TGIEjS.js → PlayerTransactionHistory-Cp-0m3f8.js} +1 -1
- package/components/{PlayerTransactionHistory-DecMj_xk.js → PlayerTransactionHistory-DUTKPo7M.js} +1 -1
- package/components/{PlayerWithdrawal-CRumlS8y.cjs → PlayerWithdrawal-BhznMkqA.cjs} +1 -1
- package/components/{PlayerWithdrawal-C6BDCukj.js → PlayerWithdrawal-CF2tNr_S.js} +1 -1
- package/components/{PlayerWithdrawal-nWZiwAJH.js → PlayerWithdrawal-D5NvwHL1.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
- package/stencil/{checkbox-group-input_16-xNacUvu5.js → checkbox-group-input_16-3Luep8r6.js} +8 -4
- package/stencil/{checkbox-group-input_16-D0NDW25Z.js → checkbox-group-input_16-BILuVVwp.js} +8 -4
- package/stencil/{checkbox-group-input_16-BTsVd0db.cjs → checkbox-group-input_16-C4h1ckiE.cjs} +2 -2
- package/stencil/{index-c666b6e6-g9AWUaUU.cjs → index-c666b6e6-CgcI6HAF.cjs} +1 -1
- package/stencil/{index-c666b6e6-CHeQfJP1.js → index-c666b6e6-DoItI-nA.js} +1 -1
- package/stencil/{index-c666b6e6-D0eOIPSZ.js → index-c666b6e6-eQvo5DEB.js} +1 -1
- package/stencil/{pam-change-password-121f4e26-ByNb5lNg.js → pam-change-password-121f4e26-BexQE9SG.js} +1 -1
- package/stencil/{pam-change-password-121f4e26-wGrGMJ7X.js → pam-change-password-121f4e26-BfmFusu4.js} +1 -1
- package/stencil/{pam-change-password-121f4e26-D0sDBWFY.cjs → pam-change-password-121f4e26-C1LSezBV.cjs} +1 -1
- package/stencil/{pam-change-password-B7gJ1UQE.cjs → pam-change-password-BD5Nihcr.cjs} +1 -1
- package/stencil/{pam-change-password-bEI4DTme.js → pam-change-password-BRrpfWZV.js} +1 -1
- package/stencil/{pam-change-password-Bq8EYTN6.js → pam-change-password-gmq0gKjg.js} +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as U, $ as q, S as V, i as Z, s as Q, f as p, b as X, n as L, d as v, c as B, e as w, g as Y, h as J, o as K, j as W, m as f, w as E, x, u as F, p as $, r as b, E as tt, t as I, z as k, A as et, B as nt, C as ot, D as st } from "./PlayerAccountController-
|
|
1
|
+
import { a as U, $ as q, S as V, i as Z, s as Q, f as p, b as X, n as L, d as v, c as B, e as w, g as Y, h as J, o as K, j as W, m as f, w as E, x, u as F, p as $, r as b, E as tt, t as I, z as k, A as et, B as nt, C as ot, D as st } from "./PlayerAccountController-DZwcWMS_.js";
|
|
2
2
|
const it = (e, t = {}) => {
|
|
3
3
|
const o = new CustomEvent("track-custom-event", {
|
|
4
4
|
detail: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as z, S as V, i as Z, s as Q, f as p, b as X, n as F, d as w, e as B, g as x, h as Y, j as J, o as K, k as W, p as f, x as E, y as v, v as k, q as $, t as b, E as tt, u as I, B as L, C as et, D as nt, c as ot, A as st } from "./PlayerAccountController-
|
|
1
|
+
import { a as q, $ as z, S as V, i as Z, s as Q, f as p, b as X, n as F, d as w, e as B, g as x, h as Y, j as J, o as K, k as W, p as f, x as E, y as v, v as k, q as $, t as b, E as tt, u as I, B as L, C as et, D as nt, c as ot, A as st } from "./PlayerAccountController-BIBSVpQp.js";
|
|
2
2
|
const it = (e, t = {}) => {
|
|
3
3
|
const o = new CustomEvent("track-custom-event", {
|
|
4
4
|
detail: {
|
|
@@ -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-c1W5YoSL.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,5 +1,5 @@
|
|
|
1
|
-
import { a as U, $ as V, S as G, i as
|
|
2
|
-
function
|
|
1
|
+
import { a as U, $ as V, S as G, i as J, s as Z, f as k, b as F, n as C, d as W, v as K, t as D, r as o, q as v, c as q, m as l, w as R, e as M, p as A, u as L, J as Q, g as X, h as Y, o as $, x as E, j as tt, z as et, A as st, B as it, C as nt, D as lt } from "./PlayerAccountController-DZwcWMS_.js";
|
|
2
|
+
function z(s, t) {
|
|
3
3
|
U(s, t);
|
|
4
4
|
}
|
|
5
5
|
function ot(s) {
|
|
@@ -48,7 +48,7 @@ const rt = {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
function at(s) {
|
|
51
|
-
|
|
51
|
+
F(s, "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}`);
|
|
52
52
|
}
|
|
53
53
|
function ct(s) {
|
|
54
54
|
let t, n, y, m, b, h, c, r, f, g, d = (
|
|
@@ -60,7 +60,7 @@ function ct(s) {
|
|
|
60
60
|
t = M("div"), n = E("svg"), y = E("defs"), m = E("style"), b = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), h = E("g"), c = E("g"), r = E("path"), f = A(), g = M("h2"), S = L(d), o(r, "class", "aaa"), o(r, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(r, "transform", "translate(15 15) rotate(180)"), o(c, "transform", "translate(20 158)"), o(h, "transform", "translate(-20 -158)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "15"), o(n, "height", "15"), o(n, "viewBox", "0 0 15 15"), o(g, "class", "BettingHistoryTitleMobile"), o(t, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(H, _) {
|
|
63
|
-
q(H, t, _), l(t, n), l(n, y), l(y, m), l(m, b), l(n, h), l(h, c), l(c, r), l(t, f), l(t, g), l(g, S), B || (a =
|
|
63
|
+
q(H, t, _), l(t, n), l(n, y), l(y, m), l(m, b), l(n, h), l(h, c), l(c, r), l(t, f), l(t, g), l(g, S), B || (a = R(
|
|
64
64
|
t,
|
|
65
65
|
"click",
|
|
66
66
|
/*click_handler*/
|
|
@@ -77,7 +77,7 @@ function ct(s) {
|
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function N(s) {
|
|
81
81
|
return { c: C, m: C, d: C };
|
|
82
82
|
}
|
|
83
83
|
function ut(s) {
|
|
@@ -96,7 +96,7 @@ function ut(s) {
|
|
|
96
96
|
), e = (
|
|
97
97
|
/*showModal*/
|
|
98
98
|
s[3] === "true" && /*selectedBetId*/
|
|
99
|
-
s[1] &&
|
|
99
|
+
s[1] && N()
|
|
100
100
|
);
|
|
101
101
|
return {
|
|
102
102
|
c() {
|
|
@@ -119,19 +119,19 @@ function ut(s) {
|
|
|
119
119
|
},
|
|
120
120
|
m(i, p) {
|
|
121
121
|
q(i, t, p), w && w.m(t, null), l(t, n), l(t, y), l(y, b), l(t, h), l(t, c), l(c, r), l(r, g), l(c, S), l(c, B), l(B, H), l(t, I), l(t, u), l(t, P), e && e.m(t, null), l(t, T), l(t, O), s[17](t), j || (x = [
|
|
122
|
-
|
|
122
|
+
R(
|
|
123
123
|
r,
|
|
124
124
|
"click",
|
|
125
125
|
/*click_handler_1*/
|
|
126
126
|
s[15]
|
|
127
127
|
),
|
|
128
|
-
|
|
128
|
+
R(
|
|
129
129
|
B,
|
|
130
130
|
"click",
|
|
131
131
|
/*click_handler_2*/
|
|
132
132
|
s[16]
|
|
133
133
|
),
|
|
134
|
-
|
|
134
|
+
R(
|
|
135
135
|
u,
|
|
136
136
|
"routeChange",
|
|
137
137
|
/*handleMoreDetails*/
|
|
@@ -161,7 +161,7 @@ function ut(s) {
|
|
|
161
161
|
i[0]
|
|
162
162
|
), /*showModal*/
|
|
163
163
|
i[3] === "true" && /*selectedBetId*/
|
|
164
|
-
i[1] ? e || (e =
|
|
164
|
+
i[1] ? e || (e = N(), e.c(), e.m(t, T)) : e && (e.d(1), e = null);
|
|
165
165
|
},
|
|
166
166
|
i: C,
|
|
167
167
|
o: C,
|
|
@@ -177,14 +177,14 @@ function gt(s, t, n) {
|
|
|
177
177
|
const _ = () => {
|
|
178
178
|
fetch(g).then((i) => i.json()).then((i) => {
|
|
179
179
|
Object.keys(i).forEach((p) => {
|
|
180
|
-
|
|
180
|
+
z(p, i[p]);
|
|
181
181
|
});
|
|
182
182
|
}).catch((i) => {
|
|
183
183
|
console.log(i);
|
|
184
184
|
});
|
|
185
185
|
};
|
|
186
186
|
Object.entries(rt).forEach(([e, i]) => {
|
|
187
|
-
|
|
187
|
+
z(e, i);
|
|
188
188
|
});
|
|
189
189
|
const I = (e) => {
|
|
190
190
|
n(0, m = e);
|
|
@@ -244,12 +244,12 @@ function gt(s, t, n) {
|
|
|
244
244
|
}
|
|
245
245
|
class dt extends G {
|
|
246
246
|
constructor(t) {
|
|
247
|
-
super(),
|
|
247
|
+
super(), J(
|
|
248
248
|
this,
|
|
249
249
|
t,
|
|
250
250
|
gt,
|
|
251
251
|
ut,
|
|
252
|
-
|
|
252
|
+
Z,
|
|
253
253
|
{
|
|
254
254
|
betstatus: 0,
|
|
255
255
|
lang: 9,
|
|
@@ -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-c1W5YoSL.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,5 +1,5 @@
|
|
|
1
|
-
import { a as U, $ as V, S as G, i as
|
|
2
|
-
function
|
|
1
|
+
import { a as U, $ as V, S as G, i as J, s as Z, f as k, b as F, n as C, d as q, w as K, u as D, t as o, r as v, e as z, p as l, x as R, g as M, q as A, v as L, J as Q, h as X, j as Y, o as $, y as E, k as tt, B as et, C as st, D as it, c as nt, A as lt } from "./PlayerAccountController-BIBSVpQp.js";
|
|
2
|
+
function N(s, t) {
|
|
3
3
|
U(s, t);
|
|
4
4
|
}
|
|
5
5
|
function ot(s) {
|
|
@@ -48,7 +48,7 @@ const rt = {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
function at(s) {
|
|
51
|
-
|
|
51
|
+
F(s, "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}`);
|
|
52
52
|
}
|
|
53
53
|
function ct(s) {
|
|
54
54
|
let t, n, y, m, b, h, c, r, f, g, d = (
|
|
@@ -60,7 +60,7 @@ function ct(s) {
|
|
|
60
60
|
t = M("div"), n = E("svg"), y = E("defs"), m = E("style"), b = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), h = E("g"), c = E("g"), r = E("path"), f = A(), g = M("h2"), S = L(d), o(r, "class", "aaa"), o(r, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(r, "transform", "translate(15 15) rotate(180)"), o(c, "transform", "translate(20 158)"), o(h, "transform", "translate(-20 -158)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "15"), o(n, "height", "15"), o(n, "viewBox", "0 0 15 15"), o(g, "class", "BettingHistoryTitleMobile"), o(t, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(H, _) {
|
|
63
|
-
z(H, t, _), l(t, n), l(n, y), l(y, m), l(m, b), l(n, h), l(h, c), l(c, r), l(t, f), l(t, g), l(g, S), B || (a =
|
|
63
|
+
z(H, t, _), l(t, n), l(n, y), l(y, m), l(m, b), l(n, h), l(h, c), l(c, r), l(t, f), l(t, g), l(g, S), B || (a = R(
|
|
64
64
|
t,
|
|
65
65
|
"click",
|
|
66
66
|
/*click_handler*/
|
|
@@ -119,19 +119,19 @@ function ut(s) {
|
|
|
119
119
|
},
|
|
120
120
|
m(i, p) {
|
|
121
121
|
z(i, t, p), w && w.m(t, null), l(t, n), l(t, y), l(y, b), l(t, h), l(t, c), l(c, r), l(r, g), l(c, S), l(c, B), l(B, H), l(t, I), l(t, u), l(t, P), e && e.m(t, null), l(t, T), l(t, O), s[17](t), j || (x = [
|
|
122
|
-
|
|
122
|
+
R(
|
|
123
123
|
r,
|
|
124
124
|
"click",
|
|
125
125
|
/*click_handler_1*/
|
|
126
126
|
s[15]
|
|
127
127
|
),
|
|
128
|
-
|
|
128
|
+
R(
|
|
129
129
|
B,
|
|
130
130
|
"click",
|
|
131
131
|
/*click_handler_2*/
|
|
132
132
|
s[16]
|
|
133
133
|
),
|
|
134
|
-
|
|
134
|
+
R(
|
|
135
135
|
u,
|
|
136
136
|
"routeChange",
|
|
137
137
|
/*handleMoreDetails*/
|
|
@@ -177,14 +177,14 @@ function gt(s, t, n) {
|
|
|
177
177
|
const _ = () => {
|
|
178
178
|
fetch(g).then((i) => i.json()).then((i) => {
|
|
179
179
|
Object.keys(i).forEach((p) => {
|
|
180
|
-
|
|
180
|
+
N(p, i[p]);
|
|
181
181
|
});
|
|
182
182
|
}).catch((i) => {
|
|
183
183
|
console.log(i);
|
|
184
184
|
});
|
|
185
185
|
};
|
|
186
186
|
Object.entries(rt).forEach(([e, i]) => {
|
|
187
|
-
|
|
187
|
+
N(e, i);
|
|
188
188
|
});
|
|
189
189
|
const I = (e) => {
|
|
190
190
|
n(0, m = e);
|
|
@@ -243,12 +243,12 @@ function gt(s, t, n) {
|
|
|
243
243
|
}
|
|
244
244
|
class dt extends G {
|
|
245
245
|
constructor(t) {
|
|
246
|
-
super(),
|
|
246
|
+
super(), J(
|
|
247
247
|
this,
|
|
248
248
|
t,
|
|
249
249
|
gt,
|
|
250
250
|
ut,
|
|
251
|
-
|
|
251
|
+
Z,
|
|
252
252
|
{
|
|
253
253
|
betstatus: 0,
|
|
254
254
|
lang: 9,
|
package/components/{PlayerAccountBiometrics-URi9frFz.js → PlayerAccountBiometrics-BQax31j4.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as x, $ as R, S as L, i as N, s as W, f as M, b as q, n as T, d as z, t as S, q as y, c as Y, m as n, e as w, p as j, u as k, r as s, g as H, h as I, o as K, w as V, x as A, j as Z, z as F, A as G, B as J, C as Q, D as X } from "./PlayerAccountController-
|
|
1
|
+
import { a as x, $ as R, S as L, i as N, s as W, f as M, b as q, n as T, d as z, t as S, q as y, c as Y, m as n, e as w, p as j, u as k, r as s, g as H, h as I, o as K, w as V, x as A, j as Z, z as F, A as G, B as J, C as Q, D as X } from "./PlayerAccountController-DZwcWMS_.js";
|
|
2
2
|
function U(e, t) {
|
|
3
3
|
x(e, t);
|
|
4
4
|
}
|
|
@@ -96,7 +96,7 @@ if (typeof window != "undefined") {
|
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
-
customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-
|
|
99
|
+
customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-CIeZCGso.js").then(({ default: t }) => {
|
|
100
100
|
!customElements.get("player-account-biometrics-action") && customElements.define("player-account-biometrics-action", t.element);
|
|
101
101
|
});
|
|
102
102
|
}
|
package/components/{PlayerAccountBiometrics-BzpiaRqT.js → PlayerAccountBiometrics-C-PAo6Vh.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as x, $ as R, S as L, i as N, s as W, f as M, b as q, n as T, d as Y, u as S, r as y, e as z, p as n, g as w, q as j, v as k, t as s, h as H, j as I, o as K, x as V, y as A, k as Z, B as F, C as G, D as J, c as Q, A as X } from "./PlayerAccountController-
|
|
1
|
+
import { a as x, $ as R, S as L, i as N, s as W, f as M, b as q, n as T, d as Y, u as S, r as y, e as z, p as n, g as w, q as j, v as k, t as s, h as H, j as I, o as K, x as V, y as A, k as Z, B as F, C as G, D as J, c as Q, A as X } from "./PlayerAccountController-BIBSVpQp.js";
|
|
2
2
|
function U(e, t) {
|
|
3
3
|
x(e, t);
|
|
4
4
|
}
|
|
@@ -96,7 +96,7 @@ if (typeof window < "u") {
|
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
-
customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-
|
|
99
|
+
customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-C5yFGihl.js").then(({ default: t }) => {
|
|
100
100
|
!customElements.get("player-account-biometrics-action") && customElements.define("player-account-biometrics-action", t.element);
|
|
101
101
|
});
|
|
102
102
|
}
|
package/components/{PlayerAccountBiometrics-BOMKNUWC.cjs → PlayerAccountBiometrics-YYYmrA8I.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./PlayerAccountController-B9dO7Osu.cjs");function P(i,e){t.addMessages(i,e)}function D(i){t.$locale.set(i)}const E={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"}};if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountBiometricsAction-Bl9VaoWm.cjs")).then(({default:e})=>{!customElements.get("player-account-biometrics-action")&&customElements.define("player-account-biometrics-action",e.element)})}const M=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));function j(i){t.append_styles(i,"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(i){let e,n,c,m,p,u,f,a,s,d,h=i[6]("titleBiometrics")+"",B,y,_;return{c(){e=t.element("div"),n=t.svg_element("svg"),c=t.svg_element("defs"),m=t.svg_element("style"),p=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),u=t.svg_element("g"),f=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),d=t.element("h2"),B=t.text(h),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(f,"transform","translate(20 158)"),t.attr(u,"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(d,"class","BiometricsTitleMobile"),t.attr(d,"part","BiometricsTitleMobile"),t.attr(e,"class","MenuReturnButton"),t.attr(e,"part","MenuReturnButton")},m(g,w){t.insert(g,e,w),t.append(e,n),t.append(n,c),t.append(c,m),t.append(m,p),t.append(n,u),t.append(u,f),t.append(f,a),t.append(e,s),t.append(e,d),t.append(d,B),y||(_=t.listen(e,"click",i[9]),y=!0)},p(g,w){w&64&&h!==(h=g[6]("titleBiometrics")+"")&&t.set_data(B,h)},d(g){g&&t.detach(e),y=!1,_()}}}function S(i){let e,n,c,m,p=i[6]("titleBiometrics")+"",u,f,a,s,d=i[6]("descriptionParagraph1")+"",h,B,y,_=i[6]("descriptionParagraph2")+"",g,w,v,r,l=i[7]&&k(i);return{c(){e=t.element("div"),n=t.element("div"),l&&l.c(),c=t.space(),m=t.element("h2"),u=t.text(p),f=t.space(),a=t.element("div"),s=t.element("p"),h=t.text(d),B=t.space(),y=t.element("p"),g=t.text(_),w=t.space(),v=t.element("div"),r=t.element("player-account-biometrics-action"),t.attr(m,"class","BiometricsTitle "+(i[7]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(i[7]?"BiometricsDescriptionMobile":"")),t.set_custom_element_data(r,"lang",i[0]),t.set_custom_element_data(r,"translationurl",i[4]),t.set_custom_element_data(r,"clientstyling",i[1]),t.set_custom_element_data(r,"clientstylingurl",i[2]),t.set_custom_element_data(r,"mbsource",i[3]),t.attr(v,"class","BiometricsActionButtons "+(i[7]?"BiometricsActionButtonsMobile":"")),t.attr(n,"class","BiometricsWrapper "+(i[7]?"BiometricsWrapperMobile":""))},m(o,b){t.insert(o,e,b),t.append(e,n),l&&l.m(n,null),t.append(n,c),t.append(n,m),t.append(m,u),t.append(n,f),t.append(n,a),t.append(a,s),t.append(s,h),t.append(a,B),t.append(a,y),t.append(y,g),t.append(n,w),t.append(n,v),t.append(v,r),i[10](e)},p(o,[b]){o[7]&&l.p(o,b),b&64&&p!==(p=o[6]("titleBiometrics")+"")&&t.set_data(u,p),b&64&&d!==(d=o[6]("descriptionParagraph1")+"")&&t.set_data(h,d),b&64&&_!==(_=o[6]("descriptionParagraph2")+"")&&t.set_data(g,_),b&1&&t.set_custom_element_data(r,"lang",o[0]),b&16&&t.set_custom_element_data(r,"translationurl",o[4]),b&2&&t.set_custom_element_data(r,"clientstyling",o[1]),b&4&&t.set_custom_element_data(r,"clientstylingurl",o[2]),b&8&&t.set_custom_element_data(r,"mbsource",o[3])},i:t.noop,o:t.noop,d(o){o&&t.detach(e),l&&l.d(),i[10](null)}}}function T(i,e,n){let c;t.component_subscribe(i,t.$format,r=>n(6,c=r));let{lang:m="en"}=e,{clientstyling:p=""}=e,{clientstylingurl:u=""}=e,{mbsource:f}=e,{translationurl:a=""}=e,s,d,h=window.navigator.userAgent,B=t.getDevice(h)!=="PC";const y=()=>{fetch(a).then(l=>l.json()).then(l=>{Object.keys(l).forEach(o=>{P(o,l[o])})}).catch(l=>{console.log(l)})};Object.keys(E).forEach(r=>{P(r,E[r])});const _=()=>{D(m)},g=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:B},window.location.href)};t.onMount(()=>()=>{});const w=()=>g();function v(r){t.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(5,s)})}return i.$$set=r=>{"lang"in r&&n(0,m=r.lang),"clientstyling"in r&&n(1,p=r.clientstyling),"clientstylingurl"in r&&n(2,u=r.clientstylingurl),"mbsource"in r&&n(3,f=r.mbsource),"translationurl"in r&&n(4,a=r.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&m&&_(),i.$$.dirty&34&&p&&s&&t.setClientStyling(s,p),i.$$.dirty&36&&u&&s&&t.setClientStylingURL(s,u),i.$$.dirty&40&&f&&s&&t.setStreamStyling(s,`${f}.Style`,d),i.$$.dirty&16&&a&&y()},[m,p,u,f,a,s,c,B,g,w,v]}class A extends t.SvelteComponent{constructor(e){super(),t.init(this,e,T,S,t.safe_not_equal,{lang:0,clientstyling:1,clientstylingurl:2,mbsource:3,translationurl:4},j)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[4]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(A,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);const U=Object.freeze(Object.defineProperty({__proto__:null,default:A},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountBiometrics_ce=U;exports.index=M;
|
|
1
|
+
"use strict";const t=require("./PlayerAccountController-c1W5YoSL.cjs");function P(i,e){t.addMessages(i,e)}function D(i){t.$locale.set(i)}const E={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"}};if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountBiometricsAction-D_O8awMR.cjs")).then(({default:e})=>{!customElements.get("player-account-biometrics-action")&&customElements.define("player-account-biometrics-action",e.element)})}const M=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));function j(i){t.append_styles(i,"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(i){let e,n,c,m,p,u,f,a,s,d,h=i[6]("titleBiometrics")+"",B,y,_;return{c(){e=t.element("div"),n=t.svg_element("svg"),c=t.svg_element("defs"),m=t.svg_element("style"),p=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),u=t.svg_element("g"),f=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),d=t.element("h2"),B=t.text(h),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(f,"transform","translate(20 158)"),t.attr(u,"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(d,"class","BiometricsTitleMobile"),t.attr(d,"part","BiometricsTitleMobile"),t.attr(e,"class","MenuReturnButton"),t.attr(e,"part","MenuReturnButton")},m(g,w){t.insert(g,e,w),t.append(e,n),t.append(n,c),t.append(c,m),t.append(m,p),t.append(n,u),t.append(u,f),t.append(f,a),t.append(e,s),t.append(e,d),t.append(d,B),y||(_=t.listen(e,"click",i[9]),y=!0)},p(g,w){w&64&&h!==(h=g[6]("titleBiometrics")+"")&&t.set_data(B,h)},d(g){g&&t.detach(e),y=!1,_()}}}function S(i){let e,n,c,m,p=i[6]("titleBiometrics")+"",u,f,a,s,d=i[6]("descriptionParagraph1")+"",h,B,y,_=i[6]("descriptionParagraph2")+"",g,w,v,r,l=i[7]&&k(i);return{c(){e=t.element("div"),n=t.element("div"),l&&l.c(),c=t.space(),m=t.element("h2"),u=t.text(p),f=t.space(),a=t.element("div"),s=t.element("p"),h=t.text(d),B=t.space(),y=t.element("p"),g=t.text(_),w=t.space(),v=t.element("div"),r=t.element("player-account-biometrics-action"),t.attr(m,"class","BiometricsTitle "+(i[7]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(i[7]?"BiometricsDescriptionMobile":"")),t.set_custom_element_data(r,"lang",i[0]),t.set_custom_element_data(r,"translationurl",i[4]),t.set_custom_element_data(r,"clientstyling",i[1]),t.set_custom_element_data(r,"clientstylingurl",i[2]),t.set_custom_element_data(r,"mbsource",i[3]),t.attr(v,"class","BiometricsActionButtons "+(i[7]?"BiometricsActionButtonsMobile":"")),t.attr(n,"class","BiometricsWrapper "+(i[7]?"BiometricsWrapperMobile":""))},m(o,b){t.insert(o,e,b),t.append(e,n),l&&l.m(n,null),t.append(n,c),t.append(n,m),t.append(m,u),t.append(n,f),t.append(n,a),t.append(a,s),t.append(s,h),t.append(a,B),t.append(a,y),t.append(y,g),t.append(n,w),t.append(n,v),t.append(v,r),i[10](e)},p(o,[b]){o[7]&&l.p(o,b),b&64&&p!==(p=o[6]("titleBiometrics")+"")&&t.set_data(u,p),b&64&&d!==(d=o[6]("descriptionParagraph1")+"")&&t.set_data(h,d),b&64&&_!==(_=o[6]("descriptionParagraph2")+"")&&t.set_data(g,_),b&1&&t.set_custom_element_data(r,"lang",o[0]),b&16&&t.set_custom_element_data(r,"translationurl",o[4]),b&2&&t.set_custom_element_data(r,"clientstyling",o[1]),b&4&&t.set_custom_element_data(r,"clientstylingurl",o[2]),b&8&&t.set_custom_element_data(r,"mbsource",o[3])},i:t.noop,o:t.noop,d(o){o&&t.detach(e),l&&l.d(),i[10](null)}}}function T(i,e,n){let c;t.component_subscribe(i,t.$format,r=>n(6,c=r));let{lang:m="en"}=e,{clientstyling:p=""}=e,{clientstylingurl:u=""}=e,{mbsource:f}=e,{translationurl:a=""}=e,s,d,h=window.navigator.userAgent,B=t.getDevice(h)!=="PC";const y=()=>{fetch(a).then(l=>l.json()).then(l=>{Object.keys(l).forEach(o=>{P(o,l[o])})}).catch(l=>{console.log(l)})};Object.keys(E).forEach(r=>{P(r,E[r])});const _=()=>{D(m)},g=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:B},window.location.href)};t.onMount(()=>()=>{});const w=()=>g();function v(r){t.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(5,s)})}return i.$$set=r=>{"lang"in r&&n(0,m=r.lang),"clientstyling"in r&&n(1,p=r.clientstyling),"clientstylingurl"in r&&n(2,u=r.clientstylingurl),"mbsource"in r&&n(3,f=r.mbsource),"translationurl"in r&&n(4,a=r.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&m&&_(),i.$$.dirty&34&&p&&s&&t.setClientStyling(s,p),i.$$.dirty&36&&u&&s&&t.setClientStylingURL(s,u),i.$$.dirty&40&&f&&s&&t.setStreamStyling(s,`${f}.Style`,d),i.$$.dirty&16&&a&&y()},[m,p,u,f,a,s,c,B,g,w,v]}class A extends t.SvelteComponent{constructor(e){super(),t.init(this,e,T,S,t.safe_not_equal,{lang:0,clientstyling:1,clientstylingurl:2,mbsource:3,translationurl:4},j)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[4]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(A,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);const U=Object.freeze(Object.defineProperty({__proto__:null,default:A},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountBiometrics_ce=U;exports.index=M;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as W, $ as G, S as J, i as Q, s as V, f as u, b as Y, n as R, d as k, e as E,
|
|
1
|
+
import { a as W, $ as G, S as J, i as Q, s as V, f as u, b as Y, n as R, d as k, e as E, L as Z, h as $, o as ee, g as w, k as ie, u as te, p as C, x as X, v as se, t as S, J as f, B as ne, C as oe, D as ae, c as re, A as ce } from "./PlayerAccountController-BIBSVpQp.js";
|
|
2
2
|
function le(t, e) {
|
|
3
3
|
W(t, e);
|
|
4
4
|
}
|
|
@@ -267,7 +267,7 @@ function Be(t, e, i) {
|
|
|
267
267
|
D(me);
|
|
268
268
|
const U = () => {
|
|
269
269
|
be(s);
|
|
270
|
-
},
|
|
270
|
+
}, A = {
|
|
271
271
|
BIOMETRICS_RESPONSE: 3e3,
|
|
272
272
|
SHAKE_DURATION: 500
|
|
273
273
|
};
|
|
@@ -277,25 +277,25 @@ function Be(t, e, i) {
|
|
|
277
277
|
() => {
|
|
278
278
|
i(6, M = !1);
|
|
279
279
|
},
|
|
280
|
-
|
|
280
|
+
A.SHAKE_DURATION
|
|
281
281
|
);
|
|
282
|
-
},
|
|
282
|
+
}, N = () => {
|
|
283
283
|
d && clearTimeout(d), d = setTimeout(
|
|
284
284
|
() => {
|
|
285
285
|
i(5, g = !1), H(), I("error", o("errorMessage"));
|
|
286
286
|
},
|
|
287
|
-
|
|
287
|
+
A.BIOMETRICS_RESPONSE
|
|
288
288
|
);
|
|
289
289
|
}, v = async () => {
|
|
290
290
|
g || (i(5, g = !0), _ = !0, window.postMessage({
|
|
291
291
|
type: "ToggleBiometrics",
|
|
292
292
|
data: `${!y}`,
|
|
293
293
|
isFromLogin: p
|
|
294
|
-
}),
|
|
294
|
+
}), N());
|
|
295
295
|
}, x = (n) => {
|
|
296
296
|
n.data?.type === "NativeAppReady" && (i(0, B = !0), O()), n.data?.type === "BiometricsStatus" && (i(4, y = n.data.status || !1), i(5, g = !1), d && (clearTimeout(d), d = null), _ && (p || I("success", o(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
|
|
297
297
|
}, O = () => {
|
|
298
|
-
i(5, g = !0), window.postMessage({ type: "GetBiometricsStatus" }),
|
|
298
|
+
i(5, g = !0), window.postMessage({ type: "GetBiometricsStatus" }), N();
|
|
299
299
|
}, P = () => {
|
|
300
300
|
window.postMessage({ type: "CheckNativeApp" });
|
|
301
301
|
}, I = (n, b) => {
|
|
@@ -14,7 +14,7 @@ var R = (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 { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as C, d as k, c as E,
|
|
17
|
+
import { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as C, d as k, c as E, L as ee, g as ie, o as te, e as w, j as se, t as ne, m as j, w as F, u as oe, r as S, J as h, z as ae, A as re, B as ce, C as le, D as be } from "./PlayerAccountController-DZwcWMS_.js";
|
|
18
18
|
function me(t, e) {
|
|
19
19
|
J(t, e);
|
|
20
20
|
}
|
|
@@ -283,7 +283,7 @@ function ye(t, e, i) {
|
|
|
283
283
|
D(de);
|
|
284
284
|
const P = () => {
|
|
285
285
|
ue(s);
|
|
286
|
-
},
|
|
286
|
+
}, A = {
|
|
287
287
|
BIOMETRICS_RESPONSE: 3e3,
|
|
288
288
|
SHAKE_DURATION: 500
|
|
289
289
|
};
|
|
@@ -293,26 +293,26 @@ function ye(t, e, i) {
|
|
|
293
293
|
() => {
|
|
294
294
|
i(6, M = !1);
|
|
295
295
|
},
|
|
296
|
-
|
|
296
|
+
A.SHAKE_DURATION
|
|
297
297
|
);
|
|
298
|
-
},
|
|
298
|
+
}, N = () => {
|
|
299
299
|
g && clearTimeout(g), g = setTimeout(
|
|
300
300
|
() => {
|
|
301
301
|
i(5, f = !1), q(), z("error", n("errorMessage"));
|
|
302
302
|
},
|
|
303
|
-
|
|
303
|
+
A.BIOMETRICS_RESPONSE
|
|
304
304
|
);
|
|
305
305
|
}, v = () => R(this, null, function* () {
|
|
306
306
|
f || (i(5, f = !0), _ = !0, window.postMessage({
|
|
307
307
|
type: "ToggleBiometrics",
|
|
308
308
|
data: `${!y}`,
|
|
309
309
|
isFromLogin: p
|
|
310
|
-
}),
|
|
310
|
+
}), N());
|
|
311
311
|
}), x = (o) => {
|
|
312
312
|
var b, I;
|
|
313
313
|
((b = o.data) == null ? void 0 : b.type) === "NativeAppReady" && (i(0, d = !0), O()), ((I = o.data) == null ? void 0 : I.type) === "BiometricsStatus" && (i(4, y = o.data.status || !1), i(5, f = !1), g && (clearTimeout(g), g = null), _ && (p || z("success", n(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
|
|
314
314
|
}, O = () => {
|
|
315
|
-
i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }),
|
|
315
|
+
i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }), N();
|
|
316
316
|
}, K = () => {
|
|
317
317
|
window.postMessage({ type: "CheckNativeApp" });
|
|
318
318
|
}, z = (o, b) => {
|
|
@@ -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-B9dO7Osu.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-c1W5YoSL.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,4 +1,4 @@
|
|
|
1
|
-
import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, u as F, e as S, p as a, x as N, g as C, q as z, v as B, t as i, h as V, j as G, o as Q, y as E, w as X, k as $, l as ee, m as oe, B as te, C as re, D as ae, c as ne, A as le } from "./PlayerAccountController-
|
|
1
|
+
import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, u as F, e as S, p as a, x as N, g as C, q as z, v as B, t as i, h as V, j as G, o as Q, y as E, w as X, k as $, l as ee, m as oe, B as te, C as re, D as ae, c as ne, A as le } from "./PlayerAccountController-BIBSVpQp.js";
|
|
2
2
|
import "../stencil/ui-skeleton-DNuG5l9W.js";
|
|
3
3
|
function H(t, e) {
|
|
4
4
|
Z(t, e);
|