@everymatrix/player-account-controller 1.54.11 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralLogout-BW6b3iuS.cjs +8 -0
- package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DMvKimEo.js} +735 -713
- package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-GS7gE3LI.js} +610 -588
- package/components/{PlayerAccountBettingHistory-Cb8OMNy9.cjs → PlayerAccountBettingHistory-BsFzBNDY.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-DUgPRDra.js} +24 -24
- package/components/{PlayerAccountBettingHistory-C6G8D9gE.js → PlayerAccountBettingHistory-YNLbWHxl.js} +24 -24
- package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-BrlNlZ5N.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-CARn4eVu.js} +26 -26
- package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-CXLK5_xT.js} +26 -26
- package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-BQsYcTs7.js} +13 -13
- package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-BkKcpa4J.js} +13 -13
- package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-DfJc6Ip_.cjs} +1 -1
- package/components/{PlayerAccountController-DYgabEdS.js → PlayerAccountController-5iMZlx1a.js} +128 -128
- package/components/{PlayerAccountController-BuXBBarM.cjs → PlayerAccountController-7FPLehfk.cjs} +1 -1
- package/components/{PlayerAccountController-B1T1aFdb.js → PlayerAccountController-BhRqOpNe.js} +126 -126
- package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-B2-Mgazd.js} +19 -19
- package/components/{PlayerAccountGamingLimits-DbX9_Kpb.cjs → PlayerAccountGamingLimits-BPQrptbd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-DwpArRnO.js} +19 -19
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-DefxnTKN.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs → PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js} +51 -51
- package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-Cj7PXLH2.js} +51 -51
- package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-2NpX8p0k.js} +44 -44
- package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-DF8kvIf6.js} +46 -46
- package/components/{PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs → PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-CNvQOw3A.js} +95 -95
- package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js} +95 -95
- package/components/{PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs → PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-C7_DGAt1.js} +72 -72
- package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js} +122 -122
- package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BlCz3nIH.js} +17 -17
- package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-Bt4YlCWi.js} +17 -17
- package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js → PlayerAccountGamingLimitsWrapper2-D3tW5CCc.js} +8 -8
- package/components/{PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs → PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js → PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js} +8 -8
- package/components/{PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs → PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-D3u9X3Q6.js} +39 -39
- package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-SjPp-PVG.js} +39 -39
- package/components/{PlayerAccountMenu-VCDFEkVV.js → PlayerAccountMenu-5esyJ_VN.js} +20 -20
- package/components/{PlayerAccountMenu-kULPvwXH.cjs → PlayerAccountMenu-C704oUrC.cjs} +1 -1
- package/components/{PlayerAccountMenu-Bnj75Pyr.js → PlayerAccountMenu-DgptA72k.js} +17 -17
- package/components/{PlayerAccountModal-BGNjm-FU.js → PlayerAccountModal-BnWL5726.js} +28 -28
- package/components/{PlayerAccountModal-DLxnK5Aq.cjs → PlayerAccountModal-C7aZZlBw.cjs} +1 -1
- package/components/{PlayerAccountModal-d2eY7pgp.js → PlayerAccountModal-CbLpkfXY.js} +28 -28
- package/components/{PlayerAccountNotifications-BkPn9o0x.js → PlayerAccountNotifications-B02Ownhe.js} +16 -16
- package/components/{PlayerAccountNotifications-DwHaboef.js → PlayerAccountNotifications-C-lyz5dM.js} +16 -16
- package/components/{PlayerAccountNotifications-DLpnh54-.cjs → PlayerAccountNotifications-DkgHtUGj.cjs} +1 -1
- package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +4171 -0
- package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-BkK_LRpi.js} +9840 -9439
- package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-D6Kby-08.js} +9320 -8965
- package/components/{PlayerAccountTimeout-DX8TE-kL.cjs → PlayerAccountTimeout-DMbUPtRy.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-DWNG3Mes.js} +25 -25
- package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-tPNVqlAT.js} +25 -25
- package/components/PlayerActiveBonuses-B9jz3QD8.cjs +1 -0
- package/components/{PlayerActiveBonuses-DZ1TuekM.js → PlayerActiveBonuses-SCbHFBuw.js} +392 -443
- package/components/{PlayerActiveBonuses-WBu-rYFj.js → PlayerActiveBonuses-dRIcHoZG.js} +415 -466
- package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-8uOU9OLG.js} +50 -50
- package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-BC8FfHZz.cjs} +1 -1
- package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-Cppd6wFF.js} +50 -50
- package/components/{PlayerBonusHistory-C7m0o7Yl.js → PlayerBonusHistory-44sPM1i7.js} +30 -30
- package/components/{PlayerBonusHistory-D-qDx10G.cjs → PlayerBonusHistory-D2YSJiqi.cjs} +1 -1
- package/components/{PlayerBonusHistory-DDNLaEBO.js → PlayerBonusHistory-DWvXjCPO.js} +30 -30
- package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-CzR4Xz0H.cjs} +1 -1
- package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-N_UEFJNT.js} +103 -103
- package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-OM9U8MSx.js} +103 -103
- package/components/PlayerDeposit-CwMvcnsj.js +414 -0
- package/components/PlayerDeposit-D_78W5GC.cjs +1 -0
- package/components/PlayerDeposit-Q2N0Y2_v.js +414 -0
- package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-BLQD-WyT.js} +54 -54
- package/components/{PlayerGamingHistory-CcFH-mIk.cjs → PlayerGamingHistory-DRkPp9aG.cjs} +1 -1
- package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-XiAb60Gu.js} +59 -59
- package/components/{PlayerPendingWithdrawals-BvhoX5n1.cjs → PlayerPendingWithdrawals-BG3I8ifu.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BSTgce9H.js} +33 -33
- package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-BsCRRPqb.js} +33 -33
- package/components/{PlayerProfileInfo-B6I2vv_G.js → PlayerProfileInfo-C7zRlD3p.js} +163 -159
- package/components/{PlayerProfileInfo-Bx9bKldG.cjs → PlayerProfileInfo-CGsJydqv.cjs} +1 -1
- package/components/{PlayerProfileInfo-Baoz1CHE.js → PlayerProfileInfo-zmbAMe_l.js} +154 -150
- package/components/{PlayerRealityCheck-6ZyJUl5U.js → PlayerRealityCheck-A_mZq3YZ.js} +27 -27
- package/components/{PlayerRealityCheck-DMI_8YfG.cjs → PlayerRealityCheck-C26ZBWae.cjs} +1 -1
- package/components/{PlayerRealityCheck-CzPyJQgR.js → PlayerRealityCheck-D7u9BzPV.js} +26 -26
- package/components/{PlayerTransactionHistory-Dj8ABxFp.cjs → PlayerTransactionHistory-CJqhYnbs.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CSK3J3Na.js → PlayerTransactionHistory-DllIB_qE.js} +23 -23
- package/components/{PlayerTransactionHistory-DmTfwUdw.js → PlayerTransactionHistory-DsRmd4u6.js} +23 -23
- package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-CGSnHppy.js} +20 -20
- package/components/{PlayerWithdrawal-BwymNFiL.cjs → PlayerWithdrawal-GDc_7hZX.cjs} +1 -1
- package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-t5mlX5CD.js} +20 -20
- 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_9-9b62GyCW.js → checkbox-group-input_9-Cny9rOs9.js} +2490 -3376
- package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-DZvX2H_r.js} +2434 -3306
- package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +2104 -0
- package/stencil/{general-input-BXIgsD0E.js → general-input-Yj_LRx0v.js} +6 -6
- package/stencil/{general-input-CwyM4h8z.js → general-input-d5RULL12.js} +6 -6
- package/stencil/general-input-igTYIJ6W.cjs +1 -0
- package/stencil/index-0437c9c0-BwGFk0Yq.js +565 -0
- package/stencil/index-0437c9c0-C_oD9Yfn.js +592 -0
- package/stencil/index-0437c9c0-oCxuDVFQ.cjs +1 -0
- package/stencil/index-657e7a14-B7-RqEpB.js +572 -0
- package/stencil/index-657e7a14-CrrA_w_5.cjs +1 -0
- package/stencil/index-657e7a14-DW4SbCqy.js +588 -0
- package/stencil/index-72d2f0c7--qtpsDOz.js +642 -0
- package/stencil/index-72d2f0c7-DldCMjBJ.cjs +1 -0
- package/stencil/index-72d2f0c7-DyMEJXra.js +626 -0
- package/stencil/index-e8249896-BjtvOmsZ.cjs +1 -0
- package/stencil/index-e8249896-CM_igLvD.js +658 -0
- package/stencil/index-e8249896-DW1YiUqn.js +631 -0
- package/stencil/password-input_2-CHOu4hgw.js +1420 -0
- package/stencil/password-input_2-DQAgV1SZ.cjs +896 -0
- package/stencil/password-input_2-DaiHlKbQ.js +1420 -0
- package/stencil/{player-change-password-gm2-2de114b8-j-W8UbVm.cjs → player-change-password-gm2-780eb445-CdItmoKI.cjs} +1 -1
- package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-780eb445-Cg8Z75Vz.js} +3 -3
- package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-780eb445-DEjz9Jjk.js} +3 -3
- package/stencil/{player-change-password-gm2-DLw7pfT_.cjs → player-change-password-gm2-BR82_Y4L.cjs} +1 -1
- package/stencil/{player-change-password-gm2-BDCYchnQ.js → player-change-password-gm2-DlMNv4hv.js} +1 -1
- package/stencil/{player-change-password-gm2-CQtvRl58.js → player-change-password-gm2-FHUeecdE.js} +1 -1
- package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CZy8RShe.js} +43 -43
- package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-DuUII5AF.js} +39 -39
- package/stencil/{player-kyc-verification-CnOn9bB_.cjs → player-kyc-verification-DxpMnJ6t.cjs} +2 -2
- package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-Co64_7cm.js} +7 -7
- package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-ErX2Ngat.js} +7 -7
- package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-BZXlCCQr.cjs → user-deposit-withdrawal-Cum51n64.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-DRo4MaOR.js} +24 -24
- package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-DsEm--6b.js} +24 -24
- package/stencil/{user-transaction-history-DW482EoT.js → user-transaction-history-BpBJPUwq.js} +10 -10
- package/stencil/{user-transaction-history-CLdEzp7O.cjs → user-transaction-history-C3_7vgUY.cjs} +1 -1
- package/stencil/{user-transaction-history-CtDvqHoF.js → user-transaction-history-ClGHRdoQ.js} +7 -7
- package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +3018 -0
- package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-6001b2a6-CZwj1qjO.js} +5818 -5228
- package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-6001b2a6-Dqz5Vp8D.js} +3935 -3299
- package/components/GeneralLogout-CMYMtWfC.cjs +0 -8
- package/components/PlayerAccountSelfExclusion-Dlkeebgy.cjs +0 -3557
- package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
- package/components/PlayerDeposit-B04mpHHT.js +0 -395
- package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
- package/components/PlayerDeposit-DJXOEJyq.js +0 -395
- package/stencil/checkbox-group-input_9-B0JD93gn.cjs +0 -2045
- package/stencil/general-input-BL1L8PI-.cjs +0 -1
- package/stencil/index-0a27499c-BaAMIKJI.js +0 -724
- package/stencil/index-0a27499c-DaAhyku1.js +0 -697
- package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
- package/stencil/index-1d58b17d-BREebYgt.js +0 -658
- package/stencil/index-1d58b17d-CY3tvLdR.js +0 -631
- package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
- package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
- package/stencil/index-45f4006f-D9GyS-vs.js +0 -638
- package/stencil/index-45f4006f-DKAxZFDZ.js +0 -654
- package/stencil/index-92b64862-Bnmv00O2.js +0 -708
- package/stencil/index-92b64862-CK1ANWGa.cjs +0 -1
- package/stencil/index-92b64862-CO3_TP5h.js +0 -692
- package/stencil/password-input_2-B5ePukhS.js +0 -569
- package/stencil/password-input_2-D3ziy4Iu.cjs +0 -105
- package/stencil/password-input_2-ZN0C3aqj.js +0 -569
- package/stencil/toggle-checkbox-input-n5b3s-CU.cjs +0 -1
- package/stencil/vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs +0 -2385
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BW6b3iuS.cjs");function C(n,e){t.addMessages(n,e)}function O(n){t.$locale.set(n)}const D={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 j(n){t.append_styles(n,"svelte-8qett1",`@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, #D0046C));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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,i,p,m,_,h,o,a,y,B,b=n[4]("titleBettingHistory")+"",u,r,w;return{c(){e=t.element("div"),i=t.svg_element("svg"),p=t.svg_element("defs"),m=t.svg_element("style"),_=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),h=t.svg_element("g"),o=t.svg_element("g"),a=t.svg_element("path"),y=t.space(),B=t.element("h2"),u=t.text(b),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(o,"transform","translate(20 158)"),t.attr(h,"transform","translate(-20 -158)"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"width","15"),t.attr(i,"height","15"),t.attr(i,"viewBox","0 0 15 15"),t.attr(B,"class","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(f,l){t.insert(f,e,l),t.append(e,i),t.append(i,p),t.append(p,m),t.append(m,_),t.append(i,h),t.append(h,o),t.append(o,a),t.append(e,y),t.append(e,B),t.append(B,u),r||(w=t.listen(e,"click",n[13]),r=!0)},p(f,l){l&16&&b!==(b=f[4]("titleBettingHistory")+"")&&t.set_data(u,b)},d(f){f&&t.detach(e),r=!1,w()}}}function I(n){return{c:t.noop,m:t.noop,d:t.noop}}function E(n){let e,i,p,m=n[4]("bettingHistory.title")+"",_,h,o,a,y=n[4]("bettingHistory.openBets")+"",B,b,u,r=n[4]("bettingHistory.settledBets")+"",w,f,l,T,v,S,k,A,H=n[5]&&x(n),g=n[3]==="true"&&n[1]&&I();return{c(){e=t.element("div"),H&&H.c(),i=t.space(),p=t.element("h2"),_=t.text(m),h=t.space(),o=t.element("div"),a=t.element("button"),B=t.text(y),b=t.space(),u=t.element("button"),w=t.text(r),f=t.space(),l=t.element("om-betting-history-list"),T=t.space(),g&&g.c(),v=t.space(),S=t.element("div"),t.attr(p,"class","BettingHistoryTitle "+(n[5]?"BettingHistoryTitleNone":"")),t.attr(p,"part","`BettingHistoryTitleMobile"),t.attr(a,"class","BettingHistoryButton "+(n[5]?"BettingHistoryButtonMobile":"")),t.toggle_class(a,"BettingHistoryButtonSelected",n[0]==="openBets"),t.attr(u,"class","BettingHistoryButton"),t.toggle_class(u,"BettingHistoryButtonSelected",n[0]==="settledBets"),t.toggle_class(u,"mobile",n[5]),t.attr(o,"class","BettingHistoryTabs"),t.set_custom_element_data(l,"bet-status",n[0]),t.set_custom_element_data(l,"item-layout","V2"),t.set_custom_element_data(l,"match-score-layout","v2"),t.set_custom_element_data(l,"match-score-scope","BHDetailed"),t.set_custom_element_data(l,"date-format","dd.mm.yyyy"),t.set_custom_element_data(l,"time-format","HH:MM"),t.set_custom_element_data(l,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(l,"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(c,s){t.insert(c,e,s),H&&H.m(e,null),t.append(e,i),t.append(e,p),t.append(p,_),t.append(e,h),t.append(e,o),t.append(o,a),t.append(a,B),t.append(o,b),t.append(o,u),t.append(u,w),t.append(e,f),t.append(e,l),t.append(e,T),g&&g.m(e,null),t.append(e,v),t.append(e,S),n[16](e),k||(A=[t.listen(a,"click",n[14]),t.listen(u,"click",n[15]),t.listen(l,"routeChange",n[8])],k=!0)},p(c,[s]){c[5]&&H.p(c,s),s&16&&m!==(m=c[4]("bettingHistory.title")+"")&&t.set_data(_,m),s&16&&y!==(y=c[4]("bettingHistory.openBets")+"")&&t.set_data(B,y),s&1&&t.toggle_class(a,"BettingHistoryButtonSelected",c[0]==="openBets"),s&16&&r!==(r=c[4]("bettingHistory.settledBets")+"")&&t.set_data(w,r),s&1&&t.toggle_class(u,"BettingHistoryButtonSelected",c[0]==="settledBets"),s&1&&t.set_custom_element_data(l,"bet-status",c[0]),c[3]==="true"&&c[1]?g||(g=I(),g.c(),g.m(e,v)):g&&(g.d(1),g=null)},i:t.noop,o:t.noop,d(c){c&&t.detach(e),H&&H.d(),g&&g.d(),n[16](null),k=!1,t.run_all(A)}}}function P(n,e,i){let p;t.component_subscribe(n,t.$format,s=>i(4,p=s));let{betstatus:m="openBets"}=e,{lang:_="en"}=e,{selectedBetId:h=null}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,{translationurl:y=""}=e,B="false",b=window.navigator.userAgent,u=t.getDevice(b)!=="PC",r;const w=()=>{fetch(y).then(d=>d.json()).then(d=>{Object.keys(d).forEach(M=>{C(M,d[M])})}).catch(d=>{console.log(d)})};Object.entries(D).forEach(([s,d])=>{C(s,d)});const f=s=>{i(0,m=s)},l=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:u},window.location.href)},T=s=>{const{betId:d}=s.detail.params;i(1,h=d),i(3,B="true")},v=s=>{var d;((d=s.data)==null?void 0:d.type)==="ModalClosed"&&i(3,B="false")},S=()=>{let s=document.createElement("style");s.innerHTML=o,r.appendChild(s)},k=()=>{let s=new URL(a),d=document.createElement("style");fetch(s.href).then(M=>M.text()).then(M=>{d.innerHTML=M,setTimeout(()=>{r.appendChild(d)},1)})};t.onMount(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)}));const A=()=>l(),H=()=>f("openBets"),g=()=>f("settledBets");function c(s){t.binding_callbacks[s?"unshift":"push"](()=>{r=s,i(2,r)})}return n.$$set=s=>{"betstatus"in s&&i(0,m=s.betstatus),"lang"in s&&i(9,_=s.lang),"selectedBetId"in s&&i(1,h=s.selectedBetId),"clientstyling"in s&&i(10,o=s.clientstyling),"clientstylingurl"in s&&i(11,a=s.clientstylingurl),"translationurl"in s&&i(12,y=s.translationurl)},n.$$.update=()=>{n.$$.dirty&512&&_&&O(_),n.$$.dirty&1028&&o&&r&&S(),n.$$.dirty&2052&&a&&r&&k(),n.$$.dirty&4096&&y&&w()},[m,h,r,B,p,u,f,l,T,_,o,a,y,A,H,g,c]}class L extends t.SvelteComponent{constructor(e){super(),t.init(this,e,P,E,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,translationurl:12},j)}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 translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(L,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as V, $ as F, S as G, i as Z,
|
|
1
|
+
import { a as V, $ as F, S as G, i as Z, f as C, c as J, s as K, b as Q, e as M, d as k, t as j, g as r, h as I, j as v, k as W, l as i, m as R, n as q, o as x, p as z, r as X, q as Y, u as $, v as tt, w as D, x as et, y as st } from "./GeneralLogout-GS7gE3LI.js";
|
|
2
2
|
function N(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
@@ -48,7 +48,7 @@ const nt = {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
function lt(s) {
|
|
51
|
-
|
|
51
|
+
Q(s, "svelte-8qett1", `@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, #D0046C));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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 ot(s) {
|
|
54
54
|
let t, n, y, B, b, H, a, o, p, f, w = (
|
|
@@ -57,10 +57,10 @@ function ot(s) {
|
|
|
57
57
|
), d, c, S;
|
|
58
58
|
return {
|
|
59
59
|
c() {
|
|
60
|
-
t = M("div"), n = D("svg"), y = D("defs"), B = D("style"), b =
|
|
60
|
+
t = M("div"), n = D("svg"), y = D("defs"), B = D("style"), b = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), H = D("g"), a = D("g"), o = D("path"), p = k(), f = M("h2"), d = j(w), r(o, "class", "aaa"), r(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), r(o, "transform", "translate(15 15) rotate(180)"), r(a, "transform", "translate(20 158)"), r(H, "transform", "translate(-20 -158)"), r(n, "xmlns", "http://www.w3.org/2000/svg"), r(n, "width", "15"), r(n, "height", "15"), r(n, "viewBox", "0 0 15 15"), r(f, "class", "BettingHistoryTitleMobile"), r(t, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(h, l) {
|
|
63
|
-
|
|
63
|
+
W(h, t, l), i(t, n), i(n, y), i(y, B), i(B, b), i(n, H), i(H, a), i(a, o), i(t, p), i(t, f), i(f, d), c || (S = R(
|
|
64
64
|
t,
|
|
65
65
|
"click",
|
|
66
66
|
/*click_handler*/
|
|
@@ -70,15 +70,15 @@ function ot(s) {
|
|
|
70
70
|
p(h, l) {
|
|
71
71
|
l & /*$_*/
|
|
72
72
|
16 && w !== (w = /*$_*/
|
|
73
|
-
h[4]("titleBettingHistory") + "") &&
|
|
73
|
+
h[4]("titleBettingHistory") + "") && q(d, w);
|
|
74
74
|
},
|
|
75
75
|
d(h) {
|
|
76
|
-
h &&
|
|
76
|
+
h && z(t), c = !1, S();
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
function U(s) {
|
|
81
|
-
return { c:
|
|
81
|
+
return { c: x, m: x, d: x };
|
|
82
82
|
}
|
|
83
83
|
function rt(s) {
|
|
84
84
|
let t, n, y, B = (
|
|
@@ -100,7 +100,7 @@ function rt(s) {
|
|
|
100
100
|
);
|
|
101
101
|
return {
|
|
102
102
|
c() {
|
|
103
|
-
t = M("div"), _ && _.c(), n = k(), y = M("h2"), b =
|
|
103
|
+
t = M("div"), _ && _.c(), n = k(), y = M("h2"), b = j(B), H = k(), a = M("div"), o = M("button"), f = j(p), w = k(), d = M("button"), S = j(c), h = k(), l = M("om-betting-history-list"), E = k(), g && g.c(), T = k(), L = M("div"), r(y, "class", "BettingHistoryTitle " + /*isMobile*/
|
|
104
104
|
(s[5] ? "BettingHistoryTitleNone" : "")), r(y, "part", "`BettingHistoryTitleMobile"), r(o, "class", "BettingHistoryButton " + /*isMobile*/
|
|
105
105
|
(s[5] ? "BettingHistoryButtonMobile" : "")), I(
|
|
106
106
|
o,
|
|
@@ -130,20 +130,20 @@ function rt(s) {
|
|
|
130
130
|
);
|
|
131
131
|
},
|
|
132
132
|
m(u, e) {
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
W(u, t, e), _ && _.m(t, null), i(t, n), i(t, y), i(y, b), i(t, H), i(t, a), i(a, o), i(o, f), i(a, w), i(a, d), i(d, S), i(t, h), i(t, l), i(t, E), g && g.m(t, null), i(t, T), i(t, L), s[16](t), O || (P = [
|
|
134
|
+
R(
|
|
135
135
|
o,
|
|
136
136
|
"click",
|
|
137
137
|
/*click_handler_1*/
|
|
138
138
|
s[14]
|
|
139
139
|
),
|
|
140
|
-
|
|
140
|
+
R(
|
|
141
141
|
d,
|
|
142
142
|
"click",
|
|
143
143
|
/*click_handler_2*/
|
|
144
144
|
s[15]
|
|
145
145
|
),
|
|
146
|
-
|
|
146
|
+
R(
|
|
147
147
|
l,
|
|
148
148
|
"routeChange",
|
|
149
149
|
/*handleMoreDetails*/
|
|
@@ -155,9 +155,9 @@ function rt(s) {
|
|
|
155
155
|
/*isMobile*/
|
|
156
156
|
u[5] && _.p(u, e), e & /*$_*/
|
|
157
157
|
16 && B !== (B = /*$_*/
|
|
158
|
-
u[4]("bettingHistory.title") + "") &&
|
|
158
|
+
u[4]("bettingHistory.title") + "") && q(b, B), e & /*$_*/
|
|
159
159
|
16 && p !== (p = /*$_*/
|
|
160
|
-
u[4]("bettingHistory.openBets") + "") &&
|
|
160
|
+
u[4]("bettingHistory.openBets") + "") && q(f, p), e & /*betstatus*/
|
|
161
161
|
1 && I(
|
|
162
162
|
o,
|
|
163
163
|
"BettingHistoryButtonSelected",
|
|
@@ -165,7 +165,7 @@ function rt(s) {
|
|
|
165
165
|
u[0] === "openBets"
|
|
166
166
|
), e & /*$_*/
|
|
167
167
|
16 && c !== (c = /*$_*/
|
|
168
|
-
u[4]("bettingHistory.settledBets") + "") &&
|
|
168
|
+
u[4]("bettingHistory.settledBets") + "") && q(S, c), e & /*betstatus*/
|
|
169
169
|
1 && I(
|
|
170
170
|
d,
|
|
171
171
|
"BettingHistoryButtonSelected",
|
|
@@ -181,17 +181,17 @@ function rt(s) {
|
|
|
181
181
|
u[3] === "true" && /*selectedBetId*/
|
|
182
182
|
u[1] ? g || (g = U(), g.c(), g.m(t, T)) : g && (g.d(1), g = null);
|
|
183
183
|
},
|
|
184
|
-
i:
|
|
185
|
-
o:
|
|
184
|
+
i: x,
|
|
185
|
+
o: x,
|
|
186
186
|
d(u) {
|
|
187
|
-
u &&
|
|
187
|
+
u && z(t), _ && _.d(), g && g.d(), s[16](null), O = !1, X(P);
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
191
|
function at(s, t, n) {
|
|
192
192
|
let y;
|
|
193
|
-
|
|
194
|
-
let { betstatus: B = "openBets" } = t, { lang: b = "en" } = t, { selectedBetId: H = null } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: p = "" } = t, f = "false", w = window.navigator.userAgent, d =
|
|
193
|
+
Y(s, st, (e) => n(4, y = e));
|
|
194
|
+
let { betstatus: B = "openBets" } = t, { lang: b = "en" } = t, { selectedBetId: H = null } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: p = "" } = t, f = "false", w = window.navigator.userAgent, d = $(w) !== "PC", c;
|
|
195
195
|
const S = () => {
|
|
196
196
|
fetch(p).then((m) => m.json()).then((m) => {
|
|
197
197
|
Object.keys(m).forEach((A) => {
|
|
@@ -233,12 +233,12 @@ function at(s, t, n) {
|
|
|
233
233
|
);
|
|
234
234
|
});
|
|
235
235
|
};
|
|
236
|
-
|
|
236
|
+
tt(() => (window.addEventListener("message", T, !1), () => {
|
|
237
237
|
window.removeEventListener("message", T);
|
|
238
238
|
}));
|
|
239
239
|
const P = () => l(), _ = () => h("openBets"), g = () => h("settledBets");
|
|
240
240
|
function u(e) {
|
|
241
|
-
|
|
241
|
+
et[e ? "unshift" : "push"](() => {
|
|
242
242
|
c = e, n(2, c);
|
|
243
243
|
});
|
|
244
244
|
}
|
|
@@ -277,7 +277,7 @@ class ct extends G {
|
|
|
277
277
|
t,
|
|
278
278
|
at,
|
|
279
279
|
rt,
|
|
280
|
-
|
|
280
|
+
K,
|
|
281
281
|
{
|
|
282
282
|
betstatus: 0,
|
|
283
283
|
lang: 9,
|
|
@@ -326,7 +326,7 @@ class ct extends G {
|
|
|
326
326
|
this.$$set({ translationurl: t }), C();
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
J(ct, { betstatus: {}, lang: {}, selectedBetId: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
330
330
|
export {
|
|
331
331
|
ct as default
|
|
332
332
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as V, $ as F, S as G, i as Z,
|
|
1
|
+
import { a as V, $ as F, S as G, i as Z, f as C, c as J, s as K, b as Q, e as M, d as k, t as j, g as r, h as I, j as v, k as W, l as i, m as R, n as q, o as x, p as z, r as X, q as Y, u as $, v as tt, w as D, x as et, y as st } from "./GeneralLogout-DMvKimEo.js";
|
|
2
2
|
function N(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
@@ -48,7 +48,7 @@ const nt = {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
function lt(s) {
|
|
51
|
-
|
|
51
|
+
Q(s, "svelte-8qett1", `@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, #D0046C));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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 ot(s) {
|
|
54
54
|
let t, n, y, B, b, H, a, o, p, f, w = (
|
|
@@ -57,10 +57,10 @@ function ot(s) {
|
|
|
57
57
|
), g, c, S;
|
|
58
58
|
return {
|
|
59
59
|
c() {
|
|
60
|
-
t = M("div"), n = D("svg"), y = D("defs"), B = D("style"), b =
|
|
60
|
+
t = M("div"), n = D("svg"), y = D("defs"), B = D("style"), b = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), H = D("g"), a = D("g"), o = D("path"), p = k(), f = M("h2"), g = j(w), r(o, "class", "aaa"), r(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), r(o, "transform", "translate(15 15) rotate(180)"), r(a, "transform", "translate(20 158)"), r(H, "transform", "translate(-20 -158)"), r(n, "xmlns", "http://www.w3.org/2000/svg"), r(n, "width", "15"), r(n, "height", "15"), r(n, "viewBox", "0 0 15 15"), r(f, "class", "BettingHistoryTitleMobile"), r(t, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(h, l) {
|
|
63
|
-
|
|
63
|
+
W(h, t, l), i(t, n), i(n, y), i(y, B), i(B, b), i(n, H), i(H, a), i(a, o), i(t, p), i(t, f), i(f, g), c || (S = R(
|
|
64
64
|
t,
|
|
65
65
|
"click",
|
|
66
66
|
/*click_handler*/
|
|
@@ -70,15 +70,15 @@ function ot(s) {
|
|
|
70
70
|
p(h, l) {
|
|
71
71
|
l & /*$_*/
|
|
72
72
|
16 && w !== (w = /*$_*/
|
|
73
|
-
h[4]("titleBettingHistory") + "") &&
|
|
73
|
+
h[4]("titleBettingHistory") + "") && q(g, w);
|
|
74
74
|
},
|
|
75
75
|
d(h) {
|
|
76
|
-
h &&
|
|
76
|
+
h && z(t), c = !1, S();
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
function U(s) {
|
|
81
|
-
return { c:
|
|
81
|
+
return { c: x, m: x, d: x };
|
|
82
82
|
}
|
|
83
83
|
function rt(s) {
|
|
84
84
|
let t, n, y, B = (
|
|
@@ -100,7 +100,7 @@ function rt(s) {
|
|
|
100
100
|
);
|
|
101
101
|
return {
|
|
102
102
|
c() {
|
|
103
|
-
t = M("div"), _ && _.c(), n = k(), y = M("h2"), b =
|
|
103
|
+
t = M("div"), _ && _.c(), n = k(), y = M("h2"), b = j(B), H = k(), a = M("div"), o = M("button"), f = j(p), w = k(), g = M("button"), S = j(c), h = k(), l = M("om-betting-history-list"), E = k(), m && m.c(), T = k(), L = M("div"), r(y, "class", "BettingHistoryTitle " + /*isMobile*/
|
|
104
104
|
(s[5] ? "BettingHistoryTitleNone" : "")), r(y, "part", "`BettingHistoryTitleMobile"), r(o, "class", "BettingHistoryButton " + /*isMobile*/
|
|
105
105
|
(s[5] ? "BettingHistoryButtonMobile" : "")), I(
|
|
106
106
|
o,
|
|
@@ -130,20 +130,20 @@ function rt(s) {
|
|
|
130
130
|
);
|
|
131
131
|
},
|
|
132
132
|
m(u, e) {
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
W(u, t, e), _ && _.m(t, null), i(t, n), i(t, y), i(y, b), i(t, H), i(t, a), i(a, o), i(o, f), i(a, w), i(a, g), i(g, S), i(t, h), i(t, l), i(t, E), m && m.m(t, null), i(t, T), i(t, L), s[16](t), O || (P = [
|
|
134
|
+
R(
|
|
135
135
|
o,
|
|
136
136
|
"click",
|
|
137
137
|
/*click_handler_1*/
|
|
138
138
|
s[14]
|
|
139
139
|
),
|
|
140
|
-
|
|
140
|
+
R(
|
|
141
141
|
g,
|
|
142
142
|
"click",
|
|
143
143
|
/*click_handler_2*/
|
|
144
144
|
s[15]
|
|
145
145
|
),
|
|
146
|
-
|
|
146
|
+
R(
|
|
147
147
|
l,
|
|
148
148
|
"routeChange",
|
|
149
149
|
/*handleMoreDetails*/
|
|
@@ -155,9 +155,9 @@ function rt(s) {
|
|
|
155
155
|
/*isMobile*/
|
|
156
156
|
u[5] && _.p(u, e), e & /*$_*/
|
|
157
157
|
16 && B !== (B = /*$_*/
|
|
158
|
-
u[4]("bettingHistory.title") + "") &&
|
|
158
|
+
u[4]("bettingHistory.title") + "") && q(b, B), e & /*$_*/
|
|
159
159
|
16 && p !== (p = /*$_*/
|
|
160
|
-
u[4]("bettingHistory.openBets") + "") &&
|
|
160
|
+
u[4]("bettingHistory.openBets") + "") && q(f, p), e & /*betstatus*/
|
|
161
161
|
1 && I(
|
|
162
162
|
o,
|
|
163
163
|
"BettingHistoryButtonSelected",
|
|
@@ -165,7 +165,7 @@ function rt(s) {
|
|
|
165
165
|
u[0] === "openBets"
|
|
166
166
|
), e & /*$_*/
|
|
167
167
|
16 && c !== (c = /*$_*/
|
|
168
|
-
u[4]("bettingHistory.settledBets") + "") &&
|
|
168
|
+
u[4]("bettingHistory.settledBets") + "") && q(S, c), e & /*betstatus*/
|
|
169
169
|
1 && I(
|
|
170
170
|
g,
|
|
171
171
|
"BettingHistoryButtonSelected",
|
|
@@ -181,17 +181,17 @@ function rt(s) {
|
|
|
181
181
|
u[3] === "true" && /*selectedBetId*/
|
|
182
182
|
u[1] ? m || (m = U(), m.c(), m.m(t, T)) : m && (m.d(1), m = null);
|
|
183
183
|
},
|
|
184
|
-
i:
|
|
185
|
-
o:
|
|
184
|
+
i: x,
|
|
185
|
+
o: x,
|
|
186
186
|
d(u) {
|
|
187
|
-
u &&
|
|
187
|
+
u && z(t), _ && _.d(), m && m.d(), s[16](null), O = !1, X(P);
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
191
|
function at(s, t, n) {
|
|
192
192
|
let y;
|
|
193
|
-
|
|
194
|
-
let { betstatus: B = "openBets" } = t, { lang: b = "en" } = t, { selectedBetId: H = null } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: p = "" } = t, f = "false", w = window.navigator.userAgent, g =
|
|
193
|
+
Y(s, st, (e) => n(4, y = e));
|
|
194
|
+
let { betstatus: B = "openBets" } = t, { lang: b = "en" } = t, { selectedBetId: H = null } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: p = "" } = t, f = "false", w = window.navigator.userAgent, g = $(w) !== "PC", c;
|
|
195
195
|
const S = () => {
|
|
196
196
|
fetch(p).then((d) => d.json()).then((d) => {
|
|
197
197
|
Object.keys(d).forEach((A) => {
|
|
@@ -234,12 +234,12 @@ function at(s, t, n) {
|
|
|
234
234
|
);
|
|
235
235
|
});
|
|
236
236
|
};
|
|
237
|
-
|
|
237
|
+
tt(() => (window.addEventListener("message", T, !1), () => {
|
|
238
238
|
window.removeEventListener("message", T);
|
|
239
239
|
}));
|
|
240
240
|
const P = () => l(), _ = () => h("openBets"), m = () => h("settledBets");
|
|
241
241
|
function u(e) {
|
|
242
|
-
|
|
242
|
+
et[e ? "unshift" : "push"](() => {
|
|
243
243
|
c = e, n(2, c);
|
|
244
244
|
});
|
|
245
245
|
}
|
|
@@ -278,7 +278,7 @@ class ct extends G {
|
|
|
278
278
|
t,
|
|
279
279
|
at,
|
|
280
280
|
rt,
|
|
281
|
-
|
|
281
|
+
K,
|
|
282
282
|
{
|
|
283
283
|
betstatus: 0,
|
|
284
284
|
lang: 9,
|
|
@@ -327,7 +327,7 @@ class ct extends G {
|
|
|
327
327
|
this.$$set({ translationurl: t }), C();
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
|
|
330
|
+
J(ct, { betstatus: {}, lang: {}, selectedBetId: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
331
331
|
export {
|
|
332
332
|
ct as default
|
|
333
333
|
};
|
package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-BrlNlZ5N.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CMYMtWfC.cjs");function M(i,e){t.addMessages(i,e)}function T(i){t.$locale.set(i)}const k={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 j(i){t.append_styles(i,"svelte-1cpvxby",".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, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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 .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function C(i){let e,r,h,o,m,l,p,a,s,u,g=i[2]("titleBiometrics")+"",v,B,y;return{c(){e=t.element("div"),r=t.svg_element("svg"),h=t.svg_element("defs"),o=t.svg_element("style"),m=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),l=t.svg_element("g"),p=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),u=t.element("h2"),v=t.text(g),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(l,"transform","translate(-20 -158)"),t.attr(r,"xmlns","http://www.w3.org/2000/svg"),t.attr(r,"width","15"),t.attr(r,"height","15"),t.attr(r,"viewBox","0 0 15 15"),t.attr(u,"class","BiometricsTitleMobile"),t.attr(u,"part","BiometricsTitleMobile"),t.attr(e,"class","MenuReturnButton"),t.attr(e,"part","MenuReturnButton")},m(f,w){t.insert(f,e,w),t.append(e,r),t.append(r,h),t.append(h,o),t.append(o,m),t.append(r,l),t.append(l,p),t.append(p,a),t.append(e,s),t.append(e,u),t.append(u,v),B||(y=t.listen(e,"click",i[10]),B=!0)},p(f,w){w&4&&g!==(g=f[2]("titleBiometrics")+"")&&t.set_data(v,g)},d(f){f&&t.detach(e),B=!1,y()}}}function U(i){let e,r,h,o,m=i[2]("titleBiometrics")+"",l,p,a,s,u=i[2]("descriptionParagraph1")+"",g,v,B,y=i[2]("descriptionParagraph2")+"",f,w,D,_,A=(i[0]==="true"?i[2]("btnDisableBiometrics"):i[2]("btnEnableBiometrics"))+"",E,n,b,c=i[3]&&C(i);return{c(){e=t.element("div"),r=t.element("div"),c&&c.c(),h=t.space(),o=t.element("h2"),l=t.text(m),p=t.space(),a=t.element("div"),s=t.element("p"),g=t.text(u),v=t.space(),B=t.element("p"),f=t.text(y),w=t.space(),D=t.element("div"),_=t.element("button"),E=t.text(A),t.attr(o,"class","BiometricsTitle "+(i[3]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(i[3]?"BiometricsDescriptionMobile":"")),t.attr(_,"class","BiometricsToggle"),t.attr(D,"class","BiometricsActionButtons "+(i[3]?"BiometricsActionButtonsMobile":"")),t.attr(r,"class","BiometricsWrapper "+(i[3]?"BiometricsWrapperMobile":""))},m(d,P){t.insert(d,e,P),t.append(e,r),c&&c.m(r,null),t.append(r,h),t.append(r,o),t.append(o,l),t.append(r,p),t.append(r,a),t.append(a,s),t.append(s,g),t.append(a,v),t.append(a,B),t.append(B,f),t.append(r,w),t.append(r,D),t.append(D,_),t.append(_,E),i[12](e),n||(b=t.listen(_,"click",i[11]),n=!0)},p(d,[P]){d[3]&&c.p(d,P),P&4&&m!==(m=d[2]("titleBiometrics")+"")&&t.set_data(l,m),P&4&&u!==(u=d[2]("descriptionParagraph1")+"")&&t.set_data(g,u),P&4&&y!==(y=d[2]("descriptionParagraph2")+"")&&t.set_data(f,y),P&5&&A!==(A=(d[0]==="true"?d[2]("btnDisableBiometrics"):d[2]("btnEnableBiometrics"))+"")&&t.set_data(E,A)},i:t.noop,o:t.noop,d(d){d&&t.detach(e),c&&c.d(),i[12](null),n=!1,b()}}}function Y(i,e,r){let h;t.component_subscribe(i,t.$format,n=>r(2,h=n));let{biometricsenabled:o="false"}=e,{lang:m="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:p=""}=e,{translationurl:a=""}=e,s,u=window.navigator.userAgent,g=t.getDevice(u)!=="PC";const v=()=>{fetch(a).then(b=>b.json()).then(b=>{Object.keys(b).forEach(c=>{M(c,b[c])})}).catch(b=>{console.log(b)})};Object.keys(k).forEach(n=>{M(n,k[n])});const B=()=>{let n=document.createElement("style");n.innerHTML=l,s.appendChild(n)},y=()=>{let n=new URL(p),b=document.createElement("style");fetch(n.href).then(c=>c.text()).then(c=>{b.innerHTML=c,setTimeout(()=>{s.appendChild(b)},1)})},f=()=>{T(m)},w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:g},window.location.href)},D=()=>{o==="true"?r(0,o="false"):o==="false"&&r(0,o="true"),window.postMessage({type:"ToggleBiometrics",data:o})},_=()=>w(),A=()=>D();function E(n){t.binding_callbacks[n?"unshift":"push"](()=>{s=n,r(1,s)})}return i.$$set=n=>{"biometricsenabled"in n&&r(0,o=n.biometricsenabled),"lang"in n&&r(6,m=n.lang),"clientstyling"in n&&r(7,l=n.clientstyling),"clientstylingurl"in n&&r(8,p=n.clientstylingurl),"translationurl"in n&&r(9,a=n.translationurl)},i.$$.update=()=>{i.$$.dirty&64&&m&&f(),i.$$.dirty&258&&p&&s&&y(),i.$$.dirty&130&&l&&s&&B(),i.$$.dirty&512&&a&&v()},[o,s,h,g,w,D,m,l,p,a,_,A,E]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Y,U,t.safe_not_equal,{biometricsenabled:0,lang:6,clientstyling:7,clientstylingurl:8,translationurl:9},j)}get biometricsenabled(){return this.$$.ctx[0]}set biometricsenabled(e){this.$$set({biometricsenabled:e}),t.flush()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(x,{biometricsenabled:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BW6b3iuS.cjs");function M(i,e){t.addMessages(i,e)}function T(i){t.$locale.set(i)}const k={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 j(i){t.append_styles(i,"svelte-1cpvxby",".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, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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 .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function C(i){let e,r,h,o,m,l,p,a,s,u,g=i[2]("titleBiometrics")+"",v,B,y;return{c(){e=t.element("div"),r=t.svg_element("svg"),h=t.svg_element("defs"),o=t.svg_element("style"),m=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),l=t.svg_element("g"),p=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),u=t.element("h2"),v=t.text(g),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(l,"transform","translate(-20 -158)"),t.attr(r,"xmlns","http://www.w3.org/2000/svg"),t.attr(r,"width","15"),t.attr(r,"height","15"),t.attr(r,"viewBox","0 0 15 15"),t.attr(u,"class","BiometricsTitleMobile"),t.attr(u,"part","BiometricsTitleMobile"),t.attr(e,"class","MenuReturnButton"),t.attr(e,"part","MenuReturnButton")},m(f,w){t.insert(f,e,w),t.append(e,r),t.append(r,h),t.append(h,o),t.append(o,m),t.append(r,l),t.append(l,p),t.append(p,a),t.append(e,s),t.append(e,u),t.append(u,v),B||(y=t.listen(e,"click",i[10]),B=!0)},p(f,w){w&4&&g!==(g=f[2]("titleBiometrics")+"")&&t.set_data(v,g)},d(f){f&&t.detach(e),B=!1,y()}}}function U(i){let e,r,h,o,m=i[2]("titleBiometrics")+"",l,p,a,s,u=i[2]("descriptionParagraph1")+"",g,v,B,y=i[2]("descriptionParagraph2")+"",f,w,D,_,A=(i[0]==="true"?i[2]("btnDisableBiometrics"):i[2]("btnEnableBiometrics"))+"",E,n,b,c=i[3]&&C(i);return{c(){e=t.element("div"),r=t.element("div"),c&&c.c(),h=t.space(),o=t.element("h2"),l=t.text(m),p=t.space(),a=t.element("div"),s=t.element("p"),g=t.text(u),v=t.space(),B=t.element("p"),f=t.text(y),w=t.space(),D=t.element("div"),_=t.element("button"),E=t.text(A),t.attr(o,"class","BiometricsTitle "+(i[3]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(i[3]?"BiometricsDescriptionMobile":"")),t.attr(_,"class","BiometricsToggle"),t.attr(D,"class","BiometricsActionButtons "+(i[3]?"BiometricsActionButtonsMobile":"")),t.attr(r,"class","BiometricsWrapper "+(i[3]?"BiometricsWrapperMobile":""))},m(d,P){t.insert(d,e,P),t.append(e,r),c&&c.m(r,null),t.append(r,h),t.append(r,o),t.append(o,l),t.append(r,p),t.append(r,a),t.append(a,s),t.append(s,g),t.append(a,v),t.append(a,B),t.append(B,f),t.append(r,w),t.append(r,D),t.append(D,_),t.append(_,E),i[12](e),n||(b=t.listen(_,"click",i[11]),n=!0)},p(d,[P]){d[3]&&c.p(d,P),P&4&&m!==(m=d[2]("titleBiometrics")+"")&&t.set_data(l,m),P&4&&u!==(u=d[2]("descriptionParagraph1")+"")&&t.set_data(g,u),P&4&&y!==(y=d[2]("descriptionParagraph2")+"")&&t.set_data(f,y),P&5&&A!==(A=(d[0]==="true"?d[2]("btnDisableBiometrics"):d[2]("btnEnableBiometrics"))+"")&&t.set_data(E,A)},i:t.noop,o:t.noop,d(d){d&&t.detach(e),c&&c.d(),i[12](null),n=!1,b()}}}function Y(i,e,r){let h;t.component_subscribe(i,t.$format,n=>r(2,h=n));let{biometricsenabled:o="false"}=e,{lang:m="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:p=""}=e,{translationurl:a=""}=e,s,u=window.navigator.userAgent,g=t.getDevice(u)!=="PC";const v=()=>{fetch(a).then(b=>b.json()).then(b=>{Object.keys(b).forEach(c=>{M(c,b[c])})}).catch(b=>{console.log(b)})};Object.keys(k).forEach(n=>{M(n,k[n])});const B=()=>{let n=document.createElement("style");n.innerHTML=l,s.appendChild(n)},y=()=>{let n=new URL(p),b=document.createElement("style");fetch(n.href).then(c=>c.text()).then(c=>{b.innerHTML=c,setTimeout(()=>{s.appendChild(b)},1)})},f=()=>{T(m)},w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:g},window.location.href)},D=()=>{o==="true"?r(0,o="false"):o==="false"&&r(0,o="true"),window.postMessage({type:"ToggleBiometrics",data:o})},_=()=>w(),A=()=>D();function E(n){t.binding_callbacks[n?"unshift":"push"](()=>{s=n,r(1,s)})}return i.$$set=n=>{"biometricsenabled"in n&&r(0,o=n.biometricsenabled),"lang"in n&&r(6,m=n.lang),"clientstyling"in n&&r(7,l=n.clientstyling),"clientstylingurl"in n&&r(8,p=n.clientstylingurl),"translationurl"in n&&r(9,a=n.translationurl)},i.$$.update=()=>{i.$$.dirty&64&&m&&f(),i.$$.dirty&258&&p&&s&&y(),i.$$.dirty&130&&l&&s&&B(),i.$$.dirty&512&&a&&v()},[o,s,h,g,w,D,m,l,p,a,_,A,E]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Y,U,t.safe_not_equal,{biometricsenabled:0,lang:6,clientstyling:7,clientstylingurl:8,translationurl:9},j)}get biometricsenabled(){return this.$$.ctx[0]}set biometricsenabled(e){this.$$set({biometricsenabled:e}),t.flush()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(x,{biometricsenabled:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=x;
|
package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-CARn4eVu.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as O, $ as N, S as W, i as H,
|
|
1
|
+
import { a as O, $ as N, S as W, i as H, f as j, c as q, s as I, b as K, e as B, d as C, t as x, g as a, k as S, l as o, m as F, n as U, o as Y, p as R, q as V, u as Z, w as k, x as G, y as J } from "./GeneralLogout-GS7gE3LI.js";
|
|
2
2
|
function z(e, t) {
|
|
3
3
|
O(e, t);
|
|
4
4
|
}
|
|
@@ -85,7 +85,7 @@ const L = {
|
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
function X(e) {
|
|
88
|
-
|
|
88
|
+
K(e, "svelte-1cpvxby", ".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, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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 .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
|
|
89
89
|
}
|
|
90
90
|
function $(e) {
|
|
91
91
|
let t, i, y, s, u, m, b, n, c, p, d = (
|
|
@@ -94,10 +94,10 @@ function $(e) {
|
|
|
94
94
|
), P, w, v;
|
|
95
95
|
return {
|
|
96
96
|
c() {
|
|
97
|
-
t = B("div"), i = k("svg"), y = k("defs"), s = k("style"), u =
|
|
97
|
+
t = B("div"), i = k("svg"), y = k("defs"), s = k("style"), u = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), m = k("g"), b = k("g"), n = k("path"), c = C(), p = B("h2"), P = x(d), a(n, "class", "aaa"), a(n, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), a(n, "transform", "translate(15 15) rotate(180)"), a(b, "transform", "translate(20 158)"), a(m, "transform", "translate(-20 -158)"), a(i, "xmlns", "http://www.w3.org/2000/svg"), a(i, "width", "15"), a(i, "height", "15"), a(i, "viewBox", "0 0 15 15"), a(p, "class", "BiometricsTitleMobile"), a(p, "part", "BiometricsTitleMobile"), a(t, "class", "MenuReturnButton"), a(t, "part", "MenuReturnButton");
|
|
98
98
|
},
|
|
99
99
|
m(h, D) {
|
|
100
|
-
|
|
100
|
+
S(h, t, D), o(t, i), o(i, y), o(y, s), o(s, u), o(i, m), o(m, b), o(b, n), o(t, c), o(t, p), o(p, P), w || (v = F(
|
|
101
101
|
t,
|
|
102
102
|
"click",
|
|
103
103
|
/*click_handler*/
|
|
@@ -107,10 +107,10 @@ function $(e) {
|
|
|
107
107
|
p(h, D) {
|
|
108
108
|
D & /*$_*/
|
|
109
109
|
4 && d !== (d = /*$_*/
|
|
110
|
-
h[2]("titleBiometrics") + "") &&
|
|
110
|
+
h[2]("titleBiometrics") + "") && U(P, d);
|
|
111
111
|
},
|
|
112
112
|
d(h) {
|
|
113
|
-
h &&
|
|
113
|
+
h && R(t), w = !1, v();
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
}
|
|
@@ -133,20 +133,20 @@ function tt(e) {
|
|
|
133
133
|
/*$_*/
|
|
134
134
|
e[2]("btnEnableBiometrics")
|
|
135
135
|
)) + ""
|
|
136
|
-
),
|
|
136
|
+
), T, r, f, l = (
|
|
137
137
|
/*isMobile*/
|
|
138
138
|
e[3] && $(e)
|
|
139
139
|
);
|
|
140
140
|
return {
|
|
141
141
|
c() {
|
|
142
|
-
t = B("div"), i = B("div"), l && l.c(), y =
|
|
142
|
+
t = B("div"), i = B("div"), l && l.c(), y = C(), s = B("h2"), m = x(u), b = C(), n = B("div"), c = B("p"), d = x(p), P = C(), w = B("p"), h = x(v), D = C(), A = B("div"), E = B("button"), T = x(M), a(s, "class", "BiometricsTitle " + /*isMobile*/
|
|
143
143
|
(e[3] ? "BiometricsTitleNone" : "")), a(n, "class", "BiometricsDescription " + /*isMobile*/
|
|
144
144
|
(e[3] ? "BiometricsDescriptionMobile" : "")), a(E, "class", "BiometricsToggle"), a(A, "class", "BiometricsActionButtons " + /*isMobile*/
|
|
145
145
|
(e[3] ? "BiometricsActionButtonsMobile" : "")), a(i, "class", "BiometricsWrapper " + /*isMobile*/
|
|
146
146
|
(e[3] ? "BiometricsWrapperMobile" : ""));
|
|
147
147
|
},
|
|
148
148
|
m(g, _) {
|
|
149
|
-
|
|
149
|
+
S(g, t, _), o(t, i), l && l.m(i, null), o(i, y), o(i, s), o(s, m), o(i, b), o(i, n), o(n, c), o(c, d), o(n, P), o(n, w), o(w, h), o(i, D), o(i, A), o(A, E), o(E, T), e[12](t), r || (f = F(
|
|
150
150
|
E,
|
|
151
151
|
"click",
|
|
152
152
|
/*click_handler_1*/
|
|
@@ -157,11 +157,11 @@ function tt(e) {
|
|
|
157
157
|
/*isMobile*/
|
|
158
158
|
g[3] && l.p(g, _), _ & /*$_*/
|
|
159
159
|
4 && u !== (u = /*$_*/
|
|
160
|
-
g[2]("titleBiometrics") + "") &&
|
|
160
|
+
g[2]("titleBiometrics") + "") && U(m, u), _ & /*$_*/
|
|
161
161
|
4 && p !== (p = /*$_*/
|
|
162
|
-
g[2]("descriptionParagraph1") + "") &&
|
|
162
|
+
g[2]("descriptionParagraph1") + "") && U(d, p), _ & /*$_*/
|
|
163
163
|
4 && v !== (v = /*$_*/
|
|
164
|
-
g[2]("descriptionParagraph2") + "") &&
|
|
164
|
+
g[2]("descriptionParagraph2") + "") && U(h, v), _ & /*biometricsenabled, $_*/
|
|
165
165
|
5 && M !== (M = /*biometricsenabled*/
|
|
166
166
|
(g[0] === "true" ? (
|
|
167
167
|
/*$_*/
|
|
@@ -169,19 +169,19 @@ function tt(e) {
|
|
|
169
169
|
) : (
|
|
170
170
|
/*$_*/
|
|
171
171
|
g[2]("btnEnableBiometrics")
|
|
172
|
-
)) + "") &&
|
|
172
|
+
)) + "") && U(T, M);
|
|
173
173
|
},
|
|
174
174
|
i: Y,
|
|
175
175
|
o: Y,
|
|
176
176
|
d(g) {
|
|
177
|
-
g &&
|
|
177
|
+
g && R(t), l && l.d(), e[12](null), r = !1, f();
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
function et(e, t, i) {
|
|
182
182
|
let y;
|
|
183
|
-
|
|
184
|
-
let { biometricsenabled: s = "false" } = t, { lang: u = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: n = "" } = t, c, p = window.navigator.userAgent, d =
|
|
183
|
+
V(e, J, (r) => i(2, y = r));
|
|
184
|
+
let { biometricsenabled: s = "false" } = t, { lang: u = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: n = "" } = t, c, p = window.navigator.userAgent, d = Z(p) !== "PC";
|
|
185
185
|
const P = () => {
|
|
186
186
|
fetch(n).then((f) => f.json()).then((f) => {
|
|
187
187
|
Object.keys(f).forEach((l) => {
|
|
@@ -223,8 +223,8 @@ function et(e, t, i) {
|
|
|
223
223
|
data: s
|
|
224
224
|
});
|
|
225
225
|
}, E = () => D(), M = () => A();
|
|
226
|
-
function
|
|
227
|
-
|
|
226
|
+
function T(r) {
|
|
227
|
+
G[r ? "unshift" : "push"](() => {
|
|
228
228
|
c = r, i(1, c);
|
|
229
229
|
});
|
|
230
230
|
}
|
|
@@ -249,7 +249,7 @@ function et(e, t, i) {
|
|
|
249
249
|
n,
|
|
250
250
|
E,
|
|
251
251
|
M,
|
|
252
|
-
|
|
252
|
+
T
|
|
253
253
|
];
|
|
254
254
|
}
|
|
255
255
|
class it extends W {
|
|
@@ -259,7 +259,7 @@ class it extends W {
|
|
|
259
259
|
t,
|
|
260
260
|
et,
|
|
261
261
|
tt,
|
|
262
|
-
|
|
262
|
+
I,
|
|
263
263
|
{
|
|
264
264
|
biometricsenabled: 0,
|
|
265
265
|
lang: 6,
|
|
@@ -274,34 +274,34 @@ class it extends W {
|
|
|
274
274
|
return this.$$.ctx[0];
|
|
275
275
|
}
|
|
276
276
|
set biometricsenabled(t) {
|
|
277
|
-
this.$$set({ biometricsenabled: t }),
|
|
277
|
+
this.$$set({ biometricsenabled: t }), j();
|
|
278
278
|
}
|
|
279
279
|
get lang() {
|
|
280
280
|
return this.$$.ctx[6];
|
|
281
281
|
}
|
|
282
282
|
set lang(t) {
|
|
283
|
-
this.$$set({ lang: t }),
|
|
283
|
+
this.$$set({ lang: t }), j();
|
|
284
284
|
}
|
|
285
285
|
get clientstyling() {
|
|
286
286
|
return this.$$.ctx[7];
|
|
287
287
|
}
|
|
288
288
|
set clientstyling(t) {
|
|
289
|
-
this.$$set({ clientstyling: t }),
|
|
289
|
+
this.$$set({ clientstyling: t }), j();
|
|
290
290
|
}
|
|
291
291
|
get clientstylingurl() {
|
|
292
292
|
return this.$$.ctx[8];
|
|
293
293
|
}
|
|
294
294
|
set clientstylingurl(t) {
|
|
295
|
-
this.$$set({ clientstylingurl: t }),
|
|
295
|
+
this.$$set({ clientstylingurl: t }), j();
|
|
296
296
|
}
|
|
297
297
|
get translationurl() {
|
|
298
298
|
return this.$$.ctx[9];
|
|
299
299
|
}
|
|
300
300
|
set translationurl(t) {
|
|
301
|
-
this.$$set({ translationurl: t }),
|
|
301
|
+
this.$$set({ translationurl: t }), j();
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
q(it, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
305
305
|
export {
|
|
306
306
|
it as default
|
|
307
307
|
};
|