@everymatrix/player-account-controller 1.54.8 → 1.54.9
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-CoXr5Hra.js → GeneralLogout-BO_iHKNr.js} +1006 -1006
- package/components/GeneralLogout-CMYMtWfC.cjs +8 -0
- package/components/{GeneralLogout-ChXyfO7j.js → GeneralLogout-CwSCMNgW.js} +995 -995
- package/components/{PlayerAccountBettingHistory-CElNilNd.js → PlayerAccountBettingHistory-BoeZFFFu.js} +1 -1
- package/components/{PlayerAccountBettingHistory-C4SfQEr4.js → PlayerAccountBettingHistory-C6G8D9gE.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CSI5k3hd.cjs → PlayerAccountBettingHistory-Cb8OMNy9.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-orQ-qG9h.js → PlayerAccountBiometrics-C6n6AU67.js} +1 -1
- package/components/{PlayerAccountBiometrics-BS3jkUXn.cjs → PlayerAccountBiometrics-DbzqR4YB.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-D9kYcZXR.js → PlayerAccountBiometrics-TQaVyCUp.js} +1 -1
- package/components/{PlayerAccountClosure-DdfqiT7d.cjs → PlayerAccountClosure-CoKkAlIq.cjs} +1 -1
- package/components/{PlayerAccountClosure-CHUq23nB.js → PlayerAccountClosure-RO3lnj8F.js} +1 -1
- package/components/{PlayerAccountClosure-CWd3utu_.js → PlayerAccountClosure-mb6TcNFj.js} +1 -1
- package/components/{PlayerAccountController-DEXL47fX.js → PlayerAccountController-BCZ47Hhw.js} +24 -24
- package/components/{PlayerAccountController-DX3vsM6e.cjs → PlayerAccountController-DFUInkX9.cjs} +1 -1
- package/components/{PlayerAccountController-BclvS237.js → PlayerAccountController-fdJzwXMu.js} +24 -24
- package/components/{PlayerAccountGamingLimits-Db6qUAS-.js → PlayerAccountGamingLimits-Bc6vqzq1.js} +2 -2
- package/components/{PlayerAccountGamingLimits-CKnItii4.cjs → PlayerAccountGamingLimits-DbX9_Kpb.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DXQNmZKD.js → PlayerAccountGamingLimits-DiyC185P.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js → PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs → PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js → PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js → PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs → PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js → PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs → PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-D04L-msb.js → PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-DA5YY1gv.js → PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js → PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js → PlayerAccountGamingLimitsInfoCard-D9MKGXei.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs → PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs → PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js → PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js → PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B7ZXSiK5.js → PlayerAccountGamingLimitsPopup-C2R4OzUK.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DxXAP_Yw.js → PlayerAccountGamingLimitsPopup-DLqNpo7V.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs → PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs → PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js → PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js → PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-DLBQH_sl.js → PlayerAccountGeneralConfirmationModal-BrcO0n_o.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs → PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DhTWcbuE.js → PlayerAccountGeneralConfirmationModal-DHuSzGQn.js} +1 -1
- package/components/{PlayerAccountMenu-BxjdHhZ_.js → PlayerAccountMenu-Bnj75Pyr.js} +2 -2
- package/components/{PlayerAccountMenu-BGRoL3Yz.js → PlayerAccountMenu-VCDFEkVV.js} +2 -2
- package/components/{PlayerAccountMenu-Csb1tUf_.cjs → PlayerAccountMenu-kULPvwXH.cjs} +1 -1
- package/components/{PlayerAccountModal-C4nIa5u0.js → PlayerAccountModal-BGNjm-FU.js} +1 -1
- package/components/{PlayerAccountModal-DabmJiP4.cjs → PlayerAccountModal-DLxnK5Aq.cjs} +1 -1
- package/components/{PlayerAccountModal-D29fr970.js → PlayerAccountModal-d2eY7pgp.js} +1 -1
- package/components/{PlayerAccountNotifications-C3rPIsKp.js → PlayerAccountNotifications-BkPn9o0x.js} +1 -1
- package/components/{PlayerAccountNotifications-O92_s-dm.cjs → PlayerAccountNotifications-DLpnh54-.cjs} +1 -1
- package/components/{PlayerAccountNotifications-4sGKSJWy.js → PlayerAccountNotifications-DwHaboef.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-CpKuxBrZ.js → PlayerAccountSelfExclusion-C-Gq5xhb.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-BkBWGAy2.cjs → PlayerAccountSelfExclusion-Dlkeebgy.cjs} +74 -74
- package/components/{PlayerAccountSelfExclusion-U9dfheYH.js → PlayerAccountSelfExclusion-Dsc1c5ET.js} +2 -2
- package/components/{PlayerAccountTimeout-c2osWNku.js → PlayerAccountTimeout-BrX6tkl3.js} +3 -3
- package/components/{PlayerAccountTimeout-DIRXKowJ.js → PlayerAccountTimeout-DPGSPm6O.js} +3 -3
- package/components/{PlayerAccountTimeout-CucYpS_w.cjs → PlayerAccountTimeout-DX8TE-kL.cjs} +1 -1
- package/components/{PlayerActiveBonuses-B2QAPJxC.js → PlayerActiveBonuses-DZ1TuekM.js} +2 -2
- package/components/{PlayerActiveBonuses-cecVnp46.cjs → PlayerActiveBonuses-T1itpvjq.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DDcAwy_n.js → PlayerActiveBonuses-WBu-rYFj.js} +2 -2
- package/components/{PlayerBonusCard-TYI-WkBy.js → PlayerBonusCard-BtSC36hN.js} +2 -2
- package/components/{PlayerBonusCard-BQU7JBPr.js → PlayerBonusCard-Ci1k7NFv.js} +2 -2
- package/components/{PlayerBonusCard-C9Xdv-lu.cjs → PlayerBonusCard-DqHyFS9o.cjs} +1 -1
- package/components/{PlayerBonusHistory-Boz8c3tb.js → PlayerBonusHistory-C7m0o7Yl.js} +4 -4
- package/components/{PlayerBonusHistory-CMPf8GQz.cjs → PlayerBonusHistory-D-qDx10G.cjs} +1 -1
- package/components/{PlayerBonusHistory-cNqY_wfD.js → PlayerBonusHistory-DDNLaEBO.js} +4 -4
- package/components/{PlayerChangePassword-X_GfgxAV.cjs → PlayerChangePassword-B4VW3taV.cjs} +1 -1
- package/components/{PlayerChangePassword-BGxYGFs-.js → PlayerChangePassword-Bhfh3D2M.js} +1 -1
- package/components/{PlayerChangePassword-Dl3Pgpul.js → PlayerChangePassword-Dk7vlEEM.js} +1 -1
- package/components/{PlayerDeposit-BzSW3HMj.js → PlayerDeposit-B04mpHHT.js} +1 -1
- package/components/{PlayerDeposit-CqpNLpaq.cjs → PlayerDeposit-CH0pw_GN.cjs} +1 -1
- package/components/{PlayerDeposit-kjy658sM.js → PlayerDeposit-DJXOEJyq.js} +1 -1
- package/components/{PlayerGamingHistory-BW5rigFC.js → PlayerGamingHistory-BPF2pyCO.js} +4 -4
- package/components/{PlayerGamingHistory-DIgLxCfL.js → PlayerGamingHistory-CaYFZtwD.js} +4 -4
- package/components/{PlayerGamingHistory-B6KJDVn0.cjs → PlayerGamingHistory-CcFH-mIk.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals--W6Dfn3K.cjs → PlayerPendingWithdrawals-BvhoX5n1.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-pV1C12y5.js → PlayerPendingWithdrawals-DQ_Nh38H.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BzOmRYiC.js → PlayerPendingWithdrawals-DabTg_Hg.js} +1 -1
- package/components/{PlayerProfileInfo-DkVAYiPX.js → PlayerProfileInfo-B6I2vv_G.js} +1 -1
- package/components/{PlayerProfileInfo-CTgSfW-l.js → PlayerProfileInfo-Baoz1CHE.js} +1 -1
- package/components/{PlayerProfileInfo-BTgis7wR.cjs → PlayerProfileInfo-Bx9bKldG.cjs} +1 -1
- package/components/{PlayerRealityCheck-DT3kOky2.js → PlayerRealityCheck-6ZyJUl5U.js} +1 -1
- package/components/{PlayerRealityCheck-BdZDs3Tl.js → PlayerRealityCheck-CzPyJQgR.js} +1 -1
- package/components/{PlayerRealityCheck-BcsDhvm0.cjs → PlayerRealityCheck-DMI_8YfG.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BQIA4QRw.js → PlayerTransactionHistory-CSK3J3Na.js} +1 -1
- package/components/{PlayerTransactionHistory-BL92RRLF.cjs → PlayerTransactionHistory-Dj8ABxFp.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Yhwt7kUa.js → PlayerTransactionHistory-DmTfwUdw.js} +1 -1
- package/components/{PlayerWithdrawal-Cgv9nZE8.js → PlayerWithdrawal-BrqShTsy.js} +1 -1
- package/components/{PlayerWithdrawal-KgqM9wo-.cjs → PlayerWithdrawal-BwymNFiL.cjs} +1 -1
- package/components/{PlayerWithdrawal-uB46JhmK.js → PlayerWithdrawal-ct79yXDc.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-AKw0biZc.cjs → checkbox-group-input_9-BxYTYqyZ.cjs} +54 -54
- package/stencil/{checkbox-group-input_9-CbFpcwPG.js → checkbox-group-input_9-DMCM0Ot9.js} +1078 -1078
- package/stencil/{checkbox-group-input_9-BewIfW-f.js → checkbox-group-input_9-eiZXHwL7.js} +1066 -1066
- package/stencil/{general-input-DI0pw0ot.cjs → general-input-9vH7cGdq.cjs} +1 -1
- package/stencil/{general-input-BEcUF0Mm.js → general-input-C04anjSK.js} +1 -1
- package/stencil/{general-input-DKyA-W8i.js → general-input-Db3QZ1lv.js} +1 -1
- package/stencil/index-581287aa-BMuzpW0_.js +654 -0
- package/stencil/index-581287aa-BRm8u9EK.js +638 -0
- package/stencil/index-581287aa-BUKzmJR2.cjs +1 -0
- package/stencil/{index-8b4525de-C2xAv-3x.js → index-8b4525de-0casbHVH.js} +195 -195
- package/stencil/index-8b4525de-B_v1jFF2.cjs +1 -0
- package/stencil/{index-8b4525de-DeHXGvRF.js → index-8b4525de-D9uWlISq.js} +187 -187
- package/stencil/{index-a76d30c7-PfqrSVyu.js → index-a76d30c7-CekgkUUl.js} +242 -242
- package/stencil/index-a76d30c7-DVN_7nn8.cjs +1 -0
- package/stencil/{index-a76d30c7-CQrAWNu0.js → index-a76d30c7-ygjfYtLQ.js} +253 -253
- package/stencil/index-c0196f50-BL6gbODX.js +697 -0
- package/stencil/index-c0196f50-BZyDc-Pc.js +724 -0
- package/stencil/index-c0196f50-Y0yj-_--.cjs +1 -0
- package/stencil/{password-input_2-D97O8QAr.cjs → password-input_2-BTYd1HGu.cjs} +7 -7
- package/stencil/{password-input_2-eDchPH-o.js → password-input_2-DREOzg1t.js} +16 -16
- package/stencil/{password-input_2-vTvSUJey.js → password-input_2-DjkmqVwW.js} +16 -16
- package/stencil/{player-change-password-gm2-DSTqyOhE.js → player-change-password-gm2-B7kNTG02.js} +1 -1
- package/stencil/{player-change-password-gm2-Dw3D3ckz.cjs → player-change-password-gm2-CgHGqfZG.cjs} +1 -1
- package/stencil/{player-change-password-gm2-D4jpQFwb.js → player-change-password-gm2-DKlvutrh.js} +1 -1
- package/stencil/{player-change-password-gm2-e732ee8e-BjoYj-89.js → player-change-password-gm2-e732ee8e-Bg170B9b.js} +1 -1
- package/stencil/{player-change-password-gm2-e732ee8e-BqRUxIre.cjs → player-change-password-gm2-e732ee8e-DCoOPZ6G.cjs} +1 -1
- package/stencil/{player-change-password-gm2-e732ee8e-Df6ljnLL.js → player-change-password-gm2-e732ee8e-DvN-DboQ.js} +1 -1
- package/stencil/{player-kyc-verification-B2FHAsrR.cjs → player-kyc-verification-BTIQthzt.cjs} +2 -2
- package/stencil/{player-kyc-verification-CVqP43FY.js → player-kyc-verification-DI7sYKPk.js} +41 -41
- package/stencil/{player-kyc-verification-D6Au6XVN.js → player-kyc-verification-Dbte11_F.js} +37 -37
- package/stencil/{toggle-checkbox-input-BckTBwKu.js → toggle-checkbox-input-BajAuk6U.js} +1 -1
- package/stencil/{toggle-checkbox-input-kw5Y1n3x.cjs → toggle-checkbox-input-DQUhi-QW.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-D8fVk4wA.js → toggle-checkbox-input-_Xn6sTQv.js} +1 -1
- package/stencil/{user-deposit-withdrawal-CrMPR6xn.js → user-deposit-withdrawal-8FQMWgCu.js} +100 -100
- package/stencil/{user-deposit-withdrawal-BpAi0dc-.js → user-deposit-withdrawal-CC1sjvAW.js} +105 -105
- package/stencil/{user-deposit-withdrawal-DrKFN7wp.cjs → user-deposit-withdrawal-UlJpeECb.cjs} +2 -2
- package/stencil/{user-transaction-history-D8ebS-DZ.js → user-transaction-history-7TG3a3Xc.js} +65 -65
- package/stencil/{user-transaction-history-CBxwJE34.cjs → user-transaction-history-BC7fM8-f.cjs} +1 -1
- package/stencil/{user-transaction-history-BgYG3IxS.js → user-transaction-history-Q6HxupD6.js} +60 -60
- package/stencil/{vaadin-button-mixin-d131076c-zI_s2YZ5.cjs → vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs} +1 -1
- package/stencil/{vaadin-button-mixin-d131076c-brSraXp5.js → vaadin-button-mixin-b8087c3c-DMeIIR12.js} +1 -1
- package/stencil/{vaadin-button-mixin-d131076c-C559kyH3.js → vaadin-button-mixin-b8087c3c-DTenw4S9.js} +1 -1
- package/components/GeneralLogout-JiIri-az.cjs +0 -8
- package/stencil/index-581287aa-CC7128Vz.js +0 -654
- package/stencil/index-581287aa-D5QW29QV.cjs +0 -1
- package/stencil/index-581287aa-D8NTWa_9.js +0 -638
- package/stencil/index-8b4525de-BFiXEsaX.cjs +0 -1
- package/stencil/index-a76d30c7-CFX9mSqu.cjs +0 -1
- package/stencil/index-c0196f50-3kAjMpUS.cjs +0 -1
- package/stencil/index-c0196f50-BjscP7kj.js +0 -697
- package/stencil/index-c0196f50-aE1zPmtS.js +0 -724
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var _t=Object.defineProperty;var M=Object.getOwnPropertySymbols;var At=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var V=(t,e,s)=>e in t?_t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,N=(t,e)=>{for(var s in e||(e={}))At.call(e,s)&&V(t,s,e[s]);if(M)for(var s of M(e))Ot.call(e,s)&&V(t,s,e[s]);return t};var j=(t,e,s)=>new Promise((n,r)=>{var $=o=>{try{i(s.next(o))}catch(a){r(a)}},l=o=>{try{i(s.throw(o))}catch(a){r(a)}},i=o=>o.done?n(o.value):Promise.resolve(o.value).then($,l);i((s=s.apply(t,e)).next())});const jt="user-transaction-history",Y={hydratedSelectorName:"hydrated",lazyLoad:!0,updatable:!0};var It=Object.defineProperty,bt=(t,e)=>{for(var s in e)It(t,s,{get:e[s],enumerable:!0})},zt="http://www.w3.org/2000/svg",Ht="http://www.w3.org/1999/xhtml",C=new WeakMap,k=t=>C.get(t),Ut=(t,e)=>{C.set(e.$lazyInstance$=t,e)},qt=(t,e)=>{const s={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),t["s-p"]=[],t["s-rc"]=[],C.set(t,s)},tt=(t,e)=>e in t,x=(t,e)=>(0,console.error)(t,e),q=new Map,Bt=(t,e,s)=>{const n=t.$tagName$.replace(/-/g,"_"),r=t.$lazyBundleId$;if(!r)return;const $=q.get(r);if($)return $[n];{const l=i=>(q.set(r,i),i[n]);switch(r){case"user-transaction-history":return Promise.resolve().then(()=>require("./user-transaction-history-BC7fM8-f.cjs")).then(l,x)}}return import(`./${r}.entry.js`).then(l=>(q.set(r,l),l[n]),l=>{x(l,e.$hostElement$)})},z=new Map,Dt="sty-id",Rt="{visibility:hidden}.hydrated{visibility:inherit}",at="slot-fb{display:contents}slot-fb[hidden]{display:none}",et="http://www.w3.org/1999/xlink",A=typeof window!="undefined"?window:{},L=A.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,s,n)=>t.addEventListener(e,s,n),rel:(t,e,s,n)=>t.removeEventListener(e,s,n),ce:(t,e)=>new CustomEvent(t,e)},Wt=(()=>{let t=!1;try{L.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),ot=t=>Promise.resolve(t),ct=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(t){}return!1})(),D=!1,st=[],ft=[],Gt=(t,e)=>s=>{t.push(s),D||(D=!0,h.$flags$&4?F(R):h.raf(R))},nt=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(s){x(s)}t.length=0},R=()=>{nt(st),nt(ft),(D=st.length>0)&&h.raf(R)},F=t=>ot().then(t),Xt=Gt(ft),Yt=t=>{const e=new URL(t,h.$resourcesUrl$);return e.origin!==A.location.origin?e.href:e.pathname},K=t=>(t=typeof t,t==="object"||t==="function");function ut(t){var e,s,n;return(n=(s=(e=t.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Ct={};bt(Ct,{err:()=>dt,map:()=>Ft,ok:()=>W,unwrap:()=>Kt,unwrapErr:()=>mt});var W=t=>({isOk:!0,isErr:!1,value:t}),dt=t=>({isOk:!1,isErr:!0,value:t});function Ft(t,e){if(t.isOk){const s=e(t.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(t.isErr){const s=t.value;return dt(s)}throw"should never get here"}var Kt=t=>{if(t.isOk)return t.value;throw t.value},mt=t=>{if(t.isErr)return t.value;throw t.value},P=(t,e="")=>()=>{},Jt=(t,e)=>()=>{},m=(t,e,...s)=>{let n=null,r=null,$=!1,l=!1;const i=[],o=c=>{for(let u=0;u<c.length;u++)n=c[u],Array.isArray(n)?o(n):n!=null&&typeof n!="boolean"&&(($=typeof t!="function"&&!K(n))&&(n=String(n)),$&&l?i[i.length-1].$text$+=n:i.push($?H(null,n):n),l=$)};if(o(s),e){e.key&&(r=e.key);{const c=e.className||e.class;c&&(e.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}if(typeof t=="function")return t(e===null?{}:e,i,Zt);const a=H(t,null);return a.$attrs$=e,i.length>0&&(a.$children$=i),a.$key$=r,a},H=(t,e)=>{const s={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},vt={},Qt=t=>t&&t.$tag$===vt,Zt={forEach:(t,e)=>t.map(rt).forEach(e),map:(t,e)=>t.map(rt).map(e).map(Mt)},rt=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),Mt=t=>{if(typeof t.vtag=="function"){const s=N({},t.vattrs);return t.vkey&&(s.key=t.vkey),t.vname&&(s.name=t.vname),m(t.vtag,s,...t.vchildren||[])}const e=H(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},G=(t,e)=>t!=null&&!K(t)?e&4?t==="false"?!1:t===""||!!t:e&1?String(t):t:t,Vt=t=>k(t).$hostElement$,Nt=(t,e,s)=>{const n=h.ce(e,s);return t.dispatchEvent(n),n},_=new WeakMap,te=(t,e,s)=>{let n=z.get(t);ct&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=e:n.replaceSync(e)):n=e,z.set(t,n)},ee=(t,e,s)=>{var n;const r=ht(e),$=z.get(r);if(t=t.nodeType===11?t:L,$)if(typeof $=="string"){t=t.head||t;let l=_.get(t),i;if(l||_.set(t,l=new Set),!l.has(r)){{i=document.querySelector(`[${Dt}="${r}"]`)||L.createElement("style"),i.innerHTML=$;const o=(n=h.$nonce$)!=null?n:ut(L);if(o!=null&&i.setAttribute("nonce",o),!(e.$flags$&1))if(t.nodeName==="HEAD"){const a=t.querySelectorAll("link[rel=preconnect]"),c=a.length>0?a[a.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(c==null?void 0:c.parentNode)===t?c:null)}else if("host"in t)if(ct){const a=new CSSStyleSheet;a.replaceSync($),t.adoptedStyleSheets=[a,...t.adoptedStyleSheets]}else{const a=t.querySelector("style");a?a.innerHTML=$+a.innerHTML:t.prepend(i)}else t.append(i);e.$flags$&1&&t.nodeName!=="HEAD"&&t.insertBefore(i,null)}e.$flags$&4&&(i.innerHTML+=at),l&&l.add(r)}}else t.adoptedStyleSheets.includes($)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,$]);return r},se=t=>{const e=t.$cmpMeta$,s=t.$hostElement$,n=e.$flags$,r=P("attachStyles",e.$tagName$),$=ee(s.shadowRoot?s.shadowRoot:s.getRootNode(),e);n&10&&n&2&&(s["s-sc"]=$,s.classList.add($+"-h")),r()},ht=(t,e)=>"sc-"+t.$tagName$,it=(t,e,s,n,r,$,l)=>{if(s!==n){let i=tt(t,e),o=e.toLowerCase();if(e==="class"){const a=t.classList,c=$t(s);let u=$t(n);a.remove(...c.filter(f=>f&&!u.includes(f))),a.add(...u.filter(f=>f&&!c.includes(f)))}else if(e==="style"){for(const a in s)(!n||n[a]==null)&&(a.includes("-")?t.style.removeProperty(a):t.style[a]="");for(const a in n)(!s||n[a]!==s[a])&&(a.includes("-")?t.style.setProperty(a,n[a]):t.style[a]=n[a])}else if(e!=="key")if(e==="ref")n&&n(t);else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"?e=e.slice(3):tt(A,o)?e=o.slice(2):e=o[2]+e.slice(3),s||n){const a=e.endsWith(pt);e=e.replace(re,""),s&&h.rel(t,e,s,a),n&&h.ael(t,e,n,a)}}else{const a=K(n);if((i||a&&n!==null)&&!r)try{if(t.tagName.includes("-"))t[e]!==n&&(t[e]=n);else{const u=n==null?"":n;e==="list"?i=!1:(s==null||t[e]!=u)&&(typeof t.__lookupSetter__(e)=="function"?t[e]=u:t.setAttribute(e,u))}}catch(u){}let c=!1;o!==(o=o.replace(/^xlink\:?/,""))&&(e=o,c=!0),n==null||n===!1?(n!==!1||t.getAttribute(e)==="")&&(c?t.removeAttributeNS(et,e):t.removeAttribute(e)):(!i||$&4||r)&&!a&&(n=n===!0?"":n,c?t.setAttributeNS(et,e,n):t.setAttribute(e,n))}}},ne=/\s/,$t=t=>(typeof t=="object"&&t&&"baseVal"in t&&(t=t.baseVal),!t||typeof t!="string"?[]:t.split(ne)),pt="Capture",re=new RegExp(pt+"$"),gt=(t,e,s,n)=>{const r=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,$=t&&t.$attrs$||{},l=e.$attrs$||{};for(const i of lt(Object.keys($)))i in l||it(r,i,$[i],void 0,s,e.$flags$);for(const i of lt(Object.keys(l)))it(r,i,$[i],l[i],s,e.$flags$)};function lt(t){return t.includes("ref")?[...t.filter(e=>e!=="ref"),"ref"]:t}var J,y=!1,U=(t,e,s)=>{const n=e.$children$[s];let r=0,$,l;if(n.$text$!==null)$=n.$elm$=L.createTextNode(n.$text$);else{if(y||(y=n.$tag$==="svg"),$=n.$elm$=L.createElementNS(y?zt:Ht,n.$tag$),y&&n.$tag$==="foreignObject"&&(y=!1),gt(null,n,y),n.$children$)for(r=0;r<n.$children$.length;++r)l=U(t,n,r),l&&$.appendChild(l);n.$tag$==="svg"?y=!1:$.tagName==="foreignObject"&&(y=!0)}return $["s-hn"]=J,$},yt=(t,e,s,n,r,$)=>{let l=t,i;for(l.shadowRoot&&l.tagName===J&&(l=l.shadowRoot);r<=$;++r)n[r]&&(i=U(null,s,r),i&&(n[r].$elm$=i,b(l,i,e)))},St=(t,e,s)=>{for(let n=e;n<=s;++n){const r=t[n];if(r){const $=r.$elm$;Et(r),$&&$.remove()}}},ie=(t,e,s,n,r=!1)=>{let $=0,l=0,i=0,o=0,a=e.length-1,c=e[0],u=e[a],f=n.length-1,d=n[0],v=n[f],p,E;for(;$<=a&&l<=f;)if(c==null)c=e[++$];else if(u==null)u=e[--a];else if(d==null)d=n[++l];else if(v==null)v=n[--f];else if(I(c,d,r))T(c,d,r),c=e[++$],d=n[++l];else if(I(u,v,r))T(u,v,r),u=e[--a],v=n[--f];else if(I(c,v,r))T(c,v,r),b(t,c.$elm$,u.$elm$.nextSibling),c=e[++$],v=n[--f];else if(I(u,d,r))T(u,d,r),b(t,u.$elm$,c.$elm$),u=e[--a],d=n[++l];else{for(i=-1,o=$;o<=a;++o)if(e[o]&&e[o].$key$!==null&&e[o].$key$===d.$key$){i=o;break}i>=0?(E=e[i],E.$tag$!==d.$tag$?p=U(e&&e[l],s,i):(T(E,d,r),e[i]=void 0,p=E.$elm$),d=n[++l]):(p=U(e&&e[l],s,l),d=n[++l]),p&&b(c.$elm$.parentNode,p,c.$elm$)}$>a?yt(t,n[f+1]==null?null:n[f+1].$elm$,s,n,l,f):l>f&&St(e,$,a)},I=(t,e,s=!1)=>t.$tag$===e.$tag$?s?(s&&!t.$key$&&e.$key$&&(t.$key$=e.$key$),!0):t.$key$===e.$key$:!1,T=(t,e,s=!1)=>{const n=e.$elm$=t.$elm$,r=t.$children$,$=e.$children$,l=e.$tag$,i=e.$text$;i===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,gt(t,e,y),r!==null&&$!==null?ie(n,r,e,$,s):$!==null?(t.$text$!==null&&(n.textContent=""),yt(n,null,e,$,0,$.length-1)):!s&&Y.updatable&&r!==null&&St(r,0,r.length-1),y&&l==="svg"&&(y=!1)):t.$text$!==i&&(n.data=i)},Et=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(Et)},b=(t,e,s)=>t==null?void 0:t.insertBefore(e,s),$e=(t,e,s=!1)=>{const n=t.$hostElement$,r=t.$cmpMeta$,$=t.$vnode$||H(null,null),l=Qt(e)?e:m(null,null,e);if(J=n.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([i,o])=>l.$attrs$[o]=n[i])),s&&l.$attrs$)for(const i of Object.keys(l.$attrs$))n.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=n[i]);l.$tag$=null,l.$flags$|=4,t.$vnode$=l,l.$elm$=$.$elm$=n.shadowRoot||n,r.$flags$&1,T($,l,s)},kt=(t,e)=>{if(e&&!t.$onRenderResolve$&&e["s-p"]){const s=e["s-p"].push(new Promise(n=>t.$onRenderResolve$=()=>{e["s-p"].splice(s-1,1),n()}))}},Q=(t,e)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return kt(t,t.$ancestorComponent$),Xt(()=>le(t,e))},le=(t,e)=>{const s=t.$hostElement$,n=P("scheduleUpdate",t.$cmpMeta$.$tagName$),r=t.$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 $;return e&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([l,i])=>X(r,l,i,s)),t.$queuedListeners$=void 0),$=X(r,"componentWillLoad",void 0,s)),n(),ae($,()=>ce(t,r,e))},ae=(t,e)=>oe(t)?t.then(e).catch(s=>{console.error(s),e()}):e(),oe=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",ce=(t,e,s)=>j(exports,null,function*(){var n;const r=t.$hostElement$,$=P("update",t.$cmpMeta$.$tagName$),l=r["s-rc"];s&&se(t);const i=P("render",t.$cmpMeta$.$tagName$);fe(t,e,r,s),l&&(l.map(o=>o()),r["s-rc"]=void 0),i(),$();{const o=(n=r["s-p"])!=null?n:[],a=()=>ue(t);o.length===0?a():(Promise.all(o).then(a),t.$flags$|=4,o.length=0)}}),fe=(t,e,s,n)=>{try{e=e.render(),t.$flags$&=-17,t.$flags$|=2,$e(t,e,n)}catch(r){x(r,t.$hostElement$)}return null},ue=t=>{const e=t.$cmpMeta$.$tagName$,s=t.$hostElement$,n=P("postUpdate",e),r=t.$lazyInstance$,$=t.$ancestorComponent$;X(r,"componentDidRender",void 0,s),t.$flags$&64?n():(t.$flags$|=64,de(s),n(),t.$onReadyResolve$(s),$||Lt()),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&F(()=>Q(t,!1)),t.$flags$&=-517},Lt=t=>{F(()=>Nt(A,"appload",{detail:{namespace:jt}}))},X=(t,e,s,n)=>{if(t&&t[e])try{return t[e](s)}catch(r){x(r,n)}},de=t=>{var e;return t.classList.add((e=Y.hydratedSelectorName)!=null?e:"hydrated")},ve=(t,e)=>k(t).$instanceValues$.get(e),B=(t,e,s,n)=>{const r=k(t);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 $=r.$hostElement$,l=r.$instanceValues$.get(e),i=r.$flags$,o=r.$lazyInstance$;s=G(s,n.$members$[e][0]);const a=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!a;if((!(i&8)||l===void 0)&&c&&(r.$instanceValues$.set(e,s),o)){if(n.$watchers$&&i&128){const u=n.$watchers$[e];u&&u.map(f=>{try{o[f](s,l,e)}catch(d){x(d,$)}})}(i&18)===2&&Q(r,!1)}},Pt=(t,e,s)=>{var n,r;const $=t.prototype;if(e.$members$||e.$watchers$||t.watchers){t.watchers&&!e.$watchers$&&(e.$watchers$=t.watchers);const l=Object.entries((n=e.$members$)!=null?n:{});if(l.map(([i,[o]])=>{if(o&31||s&2&&o&32){const{get:a,set:c}=Object.getOwnPropertyDescriptor($,i)||{};a&&(e.$members$[i][0]|=2048),c&&(e.$members$[i][0]|=4096),(s&1||!a)&&Object.defineProperty($,i,{get(){{if(!(e.$members$[i][0]&2048))return ve(this,i);const u=k(this),f=u?u.$lazyInstance$:$;return f?f[i]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty($,i,{set(u){const f=k(this);if(c){const d=o&32?this[i]:f.$hostElement$[i];typeof d=="undefined"&&f.$instanceValues$.get(i)?u=f.$instanceValues$.get(i):!f.$instanceValues$.get(i)&&d&&f.$instanceValues$.set(i,d),c.apply(this,[G(u,o)]),u=o&32?this[i]:f.$hostElement$[i],B(this,i,u,e);return}{if(!(s&1)||!(e.$members$[i][0]&4096)){B(this,i,u,e),s&1&&!f.$lazyInstance$&&f.$onReadyPromise$.then(()=>{e.$members$[i][0]&4096&&f.$lazyInstance$[i]!==f.$instanceValues$.get(i)&&(f.$lazyInstance$[i]=u)});return}const d=()=>{const v=f.$lazyInstance$[i];!f.$instanceValues$.get(i)&&v&&f.$instanceValues$.set(i,v),f.$lazyInstance$[i]=G(u,o),B(this,i,f.$lazyInstance$[i],e)};f.$lazyInstance$?d():f.$onReadyPromise$.then(()=>d())}}})}}),s&1){const i=new Map;$.attributeChangedCallback=function(o,a,c){h.jmp(()=>{var u;const f=i.get(o);if(this.hasOwnProperty(f)&&Y.lazyLoad)c=this[f],delete this[f];else{if($.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const v=k(this),p=v==null?void 0:v.$flags$;if(p&&!(p&8)&&p&128&&c!==a){const E=v.$lazyInstance$,g=(u=e.$watchers$)==null?void 0:u[o];g==null||g.forEach(w=>{E[w]!=null&&E[w].call(E,c,a,o)})}return}}const d=Object.getOwnPropertyDescriptor($,f);c=c===null&&typeof this[f]=="boolean"?!1:c,c!==this[f]&&(!d.get||d.set)&&(this[f]=c)})},t.observedAttributes=Array.from(new Set([...Object.keys((r=e.$watchers$)!=null?r:{}),...l.filter(([o,a])=>a[0]&15).map(([o,a])=>{var c;const u=a[1]||o;return i.set(u,o),a[0]&512&&((c=e.$attrsToReflect$)==null||c.push([o,u])),u})]))}}return t},he=(t,e,s,n)=>j(exports,null,function*(){let r;if(!(e.$flags$&32)){if(e.$flags$|=32,s.$lazyBundleId$){const o=Bt(s,e);if(o&&"then"in o){const c=Jt();r=yield o,c()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${e.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Pt(r,s,2),r.isProxied=!0);const a=P("createInstance",s.$tagName$);e.$flags$|=8;try{new r(e)}catch(c){x(c,t)}e.$flags$&=-9,e.$flags$|=128,a()}else{r=t.constructor;const o=t.localName;customElements.whenDefined(o).then(()=>e.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);const a=ht(s);if(!z.has(a)){const c=P("registerStyles",s.$tagName$);te(a,o,!!(s.$flags$&1)),c()}}}const $=e.$ancestorComponent$,l=()=>Q(e,!0);$&&$["s-rc"]?$["s-rc"].push(l):l()}),pe=(t,e)=>{},ge=t=>{if(!(h.$flags$&1)){const e=k(t),s=e.$cmpMeta$,n=P("connectedCallback",s.$tagName$);if(e.$flags$&1)xt(t,e,s.$listeners$),e!=null&&e.$lazyInstance$||e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>pe());else{e.$flags$|=1;{let r=t;for(;r=r.parentNode||r.host;)if(r["s-p"]){kt(e,e.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[$]])=>{if($&31&&t.hasOwnProperty(r)){const l=t[r];delete t[r],t[r]=l}}),he(t,e,s)}n()}},ye=(t,e)=>{},Se=t=>j(exports,null,function*(){if(!(h.$flags$&1)){const e=k(t);e.$rmListeners$&&(e.$rmListeners$.map(s=>s()),e.$rmListeners$=void 0),e!=null&&e.$lazyInstance$||e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>ye())}_.has(t)&&_.delete(t),t.shadowRoot&&_.has(t.shadowRoot)&&_.delete(t.shadowRoot)}),Ee=(t,e={})=>{var s;const n=P(),r=[],$=e.exclude||[],l=A.customElements,i=L.head,o=i.querySelector("meta[charset]"),a=L.createElement("style"),c=[];let u,f=!0;Object.assign(h,e),h.$resourcesUrl$=new URL(e.resourcesUrl||"./",L.baseURI).href;let d=!1;if(t.map(v=>{v[1].map(p=>{var E;const g={$flags$:p[0],$tagName$:p[1],$members$:p[2],$listeners$:p[3]};g.$flags$&4&&(d=!0),g.$members$=p[2],g.$listeners$=p[3],g.$attrsToReflect$=[],g.$watchers$=(E=p[4])!=null?E:{};const w=g.$tagName$,wt=class extends HTMLElement{constructor(S){if(super(S),this.hasRegisteredEventListeners=!1,S=this,qt(S,g),g.$flags$&1){if(!S.shadowRoot)S.attachShadow({mode:"open"});else if(S.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${S.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const S=k(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,xt(this,S,g.$listeners$)),u&&(clearTimeout(u),u=null),f?c.push(this):h.jmp(()=>ge(this))}disconnectedCallback(){h.jmp(()=>Se(this)),h.raf(()=>{var S;const O=k(this),Z=c.findIndex(Tt=>Tt===this);Z>-1&&c.splice(Z,1),((S=O==null?void 0:O.$vnode$)==null?void 0:S.$elm$)instanceof Node&&!O.$vnode$.$elm$.isConnected&&delete O.$vnode$.$elm$})}componentOnReady(){return k(this).$onReadyPromise$}};g.$lazyBundleId$=v[0],!$.includes(w)&&!l.get(w)&&(r.push(w),l.define(w,Pt(wt,g,1)))})}),r.length>0&&(d&&(a.textContent+=at),a.textContent+=r.sort()+Rt,a.innerHTML.length)){a.setAttribute("data-styles","");const v=(s=h.$nonce$)!=null?s:ut(L);v!=null&&a.setAttribute("nonce",v),i.insertBefore(a,o?o.nextSibling:i.firstChild)}f=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>u=setTimeout(Lt,30)),n()},xt=(t,e,s,n)=>{s&&s.map(([r,$,l])=>{const i=Le(t,r),o=ke(e,l),a=Pe(r);h.ael(i,$,o,a),(e.$rmListeners$=e.$rmListeners$||[]).push(()=>h.rel(i,$,o,a))})},ke=(t,e)=>s=>{var n;try{t.$flags$&256?(n=t.$lazyInstance$)==null||n[e](s):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,s])}catch(r){x(r,t.$hostElement$)}},Le=(t,e)=>e&8?A:t,Pe=t=>Wt?{passive:(t&1)!==0,capture:(t&2)!==0}:(t&2)!==0;exports.Host=vt;exports.bootstrapLazy=Ee;exports.getAssetPath=Yt;exports.getElement=Vt;exports.h=m;exports.promiseResolve=ot;exports.registerInstance=Ut;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-8b4525de-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-8b4525de-B_v1jFF2.cjs"),o=require("./locale-B5abSHU_.cjs"),a=require("./vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs"),c=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),m=require("./player-change-password-gm2-e732ee8e-DCoOPZ6G.cjs");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8
8
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9
|
-
*/const
|
|
9
|
+
*/const v=t=>class extends a.InputControlMixin(t){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.value&&e.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),e.value=""),this.value&&(e.value=this.value))}_setFocused(e){super._setFocused(e),!e&&document.hasFocus()&&this._requestValidation()}_onInput(e){super._onInput(e),this.invalid&&this._requestValidation()}_valueChanged(e,r){super._valueChanged(e,r),r!==void 0&&this.invalid&&this._requestValidation()}};/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12
12
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13
|
-
*/const
|
|
13
|
+
*/const g=t=>class extends v(t){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new a.InputController(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new a.LabelledInputController(this.inputElement,this._labelController))}};/**
|
|
14
14
|
* @license
|
|
15
15
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
16
16
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17
|
-
*/a.registerStyles("vaadin-text-field",a.inputFieldShared,{moduleId:"vaadin-text-field-styles"});class p extends
|
|
17
|
+
*/a.registerStyles("vaadin-text-field",a.inputFieldShared,{moduleId:"vaadin-text-field-styles"});class p extends g(a.ThemableMixin(a.ElementMixin(a.PolymerElement))){static get is(){return"vaadin-text-field"}static get template(){return a.html`
|
|
18
18
|
<div class="vaadin-field-container">
|
|
19
19
|
<div part="label">
|
|
20
20
|
<slot name="label"></slot>
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
66
66
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
67
|
-
*/const
|
|
67
|
+
*/const w=a.i$3`
|
|
68
68
|
[part='reveal-button']::before {
|
|
69
69
|
content: var(--lumo-icons-eye);
|
|
70
70
|
}
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
[part='reveal-button'][hidden] {
|
|
83
83
|
display: none !important;
|
|
84
84
|
}
|
|
85
|
-
`;a.registerStyles("vaadin-password-field",[a.inputFieldShared$1,
|
|
85
|
+
`;a.registerStyles("vaadin-password-field",[a.inputFieldShared$1,w],{moduleId:"lumo-password-field"});/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
88
88
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
89
|
-
*/a.registerStyles("vaadin-password-field-button",a.buttonStyles,{moduleId:"vaadin-password-field-button-styles"});class
|
|
89
|
+
*/a.registerStyles("vaadin-password-field-button",a.buttonStyles,{moduleId:"vaadin-password-field-button-styles"});class f extends a.ButtonMixin(a.DirMixin(a.ThemableMixin(a.PolymerElement))){static get is(){return"vaadin-password-field-button"}static get template(){return a.html``}}a.defineCustomElement(f);/**
|
|
90
90
|
* @license
|
|
91
91
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
92
92
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as w, c as p, h as a, g as b } from "./index-8b4525de-
|
|
2
|
-
import { t as
|
|
3
|
-
import { r as d, f as m, m as y, h, T as x, b as c, i as
|
|
1
|
+
import { r as w, c as p, h as a, g as b } from "./index-8b4525de-D9uWlISq.js";
|
|
2
|
+
import { t as o } from "./locale-BG_TzyDt.js";
|
|
3
|
+
import { r as d, f as m, m as y, h, T as x, b as c, i as v, a9 as C, g as F, B as V, o as S, L as k, J as E, aa as I, a as M, q as B, I as R, z as T, n as P, j as g, E as D, P as _ } from "./vaadin-button-mixin-b8087c3c-DTenw4S9.js";
|
|
4
4
|
import { t as A } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
5
|
-
import { P as ae } from "./player-change-password-gm2-e732ee8e-
|
|
5
|
+
import { P as ae } from "./player-change-password-gm2-e732ee8e-Bg170B9b.js";
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
8
8
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -159,7 +159,7 @@ const $ = (t) => class extends N(t) {
|
|
|
159
159
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
160
160
|
*/
|
|
161
161
|
d("vaadin-text-field", y, { moduleId: "vaadin-text-field-styles" });
|
|
162
|
-
class f extends $(
|
|
162
|
+
class f extends $(g(D(_))) {
|
|
163
163
|
static get is() {
|
|
164
164
|
return "vaadin-text-field";
|
|
165
165
|
}
|
|
@@ -206,7 +206,7 @@ c(f);
|
|
|
206
206
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
207
207
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
208
208
|
*/
|
|
209
|
-
const H =
|
|
209
|
+
const H = v`
|
|
210
210
|
:host {
|
|
211
211
|
position: absolute;
|
|
212
212
|
right: 0;
|
|
@@ -228,7 +228,7 @@ d("vaadin-password-field-button", [C, H], {
|
|
|
228
228
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
229
229
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
230
230
|
*/
|
|
231
|
-
const L =
|
|
231
|
+
const L = v`
|
|
232
232
|
[part='reveal-button']::before {
|
|
233
233
|
content: var(--lumo-icons-eye);
|
|
234
234
|
}
|
|
@@ -254,7 +254,7 @@ d("vaadin-password-field", [m, L], { moduleId: "lumo-password-field" });
|
|
|
254
254
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
255
255
|
*/
|
|
256
256
|
d("vaadin-password-field-button", F, { moduleId: "vaadin-password-field-button-styles" });
|
|
257
|
-
class q extends V(E(
|
|
257
|
+
class q extends V(E(g(_))) {
|
|
258
258
|
static get is() {
|
|
259
259
|
return "vaadin-password-field-button";
|
|
260
260
|
}
|
|
@@ -526,18 +526,18 @@ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passwo
|
|
|
526
526
|
setErrorMessage() {
|
|
527
527
|
var t, i, e, s;
|
|
528
528
|
if (this.isDuplicateInput && !this.originalValid)
|
|
529
|
-
return
|
|
529
|
+
return o("invalidOriginalPasswordError", this.language);
|
|
530
530
|
if (this.inputReference.validity.patternMismatch) {
|
|
531
|
-
const r = (t = this.validation.custom.find((
|
|
532
|
-
return
|
|
531
|
+
const r = (t = this.validation.custom.find((l) => l.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, n = (i = this.validation.custom.find((l) => l.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
532
|
+
return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
|
|
533
533
|
}
|
|
534
534
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
535
|
-
return
|
|
535
|
+
return o("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
536
536
|
if (this.inputReference.validity.valueMissing)
|
|
537
|
-
return
|
|
537
|
+
return o("requiredError", this.language);
|
|
538
538
|
if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
|
|
539
|
-
const r = (e = this.validation.custom.find((
|
|
540
|
-
return
|
|
539
|
+
const r = (e = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || e === void 0 ? void 0 : e.errorKey, n = (s = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || s === void 0 ? void 0 : s.errorMessage;
|
|
540
|
+
return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
renderTooltip() {
|
|
@@ -545,7 +545,7 @@ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passwo
|
|
|
545
545
|
}
|
|
546
546
|
renderComplexityPopup() {
|
|
547
547
|
const t = this.passwordComplexity.length, e = this.passwordComplexity.filter((r) => r.passed).length / t, s = this.passwordComplexity.every((r) => r.passed);
|
|
548
|
-
return a("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, a("div", { class: "password__complexity--strength" }, a("p", { class: "password__complexity--text" },
|
|
548
|
+
return a("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, a("div", { class: "password__complexity--strength" }, a("p", { class: "password__complexity--text" }, o("passwordStrength", this.language), " ", a("span", { class: "password__complexity--text-bold" }, o(`${s ? "passwordStrengthStrong" : "passwordStrengthWeak"}`, this.language))), a("meter", { value: e, min: "0", max: "1" })), a("div", null, this.passwordComplexity.map((r, n) => a("div", { key: n }, a("input", { class: "password__complexity--checkbox", type: "checkbox", checked: r.passed, disabled: !0 }), a("span", null, o(`${r.ruleKey}`, this.language) ? o(`${r.ruleKey}`, this.language) : r.rule)))));
|
|
549
549
|
}
|
|
550
550
|
render() {
|
|
551
551
|
let t = "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as w, c as p, h as a, g as b } from "./index-8b4525de-
|
|
2
|
-
import { t as
|
|
3
|
-
import { r as d, f as m, m as y, h, T as x, b as c, i as
|
|
1
|
+
import { r as w, c as p, h as a, g as b } from "./index-8b4525de-0casbHVH.js";
|
|
2
|
+
import { t as o } from "./locale-BG_TzyDt.js";
|
|
3
|
+
import { r as d, f as m, m as y, h, T as x, b as c, i as v, a9 as C, g as F, B as V, o as S, L as k, J as E, aa as I, a as M, q as B, I as R, z as T, n as P, j as g, E as D, P as _ } from "./vaadin-button-mixin-b8087c3c-DMeIIR12.js";
|
|
4
4
|
import { t as A } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
5
|
-
import { P as ae } from "./player-change-password-gm2-e732ee8e-
|
|
5
|
+
import { P as ae } from "./player-change-password-gm2-e732ee8e-DvN-DboQ.js";
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
8
8
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -159,7 +159,7 @@ const $ = (t) => class extends N(t) {
|
|
|
159
159
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
160
160
|
*/
|
|
161
161
|
d("vaadin-text-field", y, { moduleId: "vaadin-text-field-styles" });
|
|
162
|
-
class f extends $(
|
|
162
|
+
class f extends $(g(D(_))) {
|
|
163
163
|
static get is() {
|
|
164
164
|
return "vaadin-text-field";
|
|
165
165
|
}
|
|
@@ -206,7 +206,7 @@ c(f);
|
|
|
206
206
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
207
207
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
208
208
|
*/
|
|
209
|
-
const H =
|
|
209
|
+
const H = v`
|
|
210
210
|
:host {
|
|
211
211
|
position: absolute;
|
|
212
212
|
right: 0;
|
|
@@ -228,7 +228,7 @@ d("vaadin-password-field-button", [C, H], {
|
|
|
228
228
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
229
229
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
230
230
|
*/
|
|
231
|
-
const L =
|
|
231
|
+
const L = v`
|
|
232
232
|
[part='reveal-button']::before {
|
|
233
233
|
content: var(--lumo-icons-eye);
|
|
234
234
|
}
|
|
@@ -254,7 +254,7 @@ d("vaadin-password-field", [m, L], { moduleId: "lumo-password-field" });
|
|
|
254
254
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
255
255
|
*/
|
|
256
256
|
d("vaadin-password-field-button", F, { moduleId: "vaadin-password-field-button-styles" });
|
|
257
|
-
class q extends V(E(
|
|
257
|
+
class q extends V(E(g(_))) {
|
|
258
258
|
static get is() {
|
|
259
259
|
return "vaadin-password-field-button";
|
|
260
260
|
}
|
|
@@ -526,18 +526,18 @@ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passwo
|
|
|
526
526
|
setErrorMessage() {
|
|
527
527
|
var t, i, e, s;
|
|
528
528
|
if (this.isDuplicateInput && !this.originalValid)
|
|
529
|
-
return
|
|
529
|
+
return o("invalidOriginalPasswordError", this.language);
|
|
530
530
|
if (this.inputReference.validity.patternMismatch) {
|
|
531
|
-
const r = (t = this.validation.custom.find((
|
|
532
|
-
return
|
|
531
|
+
const r = (t = this.validation.custom.find((l) => l.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, n = (i = this.validation.custom.find((l) => l.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
532
|
+
return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
|
|
533
533
|
}
|
|
534
534
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
535
|
-
return
|
|
535
|
+
return o("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
536
536
|
if (this.inputReference.validity.valueMissing)
|
|
537
|
-
return
|
|
537
|
+
return o("requiredError", this.language);
|
|
538
538
|
if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
|
|
539
|
-
const r = (e = this.validation.custom.find((
|
|
540
|
-
return
|
|
539
|
+
const r = (e = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || e === void 0 ? void 0 : e.errorKey, n = (s = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || s === void 0 ? void 0 : s.errorMessage;
|
|
540
|
+
return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
renderTooltip() {
|
|
@@ -545,7 +545,7 @@ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passwo
|
|
|
545
545
|
}
|
|
546
546
|
renderComplexityPopup() {
|
|
547
547
|
const t = this.passwordComplexity.length, e = this.passwordComplexity.filter((r) => r.passed).length / t, s = this.passwordComplexity.every((r) => r.passed);
|
|
548
|
-
return a("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, a("div", { class: "password__complexity--strength" }, a("p", { class: "password__complexity--text" },
|
|
548
|
+
return a("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, a("div", { class: "password__complexity--strength" }, a("p", { class: "password__complexity--text" }, o("passwordStrength", this.language), " ", a("span", { class: "password__complexity--text-bold" }, o(`${s ? "passwordStrengthStrong" : "passwordStrengthWeak"}`, this.language))), a("meter", { value: e, min: "0", max: "1" })), a("div", null, this.passwordComplexity.map((r, n) => a("div", { key: n }, a("input", { class: "password__complexity--checkbox", type: "checkbox", checked: r.passed, disabled: !0 }), a("span", null, o(`${r.ruleKey}`, this.language) ? o(`${r.ruleKey}`, this.language) : r.rule)))));
|
|
549
549
|
}
|
|
550
550
|
render() {
|
|
551
551
|
let t = "";
|
package/stencil/{player-change-password-gm2-DSTqyOhE.js → player-change-password-gm2-B7kNTG02.js}
RENAMED
|
@@ -14,7 +14,7 @@ var u = (l, i, a) => new Promise((s, d) => {
|
|
|
14
14
|
}, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(o, p);
|
|
15
15
|
t((a = a.apply(l, i)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as m, p as c } from "./index-8b4525de-
|
|
17
|
+
import { b as m, p as c } from "./index-8b4525de-0casbHVH.js";
|
|
18
18
|
import { g } from "./app-globals-0f993ce5-C0vi_PY4.js";
|
|
19
19
|
var r = () => {
|
|
20
20
|
const l = import.meta.url, i = {};
|
package/stencil/{player-change-password-gm2-Dw3D3ckz.cjs → player-change-password-gm2-CgHGqfZG.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var s=(l,i,a)=>new Promise((p,u)=>{var c=e=>{try{t(a.next(e))}catch(n){u(n)}},r=e=>{try{t(a.throw(e))}catch(n){u(n)}},t=e=>e.done?p(e.value):Promise.resolve(e.value).then(c,r);t((a=a.apply(l,i)).next())});const o=require("./index-8b4525de-
|
|
1
|
+
"use strict";var s=(l,i,a)=>new Promise((p,u)=>{var c=e=>{try{t(a.next(e))}catch(n){u(n)}},r=e=>{try{t(a.throw(e))}catch(n){u(n)}},t=e=>e.done?p(e.value):Promise.resolve(e.value).then(c,r);t((a=a.apply(l,i)).next())});const o=require("./index-8b4525de-B_v1jFF2.cjs"),m=require("./app-globals-0f993ce5-8artnnwr.cjs");var d=typeof document!="undefined"?document.currentScript:null,g=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/player-change-password-gm2-CgHGqfZG.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),o.promiseResolve(i)};g().then(l=>s(exports,null,function*(){return yield m.globalScripts(),o.bootstrapLazy([["password-input_2",[[1,"player-change-password-gm2",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["updateClientStyling"],clientStylingUrl:["updateClientStyling"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}]]],["checkbox-group-input_9",[[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]],["general-input",[[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"]}]]],["toggle-checkbox-input",[[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]]]]]],l)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-8b4525de-BFiXEsaX.cjs"),m="en",c={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta."}},w=s=>new Promise(a=>{fetch(s).then(e=>e.json()).then(e=>{Object.keys(e).forEach(t=>{for(let i in e[t])c[t][i]=e[t][i]}),a(!0)})}),o=(s,a,e)=>{const t=a;let i=c[t!==void 0?t:m][s];if(e!==void 0)for(const[l,n]of Object.entries(e.values)){const h=new RegExp(`{${l}}`,"g");i=i.replace(h,n)}return i};function d(){const s=navigator.userAgent.toLowerCase(),a=screen.availWidth,e=screen.availHeight;if(s.includes("iphone"))return"mobile";if(s.includes("android")){if(e>a&&a<800)return"mobile";if(a>e&&e<800)return"tablet"}return"desktop"}const p=":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #D0046C);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #D0046C)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #D0046C)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #D0046C));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #D0046C));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}",g=p,u=class{constructor(s){r.registerInstance(this,s),this.language="en",this.endpoint="",this.session="",this.token="",this.forgotMode="",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.isBtnSubmitEnabled=!1,this.isMobile=d()==="mobile"||d()==="tablet",this.currentPasswordValue="",this.newPasswordValue="",this.confirmPasswordValue="",this.isCurrentPasswordValid=!1,this.isNewPasswordValid=!1,this.isConfirmPasswordValid=!1,this.errorMsg="",this.currentPasswordValidationSchema={mandatory:!0,custom:[]},this.newPasswordValidationSchema={mandatory:!0,custom:[]},this.confirmPasswordValidationSchema={mandatory:!0,custom:[]},this.setClientStyling=()=>{let a=document.createElement("style");a.innerHTML=this.clientStyling,this.stylingContainer.shadowRoot.prepend(a)},this.setClientStylingURL=()=>{let a=new URL(this.clientStylingUrl),e=document.createElement("style");fetch(a.href).then(t=>t.text()).then(t=>{e.innerHTML=t,this.clientStyling=t,setTimeout(()=>{this.stylingContainer.shadowRoot.prepend(e)},1)})},this.initValidationSchemas=()=>{this.policy&&(this.newPasswordValidationSchema.custom=this.policy.customValidationRules,this.newPasswordValidationSchema.maxLength=this.policy.maximumPasswordLength,this.newPasswordValidationSchema.minLength=this.policy.minimumPasswordLength)},this.setErrorMsg=a=>{switch(a){case"gm.pms.password_policy_failed":const e={forbiddenLastPasswordsCount:this.policy.forbiddenLastPasswordsCount,minimumPasswordAgeLimitHours:this.policy.minimumPasswordAgeLimitHours,hours:this.policy.minimumPasswordAgeLimitHours>1?"hours":"hour"};this.errorMsg=o(a,this.language,{values:e});break;case"gm.pms.password_not_verified_unauthorized":this.errorMsg=o(a,this.language);break;default:this.errorMsg=o("errorMsgGeneric",this.language)}},this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.getPolicy=()=>{const a=new URL("/api/v1/players/password-management/password",this.endpoint),e=new Headers;e.append("Accept","text/plain");const t={method:"GET",headers:e};fetch(a.href,t).then(i=>i.status===200&&i.json()).then(i=>this.policy=i).catch(i=>console.error(i))},this.submitNewPassword=a=>{if(a.preventDefault(),this.isBtnSubmitEnabled){const e=new URL("/api/v1/players/password-management/password",this.endpoint),t=new Headers;t.append("accept","text/plain"),t.append("Content-Type","application/json-patch+json");const i=JSON.stringify({token:this.forgotMode==="true"?this.token:this.session,oldPassword:this.currentPasswordValue,newPassword:this.confirmPasswordValue}),l={method:"PUT",headers:t,body:i};fetch(e.href,l).then(n=>n.json()).then(n=>{n.errorCode===null&&n.message==="pms.password.update.success"?(window.postMessage({type:"PasswordChangedSuccessfully"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("successMsg",this.language)}},window.location.href)):(this.setErrorMsg(n.message),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMsg}},window.location.href))}).catch(n=>console.error(n))}}}updateClientStyling(){this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL()}sendValidityStateHandler(s){switch(this.isBtnSubmitEnabled=!1,s.detail.name){case"password":this.isCurrentPasswordValid=s.detail.valid;break;case"newPassword":this.isNewPasswordValid=s.detail.valid;break;case"newPasswordDuplicate":this.isConfirmPasswordValid=s.detail.valid;break}(this.forgotMode==="true"||this.isCurrentPasswordValid)&&this.isNewPasswordValid&&this.isConfirmPasswordValid&&(this.isBtnSubmitEnabled=!0)}sendInputValueHandler(s){switch(s.detail.name){case"password":this.currentPasswordValue=s.detail.value;break;case"newPassword":this.newPasswordValue=s.detail.value;break;case"newPasswordDuplicate":this.confirmPasswordValue=s.detail.value;break}}componentWillLoad(){if(this.getPolicy(),this.initValidationSchemas(),this.translationUrl)return w(this.translationUrl)}componentDidLoad(){this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL()}render(){return r.h("div",{key:"fdc5ea51aa25b9fbc8a7ee478297d71d15a08f2c",class:"PlayerChangePassword",ref:s=>this.stylingContainer=s},r.h("form",{key:"9e57cd2df6b15a1ae99fb27fa3a2486f1a21f18f",class:"Form"},this.isMobile?r.h("div",{class:"ButtonReturn",onClick:this.toggleScreen},r.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},r.h("g",{transform:"translate(-20 -158)"},r.h("g",{transform:"translate(20 158)"},r.h("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)"})))),r.h("h2",{class:"TitleMobile"},o("title",this.language))):r.h("h2",{class:"Title"},o("title",this.language)),r.h("section",{key:"9b60406411e82d8dafa816ce01d6e3a5e57d8525",class:"FieldsSection"},this.forgotMode==="false"&&r.h("password-input",{key:"f82fe04e2fc6cf1edc0a09aecb45ad369d24f0d1",language:this.language,name:"password","display-name":o("passwordDisplayText",this.language),placeholder:o("passwordPlaceholderText",this.language),validation:this.currentPasswordValidationSchema,clientStyling:this.clientStyling}),r.h("password-input",{key:"c187ab98fd9f1c030ed346d3bfc2e63fcf11a606",language:this.language,name:"newPassword","display-name":o("newPasswordDisplayText",this.language),placeholder:o("newPasswordPlaceholderText",this.language),validation:this.newPasswordValidationSchema,clientStyling:this.clientStyling}),r.h("password-input",{key:"1036d4a277523255c4d9295a4ac21319073bc97c",language:this.language,name:"newPasswordDuplicate","display-name":o("confirmPasswordDisplayText",this.language),placeholder:o("confirmPasswordPlaceholderText",this.language),validation:this.confirmPasswordValidationSchema,"is-duplicate-input":!0,clientStyling:this.clientStyling})),r.h("section",{key:"f717e1427c3669abfafb8a3bd81a3b804427c50b",class:"ButtonsSection"},r.h("button",{key:"02229a9b3e5f730e77831bec06043392f29bd8d0",class:"Button",disabled:!this.isBtnSubmitEnabled,onClick:this.submitNewPassword},o("btnSubmit",this.language)))))}static get watchers(){return{clientStyling:["updateClientStyling"],clientStylingUrl:["updateClientStyling"]}}};u.style=g;exports.PlayerChangePasswordGm2=u;
|
|
1
|
+
"use strict";const r=require("./index-8b4525de-B_v1jFF2.cjs"),m="en",c={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta."}},w=s=>new Promise(a=>{fetch(s).then(e=>e.json()).then(e=>{Object.keys(e).forEach(t=>{for(let i in e[t])c[t][i]=e[t][i]}),a(!0)})}),o=(s,a,e)=>{const t=a;let i=c[t!==void 0?t:m][s];if(e!==void 0)for(const[l,n]of Object.entries(e.values)){const h=new RegExp(`{${l}}`,"g");i=i.replace(h,n)}return i};function d(){const s=navigator.userAgent.toLowerCase(),a=screen.availWidth,e=screen.availHeight;if(s.includes("iphone"))return"mobile";if(s.includes("android")){if(e>a&&a<800)return"mobile";if(a>e&&e<800)return"tablet"}return"desktop"}const p=":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #D0046C);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #D0046C)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #D0046C)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #D0046C));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #D0046C));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}",g=p,u=class{constructor(s){r.registerInstance(this,s),this.language="en",this.endpoint="",this.session="",this.token="",this.forgotMode="",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.isBtnSubmitEnabled=!1,this.isMobile=d()==="mobile"||d()==="tablet",this.currentPasswordValue="",this.newPasswordValue="",this.confirmPasswordValue="",this.isCurrentPasswordValid=!1,this.isNewPasswordValid=!1,this.isConfirmPasswordValid=!1,this.errorMsg="",this.currentPasswordValidationSchema={mandatory:!0,custom:[]},this.newPasswordValidationSchema={mandatory:!0,custom:[]},this.confirmPasswordValidationSchema={mandatory:!0,custom:[]},this.setClientStyling=()=>{let a=document.createElement("style");a.innerHTML=this.clientStyling,this.stylingContainer.shadowRoot.prepend(a)},this.setClientStylingURL=()=>{let a=new URL(this.clientStylingUrl),e=document.createElement("style");fetch(a.href).then(t=>t.text()).then(t=>{e.innerHTML=t,this.clientStyling=t,setTimeout(()=>{this.stylingContainer.shadowRoot.prepend(e)},1)})},this.initValidationSchemas=()=>{this.policy&&(this.newPasswordValidationSchema.custom=this.policy.customValidationRules,this.newPasswordValidationSchema.maxLength=this.policy.maximumPasswordLength,this.newPasswordValidationSchema.minLength=this.policy.minimumPasswordLength)},this.setErrorMsg=a=>{switch(a){case"gm.pms.password_policy_failed":const e={forbiddenLastPasswordsCount:this.policy.forbiddenLastPasswordsCount,minimumPasswordAgeLimitHours:this.policy.minimumPasswordAgeLimitHours,hours:this.policy.minimumPasswordAgeLimitHours>1?"hours":"hour"};this.errorMsg=o(a,this.language,{values:e});break;case"gm.pms.password_not_verified_unauthorized":this.errorMsg=o(a,this.language);break;default:this.errorMsg=o("errorMsgGeneric",this.language)}},this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.getPolicy=()=>{const a=new URL("/api/v1/players/password-management/password",this.endpoint),e=new Headers;e.append("Accept","text/plain");const t={method:"GET",headers:e};fetch(a.href,t).then(i=>i.status===200&&i.json()).then(i=>this.policy=i).catch(i=>console.error(i))},this.submitNewPassword=a=>{if(a.preventDefault(),this.isBtnSubmitEnabled){const e=new URL("/api/v1/players/password-management/password",this.endpoint),t=new Headers;t.append("accept","text/plain"),t.append("Content-Type","application/json-patch+json");const i=JSON.stringify({token:this.forgotMode==="true"?this.token:this.session,oldPassword:this.currentPasswordValue,newPassword:this.confirmPasswordValue}),l={method:"PUT",headers:t,body:i};fetch(e.href,l).then(n=>n.json()).then(n=>{n.errorCode===null&&n.message==="pms.password.update.success"?(window.postMessage({type:"PasswordChangedSuccessfully"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("successMsg",this.language)}},window.location.href)):(this.setErrorMsg(n.message),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMsg}},window.location.href))}).catch(n=>console.error(n))}}}updateClientStyling(){this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL()}sendValidityStateHandler(s){switch(this.isBtnSubmitEnabled=!1,s.detail.name){case"password":this.isCurrentPasswordValid=s.detail.valid;break;case"newPassword":this.isNewPasswordValid=s.detail.valid;break;case"newPasswordDuplicate":this.isConfirmPasswordValid=s.detail.valid;break}(this.forgotMode==="true"||this.isCurrentPasswordValid)&&this.isNewPasswordValid&&this.isConfirmPasswordValid&&(this.isBtnSubmitEnabled=!0)}sendInputValueHandler(s){switch(s.detail.name){case"password":this.currentPasswordValue=s.detail.value;break;case"newPassword":this.newPasswordValue=s.detail.value;break;case"newPasswordDuplicate":this.confirmPasswordValue=s.detail.value;break}}componentWillLoad(){if(this.getPolicy(),this.initValidationSchemas(),this.translationUrl)return w(this.translationUrl)}componentDidLoad(){this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL()}render(){return r.h("div",{key:"fdc5ea51aa25b9fbc8a7ee478297d71d15a08f2c",class:"PlayerChangePassword",ref:s=>this.stylingContainer=s},r.h("form",{key:"9e57cd2df6b15a1ae99fb27fa3a2486f1a21f18f",class:"Form"},this.isMobile?r.h("div",{class:"ButtonReturn",onClick:this.toggleScreen},r.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},r.h("g",{transform:"translate(-20 -158)"},r.h("g",{transform:"translate(20 158)"},r.h("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)"})))),r.h("h2",{class:"TitleMobile"},o("title",this.language))):r.h("h2",{class:"Title"},o("title",this.language)),r.h("section",{key:"9b60406411e82d8dafa816ce01d6e3a5e57d8525",class:"FieldsSection"},this.forgotMode==="false"&&r.h("password-input",{key:"f82fe04e2fc6cf1edc0a09aecb45ad369d24f0d1",language:this.language,name:"password","display-name":o("passwordDisplayText",this.language),placeholder:o("passwordPlaceholderText",this.language),validation:this.currentPasswordValidationSchema,clientStyling:this.clientStyling}),r.h("password-input",{key:"c187ab98fd9f1c030ed346d3bfc2e63fcf11a606",language:this.language,name:"newPassword","display-name":o("newPasswordDisplayText",this.language),placeholder:o("newPasswordPlaceholderText",this.language),validation:this.newPasswordValidationSchema,clientStyling:this.clientStyling}),r.h("password-input",{key:"1036d4a277523255c4d9295a4ac21319073bc97c",language:this.language,name:"newPasswordDuplicate","display-name":o("confirmPasswordDisplayText",this.language),placeholder:o("confirmPasswordPlaceholderText",this.language),validation:this.confirmPasswordValidationSchema,"is-duplicate-input":!0,clientStyling:this.clientStyling})),r.h("section",{key:"f717e1427c3669abfafb8a3bd81a3b804427c50b",class:"ButtonsSection"},r.h("button",{key:"02229a9b3e5f730e77831bec06043392f29bd8d0",class:"Button",disabled:!this.isBtnSubmitEnabled,onClick:this.submitNewPassword},o("btnSubmit",this.language)))))}static get watchers(){return{clientStyling:["updateClientStyling"],clientStylingUrl:["updateClientStyling"]}}};u.style=g;exports.PlayerChangePasswordGm2=u;
|