@everymatrix/player-account-controller 1.89.2 → 1.90.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-DwKUSAQK.js → GeneralLogout-BHsqxE0N.js} +1 -1
- package/components/{GeneralLogout-CK9SkgMS.cjs → GeneralLogout-C0nKLTKm.cjs} +1 -1
- package/components/{GeneralLogout-B8AuYDjJ.js → GeneralLogout-DXKcKSIN.js} +1 -1
- package/components/{PlayerAccountBettingHistory-D_9N3VY3.js → PlayerAccountBettingHistory-B9rq_JIu.js} +1 -1
- package/components/{PlayerAccountBettingHistory-DsOjBddL.js → PlayerAccountBettingHistory-DUZINX_f.js} +1 -1
- package/components/{PlayerAccountBettingHistory-C7e6lha6.cjs → PlayerAccountBettingHistory-pB3xHVOk.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Cog5NPil.js → PlayerAccountBiometrics-8EVXdLlu.js} +2 -2
- package/components/{PlayerAccountBiometrics-BqF7nWZD.cjs → PlayerAccountBiometrics-B3GyqdVo.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DWfPPf5W.js → PlayerAccountBiometrics-NX7mY45S.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-0DRjNrRC.js → PlayerAccountBiometricsAction-DD-xlLpF.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-Ba-_947z.cjs → PlayerAccountBiometricsAction-DcMOCxJz.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-DWGyFCEc.js → PlayerAccountBiometricsAction-k7JEFB8C.js} +1 -1
- package/components/{PlayerAccountClosure-TAAa6D-D.cjs → PlayerAccountClosure-DlJszk3u.cjs} +1 -1
- package/components/{PlayerAccountClosure-Ts3px5Dz.js → PlayerAccountClosure-DnAp59St.js} +1 -1
- package/components/{PlayerAccountClosure-X-Y5dkFX.js → PlayerAccountClosure-fbhQZaLd.js} +1 -1
- package/components/{PlayerAccountController-DO_ekU0b.js → PlayerAccountController-Bc81Z5sj.js} +23 -23
- package/components/{PlayerAccountController-DZ1A20Dc.cjs → PlayerAccountController-CNp3v0iY.cjs} +2 -2
- package/components/{PlayerAccountController-XlIbs9l6.js → PlayerAccountController-DTrNKdle.js} +23 -23
- package/components/{PlayerAccountGamingLimits-BAHHObHU.js → PlayerAccountGamingLimits-BHokBA7k.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DWUtjYSm.js → PlayerAccountGamingLimits-Ciky6eV1.js} +2 -2
- package/components/{PlayerAccountGamingLimits-Bl1_G79h.cjs → PlayerAccountGamingLimits-D8NuHu_I.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CvpDxcGy.cjs → PlayerAccountGamingLimitsConfirmationModal-BHNCeVu5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CTYcGllP.js → PlayerAccountGamingLimitsConfirmationModal-DG2_oqpP.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-0JOKG0So.js → PlayerAccountGamingLimitsConfirmationModal-Dg4WAWcH.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-erAV45Fz.js → PlayerAccountGamingLimitsGroupEdit-B_DwZKCq.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-D-TBMVZI.js → PlayerAccountGamingLimitsGroupEdit-D5GI3xHD.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-C2bERWi6.cjs → PlayerAccountGamingLimitsGroupEdit-DN-TV_I3.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-8q9U3crX.js → PlayerAccountGamingLimitsHistory2-BgueS-uX.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Cg4HG6c4.cjs → PlayerAccountGamingLimitsHistory2-COsPJVSX.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-DVj8Blaq.js → PlayerAccountGamingLimitsHistory2-CoJPZfIN.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BBEZwHoS.js → PlayerAccountGamingLimitsInfoCard-BN2aBcm8.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-B6ZdYGKa.js → PlayerAccountGamingLimitsInfoCard-Di4iaYvU.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-q_87nCO-.cjs → PlayerAccountGamingLimitsInfoCard-U3cdzse7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-XFsOUBFX.js → PlayerAccountGamingLimitsPage2Gm16-BW8X33M-.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-NbmoAjcB.js → PlayerAccountGamingLimitsPage2Gm16-DrLQzzyy.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DZCY9hje.cjs → PlayerAccountGamingLimitsPage2Gm16-g2_zuqMt.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup--ETSa3eM.js → PlayerAccountGamingLimitsPopup-Bve6Y2nJ.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-D6iiu1U5.cjs → PlayerAccountGamingLimitsPopup-CFv1PJwg.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CC61DZzs.js → PlayerAccountGamingLimitsPopup-CmrpU9o_.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DzpVh9EL.js → PlayerAccountGamingLimitsWrapper2-dxUvWQgw.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-7G-6e9ad.cjs → PlayerAccountGamingLimitsWrapper2-lkBh0sO7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BvIjf1H2.js → PlayerAccountGamingLimitsWrapper2-vt8AikRv.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-C_PMgMWa.js → PlayerAccountGeneralConfirmationModal-CNp_WDC_.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BW0P6UFz.js → PlayerAccountGeneralConfirmationModal-DLem83fi.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CBPLzfCQ.cjs → PlayerAccountGeneralConfirmationModal-D_KAlSUL.cjs} +1 -1
- package/components/{PlayerAccountMenu-BjeWJ18E.js → PlayerAccountMenu-1wxYZkuP.js} +2 -2
- package/components/{PlayerAccountMenu-BA8rZ0um.js → PlayerAccountMenu-C011-nsf.js} +2 -2
- package/components/{PlayerAccountMenu-Dg98-5DG.cjs → PlayerAccountMenu-CMl3pWnd.cjs} +1 -1
- package/components/{PlayerAccountModal-DVjta2sh.js → PlayerAccountModal-CIkQHjb2.js} +1 -1
- package/components/{PlayerAccountModal-C30DP_9X.js → PlayerAccountModal-Cd0cv9iZ.js} +1 -1
- package/components/{PlayerAccountModal-OsFsPCeA.cjs → PlayerAccountModal-D-kXboSP.cjs} +1 -1
- package/components/{PlayerAccountNotifications-1V4z20TH.js → PlayerAccountNotifications-Bzz57aEL.js} +1 -1
- package/components/{PlayerAccountNotifications-Db9PV-03.cjs → PlayerAccountNotifications-CcTi5Drs.cjs} +1 -1
- package/components/{PlayerAccountNotifications-C6cgzVZr.js → PlayerAccountNotifications-CcxiyAXA.js} +1 -1
- package/components/{PlayerAccountProductRestriction-B_7A27fF.js → PlayerAccountProductRestriction-BlKqU9Fp.js} +3 -3
- package/components/{PlayerAccountProductRestriction-CZ4tW626.js → PlayerAccountProductRestriction-Bz1xYbVd.js} +3 -3
- package/components/{PlayerAccountProductRestriction-Cr7925le.cjs → PlayerAccountProductRestriction-_kSZhVZh.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-Yopwt9AG.js → PlayerAccountReviewFrequency-C0klKlLn.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-Biv08ys5.js → PlayerAccountReviewFrequency-COKNNUg_.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-tfXKv8cy.cjs → PlayerAccountReviewFrequency-DJMMTkjV.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-CXMcELbE.cjs → PlayerAccountSelfExclusion-Cc1gEk6Y.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-BZ8CXuTO.js → PlayerAccountSelfExclusion-CriE3F7A.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-DkPAOVfl.js → PlayerAccountSelfExclusion-hKXm3kMr.js} +2 -2
- package/components/{PlayerAccountTimeout-C7ofs0RZ.js → PlayerAccountTimeout-BU6mqOeu.js} +3 -3
- package/components/{PlayerAccountTimeout-Ke3oxlTi.js → PlayerAccountTimeout-BgGbZFwf.js} +3 -3
- package/components/{PlayerAccountTimeout-fSNTlrJv.cjs → PlayerAccountTimeout-CtYAN25H.cjs} +2 -2
- package/components/{PlayerAccountTransactionsHistory-DWn9ebM_.js → PlayerAccountTransactionsHistory-CREQSuBa.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-FNMsLeKr.cjs → PlayerAccountTransactionsHistory-DFvjjfVp.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-C6bSu0dW.js → PlayerAccountTransactionsHistory-DTvkbkMP.js} +4 -4
- package/components/{PlayerActiveBonuses-C5c88Mwc.js → PlayerActiveBonuses-B8Bq9mIQ.js} +2 -2
- package/components/{PlayerActiveBonuses-DWrBu-Kd.cjs → PlayerActiveBonuses-BXrkyqrC.cjs} +1 -1
- package/components/{PlayerActiveBonuses-qa9W2q8l.js → PlayerActiveBonuses-DnATRt7f.js} +2 -2
- package/components/{PlayerBonusCard-BrYHWOsB.cjs → PlayerBonusCard-CNLee5g4.cjs} +1 -1
- package/components/{PlayerBonusCard-ChVPlgqa.js → PlayerBonusCard-CgCJm_RZ.js} +2 -2
- package/components/{PlayerBonusCard-2rfnQnWt.js → PlayerBonusCard-DTPPY1Df.js} +2 -2
- package/components/{PlayerBonusHistory-Bn79pulF.js → PlayerBonusHistory-B38-BnBT.js} +2 -2
- package/components/{PlayerBonusHistory-rTtl-IiP.cjs → PlayerBonusHistory-C77M1zBo.cjs} +1 -1
- package/components/{PlayerBonusHistory-Cu8IzMp4.js → PlayerBonusHistory-Ce8-nlcL.js} +2 -2
- package/components/{PlayerChangePassword-BCNhkyf1.js → PlayerChangePassword-CxoPtkbf.js} +1 -1
- package/components/{PlayerChangePassword-Cu4GEUJx.js → PlayerChangePassword-Dhn0hMYs.js} +1 -1
- package/components/{PlayerChangePassword-DUF4mgAV.cjs → PlayerChangePassword-rLAWwygl.cjs} +1 -1
- package/components/{PlayerDeposit-JrGrp3zL.js → PlayerDeposit-BBbJrpRU.js} +1 -1
- package/components/{PlayerDeposit-CPP4tgVF.cjs → PlayerDeposit-Bg-aXmkV.cjs} +1 -1
- package/components/{PlayerDeposit-Coo90JkU.js → PlayerDeposit-DlxUv-GC.js} +1 -1
- package/components/{PlayerGamingHistory-DCyWfp9S.js → PlayerGamingHistory-C1AQ3h7_.js} +3 -3
- package/components/{PlayerGamingHistory-F9uxwyXZ.js → PlayerGamingHistory-CTY5Fk8G.js} +3 -3
- package/components/{PlayerGamingHistory-goZ3nntc.cjs → PlayerGamingHistory-D_prK5LM.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-CErlTifr.js → PlayerPendingWithdrawals-CR_6u1Px.js} +1 -1
- package/components/{PlayerPendingWithdrawals-AKEphdLL.cjs → PlayerPendingWithdrawals-CbFASnKI.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-nG7_kxjl.js → PlayerPendingWithdrawals-Dn_MdHNx.js} +1 -1
- package/components/{PlayerProfileInfo-DVt5b6BA.js → PlayerProfileInfo--xM3hK53.js} +2 -2
- package/components/{PlayerProfileInfo-B5q_P-6o.cjs → PlayerProfileInfo-CCACfTsV.cjs} +1 -1
- package/components/{PlayerProfileInfo-CY4Ka1Q_.js → PlayerProfileInfo-DMUaAard.js} +2 -2
- package/components/{PlayerRealityCheck-DbewYY5F.js → PlayerRealityCheck-BqFWcKH7.js} +1 -1
- package/components/{PlayerRealityCheck-zDfo-h7H.cjs → PlayerRealityCheck-CgIeAFX9.cjs} +1 -1
- package/components/{PlayerRealityCheck-BQ6lIHBD.js → PlayerRealityCheck-D7-GY6BR.js} +1 -1
- package/components/{PlayerTransactionHistory-mpo3j3t3.js → PlayerTransactionHistory-BSbLjMlO.js} +1 -1
- package/components/{PlayerTransactionHistory-Ci3n_Dlf.js → PlayerTransactionHistory-LU5_4m6X.js} +1 -1
- package/components/{PlayerTransactionHistory-TGewa47i.cjs → PlayerTransactionHistory-iDYdwbpn.cjs} +1 -1
- package/components/{PlayerWithdrawal-C1ZBOgtS.cjs → PlayerWithdrawal-CWcEsqNb.cjs} +1 -1
- package/components/{PlayerWithdrawal-C4K6j-eF.js → PlayerWithdrawal-DvzUwdLW.js} +1 -1
- package/components/{PlayerWithdrawal-khb1Ybq8.js → PlayerWithdrawal-qgRKoM0q.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/{index-9c0f6c58-OZ3FNbU1.cjs → index-9c0f6c58-Bd8abek0.cjs} +1 -1
- package/stencil/{index-9c0f6c58-DLtRG1IG.js → index-9c0f6c58-DEdG7mVW.js} +1 -1
- package/stencil/{index-9c0f6c58-D7TwZQBD.js → index-9c0f6c58-LdtWdXWH.js} +1 -1
- package/stencil/{player-kyc-verification-Dzul5VDy.js → player-kyc-verification-BVyIvjQs.js} +31 -27
- package/stencil/player-kyc-verification-Bq0WwkeW.cjs +181 -0
- package/stencil/{player-kyc-verification-Jx0eG0Dz.js → player-kyc-verification-DaKmgzNJ.js} +104 -100
- package/stencil/player-kyc-verification-DV7KHNHP.cjs +0 -181
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var z=(i,t,a)=>new Promise((l,n)=>{var r=d=>{try{y(a.next(d))}catch(m){n(m)}},c=d=>{try{y(a.throw(d))}catch(m){n(m)}},y=d=>d.done?l(d.value):Promise.resolve(d.value).then(r,c);y((a=a.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-DZ1A20Dc.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function O(i,t){e.addMessages(i,t)}function X(i){e.$locale.set(i)}const A={en:{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"},"zh-hk":{titleRealityCheck:"現實檢查",never:"絕不",minutes:"分鐘",oneHour:"1小時",hours:"小時",successMessage:"現實檢查已成功更新。",realityCheckText:"該工具允許您設置在遊戲會話中在屏幕上看到消息的頻率。 它將顯示自會話開始以來經過的時間。",realityCheckLoading:"正在加載項目,請稍候...",setFrequency:"設置頻率"},fr:{titleRealityCheck:"Verification de la réalité",never:"Jamais",minutes:"Minutes",oneHour:"1 Heure",hours:"Heure",successMessage:"Le contrôle de la réalité a été mis à jour avec succès.",realityCheckText:"La fonction de contrôle de la réalité vous permet de définir la fréquence à laquelle vous verrez un contrôlede la réalité sur l'écran au cours de votre sessions de jeu , c'est-à-dire un affichage du temps écoulé depuis le début de votre session.",realityCheckLoading:"Chargement des éléments, veuillez patienter ...",setFrequency:"Régler la fréquence"},ro:{titleRealityCheck:"Verificare timp",never:"Niciodata",minutes:"Minute",oneHour:"1 Ora",hours:"Ore",successMessage:"Frecvența a fost setată cu succes!",realityCheckText:"Opțiunea Reality Check îți permite să setezi frecvența cu care vei vedea verificarea timpului de joc pe parcursul sesiunii tale de joc. O astfel de verificare reprezintă afișarea timpului trecut de la începerea sesiunii de joc.",realityCheckLoading:"Se încarcă...",setFrequency:"Stabilește frecvența"},es:{titleRealityCheck:"Verificación de la realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"La verificación de la realidad se ha actualizado con éxito.",realityCheckText:"La función de Verificación de la realidad le permite establecer la frecuencia con la que verá una Verificación de la realidad en la pantalla dentro de su sesión de juego. Una verificación de la realidad significa una visualización del tiempo transcurrido desde que comenzó su sesión. Puede controlar la frecuencia con la que aparecerá la Verificación de realidad en su pantalla.",realityCheckLoading:"Cargando items",setFrequency:"Estabelecer frecuencia"},pt:{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"O recurso Verificação da Realidade permite que você defina a frequência com que você verá uma Verificação da Realidade na tela durante sua sessão de jogo. Uma verificação da realidade significa uma exibição do tempo decorrido desde o início da sua sessão.",realityCheckLoading:"Carregando itens, por favor aguarde...",setFrequency:"Definir frequência"},hr:{titleRealityCheck:"Provjera stvarnosti",never:"Nikad",minutes:"Minuta",oneHour:"1 sat",hours:"Sati",successMessage:"Provjera stvarnosti je uspješno ažurirana.",realityCheckText:"Mogućnost Provjere stvarnosti omogućuje vam da postavite učestalost na kojoj ćete vidjeti Provjeru stvarnosti na zaslonu tijekom svoje sesije igranja. Provjera stvarnosti znači prikaz vremena proteklog od početka vaše sesije. Možete kontrolirati učestalost kojom će se Reality Provjera stvarnosti pojaviti na vašem zaslonu.",realityCheckLoading:"Učitavanje stavki",setFrequency:"Postavite frekvenciju"},"pt-br":{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"A instalação da verificação da realidade permite ajustar a frequência com que a verificação da realidade aparece na tela durante a sessão de jogo. Uma verificação da realidade significa exibir o tempo decorrido desde que você iniciou sua sessão. Você é capaz de controlar a frequência com que essa verificação da realidade aparecerá na sua tela.",realityCheckLoading:"Carregando itens, por favor espere...",setFrequency:"Definir frequência"},"es-mx":{titleRealityCheck:"Control de Realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"El control de realidad ha sido actualizada exitosamente.",realityCheckText:"La instalación del control de realidad le permite ajustar la frequencia en la que aparece la verificación de realidad en la pantalla durante su sesión de juego. Un control de realidad significa la visualización del tiempo transcurrido desde que arranco su sesión. Ustede es capaza de controlar la frecuencia en la que esta verificación de realidad aparecerá en su pantalla.",realityCheckLoading:"Cargando elementos, por favor espere...",setFrequency:"Fijar frecuencia"},"en-us":{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"}};function G(i){e.append_styles(i,"svelte-17lev58",'.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.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))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function V(i,t,a){const l=i.slice();return l[33]=t[a].value,l[34]=t[a].text,l[36]=a,l}function Y(i,t,a){const l=i.slice();return l[30]=t[a],l}function J(i){let t,a,l,n,r=i[5]("titleRealityCheck")+"",c,y,d,m,k=i[5]("realityCheckText")+"",v,g,w,b,h,s,f=i[5]("setFrequency")+"",M,j,F,H,L,q=i[6]&&K(i),x=i[4]&&N(i),B=e.ensure_array_like(i[7]),C=[];for(let p=0;p<B.length;p+=1)C[p]=D(V(i,B,p));return{c(){t=e.element("div"),q&&q.c(),a=e.space(),x&&x.c(),l=e.space(),n=e.element("h2"),c=e.text(r),y=e.space(),d=e.element("div"),m=e.element("p"),v=e.text(k),g=e.space(),w=e.element("form");for(let p=0;p<C.length;p+=1)C[p].c();b=e.space(),h=e.element("div"),s=e.element("button"),M=e.text(f),e.attr(n,"class","RealityCheckTitle "+(i[6]?"RealityCheckTitleNone":"")),e.attr(d,"class","RealityCheckDescription "+(i[6]?"RealityCheckDescriptionMobile":"")),e.attr(s,"class",j="PlayerRealityCheckButton "+(i[3]===i[2]?"ButtonInactive":"")),s.disabled=F=i[3]===i[2],e.attr(h,"class","BottomButtonsArea "+(i[6]?"BottomButtonsAreaMobile":"")),e.attr(w,"class","customRadio"),e.attr(t,"class","containerTimeout")},m(p,S){e.insert(p,t,S),q&&q.m(t,null),e.append(t,a),x&&x.m(t,null),e.append(t,l),e.append(t,n),e.append(n,c),e.append(t,y),e.append(t,d),e.append(d,m),e.append(m,v),e.append(t,g),e.append(t,w);for(let _=0;_<C.length;_+=1)C[_]&&C[_].m(w,null);e.append(w,b),e.append(w,h),e.append(h,s),e.append(s,M),H||(L=e.listen(s,"click",i[8]),H=!0)},p(p,S){if(p[6]&&q.p(p,S),p[4]?x?x.p(p,S):(x=N(p),x.c(),x.m(t,l)):x&&(x.d(1),x=null),S[0]&32&&r!==(r=p[5]("titleRealityCheck")+"")&&e.set_data(c,r),S[0]&32&&k!==(k=p[5]("realityCheckText")+"")&&e.set_data(v,k),S[0]&132){B=e.ensure_array_like(p[7]);let _;for(_=0;_<B.length;_+=1){const P=V(p,B,_);C[_]?C[_].p(P,S):(C[_]=D(P),C[_].c(),C[_].m(w,b))}for(;_<C.length;_+=1)C[_].d(1);C.length=B.length}S[0]&32&&f!==(f=p[5]("setFrequency")+"")&&e.set_data(M,f),S[0]&12&&j!==(j="PlayerRealityCheckButton "+(p[3]===p[2]?"ButtonInactive":""))&&e.attr(s,"class",j),S[0]&12&&F!==(F=p[3]===p[2])&&(s.disabled=F)},d(p){p&&e.detach(t),q&&q.d(),x&&x.d(),e.destroy_each(C,p),H=!1,L()}}}function Z(i){let t,a,l,n,r,c,y,d,m;function k(h,s){return h[6]?$:Q}let g=k(i)(i),w=e.ensure_array_like({length:6}),b=[];for(let h=0;h<w.length;h+=1)b[h]=ee(Y(i,w,h));return{c(){t=e.element("div"),g.c(),a=e.space(),l=e.element("div"),n=e.element("ui-skeleton"),r=e.space(),c=e.element("div");for(let h=0;h<b.length;h+=1)b[h].c();y=e.space(),d=e.element("div"),m=e.element("ui-skeleton"),e.set_custom_element_data(n,"structure","text"),e.set_custom_element_data(n,"height","15px"),e.set_custom_element_data(n,"width","100%"),e.set_custom_element_data(n,"margin-bottom","7px"),e.set_custom_element_data(n,"rows",i[6]?"5":"3"),e.attr(l,"class","SkeletonTextContainer"),e.set_custom_element_data(m,"structure","rectangle"),e.set_custom_element_data(m,"height","50px"),e.set_custom_element_data(m,"margin-bottom","0"),e.set_custom_element_data(m,"borderRadius","5px"),e.set_custom_element_data(m,"width",i[6]?"100%":"350px"),e.attr(d,"class","Button"),e.attr(c,"class","SkeletonOptionContainer"),e.attr(t,"class","SkeletonContainer")},m(h,s){e.insert(h,t,s),g.m(t,null),e.append(t,a),e.append(t,l),e.append(l,n),e.append(t,r),e.append(t,c);for(let f=0;f<b.length;f+=1)b[f]&&b[f].m(c,null);e.append(c,y),e.append(c,d),e.append(d,m)},p(h,s){g.p(h,s)},d(h){h&&e.detach(t),g.d(),e.destroy_each(b,h)}}}function K(i){let t,a,l,n,r,c,y,d,m,k,v,g=i[5]("titleRealityCheck")+"",w,b,h,s=i[4]&&E(i);return{c(){s&&s.c(),t=e.space(),a=e.element("div"),l=e.svg_element("svg"),n=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),y=e.svg_element("g"),d=e.svg_element("g"),m=e.svg_element("path"),k=e.space(),v=e.element("h2"),w=e.text(g),e.attr(m,"class","aaa"),e.attr(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(m,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(y,"transform","translate(-20 -158)"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","15"),e.attr(l,"height","15"),e.attr(l,"viewBox","0 0 15 15"),e.attr(v,"class","RealityCheckTitleMobile"),e.attr(a,"class","MenuReturnButton")},m(f,M){s&&s.m(f,M),e.insert(f,t,M),e.insert(f,a,M),e.append(a,l),e.append(l,n),e.append(n,r),e.append(r,c),e.append(l,y),e.append(y,d),e.append(d,m),e.append(a,k),e.append(a,v),e.append(v,w),b||(h=[e.listen(a,"click",i[18]),e.listen(a,"keydown",null)],b=!0)},p(f,M){f[4]?s?s.p(f,M):(s=E(f),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),M[0]&32&&g!==(g=f[5]("titleRealityCheck")+"")&&e.set_data(w,g)},d(f){f&&(e.detach(t),e.detach(a)),s&&s.d(f),b=!1,e.run_all(h)}}}function E(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessageMobile")},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function N(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessage "+(i[6]?"successMessageMobile":""))},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function D(i){let t,a,l,n,r=i[34]+"",c,y,d,m;return y=e.init_binding_group(i[20][0]),{c(){t=e.element("div"),a=e.element("input"),l=e.space(),n=e.element("label"),c=e.text(r),e.attr(a,"type","radio"),e.attr(a,"id",i[33]),a.__value=i[33],e.set_input_value(a,a.__value),e.attr(n,"for",i[33]),y.p(a)},m(k,v){e.insert(k,t,v),e.append(t,a),a.checked=a.__value===i[2],e.append(t,l),e.append(t,n),e.append(n,c),d||(m=e.listen(a,"change",i[19]),d=!0)},p(k,v){v[0]&4&&(a.checked=a.__value===k[2])},d(k){k&&e.detach(t),y.r(),d=!1,m()}}}function Q(i){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>',e.attr(t,"class","SkeletonHeaderText")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function $(i){let t,a,l,n;return{c(){t=e.element("div"),a=e.element("ui-skeleton"),l=e.space(),n=e.element("ui-skeleton"),e.set_custom_element_data(a,"structure","title"),e.set_custom_element_data(a,"width","20px"),e.set_custom_element_data(a,"height","20px"),e.set_custom_element_data(a,"margin-top","5px"),e.set_custom_element_data(a,"margin-bottom","15px"),e.set_custom_element_data(n,"structure","title"),e.set_custom_element_data(n,"width","100px"),e.set_custom_element_data(n,"height","20px"),e.set_custom_element_data(n,"margin-top","5px"),e.set_custom_element_data(n,"margin-bottom","15px"),e.attr(t,"class","SkeletonMenuButton "+(i[6]?"Mobile":""))},m(r,c){e.insert(r,t,c),e.append(t,a),e.append(t,l),e.append(t,n)},p:e.noop,d(r){r&&e.detach(t)}}}function ee(i){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>',e.attr(t,"class","SkeletonOption")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function te(i){let t;function a(r,c){return r[1]?Z:J}let l=a(i),n=l(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","PlayerRealityCheckWrapper "+(i[6]?"PlayerRealityCheckWrapperMobile":""))},m(r,c){e.insert(r,t,c),n.m(t,null),i[21](t)},p(r,c){l===(l=a(r))&&n?n.p(r,c):(n.d(1),n=l(r),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(r){r&&e.detach(t),n.d(),i[21](null)}}}function ae(i,t,a){let l;e.component_subscribe(i,e.$format,o=>a(5,l=o));let{endpoint:n=""}=t,{playerid:r=""}=t,{session:c=""}=t,{lang:y="en"}=t,{clientstyling:d=""}=t,{clientstylingurl:m=""}=t,{mbsource:k}=t,{translationurl:v=""}=t,g,w,b=e.getDevice(window.navigator.userAgent)!=="PC",h=!0,s,f,M=!1,j=[];const F=()=>{const o=new URL(`${n}/v1/player/${r}/realitycheck`),u=new Headers;u.append("X-SessionID",c);const T={method:"GET",headers:u};fetch(o.href,T).then(R=>R.json()).then(R=>{a(2,s=a(3,f=R.UserRealityCheckValue))},R=>{console.error(R)})},H=()=>{const o=new URL(`${n}/v1/player/${r}/availablerealityvalues`),u=new Headers;u.append("X-SessionID",c),u.append("accept","application/json");const T={method:"GET",headers:u};fetch(o.href,T).then(R=>R.json()).then(R=>{L(R.AvailableRealityCheckValues),a(1,h=!1)},R=>{console.error(R)})},L=o=>{o.forEach(u=>{u==0?j.push({value:u.toString(),text:l("never")}):u<60?j.push({value:u.toString(),text:u+" "+l("minutes")}):u==60?j.push({value:u.toString(),text:l("oneHour")}):u>60&&j.push({value:u.toString(),text:u/60+" "+l("hours")})})},q=()=>z(this,null,function*(){const o=new URL(`${n}/v1/player/${r}/realitycheck`),u=new Headers;u.append("X-SessionID",c),u.append("Content-Type","application/json"),u.append("Accept","application/json"),u.append("realityCheckValue",`${parseInt(s,10)}`);const T={method:"POST",headers:u};return yield fetch(o.href,T).then(R=>R.status==200,R=>(console.error(R),!1))}),x=o=>{o.preventDefault(),q().then(u=>{u&&(B(),F())})},B=()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("realityCheckSuccess")}},window.location.href),a(4,M=!0),setTimeout(()=>a(4,M=!1),2e3)},C=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:b},window.location.href)},p=()=>{X(y)},S=()=>{fetch(v).then(u=>u.json()).then(u=>{Object.keys(u).forEach(T=>{O(T,u[T])})}).catch(u=>{console.log(u)})};Object.keys(A).forEach(o=>{O(o,A[o])}),e.onMount(()=>()=>{});const _=[[]],P=()=>C();function I(){s=this.__value,a(2,s)}function W(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,a(0,g)})}return i.$$set=o=>{"endpoint"in o&&a(10,n=o.endpoint),"playerid"in o&&a(11,r=o.playerid),"session"in o&&a(12,c=o.session),"lang"in o&&a(13,y=o.lang),"clientstyling"in o&&a(14,d=o.clientstyling),"clientstylingurl"in o&&a(15,m=o.clientstylingurl),"mbsource"in o&&a(16,k=o.mbsource),"translationurl"in o&&a(17,v=o.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&8192&&y&&p(),i.$$.dirty[0]&7168&&n&&r&&c&&F(),i.$$.dirty[0]&7168&&n&&r&&c&&H(),i.$$.dirty[0]&16385&&d&&g&&e.setClientStyling(g,d),i.$$.dirty[0]&32769&&m&&g&&e.setClientStylingURL(g,m),i.$$.dirty[0]&65537&&k&&g&&e.setStreamStyling(g,`${k}.Style`,w),i.$$.dirty[0]&131072&&v&&S()},[g,h,s,f,M,l,b,j,x,C,n,r,c,y,d,m,k,v,P,I,_,W]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ae,te,e.safe_not_equal,{endpoint:10,playerid:11,session:12,lang:13,clientstyling:14,clientstylingurl:15,mbsource:16,translationurl:17},G,[-1,-1])}get endpoint(){return this.$$.ctx[10]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get playerid(){return this.$$.ctx[11]}set playerid(t){this.$$set({playerid:t}),e.flush()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(U,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=U;
|
|
1
|
+
"use strict";var z=(i,t,a)=>new Promise((l,n)=>{var r=d=>{try{y(a.next(d))}catch(m){n(m)}},c=d=>{try{y(a.throw(d))}catch(m){n(m)}},y=d=>d.done?l(d.value):Promise.resolve(d.value).then(r,c);y((a=a.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CNp3v0iY.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function O(i,t){e.addMessages(i,t)}function X(i){e.$locale.set(i)}const A={en:{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"},"zh-hk":{titleRealityCheck:"現實檢查",never:"絕不",minutes:"分鐘",oneHour:"1小時",hours:"小時",successMessage:"現實檢查已成功更新。",realityCheckText:"該工具允許您設置在遊戲會話中在屏幕上看到消息的頻率。 它將顯示自會話開始以來經過的時間。",realityCheckLoading:"正在加載項目,請稍候...",setFrequency:"設置頻率"},fr:{titleRealityCheck:"Verification de la réalité",never:"Jamais",minutes:"Minutes",oneHour:"1 Heure",hours:"Heure",successMessage:"Le contrôle de la réalité a été mis à jour avec succès.",realityCheckText:"La fonction de contrôle de la réalité vous permet de définir la fréquence à laquelle vous verrez un contrôlede la réalité sur l'écran au cours de votre sessions de jeu , c'est-à-dire un affichage du temps écoulé depuis le début de votre session.",realityCheckLoading:"Chargement des éléments, veuillez patienter ...",setFrequency:"Régler la fréquence"},ro:{titleRealityCheck:"Verificare timp",never:"Niciodata",minutes:"Minute",oneHour:"1 Ora",hours:"Ore",successMessage:"Frecvența a fost setată cu succes!",realityCheckText:"Opțiunea Reality Check îți permite să setezi frecvența cu care vei vedea verificarea timpului de joc pe parcursul sesiunii tale de joc. O astfel de verificare reprezintă afișarea timpului trecut de la începerea sesiunii de joc.",realityCheckLoading:"Se încarcă...",setFrequency:"Stabilește frecvența"},es:{titleRealityCheck:"Verificación de la realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"La verificación de la realidad se ha actualizado con éxito.",realityCheckText:"La función de Verificación de la realidad le permite establecer la frecuencia con la que verá una Verificación de la realidad en la pantalla dentro de su sesión de juego. Una verificación de la realidad significa una visualización del tiempo transcurrido desde que comenzó su sesión. Puede controlar la frecuencia con la que aparecerá la Verificación de realidad en su pantalla.",realityCheckLoading:"Cargando items",setFrequency:"Estabelecer frecuencia"},pt:{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"O recurso Verificação da Realidade permite que você defina a frequência com que você verá uma Verificação da Realidade na tela durante sua sessão de jogo. Uma verificação da realidade significa uma exibição do tempo decorrido desde o início da sua sessão.",realityCheckLoading:"Carregando itens, por favor aguarde...",setFrequency:"Definir frequência"},hr:{titleRealityCheck:"Provjera stvarnosti",never:"Nikad",minutes:"Minuta",oneHour:"1 sat",hours:"Sati",successMessage:"Provjera stvarnosti je uspješno ažurirana.",realityCheckText:"Mogućnost Provjere stvarnosti omogućuje vam da postavite učestalost na kojoj ćete vidjeti Provjeru stvarnosti na zaslonu tijekom svoje sesije igranja. Provjera stvarnosti znači prikaz vremena proteklog od početka vaše sesije. Možete kontrolirati učestalost kojom će se Reality Provjera stvarnosti pojaviti na vašem zaslonu.",realityCheckLoading:"Učitavanje stavki",setFrequency:"Postavite frekvenciju"},"pt-br":{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"A instalação da verificação da realidade permite ajustar a frequência com que a verificação da realidade aparece na tela durante a sessão de jogo. Uma verificação da realidade significa exibir o tempo decorrido desde que você iniciou sua sessão. Você é capaz de controlar a frequência com que essa verificação da realidade aparecerá na sua tela.",realityCheckLoading:"Carregando itens, por favor espere...",setFrequency:"Definir frequência"},"es-mx":{titleRealityCheck:"Control de Realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"El control de realidad ha sido actualizada exitosamente.",realityCheckText:"La instalación del control de realidad le permite ajustar la frequencia en la que aparece la verificación de realidad en la pantalla durante su sesión de juego. Un control de realidad significa la visualización del tiempo transcurrido desde que arranco su sesión. Ustede es capaza de controlar la frecuencia en la que esta verificación de realidad aparecerá en su pantalla.",realityCheckLoading:"Cargando elementos, por favor espere...",setFrequency:"Fijar frecuencia"},"en-us":{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"}};function G(i){e.append_styles(i,"svelte-17lev58",'.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.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))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function V(i,t,a){const l=i.slice();return l[33]=t[a].value,l[34]=t[a].text,l[36]=a,l}function Y(i,t,a){const l=i.slice();return l[30]=t[a],l}function J(i){let t,a,l,n,r=i[5]("titleRealityCheck")+"",c,y,d,m,k=i[5]("realityCheckText")+"",v,g,w,b,h,s,f=i[5]("setFrequency")+"",M,j,F,H,L,q=i[6]&&K(i),x=i[4]&&N(i),B=e.ensure_array_like(i[7]),C=[];for(let p=0;p<B.length;p+=1)C[p]=D(V(i,B,p));return{c(){t=e.element("div"),q&&q.c(),a=e.space(),x&&x.c(),l=e.space(),n=e.element("h2"),c=e.text(r),y=e.space(),d=e.element("div"),m=e.element("p"),v=e.text(k),g=e.space(),w=e.element("form");for(let p=0;p<C.length;p+=1)C[p].c();b=e.space(),h=e.element("div"),s=e.element("button"),M=e.text(f),e.attr(n,"class","RealityCheckTitle "+(i[6]?"RealityCheckTitleNone":"")),e.attr(d,"class","RealityCheckDescription "+(i[6]?"RealityCheckDescriptionMobile":"")),e.attr(s,"class",j="PlayerRealityCheckButton "+(i[3]===i[2]?"ButtonInactive":"")),s.disabled=F=i[3]===i[2],e.attr(h,"class","BottomButtonsArea "+(i[6]?"BottomButtonsAreaMobile":"")),e.attr(w,"class","customRadio"),e.attr(t,"class","containerTimeout")},m(p,S){e.insert(p,t,S),q&&q.m(t,null),e.append(t,a),x&&x.m(t,null),e.append(t,l),e.append(t,n),e.append(n,c),e.append(t,y),e.append(t,d),e.append(d,m),e.append(m,v),e.append(t,g),e.append(t,w);for(let _=0;_<C.length;_+=1)C[_]&&C[_].m(w,null);e.append(w,b),e.append(w,h),e.append(h,s),e.append(s,M),H||(L=e.listen(s,"click",i[8]),H=!0)},p(p,S){if(p[6]&&q.p(p,S),p[4]?x?x.p(p,S):(x=N(p),x.c(),x.m(t,l)):x&&(x.d(1),x=null),S[0]&32&&r!==(r=p[5]("titleRealityCheck")+"")&&e.set_data(c,r),S[0]&32&&k!==(k=p[5]("realityCheckText")+"")&&e.set_data(v,k),S[0]&132){B=e.ensure_array_like(p[7]);let _;for(_=0;_<B.length;_+=1){const P=V(p,B,_);C[_]?C[_].p(P,S):(C[_]=D(P),C[_].c(),C[_].m(w,b))}for(;_<C.length;_+=1)C[_].d(1);C.length=B.length}S[0]&32&&f!==(f=p[5]("setFrequency")+"")&&e.set_data(M,f),S[0]&12&&j!==(j="PlayerRealityCheckButton "+(p[3]===p[2]?"ButtonInactive":""))&&e.attr(s,"class",j),S[0]&12&&F!==(F=p[3]===p[2])&&(s.disabled=F)},d(p){p&&e.detach(t),q&&q.d(),x&&x.d(),e.destroy_each(C,p),H=!1,L()}}}function Z(i){let t,a,l,n,r,c,y,d,m;function k(h,s){return h[6]?$:Q}let g=k(i)(i),w=e.ensure_array_like({length:6}),b=[];for(let h=0;h<w.length;h+=1)b[h]=ee(Y(i,w,h));return{c(){t=e.element("div"),g.c(),a=e.space(),l=e.element("div"),n=e.element("ui-skeleton"),r=e.space(),c=e.element("div");for(let h=0;h<b.length;h+=1)b[h].c();y=e.space(),d=e.element("div"),m=e.element("ui-skeleton"),e.set_custom_element_data(n,"structure","text"),e.set_custom_element_data(n,"height","15px"),e.set_custom_element_data(n,"width","100%"),e.set_custom_element_data(n,"margin-bottom","7px"),e.set_custom_element_data(n,"rows",i[6]?"5":"3"),e.attr(l,"class","SkeletonTextContainer"),e.set_custom_element_data(m,"structure","rectangle"),e.set_custom_element_data(m,"height","50px"),e.set_custom_element_data(m,"margin-bottom","0"),e.set_custom_element_data(m,"borderRadius","5px"),e.set_custom_element_data(m,"width",i[6]?"100%":"350px"),e.attr(d,"class","Button"),e.attr(c,"class","SkeletonOptionContainer"),e.attr(t,"class","SkeletonContainer")},m(h,s){e.insert(h,t,s),g.m(t,null),e.append(t,a),e.append(t,l),e.append(l,n),e.append(t,r),e.append(t,c);for(let f=0;f<b.length;f+=1)b[f]&&b[f].m(c,null);e.append(c,y),e.append(c,d),e.append(d,m)},p(h,s){g.p(h,s)},d(h){h&&e.detach(t),g.d(),e.destroy_each(b,h)}}}function K(i){let t,a,l,n,r,c,y,d,m,k,v,g=i[5]("titleRealityCheck")+"",w,b,h,s=i[4]&&E(i);return{c(){s&&s.c(),t=e.space(),a=e.element("div"),l=e.svg_element("svg"),n=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),y=e.svg_element("g"),d=e.svg_element("g"),m=e.svg_element("path"),k=e.space(),v=e.element("h2"),w=e.text(g),e.attr(m,"class","aaa"),e.attr(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(m,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(y,"transform","translate(-20 -158)"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","15"),e.attr(l,"height","15"),e.attr(l,"viewBox","0 0 15 15"),e.attr(v,"class","RealityCheckTitleMobile"),e.attr(a,"class","MenuReturnButton")},m(f,M){s&&s.m(f,M),e.insert(f,t,M),e.insert(f,a,M),e.append(a,l),e.append(l,n),e.append(n,r),e.append(r,c),e.append(l,y),e.append(y,d),e.append(d,m),e.append(a,k),e.append(a,v),e.append(v,w),b||(h=[e.listen(a,"click",i[18]),e.listen(a,"keydown",null)],b=!0)},p(f,M){f[4]?s?s.p(f,M):(s=E(f),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),M[0]&32&&g!==(g=f[5]("titleRealityCheck")+"")&&e.set_data(w,g)},d(f){f&&(e.detach(t),e.detach(a)),s&&s.d(f),b=!1,e.run_all(h)}}}function E(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessageMobile")},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function N(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessage "+(i[6]?"successMessageMobile":""))},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function D(i){let t,a,l,n,r=i[34]+"",c,y,d,m;return y=e.init_binding_group(i[20][0]),{c(){t=e.element("div"),a=e.element("input"),l=e.space(),n=e.element("label"),c=e.text(r),e.attr(a,"type","radio"),e.attr(a,"id",i[33]),a.__value=i[33],e.set_input_value(a,a.__value),e.attr(n,"for",i[33]),y.p(a)},m(k,v){e.insert(k,t,v),e.append(t,a),a.checked=a.__value===i[2],e.append(t,l),e.append(t,n),e.append(n,c),d||(m=e.listen(a,"change",i[19]),d=!0)},p(k,v){v[0]&4&&(a.checked=a.__value===k[2])},d(k){k&&e.detach(t),y.r(),d=!1,m()}}}function Q(i){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>',e.attr(t,"class","SkeletonHeaderText")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function $(i){let t,a,l,n;return{c(){t=e.element("div"),a=e.element("ui-skeleton"),l=e.space(),n=e.element("ui-skeleton"),e.set_custom_element_data(a,"structure","title"),e.set_custom_element_data(a,"width","20px"),e.set_custom_element_data(a,"height","20px"),e.set_custom_element_data(a,"margin-top","5px"),e.set_custom_element_data(a,"margin-bottom","15px"),e.set_custom_element_data(n,"structure","title"),e.set_custom_element_data(n,"width","100px"),e.set_custom_element_data(n,"height","20px"),e.set_custom_element_data(n,"margin-top","5px"),e.set_custom_element_data(n,"margin-bottom","15px"),e.attr(t,"class","SkeletonMenuButton "+(i[6]?"Mobile":""))},m(r,c){e.insert(r,t,c),e.append(t,a),e.append(t,l),e.append(t,n)},p:e.noop,d(r){r&&e.detach(t)}}}function ee(i){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>',e.attr(t,"class","SkeletonOption")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function te(i){let t;function a(r,c){return r[1]?Z:J}let l=a(i),n=l(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","PlayerRealityCheckWrapper "+(i[6]?"PlayerRealityCheckWrapperMobile":""))},m(r,c){e.insert(r,t,c),n.m(t,null),i[21](t)},p(r,c){l===(l=a(r))&&n?n.p(r,c):(n.d(1),n=l(r),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(r){r&&e.detach(t),n.d(),i[21](null)}}}function ae(i,t,a){let l;e.component_subscribe(i,e.$format,o=>a(5,l=o));let{endpoint:n=""}=t,{playerid:r=""}=t,{session:c=""}=t,{lang:y="en"}=t,{clientstyling:d=""}=t,{clientstylingurl:m=""}=t,{mbsource:k}=t,{translationurl:v=""}=t,g,w,b=e.getDevice(window.navigator.userAgent)!=="PC",h=!0,s,f,M=!1,j=[];const F=()=>{const o=new URL(`${n}/v1/player/${r}/realitycheck`),u=new Headers;u.append("X-SessionID",c);const T={method:"GET",headers:u};fetch(o.href,T).then(R=>R.json()).then(R=>{a(2,s=a(3,f=R.UserRealityCheckValue))},R=>{console.error(R)})},H=()=>{const o=new URL(`${n}/v1/player/${r}/availablerealityvalues`),u=new Headers;u.append("X-SessionID",c),u.append("accept","application/json");const T={method:"GET",headers:u};fetch(o.href,T).then(R=>R.json()).then(R=>{L(R.AvailableRealityCheckValues),a(1,h=!1)},R=>{console.error(R)})},L=o=>{o.forEach(u=>{u==0?j.push({value:u.toString(),text:l("never")}):u<60?j.push({value:u.toString(),text:u+" "+l("minutes")}):u==60?j.push({value:u.toString(),text:l("oneHour")}):u>60&&j.push({value:u.toString(),text:u/60+" "+l("hours")})})},q=()=>z(this,null,function*(){const o=new URL(`${n}/v1/player/${r}/realitycheck`),u=new Headers;u.append("X-SessionID",c),u.append("Content-Type","application/json"),u.append("Accept","application/json"),u.append("realityCheckValue",`${parseInt(s,10)}`);const T={method:"POST",headers:u};return yield fetch(o.href,T).then(R=>R.status==200,R=>(console.error(R),!1))}),x=o=>{o.preventDefault(),q().then(u=>{u&&(B(),F())})},B=()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("realityCheckSuccess")}},window.location.href),a(4,M=!0),setTimeout(()=>a(4,M=!1),2e3)},C=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:b},window.location.href)},p=()=>{X(y)},S=()=>{fetch(v).then(u=>u.json()).then(u=>{Object.keys(u).forEach(T=>{O(T,u[T])})}).catch(u=>{console.log(u)})};Object.keys(A).forEach(o=>{O(o,A[o])}),e.onMount(()=>()=>{});const _=[[]],P=()=>C();function I(){s=this.__value,a(2,s)}function W(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,a(0,g)})}return i.$$set=o=>{"endpoint"in o&&a(10,n=o.endpoint),"playerid"in o&&a(11,r=o.playerid),"session"in o&&a(12,c=o.session),"lang"in o&&a(13,y=o.lang),"clientstyling"in o&&a(14,d=o.clientstyling),"clientstylingurl"in o&&a(15,m=o.clientstylingurl),"mbsource"in o&&a(16,k=o.mbsource),"translationurl"in o&&a(17,v=o.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&8192&&y&&p(),i.$$.dirty[0]&7168&&n&&r&&c&&F(),i.$$.dirty[0]&7168&&n&&r&&c&&H(),i.$$.dirty[0]&16385&&d&&g&&e.setClientStyling(g,d),i.$$.dirty[0]&32769&&m&&g&&e.setClientStylingURL(g,m),i.$$.dirty[0]&65537&&k&&g&&e.setStreamStyling(g,`${k}.Style`,w),i.$$.dirty[0]&131072&&v&&S()},[g,h,s,f,M,l,b,j,x,C,n,r,c,y,d,m,k,v,P,I,_,W]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ae,te,e.safe_not_equal,{endpoint:10,playerid:11,session:12,lang:13,clientstyling:14,clientstylingurl:15,mbsource:16,translationurl:17},G,[-1,-1])}get endpoint(){return this.$$.ctx[10]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get playerid(){return this.$$.ctx[11]}set playerid(t){this.$$set({playerid:t}),e.flush()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(U,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=U;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ne, $ as oe, S as re, i as le, s as se, f as O, b as ce, n as I, d as T, e as H, g as f, t as d, h as ue, j as de, o as pe, k as he, l as Y, m as te, p as r, q as F, r as b, u as N, x as G, v as V, w as fe, y as E, R as me, K as ye, B as ge, C as ke, D as ve, c as be, A as Ce } from "./PlayerAccountController-
|
|
1
|
+
import { a as ne, $ as oe, S as re, i as le, s as se, f as O, b as ce, n as I, d as T, e as H, g as f, t as d, h as ue, j as de, o as pe, k as he, l as Y, m as te, p as r, q as F, r as b, u as N, x as G, v as V, w as fe, y as E, R as me, K as ye, B as ge, C as ke, D as ve, c as be, A as Ce } from "./PlayerAccountController-DTrNKdle.js";
|
|
2
2
|
import "../stencil/ui-skeleton-DNuG5l9W.js";
|
|
3
3
|
function J(i, e) {
|
|
4
4
|
ne(i, e);
|
package/components/{PlayerTransactionHistory-mpo3j3t3.js → PlayerTransactionHistory-BSbLjMlO.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as F, S as O, i as D, s as G, f as H, b as V, n as z, d as M, t as L, c as S, m as g, e as w, p as C, u as k, r as d, g as X, h as Z, o as J, w as K, x as b, j as Q, y as A, z as Y, A as $, B as tt, C as et, D as it } from "./PlayerAccountController-
|
|
1
|
+
import { a as q, $ as F, S as O, i as D, s as G, f as H, b as V, n as z, d as M, t as L, c as S, m as g, e as w, p as C, u as k, r as d, g as X, h as Z, o as J, w as K, x as b, j as Q, y as A, z as Y, A as $, B as tt, C as et, D as it } from "./PlayerAccountController-Bc81Z5sj.js";
|
|
2
2
|
function E(i, t) {
|
|
3
3
|
q(i, t);
|
|
4
4
|
}
|
package/components/{PlayerTransactionHistory-Ci3n_Dlf.js → PlayerTransactionHistory-LU5_4m6X.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as F, S as O, i as D, s as G, f as H, b as V, n as z, d as M, u as L, e as S, p as g, g as v, q as C, v as x, t as d, h as X, j as Z, o as J, x as K, y as b, k as Q, z as A, B as Y, C as $, D as tt, c as et, A as it } from "./PlayerAccountController-
|
|
1
|
+
import { a as q, $ as F, S as O, i as D, s as G, f as H, b as V, n as z, d as M, u as L, e as S, p as g, g as v, q as C, v as x, t as d, h as X, j as Z, o as J, x as K, y as b, k as Q, z as A, B as Y, C as $, D as tt, c as et, A as it } from "./PlayerAccountController-DTrNKdle.js";
|
|
2
2
|
function E(i, t) {
|
|
3
3
|
q(i, t);
|
|
4
4
|
}
|
package/components/{PlayerTransactionHistory-TGewa47i.cjs → PlayerTransactionHistory-iDYdwbpn.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-CNp3v0iY.cjs");function b(r,e){t.addMessages(r,e)}function B(r){t.$locale.set(r)}const x={en:{titleTransactionHistory:"Transaction History",loading:"Loading, please wait ..."},"zh-hk":{titleTransactionHistory:"交易記錄",loading:"加載請稍候…"},fr:{titleTransactionHistory:"Historique des transactions",loading:"Chargement, veuillez patienter ..."},ro:{titleTransactionHistory:"Istoric tranzacții",loading:"Se încarcă..."},es:{titleTransactionHistory:"Historial de transacciones",loading:"Cargando ... Por favor espere ..."},pt:{titleTransactionHistory:"Histórico de transações",loading:"Carregando, por favor espere ..."},hr:{titleTransactionHistory:"Povijest transakcija",loading:"Učitavanje"},"pt-br":{titleTransactionHistory:"Histórico de transações",Loading:"Carregando, por favor espere..."},"es-mx":{titleTransactionHistory:"Historial de transacciones",Loading:"Cargando, por favor espere..."},"en-us":{titleTransactionHistory:"Transaction History",loading:"Loading, please wait ..."}};function A(r){t.append_styles(r,"svelte-1v10tii",".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}")}function E(r){let e,n,l,a,u,p,d,g,m,o,s=r[3]("titleTransactionHistory")+"",c,v,T;return{c(){e=t.element("div"),n=t.svg_element("svg"),l=t.svg_element("defs"),a=t.svg_element("style"),u=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=t.svg_element("g"),d=t.svg_element("g"),g=t.svg_element("path"),m=t.space(),o=t.element("h2"),c=t.text(s),t.attr(g,"class","aaa"),t.attr(g,"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(g,"transform","translate(15 15) rotate(180)"),t.attr(d,"transform","translate(20 158)"),t.attr(p,"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(o,"class","TransactionHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(y,_){t.insert(y,e,_),t.append(e,n),t.append(n,l),t.append(l,a),t.append(a,u),t.append(n,p),t.append(p,d),t.append(d,g),t.append(e,m),t.append(e,o),t.append(o,c),v||(T=t.listen(e,"click",r[14]),v=!0)},p(y,_){_&8&&s!==(s=y[3]("titleTransactionHistory")+"")&&t.set_data(c,s)},d(y){y&&t.detach(e),v=!1,T()}}}function P(r){let e,n,l;return{c(){e=t.element("div"),n=t.element("iframe"),t.src_url_equal(n.src,l=r[2])||t.attr(n,"src",l),t.attr(n,"title","Transaction History Iframe"),t.attr(e,"class","TransactionHistoryIframeWrapper")},m(a,u){t.insert(a,e,u),t.append(e,n)},p(a,u){u&4&&!t.src_url_equal(n.src,l=a[2])&&t.attr(n,"src",l)},d(a){a&&t.detach(e)}}}function z(r){let e,n=r[3]("loading")+"",l;return{c(){e=t.element("p"),l=t.text(n)},m(a,u){t.insert(a,e,u),t.append(e,l)},p(a,u){u&8&&n!==(n=a[3]("loading")+"")&&t.set_data(l,n)},d(a){a&&t.detach(e)}}}function I(r){let e,n,l,a=r[3]("titleTransactionHistory")+"",u,p,d=r[4]&&E(r);function g(s,c){return s[1]?z:P}let m=g(r),o=m(r);return{c(){e=t.element("div"),d&&d.c(),n=t.space(),l=t.element("h2"),u=t.text(a),p=t.space(),o.c(),t.attr(l,"class","TransactionHistoryTitle "+(r[4]?"TransactionHistoryTitleNone":"")),t.attr(e,"class","TransactionHistoryWrapper "+(r[4]?"TransactionHistoryWrapperMobile":""))},m(s,c){t.insert(s,e,c),d&&d.m(e,null),t.append(e,n),t.append(e,l),t.append(l,u),t.append(e,p),o.m(e,null),r[15](e)},p(s,[c]){s[4]&&d.p(s,c),c&8&&a!==(a=s[3]("titleTransactionHistory")+"")&&t.set_data(u,a),m===(m=g(s))&&o?o.p(s,c):(o.d(1),o=m(s),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),d&&d.d(),o.d(),r[15](null)}}}function W(r,e,n){let l;t.component_subscribe(r,t.$format,i=>n(3,l=i));let{endpoint:a=""}=e,{session:u=""}=e,{playerid:p=""}=e,{lang:d="en"}=e,{clientstyling:g=""}=e,{clientstylingurl:m=""}=e,{mbsource:o}=e,{translationurl:s=""}=e,c,v,T=window.navigator.userAgent,y=t.getDevice(T)!=="PC",_=!0,H="";const M=()=>{fetch(s).then(f=>f.json()).then(f=>{Object.keys(f).forEach(h=>{b(h,f[h])})}).catch(f=>{console.log(f)})};Object.keys(x).forEach(i=>{b(i,x[i])});const w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},S=()=>{let i=new URL(`${a}/v1/player/${p}/hostedcashier/customertransactionhistoryurl`);i.searchParams.append("language",d);let f={method:"GET",headers:{"X-SessionId":u,accept:"application/json"}};fetch(i.href,f).then(h=>h.json()).then(h=>{n(1,_=!1),n(2,H=h.CashierUrl)},h=>{console.error(h)})},C=()=>{B(d)};t.onMount(()=>()=>{});const L=()=>w();function j(i){t.binding_callbacks[i?"unshift":"push"](()=>{c=i,n(0,c)})}return r.$$set=i=>{"endpoint"in i&&n(6,a=i.endpoint),"session"in i&&n(7,u=i.session),"playerid"in i&&n(8,p=i.playerid),"lang"in i&&n(9,d=i.lang),"clientstyling"in i&&n(10,g=i.clientstyling),"clientstylingurl"in i&&n(11,m=i.clientstylingurl),"mbsource"in i&&n(12,o=i.mbsource),"translationurl"in i&&n(13,s=i.translationurl)},r.$$.update=()=>{r.$$.dirty&512&&d&&C(),r.$$.dirty&960&&u&&p&&a&&d&&S(),r.$$.dirty&1025&&g&&c&&t.setClientStyling(c,g),r.$$.dirty&2049&&m&&c&&t.setClientStylingURL(c,m),r.$$.dirty&4097&&o&&c&&t.setStreamStyling(c,`${o}.Style`,v),r.$$.dirty&8192&&s&&M()},[c,_,H,l,y,w,a,u,p,d,g,m,o,s,L,j]}class k extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,I,t.safe_not_equal,{endpoint:6,session:7,playerid:8,lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},A)}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 playerid(){return this.$$.ctx[8]}set playerid(e){this.$$set({playerid:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang: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(k,{endpoint:{},session:{},playerid:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=k;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CNp3v0iY.cjs");function x(l,t){e.addMessages(l,t)}function D(l){e.$locale.set(l)}const C={en:{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."},"zh-hk":{titlePlayerWithdrawal:"退出",loading:"加載請稍候…"},fr:{titlePlayerWithdrawal:"Retrait",loading:"Chargement, veuillez patienter ..."},ro:{titlePlayerWithdrawal:"Retragere",loading:"Se încarcă..."},es:{titlePlayerWithdrawal:"Retirar",loading:"Cargando..."},pt:{titlePlayerWithdrawal:"Retirada",loading:"Carregando, por favor espere ..."},hr:{titlePlayerWithdrawal:"Isplata",loading:"Učitavanje"},"en-us":{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."}};function I(l){e.append_styles(l,"svelte-19p9ovb","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function U(l){let t,a,s,n,c,h,d,m,f,o,i=l[3]("titlePlayerWithdrawal")+"",u,p,g;return{c(){t=e.element("div"),a=e.svg_element("svg"),s=e.svg_element("defs"),n=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=e.svg_element("g"),d=e.svg_element("g"),m=e.svg_element("path"),f=e.space(),o=e.element("h2"),u=e.text(i),e.attr(m,"class","aaa"),e.attr(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(m,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(h,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","WithdrawalTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(b,_){e.insert(b,t,_),e.append(t,a),e.append(a,s),e.append(s,n),e.append(n,c),e.append(a,h),e.append(h,d),e.append(d,m),e.append(t,f),e.append(t,o),e.append(o,u),p||(g=e.listen(t,"click",l[16]),p=!0)},p(b,_){_&8&&i!==(i=b[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(b){b&&e.detach(t),p=!1,g()}}}function j(l){let t,a,s;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,s=l[2])||e.attr(a,"src",s),e.attr(a,"title","Withdrawal Iframe"),e.attr(t,"class","WithdrawalIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c&4&&!e.src_url_equal(a.src,s=n[2])&&e.attr(a,"src",s)},d(n){n&&e.detach(t)}}}function z(l){let t,a=l[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(a)},m(n,c){e.insert(n,t,c),e.append(t,s)},p(n,c){c&8&&a!==(a=n[3]("loading")+"")&&e.set_data(s,a)},d(n){n&&e.detach(t)}}}function N(l){let t,a,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&U(l);function m(i,u){return i[1]?z:j}let f=m(l),o=f(l);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),s=e.element("h2"),c=e.text(n),h=e.space(),o.c(),e.attr(s,"class","WithdrawalTitle "+(l[4]?"WithdrawalTitleNone":"")),e.attr(t,"class","WithdrawalWrapper "+(l[4]?"WithdrawalWrapperMobile":""))},m(i,u){e.insert(i,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,s),e.append(s,c),e.append(t,h),o.m(t,null),l[17](t)},p(i,[u]){i[4]&&d.p(i,u),u&8&&n!==(n=i[3]("titlePlayerWithdrawal")+"")&&e.set_data(c,n),f===(f=m(i))&&o?o.p(i,u):(o.d(1),o=f(i),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(i){i&&e.detach(t),d&&d.d(),o.d(),l[17](null)}}}function O(l,t,a){let s;e.component_subscribe(l,e.$format,r=>a(3,s=r));let{endpoint:n=""}=t,{session:c=""}=t,{playerid:h=""}=t,{lang:d="en"}=t,{hasdefaultamount:m=""}=t,{clientstyling:f=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u=""}=t,{currency:p=""}=t,g,b,_=window.navigator.userAgent,W=e.getDevice(_)!=="PC",k=!0,v=0,M="";const R=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(y=>{x(y,w[y])})}).catch(w=>{console.log(w)})};Object.keys(C).forEach(r=>{x(r,C[r])});const P=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:W},window.location.href)},S=r=>{if(r.data){switch(r.data.type){case"ProfileDetailsData":a(6,p=r.data.profileDetails.currency);break}switch(r.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break}}},L=()=>{let r=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(r.searchParams.append("language",d),m)switch(p){case"USD":v=.4;break;case"CDF":v=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:p||"EUR",amount:v,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(r.href,w).then(y=>y.json()).then(y=>{a(1,k=!1),a(2,M=y.CashierUrl)},y=>{console.error(y)})},B=()=>{D(d)};e.onMount(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)}));const E=()=>P();function A(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,a(0,g)})}return l.$$set=r=>{"endpoint"in r&&a(7,n=r.endpoint),"session"in r&&a(8,c=r.session),"playerid"in r&&a(9,h=r.playerid),"lang"in r&&a(10,d=r.lang),"hasdefaultamount"in r&&a(11,m=r.hasdefaultamount),"clientstyling"in r&&a(12,f=r.clientstyling),"clientstylingurl"in r&&a(13,o=r.clientstylingurl),"mbsource"in r&&a(14,i=r.mbsource),"translationurl"in r&&a(15,u=r.translationurl),"currency"in r&&a(6,p=r.currency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&B(),l.$$.dirty&4097&&f&&g&&e.setClientStyling(g,f),l.$$.dirty&8193&&o&&g&&e.setClientStylingURL(g,o),l.$$.dirty&16385&&i&&g&&e.setStreamStyling(g,`${i}.Style`,b),l.$$.dirty&32768&&u&&R(),l.$$.dirty&1984&&c&&h&&n&&p&&d&&L()},[g,k,M,s,W,P,p,n,c,h,d,m,f,o,i,u,E,A]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,N,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,mbsource:14,translationurl:15,currency:6},I)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[8]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[9]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[6]}set currency(t){this.$$set({currency:t}),e.flush()}}e.create_custom_element(T,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},currency:{}},[],[],!0);exports.default=T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as V, S as X, i as Z, s as J, f as p, b as K, n as A, d as x, u as R, e as P, p as u, g as _, q as T, v as S, t as d, h as Q, j as Y, o as $, x as ee, y as k, k as te, z as I, B as ae, C as re, D as ie, c as le, A as ne } from "./PlayerAccountController-
|
|
1
|
+
import { a as q, $ as V, S as X, i as Z, s as J, f as p, b as K, n as A, d as x, u as R, e as P, p as u, g as _, q as T, v as S, t as d, h as Q, j as Y, o as $, x as ee, y as k, k as te, z as I, B as ae, C as re, D as ie, c as le, A as ne } from "./PlayerAccountController-DTrNKdle.js";
|
|
2
2
|
function U(r, e) {
|
|
3
3
|
q(r, e);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as V, S as X, i as Z, s as J, f as p, b as K, n as A, d as x, t as R, c as P, m as u, e as _, p as T, u as S, r as d, g as Q, h as Y, o as $, w as ee, x as k, j as te, y as I, z as ae, A as re, B as ie, C as le, D as ne } from "./PlayerAccountController-
|
|
1
|
+
import { a as q, $ as V, S as X, i as Z, s as J, f as p, b as K, n as A, d as x, t as R, c as P, m as u, e as _, p as T, u as S, r as d, g as Q, h as Y, o as $, w as ee, x as k, j as te, y as I, z as ae, A as re, B as ie, C as le, D as ne } from "./PlayerAccountController-Bc81Z5sj.js";
|
|
2
2
|
function U(r, e) {
|
|
3
3
|
q(r, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-CNp3v0iY.cjs")).then(e=>e.PlayerAccountController_ce).then(({default:e})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountController-Bc81Z5sj.js").then((e) => e.a8).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("player-account-controller") && customElements.define("player-account-controller", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var Ee=Object.defineProperty;var X=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var Y=(e,t,s)=>t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,J=(e,t)=>{for(var s in t||(t={}))ke.call(t,s)&&Y(e,s,t[s]);if(X)for(var s of X(t))be.call(t,s)&&Y(e,s,t[s]);return e};var T=(e,t,s)=>new Promise((n,r)=>{var i=l=>{try{o(s.next(l))}catch($){r($)}},a=l=>{try{o(s.throw(l))}catch($){r($)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);o((s=s.apply(e,t)).next())});const we="player-kyc-verification",Pe={hydratedSelectorName:"hydrated"};var xe=Object.defineProperty,Te=(e,t)=>{for(var s in t)xe(e,s,{get:t[s],enumerable:!0})},B=new WeakMap,k=e=>B.get(e),_e=(e,t)=>B.set(t.$lazyInstance$=e,t),Le=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],B.set(e,s)},K=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),C=new Map,Ae=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=C.get(r);if(i)return i[n];{const a=o=>(C.set(r,o),o[n]);switch(r){case"player-kyc-verification":return Promise.resolve().then(()=>require("./player-kyc-verification-DV7KHNHP.cjs")).then(a,b)}}return import(`./${r}.entry.js`).then(a=>(C.set(r,a),a[n]),b)},j=new Map,je="{visibility:hidden}.hydrated{visibility:inherit}",ae="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},m=I.document||{head:{}},d={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},le=e=>Promise.resolve(e),Oe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,Q=[],ie=[],Ie=(e,t)=>s=>{e.push(s),U||(U=!0,d.$flags$&4?q(z):d.raf(z))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},z=()=>{Z(Q),Z(ie),(U=Q.length>0)&&d.raf(z)},q=e=>le().then(e),Ce=Ie(ie),N={},Ue="http://www.w3.org/2000/svg",ze="http://www.w3.org/1999/xhtml",He=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function oe(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Be={};Te(Be,{err:()=>$e,map:()=>qe,ok:()=>H,unwrap:()=>Fe,unwrapErr:()=>De});var H=e=>({isOk:!0,isErr:!1,value:e}),$e=e=>({isOk:!1,isErr:!0,value:e});function qe(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>H(n)):H(s)}if(e.isErr){const s=e.value;return $e(s)}throw"should never get here"}var Fe=e=>{if(e.isOk)return e.value;throw e.value},De=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Me=(e,t)=>()=>{},D=(e,t,...s)=>{let n=null,r=!1,i=!1;const a=[],o=$=>{for(let c=0;c<$.length;c++)n=$[c],Array.isArray(n)?o(n):n!=null&&typeof n!="boolean"&&((r=typeof e!="function"&&!F(n))&&(n=String(n)),r&&i?a[a.length-1].$text$+=n:a.push(r?O(null,n):n),i=r)};if(o(s),t){const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(c=>$[c]).join(" "))}if(typeof e=="function")return e(t===null?{}:t,a,Ge);const l=O(e,null);return l.$attrs$=t,a.length>0&&(l.$children$=a),l},O=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s},Re={},We=e=>e&&e.$tag$===Re,Ge={forEach:(e,t)=>e.map(V).forEach(t),map:(e,t)=>e.map(V).map(t).map(Xe)},V=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Xe=e=>{if(typeof e.vtag=="function"){const s=J({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),D(e.vtag,s,...e.vchildren||[])}const t=O(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Ye=(e,t)=>e!=null&&!F(e)&&t&1?String(e):e,Je=(e,t,s)=>{const n=d.ce(t,s);return e.dispatchEvent(n),n},ee=new WeakMap,Ke=(e,t,s)=>{let n=j.get(e);Oe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},Qe=(e,t,s)=>{var n;const r=ce(t),i=j.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let a=ee.get(e),o;if(a||ee.set(e,a=new Set),!a.has(r)){{o=m.createElement("style"),o.innerHTML=i;const l=(n=d.$nonce$)!=null?n:oe(m);l!=null&&o.setAttribute("nonce",l),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ae),a&&a.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Ze=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=S("attachStyles",t.$tagName$),i=Qe(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&(s["s-sc"]=i,s.classList.add(i+"-h")),r()},ce=(e,t)=>"sc-"+e.$tagName$,te=(e,t,s,n,r,i)=>{if(s!==n){let a=K(e,t),o=t.toLowerCase();if(t==="class"){const l=e.classList,$=se(s),c=se(n);l.remove(...$.filter(f=>f&&!c.includes(f))),l.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const l in s)(!n||n[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in n)(!s||n[l]!==s[l])&&(l.includes("-")?e.style.setProperty(l,n[l]):e.style[l]=n[l])}else if(t==="ref")n&&n(e);else if(!a&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):K(I,o)?t=o.slice(2):t=o[2]+t.slice(3),s||n){const l=t.endsWith(fe);t=t.replace(Ve,""),s&&d.rel(e,t,s,l),n&&d.ael(e,t,n,l)}}else{const l=F(n);if((a||l&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const $=n==null?"":n;t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch($){}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!a||i&4||r)&&!l&&(n=n===!0?"":n,e.setAttribute(t,n))}}},Ne=/\s/,se=e=>e?e.split(Ne):[],fe="Capture",Ve=new RegExp(fe+"$"),ue=(e,t,s)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||N,i=t.$attrs$||N;for(const a of ne(Object.keys(r)))a in i||te(n,a,r[a],void 0,s,t.$flags$);for(const a of ne(Object.keys(i)))te(n,a,r[a],i[a],s,t.$flags$)};function ne(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,M,v=!1,R=(e,t,s,n)=>{const r=t.$children$[s];let i=0,a,o;if(r.$text$!==null)a=r.$elm$=m.createTextNode(r.$text$);else{if(v||(v=r.$tag$==="svg"),a=r.$elm$=m.createElementNS(v?Ue:ze,r.$tag$),v&&r.$tag$==="foreignObject"&&(v=!1),ue(null,r,v),He(L)&&a["s-si"]!==L&&a.classList.add(a["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=R(e,r,i),o&&a.appendChild(o);r.$tag$==="svg"?v=!1:a.tagName==="foreignObject"&&(v=!0)}return a["s-hn"]=M,a},de=(e,t,s,n,r,i)=>{let a=e,o;for(a.shadowRoot&&a.tagName===M&&(a=a.shadowRoot);r<=i;++r)n[r]&&(o=R(null,s,r),o&&(n[r].$elm$=o,A(a,o,t)))},ve=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const i=r.$elm$;he(r),i&&i.remove()}}},et=(e,t,s,n,r=!1)=>{let i=0,a=0,o=t.length-1,l=t[0],$=t[o],c=n.length-1,f=n[0],u=n[c],h;for(;i<=o&&a<=c;)l==null?l=t[++i]:$==null?$=t[--o]:f==null?f=n[++a]:u==null?u=n[--c]:_(l,f,r)?(P(l,f,r),l=t[++i],f=n[++a]):_($,u,r)?(P($,u,r),$=t[--o],u=n[--c]):_(l,u,r)?(P(l,u,r),A(e,l.$elm$,$.$elm$.nextSibling),l=t[++i],u=n[--c]):_($,f,r)?(P($,f,r),A(e,$.$elm$,l.$elm$),$=t[--o],f=n[++a]):(h=R(t&&t[a],s,a),f=n[++a],h&&A(l.$elm$.parentNode,h,l.$elm$));i>o?de(e,n[c+1]==null?null:n[c+1].$elm$,s,n,a,c):a>c&&ve(t,i,o)},_=(e,t,s=!1)=>e.$tag$===t.$tag$,P=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,a=t.$tag$,o=t.$text$;o===null?(v=a==="svg"?!0:a==="foreignObject"?!1:v,ue(e,t,v),r!==null&&i!==null?et(n,r,t,i,s):i!==null?(e.$text$!==null&&(n.textContent=""),de(n,null,t,i,0,i.length-1)):r!==null&&ve(r,0,r.length-1),v&&a==="svg"&&(v=!1)):e.$text$!==o&&(n.data=o)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),tt=(e,t,s=!1)=>{const n=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||O(null,null),a=We(t)?t:D(null,null,t);if(M=n.tagName,s&&a.$attrs$)for(const o of Object.keys(a.$attrs$))n.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(a.$attrs$[o]=n[o]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=i.$elm$=n.shadowRoot||n,L=n["s-sc"],r.$flags$&1,P(i,a,s)},pe=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return pe(e,e.$ancestorComponent$),Ce(()=>st(e,t))},st=(e,t)=>{const s=e.$hostElement$,n=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return t&&(i=G(r,"componentWillLoad")),n(),nt(i,()=>at(e,r,t))},nt=(e,t)=>rt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),rt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",at=(e,t,s)=>T(exports,null,function*(){var n;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),a=r["s-rc"];s&&Ze(e);const o=S("render",e.$cmpMeta$.$tagName$);lt(e,t,r,s),a&&(a.map(l=>l()),r["s-rc"]=void 0),o(),i();{const l=(n=r["s-p"])!=null?n:[],$=()=>it(e);l.length===0?$():(Promise.all(l).then($),e.$flags$|=4,l.length=0)}}),lt=(e,t,s,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,tt(e,t,n)}catch(r){b(r,e.$hostElement$)}return null},it=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?n():(e.$flags$|=64,ye(s),G(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),i||ge()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&q(()=>W(e,!1)),e.$flags$&=-517},ge=e=>{ye(m.documentElement),q(()=>Je(I,"appload",{detail:{namespace:we}}))},G=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){b(n)}},ye=e=>{var t;return e.classList.add((t=Pe.hydratedSelectorName)!=null?t:"hydrated")},ot=(e,t)=>k(e).$instanceValues$.get(t),$t=(e,t,s,n)=>{const r=k(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,a=r.$instanceValues$.get(t),o=r.$flags$,l=r.$lazyInstance$;s=Ye(s,n.$members$[t][0]);const $=Number.isNaN(a)&&Number.isNaN(s),c=s!==a&&!$;if((!(o&8)||a===void 0)&&c&&(r.$instanceValues$.set(t,s),l)){if(n.$watchers$&&o&128){const f=n.$watchers$[t];f&&f.map(u=>{try{l[u](s,a,t)}catch(h){b(h,i)}})}(o&18)===2&&W(r,!1)}},me=(e,t,s)=>{var n,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((n=t.$members$)!=null?n:{});if(a.map(([o,[l]])=>{(l&31||s&2&&l&32)&&Object.defineProperty(i,o,{get(){return ot(this,o)},set($){$t(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;i.attributeChangedCallback=function(l,$,c){d.jmp(()=>{var f;const u=o.get(l);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const h=k(this),g=h==null?void 0:h.$flags$;if(g&&!(g&8)&&g&128&&c!==$){const y=h.$lazyInstance$,w=(f=t.$watchers$)==null?void 0:f[l];w==null||w.forEach(p=>{y[p]!=null&&y[p].call(y,c,$,l)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...a.filter(([l,$])=>$[0]&15).map(([l,$])=>{const c=$[1]||l;return o.set(c,l),c})]))}}return e},ct=(e,t,s,n)=>T(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const l=Ae(s);if(l&&"then"in l){const c=Me();r=yield l,c()}else r=l;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,me(r,s,2),r.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const l=e.localName;customElements.whenDefined(l).then(()=>t.$flags$|=128)}if(r&&r.style){let l;typeof r.style=="string"&&(l=r.style);const $=ce(s);if(!j.has($)){const c=S("registerStyles",s.$tagName$);Ke($,l,!!(s.$flags$&1)),c()}}}const i=t.$ancestorComponent$,a=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(a):a()}),ft=e=>{},ut=e=>{if(!(d.$flags$&1)){const t=k(e),s=t.$cmpMeta$,n=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ft());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){pe(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const a=e[r];delete e[r],e[r]=a}}),ct(e,t,s)}n()}},re=e=>{G(e,"disconnectedCallback")},dt=e=>T(exports,null,function*(){if(!(d.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?re(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>re(t.$lazyInstance$))}}),vt=(e,t={})=>{var s;const n=S(),r=[],i=t.exclude||[],a=I.customElements,o=m.head,l=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(d,t),d.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let h=!1;if(e.map(g=>{g[1].map(y=>{var w;const p={$flags$:y[0],$tagName$:y[1],$members$:y[2],$listeners$:y[3]};p.$flags$&4&&(h=!0),p.$members$=y[2],p.$watchers$=(w=y[4])!=null?w:{};const x=p.$tagName$,Se=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Le(E,p),p.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):d.jmp(()=>ut(this))}disconnectedCallback(){d.jmp(()=>dt(this))}componentOnReady(){return k(this).$onReadyPromise$}};p.$lazyBundleId$=g[0],!i.includes(x)&&!a.get(x)&&(r.push(x),a.define(x,me(Se,p,1)))})}),r.length>0&&(h&&($.textContent+=ae),$.textContent+=r.sort()+je,$.innerHTML.length)){$.setAttribute("data-styles","");const g=(s=d.$nonce$)!=null?s:oe(m);g!=null&&$.setAttribute("nonce",g),o.insertBefore($,l?l.nextSibling:o.firstChild)}u=!1,c.length?c.map(g=>g.connectedCallback()):d.jmp(()=>f=setTimeout(ge,30)),n()},ht=(e,t)=>t;exports.Fragment=ht;exports.bootstrapLazy=vt;exports.h=D;exports.promiseResolve=le;exports.registerInstance=_e;
|
|
1
|
+
"use strict";var Ee=Object.defineProperty;var X=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var Y=(e,t,s)=>t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,J=(e,t)=>{for(var s in t||(t={}))ke.call(t,s)&&Y(e,s,t[s]);if(X)for(var s of X(t))be.call(t,s)&&Y(e,s,t[s]);return e};var T=(e,t,s)=>new Promise((n,r)=>{var i=l=>{try{o(s.next(l))}catch($){r($)}},a=l=>{try{o(s.throw(l))}catch($){r($)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);o((s=s.apply(e,t)).next())});const we="player-kyc-verification",Pe={hydratedSelectorName:"hydrated"};var xe=Object.defineProperty,Te=(e,t)=>{for(var s in t)xe(e,s,{get:t[s],enumerable:!0})},B=new WeakMap,k=e=>B.get(e),_e=(e,t)=>B.set(t.$lazyInstance$=e,t),Le=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],B.set(e,s)},K=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),C=new Map,Ae=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=C.get(r);if(i)return i[n];{const a=o=>(C.set(r,o),o[n]);switch(r){case"player-kyc-verification":return Promise.resolve().then(()=>require("./player-kyc-verification-Bq0WwkeW.cjs")).then(a,b)}}return import(`./${r}.entry.js`).then(a=>(C.set(r,a),a[n]),b)},j=new Map,je="{visibility:hidden}.hydrated{visibility:inherit}",ae="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},m=I.document||{head:{}},d={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},le=e=>Promise.resolve(e),Oe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,Q=[],ie=[],Ie=(e,t)=>s=>{e.push(s),U||(U=!0,d.$flags$&4?q(z):d.raf(z))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},z=()=>{Z(Q),Z(ie),(U=Q.length>0)&&d.raf(z)},q=e=>le().then(e),Ce=Ie(ie),N={},Ue="http://www.w3.org/2000/svg",ze="http://www.w3.org/1999/xhtml",He=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function oe(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Be={};Te(Be,{err:()=>$e,map:()=>qe,ok:()=>H,unwrap:()=>Fe,unwrapErr:()=>De});var H=e=>({isOk:!0,isErr:!1,value:e}),$e=e=>({isOk:!1,isErr:!0,value:e});function qe(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>H(n)):H(s)}if(e.isErr){const s=e.value;return $e(s)}throw"should never get here"}var Fe=e=>{if(e.isOk)return e.value;throw e.value},De=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Me=(e,t)=>()=>{},D=(e,t,...s)=>{let n=null,r=!1,i=!1;const a=[],o=$=>{for(let c=0;c<$.length;c++)n=$[c],Array.isArray(n)?o(n):n!=null&&typeof n!="boolean"&&((r=typeof e!="function"&&!F(n))&&(n=String(n)),r&&i?a[a.length-1].$text$+=n:a.push(r?O(null,n):n),i=r)};if(o(s),t){const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(c=>$[c]).join(" "))}if(typeof e=="function")return e(t===null?{}:t,a,Ge);const l=O(e,null);return l.$attrs$=t,a.length>0&&(l.$children$=a),l},O=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s},Re={},We=e=>e&&e.$tag$===Re,Ge={forEach:(e,t)=>e.map(V).forEach(t),map:(e,t)=>e.map(V).map(t).map(Xe)},V=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Xe=e=>{if(typeof e.vtag=="function"){const s=J({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),D(e.vtag,s,...e.vchildren||[])}const t=O(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Ye=(e,t)=>e!=null&&!F(e)&&t&1?String(e):e,Je=(e,t,s)=>{const n=d.ce(t,s);return e.dispatchEvent(n),n},ee=new WeakMap,Ke=(e,t,s)=>{let n=j.get(e);Oe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},Qe=(e,t,s)=>{var n;const r=ce(t),i=j.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let a=ee.get(e),o;if(a||ee.set(e,a=new Set),!a.has(r)){{o=m.createElement("style"),o.innerHTML=i;const l=(n=d.$nonce$)!=null?n:oe(m);l!=null&&o.setAttribute("nonce",l),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ae),a&&a.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Ze=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=S("attachStyles",t.$tagName$),i=Qe(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&(s["s-sc"]=i,s.classList.add(i+"-h")),r()},ce=(e,t)=>"sc-"+e.$tagName$,te=(e,t,s,n,r,i)=>{if(s!==n){let a=K(e,t),o=t.toLowerCase();if(t==="class"){const l=e.classList,$=se(s),c=se(n);l.remove(...$.filter(f=>f&&!c.includes(f))),l.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const l in s)(!n||n[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in n)(!s||n[l]!==s[l])&&(l.includes("-")?e.style.setProperty(l,n[l]):e.style[l]=n[l])}else if(t==="ref")n&&n(e);else if(!a&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):K(I,o)?t=o.slice(2):t=o[2]+t.slice(3),s||n){const l=t.endsWith(fe);t=t.replace(Ve,""),s&&d.rel(e,t,s,l),n&&d.ael(e,t,n,l)}}else{const l=F(n);if((a||l&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const $=n==null?"":n;t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch($){}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!a||i&4||r)&&!l&&(n=n===!0?"":n,e.setAttribute(t,n))}}},Ne=/\s/,se=e=>e?e.split(Ne):[],fe="Capture",Ve=new RegExp(fe+"$"),ue=(e,t,s)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||N,i=t.$attrs$||N;for(const a of ne(Object.keys(r)))a in i||te(n,a,r[a],void 0,s,t.$flags$);for(const a of ne(Object.keys(i)))te(n,a,r[a],i[a],s,t.$flags$)};function ne(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,M,v=!1,R=(e,t,s,n)=>{const r=t.$children$[s];let i=0,a,o;if(r.$text$!==null)a=r.$elm$=m.createTextNode(r.$text$);else{if(v||(v=r.$tag$==="svg"),a=r.$elm$=m.createElementNS(v?Ue:ze,r.$tag$),v&&r.$tag$==="foreignObject"&&(v=!1),ue(null,r,v),He(L)&&a["s-si"]!==L&&a.classList.add(a["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=R(e,r,i),o&&a.appendChild(o);r.$tag$==="svg"?v=!1:a.tagName==="foreignObject"&&(v=!0)}return a["s-hn"]=M,a},de=(e,t,s,n,r,i)=>{let a=e,o;for(a.shadowRoot&&a.tagName===M&&(a=a.shadowRoot);r<=i;++r)n[r]&&(o=R(null,s,r),o&&(n[r].$elm$=o,A(a,o,t)))},ve=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const i=r.$elm$;he(r),i&&i.remove()}}},et=(e,t,s,n,r=!1)=>{let i=0,a=0,o=t.length-1,l=t[0],$=t[o],c=n.length-1,f=n[0],u=n[c],h;for(;i<=o&&a<=c;)l==null?l=t[++i]:$==null?$=t[--o]:f==null?f=n[++a]:u==null?u=n[--c]:_(l,f,r)?(P(l,f,r),l=t[++i],f=n[++a]):_($,u,r)?(P($,u,r),$=t[--o],u=n[--c]):_(l,u,r)?(P(l,u,r),A(e,l.$elm$,$.$elm$.nextSibling),l=t[++i],u=n[--c]):_($,f,r)?(P($,f,r),A(e,$.$elm$,l.$elm$),$=t[--o],f=n[++a]):(h=R(t&&t[a],s,a),f=n[++a],h&&A(l.$elm$.parentNode,h,l.$elm$));i>o?de(e,n[c+1]==null?null:n[c+1].$elm$,s,n,a,c):a>c&&ve(t,i,o)},_=(e,t,s=!1)=>e.$tag$===t.$tag$,P=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,a=t.$tag$,o=t.$text$;o===null?(v=a==="svg"?!0:a==="foreignObject"?!1:v,ue(e,t,v),r!==null&&i!==null?et(n,r,t,i,s):i!==null?(e.$text$!==null&&(n.textContent=""),de(n,null,t,i,0,i.length-1)):r!==null&&ve(r,0,r.length-1),v&&a==="svg"&&(v=!1)):e.$text$!==o&&(n.data=o)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),tt=(e,t,s=!1)=>{const n=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||O(null,null),a=We(t)?t:D(null,null,t);if(M=n.tagName,s&&a.$attrs$)for(const o of Object.keys(a.$attrs$))n.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(a.$attrs$[o]=n[o]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=i.$elm$=n.shadowRoot||n,L=n["s-sc"],r.$flags$&1,P(i,a,s)},pe=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return pe(e,e.$ancestorComponent$),Ce(()=>st(e,t))},st=(e,t)=>{const s=e.$hostElement$,n=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return t&&(i=G(r,"componentWillLoad")),n(),nt(i,()=>at(e,r,t))},nt=(e,t)=>rt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),rt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",at=(e,t,s)=>T(exports,null,function*(){var n;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),a=r["s-rc"];s&&Ze(e);const o=S("render",e.$cmpMeta$.$tagName$);lt(e,t,r,s),a&&(a.map(l=>l()),r["s-rc"]=void 0),o(),i();{const l=(n=r["s-p"])!=null?n:[],$=()=>it(e);l.length===0?$():(Promise.all(l).then($),e.$flags$|=4,l.length=0)}}),lt=(e,t,s,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,tt(e,t,n)}catch(r){b(r,e.$hostElement$)}return null},it=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?n():(e.$flags$|=64,ye(s),G(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),i||ge()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&q(()=>W(e,!1)),e.$flags$&=-517},ge=e=>{ye(m.documentElement),q(()=>Je(I,"appload",{detail:{namespace:we}}))},G=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){b(n)}},ye=e=>{var t;return e.classList.add((t=Pe.hydratedSelectorName)!=null?t:"hydrated")},ot=(e,t)=>k(e).$instanceValues$.get(t),$t=(e,t,s,n)=>{const r=k(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,a=r.$instanceValues$.get(t),o=r.$flags$,l=r.$lazyInstance$;s=Ye(s,n.$members$[t][0]);const $=Number.isNaN(a)&&Number.isNaN(s),c=s!==a&&!$;if((!(o&8)||a===void 0)&&c&&(r.$instanceValues$.set(t,s),l)){if(n.$watchers$&&o&128){const f=n.$watchers$[t];f&&f.map(u=>{try{l[u](s,a,t)}catch(h){b(h,i)}})}(o&18)===2&&W(r,!1)}},me=(e,t,s)=>{var n,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((n=t.$members$)!=null?n:{});if(a.map(([o,[l]])=>{(l&31||s&2&&l&32)&&Object.defineProperty(i,o,{get(){return ot(this,o)},set($){$t(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;i.attributeChangedCallback=function(l,$,c){d.jmp(()=>{var f;const u=o.get(l);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const h=k(this),g=h==null?void 0:h.$flags$;if(g&&!(g&8)&&g&128&&c!==$){const y=h.$lazyInstance$,w=(f=t.$watchers$)==null?void 0:f[l];w==null||w.forEach(p=>{y[p]!=null&&y[p].call(y,c,$,l)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...a.filter(([l,$])=>$[0]&15).map(([l,$])=>{const c=$[1]||l;return o.set(c,l),c})]))}}return e},ct=(e,t,s,n)=>T(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const l=Ae(s);if(l&&"then"in l){const c=Me();r=yield l,c()}else r=l;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,me(r,s,2),r.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const l=e.localName;customElements.whenDefined(l).then(()=>t.$flags$|=128)}if(r&&r.style){let l;typeof r.style=="string"&&(l=r.style);const $=ce(s);if(!j.has($)){const c=S("registerStyles",s.$tagName$);Ke($,l,!!(s.$flags$&1)),c()}}}const i=t.$ancestorComponent$,a=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(a):a()}),ft=e=>{},ut=e=>{if(!(d.$flags$&1)){const t=k(e),s=t.$cmpMeta$,n=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ft());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){pe(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const a=e[r];delete e[r],e[r]=a}}),ct(e,t,s)}n()}},re=e=>{G(e,"disconnectedCallback")},dt=e=>T(exports,null,function*(){if(!(d.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?re(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>re(t.$lazyInstance$))}}),vt=(e,t={})=>{var s;const n=S(),r=[],i=t.exclude||[],a=I.customElements,o=m.head,l=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(d,t),d.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let h=!1;if(e.map(g=>{g[1].map(y=>{var w;const p={$flags$:y[0],$tagName$:y[1],$members$:y[2],$listeners$:y[3]};p.$flags$&4&&(h=!0),p.$members$=y[2],p.$watchers$=(w=y[4])!=null?w:{};const x=p.$tagName$,Se=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Le(E,p),p.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):d.jmp(()=>ut(this))}disconnectedCallback(){d.jmp(()=>dt(this))}componentOnReady(){return k(this).$onReadyPromise$}};p.$lazyBundleId$=g[0],!i.includes(x)&&!a.get(x)&&(r.push(x),a.define(x,me(Se,p,1)))})}),r.length>0&&(h&&($.textContent+=ae),$.textContent+=r.sort()+je,$.innerHTML.length)){$.setAttribute("data-styles","");const g=(s=d.$nonce$)!=null?s:oe(m);g!=null&&$.setAttribute("nonce",g),o.insertBefore($,l?l.nextSibling:o.firstChild)}u=!1,c.length?c.map(g=>g.connectedCallback()):d.jmp(()=>f=setTimeout(ge,30)),n()},ht=(e,t)=>t;exports.Fragment=ht;exports.bootstrapLazy=vt;exports.h=D;exports.promiseResolve=le;exports.registerInstance=_e;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as C, p as w, r as S, h as i, F as h } from "./index-9c0f6c58-
|
|
1
|
+
import { b as C, p as w, r as S, h as i, F as h } from "./index-9c0f6c58-LdtWdXWH.js";
|
|
2
2
|
import { a as k } from "./app-globals-0f993ce5-XUXOuUQl.js";
|
|
3
3
|
var x = () => {
|
|
4
4
|
const e = import.meta.url, n = {};
|
|
5
5
|
return e !== "" && (n.resourcesUrl = new URL(".", e).href), w(n);
|
|
6
6
|
};
|
|
7
|
-
x().then(async (e) => (await k(), C([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], verificationType: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
|
|
7
|
+
x().then(async (e) => (await k(), C([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], hideKycDescription: [1, "hide-kyc-description"], verificationType: [32], hasRequestedDocuments: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
|
|
8
8
|
const b = "en";
|
|
9
|
-
let
|
|
9
|
+
let u = {
|
|
10
10
|
en: {
|
|
11
11
|
loading: "Loading, please wait ...",
|
|
12
12
|
noVerificationRequired: "There is no verification required for your account at this moment.",
|
|
@@ -583,14 +583,14 @@ let f = {
|
|
|
583
583
|
const y = (e) => new Promise((n) => {
|
|
584
584
|
fetch(e).then((t) => t.json()).then((t) => {
|
|
585
585
|
Object.keys(t).forEach((o) => {
|
|
586
|
-
|
|
586
|
+
u[o] || (u[o] = {});
|
|
587
587
|
for (let a in t[o])
|
|
588
|
-
|
|
588
|
+
u[o][a] = t[o][a];
|
|
589
589
|
}), n(!0);
|
|
590
590
|
});
|
|
591
591
|
}), s = (e, n, t) => {
|
|
592
592
|
const o = n;
|
|
593
|
-
return
|
|
593
|
+
return u[o !== void 0 && o in u ? o : b][e];
|
|
594
594
|
}, P = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), c = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
595
595
|
function g(e, n) {
|
|
596
596
|
if (e) {
|
|
@@ -615,14 +615,14 @@ function D(e, n, t, o = !1) {
|
|
|
615
615
|
if (!("adoptedStyleSheets" in Document.prototype) || !o)
|
|
616
616
|
return t = O(e, n), t;
|
|
617
617
|
window[c] || (window[c] = {}), t = I(e, n);
|
|
618
|
-
const r = t.unsubscribe.bind(t),
|
|
618
|
+
const r = t.unsubscribe.bind(t), d = () => {
|
|
619
619
|
if (window[c][n]) {
|
|
620
|
-
const
|
|
621
|
-
|
|
620
|
+
const l = window[c][n];
|
|
621
|
+
l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[c][n];
|
|
622
622
|
}
|
|
623
623
|
r();
|
|
624
624
|
};
|
|
625
|
-
return t.unsubscribe =
|
|
625
|
+
return t.unsubscribe = d, t;
|
|
626
626
|
}
|
|
627
627
|
function O(e, n) {
|
|
628
628
|
const t = document.createElement("style");
|
|
@@ -640,8 +640,8 @@ function I(e, n) {
|
|
|
640
640
|
sheet: r,
|
|
641
641
|
refCount: 1
|
|
642
642
|
});
|
|
643
|
-
const
|
|
644
|
-
|
|
643
|
+
const d = o.adoptedStyleSheets || [];
|
|
644
|
+
d.includes(r) || (o.adoptedStyleSheets = [...d, r]);
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
647
|
const B = `:host {
|
|
@@ -828,7 +828,7 @@ button, select {
|
|
|
828
828
|
constructor(e) {
|
|
829
829
|
S(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = P(this.userAgent), this.handleToggleScreen = () => {
|
|
830
830
|
this.toggleScreen(this.isMobile);
|
|
831
|
-
}, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = void 0, this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.verificationType = [], this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1;
|
|
831
|
+
}, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = void 0, this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.hideKycDescription = "false", this.verificationType = [], this.hasRequestedDocuments = !1, this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1;
|
|
832
832
|
}
|
|
833
833
|
handleNewTranslations() {
|
|
834
834
|
this.isLoading = !0, y(this.translationUrl).then(() => {
|
|
@@ -861,7 +861,11 @@ button, select {
|
|
|
861
861
|
return t.json();
|
|
862
862
|
throw new Error("HTTP status " + t.status);
|
|
863
863
|
}).then((t) => {
|
|
864
|
-
|
|
864
|
+
var o;
|
|
865
|
+
this.verificationType = t.verifications, this.hideKycDescription === "true" && ((o = t?.verifications) === null || o === void 0 ? void 0 : o.length) > 0 && (this.hasRequestedDocuments = t.verifications.some((a) => {
|
|
866
|
+
var r;
|
|
867
|
+
return (r = a?.documents) === null || r === void 0 ? void 0 : r.some((d) => d.status === "Requested");
|
|
868
|
+
}));
|
|
865
869
|
}).catch((t) => {
|
|
866
870
|
console.error(t);
|
|
867
871
|
});
|
|
@@ -923,10 +927,10 @@ button, select {
|
|
|
923
927
|
}).then((a) => {
|
|
924
928
|
if (a.ResponseCode == "Success") {
|
|
925
929
|
const r = new FormData();
|
|
926
|
-
r.append(n, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((
|
|
927
|
-
|
|
928
|
-
}).catch((
|
|
929
|
-
console.error("File upload error:",
|
|
930
|
+
r.append(n, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((d) => {
|
|
931
|
+
d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), console.error("File upload error:", d.status));
|
|
932
|
+
}).catch((d) => {
|
|
933
|
+
console.error("File upload error:", d);
|
|
930
934
|
});
|
|
931
935
|
} else
|
|
932
936
|
this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n);
|
|
@@ -961,27 +965,27 @@ button, select {
|
|
|
961
965
|
}
|
|
962
966
|
renderVerificationTypeBox(e) {
|
|
963
967
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
964
|
-
let n = this.getFirstRequestedDocument(e), t = e.expanded, o = e.type.trim(), a = e.optionChosen || n, r = e.status,
|
|
965
|
-
const
|
|
966
|
-
return
|
|
968
|
+
let n = this.getFirstRequestedDocument(e), t = e.expanded, o = e.type.trim(), a = e.optionChosen || n, r = e.status, d = e.documents, l = e.flowInfo;
|
|
969
|
+
const f = r === "Verified", p = r === "Failed" || r === "Expired";
|
|
970
|
+
return f && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : i("div", { class: `verification-box ${t ? "expanded" : ""} ${p ? "failed" : ""} ${f ? "success" : ""}` }, i("div", { class: `box box-header ${t ? "expanded" : ""}`, onClick: () => {
|
|
967
971
|
var m;
|
|
968
972
|
return this.toggleVerificationType(e.type, (m = e.flowInfo) === null || m === void 0 ? void 0 : m.type);
|
|
969
|
-
} }, i("div", { class: "box-icon" },
|
|
973
|
+
} }, i("div", { class: "box-icon" }, f ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : p ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, s(o, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: t ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), t ? this.renderExpandedContent(e, a, r, d, l, f, p) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
|
|
970
974
|
}
|
|
971
975
|
renderDocumentsActions(e, n, t) {
|
|
972
976
|
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, s("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), i("span", null, s("download", this.language))) : null), i("div", { class: "upload-button" }, n ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, n, t.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
|
|
973
977
|
}
|
|
974
|
-
renderExpandedContent(e, n, t, o, a, r,
|
|
978
|
+
renderExpandedContent(e, n, t, o, a, r, d) {
|
|
975
979
|
if (a?.type === "Widget")
|
|
976
980
|
return i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
977
981
|
if (a?.type === "Redirect" && e.vendorName !== "Manual" && t !== "Verified") {
|
|
978
|
-
const
|
|
979
|
-
return i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height:
|
|
982
|
+
const l = e.vendorName === "ShuftiPro" ? "650px" : "400px";
|
|
983
|
+
return i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: l, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
980
984
|
} else
|
|
981
|
-
return i("div", { class: "box box-content" }, i(h, null, r ? i("div", { class: "verification-status" }, s("verificationComplete", this.language)) :
|
|
985
|
+
return i("div", { class: "box box-content" }, i(h, null, r ? i("div", { class: "verification-status" }, s("verificationComplete", this.language)) : d ? i("div", { class: "verification-status" }, t === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => i("option", { selected: l.code == n, value: l.code }, s(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === n), n, e)) : null));
|
|
982
986
|
}
|
|
983
987
|
render() {
|
|
984
|
-
return this.isLoading ? i("div", null, i("p", null, s("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, s("kycTitle", this.language))) : i("h2", null, s("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : i(h, null, i("div", { class: "widget-description" }, s("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|
|
988
|
+
return this.isLoading ? i("div", null, i("p", null, s("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, s("kycTitle", this.language))) : i("h2", null, s("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : i(h, null, this.hideKycDescription === "true" && !this.hasRequestedDocuments ? null : i("div", { class: "widget-description" }, s("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|
|
985
989
|
}
|
|
986
990
|
static get watchers() {
|
|
987
991
|
return {
|