PageSourceSearch

https://pinupsports-bangladesh.com/chunk-C-Uvpg_62.js

js pinupsports-bangladesh.com collected 2026-10-08 10:00:26 UTC 49,570 bytes, 2 lines download raw bytes

1import{n as s,s as x,t as r}from"./chunk-DcxQp08X.js";import{Bo as fV,Co as de,D as B_,Ec as pD,En as LF,Eu as yre,Gi as Vre,Gl as wL,Gn as Ml,H as Cr$1,Ia as _e,Ln as M0,Ls as kh,Ma as _F,Mo as eI,Nc as ql,Nl as vL,P as CF,Po as ei$1,Ps as kF,Qt as IL,Rc as qo,Ro as fF,U as Cre,Vi as Vh,Yl as we,Zt as I,_t as Ere,ao as bo$1,ar as O0,br as Ph,c as AD,ci as Sre,co as bt$1,ct as EL,di as TD,dn as JD,el as rt$1,gi as To$1,hu as yL,is as gt$1,iu as xL,ko as e1,mt as Ene,nl as sI,ot as EF,pr as One,qo as ft$1,qr as SL,rs as gq,s as $x,sc as mq,su as xg,tl as s1,to as be,vs as iV,wi as UF,zi as V_}from"./chunk-DxdyC12N.js";import{o as Nt$1}from"./chunk-CZrcFDwR.js";import{B as ar,D as Ri,N as Ws,R as Ys,Z as ki,g as Hs,j as Us,p as Gs,pt as yt$1,r as $s,tt as pn}from"./chunk-BFoC6Klz.js";import"./chunk-CUExhcdq.js";import{$ as ya,C as Qu,T as Sa,Y as pc,Z as tc,h as Lc,m as L,x as Pt$1}from"./chunk-CHA91-96.js";import"./chunk-BepuRpAD.js";import"./chunk-DvaOuVOc.js";import"./chunk-CxpMKwL6.js";import"./chunk-DFzXntJS.js";import{t as x$1}from"./chunk-t1Sxvd0u.js";import{a as wt$1,i as bt$2,n as Dt$1,t as At$1}from"./chunk-DNKT51RU.js";import{J as po$1,nt as wl,w as Vm,x as Uf}from"./chunk-kAwGSxXp.js";import"./chunk-CwWYgGSy.js";import"./chunk-CHxgslPk.js";import"./chunk-DCFpprhC.js";import{n as B}from"./chunk-9WCZrD3Y.js";import"./chunk-DHreXmhs.js";import"./chunk-CoCzVuUt.js";import"./chunk-nPjAE169.js";import"./chunk-Bt8kqa4g.js";import{a as v}from"./chunk-CNeCp4HP.js";import{t as It$1}from"./chunk-C-hYMp2t.js";import{t as w}from"./chunk-BkuoxGJ3.js";import"./chunk-Bs2kDmvQ.js";import{N as un,P as vn,_ as Zi,l as Ki,v as ae$1}from"./chunk-BE9QIh-S.js";import"./chunk-BoxSb6sw.js";import"./chunk-BAyp46Gv.js";import"./chunk-Cw0ytHJ3.js";import"./chunk-Cxs5BYHa2.js";import"./chunk-DjkO8Gvb2.js";import"./chunk-C4FCnuMp2.js";import"./chunk-Bb6z_A122.js";import"./chunk-Brj-o8iI2.js";import"./chunk-DBIc8cX32.js";import"./chunk-DQf8kSpQ2.js";import"./chunk-CiY2auNE2.js";import{r as w$1,t as D}from"./chunk-BHiJuPqx2.js";import"./chunk-DXEc_AhO2.js";import{t as Dt$2}from"./chunk-Eg-JZ08L2.js";import"./chunk-FVogzr_w2.js";import"./chunk-uLkJP8k-2.js";import"./chunk-BI-7vdrg.js";import{r as p$1}from"./chunk-CXTrBZxc.js";import{t as I$1}from"./chunk-CscGDqoo.js";import"./chunk-B4eHhKQx.js";import"./chunk-BNSUujvp.js";import"./chunk-CSfVmUZv.js";import"./chunk-pUll_2H9.js";import{l as Lr,s as Ir}from"./chunk-g4PrE0CF.js";import{t as oi}from"./chunk-CPs6oyGi.js";import{n as p$2}from"./chunk-qmPi3Ym82.js";import{c as xo$1,t as Ho}from"./chunk-BlzU2sjX2.js";import{F as ce,J as ne$1,L as ee,P as be$1,Q as re$1,R as f,U as ie,Y as oe$1,ct as y,et as se$1,i as C,k as Y,nt as u,s as E,tt as te$1}from"./chunk-kAB-oK6R2.js";import{a as p$3,i as ke,n as Ie$1,o as zt,r as Pe,t as $t$1}from"./chunk-BouFIwzW2.js";import{t as u$1}from"./chunk-C5-yj0SZ2.js";import{Ar as ao}from"./main-STSPIAXN.js";import{t as $r}from"./chunk-BOqe9Biu.js";var Ze=(o=>(o.CurrentPassword=`current_password`,o.NewPassword=`new_password`,o.NewPasswordRepeat=`repeat_new_password`,o))(Ze||{});var Oe=`ProfileSecurityPage`;var h=Ws({source:Oe,events:{opened:Us(),closed:Us(),loadMoreSessionsClicked:Us(),loadSessions:Us(),closeSessionsClicked:Us(),changePasswordClicked:ar(),disableTwoFactorAuthClicked:Us()}});var at={minlength:`password_symbols_min_length_error`,maxlength:`password_symbols_max_length_error`,required:`password_symbols_required_error`,whitespacePresented:`password_whitespace_not_allowed_error`,matchPasswords:`not_match_passwords_error`};var te=class te{constructor(){this.playerPhone=mq(null);this.playerEmail=mq(null);this.isPasswordsVisible=be(!1);this.PasswordInputFields=Ze;this.changePasswordForm=new w$1({currentPassword:new D(``,[xg.required]),newPassword:new D(``,Lr),repeatNewPassword:new D(``,[xg.required])},Ir.matchPasswords(`newPassword`,`repeatNewPassword`));this._store=I(ki);this._gtmService=I(w)}ngOnInit(){this.changePasswordForm.disabledWhile(this._store.select(wl.selectIsPasswordChangeInProgress),{emitEvent:!1})}changePassword(){if(this.changePasswordForm.valid){let t=this.changePasswordForm.value;
1this._store.dispatch(h.changePasswordClicked({payload:t})),this._handleChangePasswordApplied()}}handleControlErrorOnBlurred(t,i){this._gtmService.pushTag(y(this._prepareChangePasswordErrors(t),i))}handleControlVisibilityButtonClicked(t,i){this._gtmService.pushTag(E(i,t)),(i===`new_password`||i===`repeat_new_password`)&&this.isPasswordsVisible.update(o=>!o)}handleFocusin(t){this._gtmService.pushTag(ee(t===`current_password`?`input_current_password`:`input_new_password`))}handleChangePasswordButtonClicked(){this._gtmService.pushTag(ce)}_handleChangePasswordApplied(){this._store.select(wl.selectPasswordChangeAction).pipe(gt$1(t=>t.finished),bt$1(1)).subscribe(t=>{t.succeeded&&(this.changePasswordForm.reset(),this._gtmService.pushTag(f(!0))),t.error&&(this.changePasswordForm.setErrors({changePassword:!0}),this._gtmService.pushTag(f(!1,`${t.error.errorCode}.${t.error.message}`))),this._store.dispatch(po$1.passwordChange.clearAction())})}_prepareChangePasswordErrors(t){return`error_undefined.${t.map(o=>at[o]).join(`, `)}`}};te.ɵfac=function(i){return new(i||te)},te.ɵcmp=To$1({type:te,selectors:[[`pu-security-change-password`]],inputs:{playerPhone:[1,`playerPhone`],playerEmail:[1,`playerEmail`]},decls:14,vars:30,consts:[[1,`pu-security-change-password__description`],[1,`pu-security-change-password__form`,3,`submit`,`formGroup`],[`autocomplete`,`current-password`,1,`pu-security-change-password__input`,3,`focusin`,`handleInvalidateControlOnBlurred`,`handleControlVisibilityButtonClicked`,`formControl`,`controlId`,`label`,`controlTestId`],[1,`pu-security-change-password__input`],[`autocomplete`,`new-password`,`controlId`,`newPassword`,3,`focusin`,`handleInvalidateControlOnBlurred`,`handleControlVisibilityButtonClicked`,`formControl`,`label`,`showNewPasswordHints`,`showValidationMessage`,`errorDictionary`,`controlTestId`,`externalVisibilityInput`],[`autocomplete`,`new-password`,`controlId`,`repeatNewPassword`,1,`pu-security-change-password__input`,3,`focusin`,`handleInvalidateControlOnBlurred`,`handleControlVisibilityButtonClicked`,`formControl`,`label`,`controlTestId`,`externalVisibilityInput`],[`uiButton`,``,`uiType`,`primary`,`size`,`m`,1,`pu-security-change-password__button`,3,`click`,`disabled`]],template:function(i,o){i&1&&(Ml(0,`p`,0),fF(1),LF(2,`translate`),Ph(),Ml(3,`form`,1),Cr$1(`submit`,function(){return o.changePassword()}),Ml(4,`pu-password-input`,2),LF(5,`translate`),Cr$1(`focusin`,function(){return o.handleFocusin(o.PasswordInputFields.CurrentPassword)})(`handleInvalidateControlOnBlurred`,function(C){return o.handleControlErrorOnBlurred(C,o.PasswordInputFields.CurrentPassword)})(`handleControlVisibilityButtonClicked`,function(C){return o.handleControlVisibilityButtonClicked(C,o.PasswordInputFields.CurrentPassword)}),Ph(),M0(),Ml(6,`div`,3)(7,`pu-password-input`,4),LF(8,`translate`),Cr$1(`focusin`,function(){return o.handleFocusin(o.PasswordInputFields.NewPassword)})(`handleInvalidateControlOnBlurred`,function(C){return o.handleControlErrorOnBlurred(C,o.PasswordInputFields.NewPassword)})(`handleControlVisibilityButtonClicked`,function(C){return o.handleControlVisibilityButtonClicked(C,o.PasswordInputFields.NewPassword)}),Ph(),M0(),Ph(),Ml(9,`pu-password-input`,5),LF(10,`translate`),Cr$1(`focusin`,function(){return o.handleFocusin(o.PasswordInputFields.NewPasswordRepeat)})(`handleInvalidateControlOnBlurred`,function(C){return o.handleControlErrorOnBlurred(C,o.PasswordInputFields.NewPasswordRepeat)})(`handleControlVisibilityButtonClicked`,function(C){return o.handleControlVisibilityButtonClicked(C,o.PasswordInputFields.NewPasswordRepeat)}),Ph(),M0(),Ml(11,`button`,6),Cr$1(`click`,function(){return o.handleChangePasswordButtonClicked()}),fF(12),LF(13,`translate`),Ph()()),i&2&&($x(),Vh(` `,kF(2,20,`profileSecurity.changePasswordDescriptionText`),`
2`),$x(2),TD(`formGroup`,o.changePasswordForm),$x(),TD(`formControl`,o.changePasswordForm.controls.currentPassword)(`controlId`,`currentPassword`)(`label`,kF(5,22,`profileSecurity.currentPassword`))(`controlTestId`,`currentPasswordInput`),O0(),$x(3),TD(`formControl`,o.changePasswordForm.controls.newPassword)(`label`,kF(8,24,`profileSecurity.newPassword`))(`showNewPasswordHints`,!0)(`showValidationMessage`,!1)(`errorDictionary`,null)(`controlTestId`,`newPasswordInput`)(`externalVisibilityInput`,o.isPasswordsVisible()),O0(),$x(2),TD(`formControl`,o.changePasswordForm.controls.repeatNewPassword)(`label`,kF(10,26,`profileSecurity.repeatNewPassword`))(`controlTestId`,`repeatNewPasswordInput`)(`externalVisibilityInput`,o.isPasswordsVisible()),O0(),$x(2),TD(`disabled`,o.changePasswordForm.invali
2d||o.changePasswordForm.disabled),bo$1(`data-testid`,`changePasswordSubmitBtn`),$x(),Vh(` `,kF(13,28,`profileSecurity.changePassword`),` `))},dependencies:[oi,Cre,Sre,Ere,yre,fV,iV,ae$1,Ene],styles:[`@keyframes _ngcontent-%COMP%_shine{0%{left:-150%}to{left:150%}}@keyframes _ngcontent-%COMP%_live-flashing{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes _ngcontent-%COMP%_blink{0%,to{opacity:1}50%{opacity:0}}.ui-vertical-accordion-animation[_ngcontent-%COMP%]{opacity:1;visibility:visible;overflow:hidden;display:grid;grid-template-rows:1fr}.ui-vertical-accordion-animation.entering[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-entering .1s}.ui-vertical-accordion-animation.leaving[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-leaving .1s}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-entering{0%{opacity:0;visibility:hidden;grid-template-rows:0fr}to{opacity:1;visibility:visible;grid-template-rows:1fr}}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-leaving{0%{opacity:1;visibility:visible;grid-template-rows:1fr}to{opacity:0;visibility:hidden;grid-template-rows:0fr}}.pu-security-change-password__description[_ngcontent-%COMP%]{color:var(--%NS%color-card-txt-2);margin-bottom:1rem;font-size:.875rem;line-height:1.125rem;font-weight:400}.pu-security-change-password__form[_ngcontent-%COMP%]{display:flex;flex-direction:column}.pu-security-change-password__input[_ngcontent-%COMP%]{margin-bottom:1rem}.pu-security-change-password__button[_ngcontent-%COMP%]{display:flex;justify-content:center}`]});var Be=te;var ct=(e,t)=>({isPhoneVerified:e,disable2faData:t});function lt(e,t){e&1&&(Ml(0,`div`,6)(1,`p`,2),fF(2),LF(3,`translate`),Ph(),Ml(4,`a`,7),LF(5,`localizeRoute`),Ml(6,`span`),fF(7),LF(8,`translate`),Ph()()()),e&2&&($x(2),JD(kF(3,4,`profileSecurity.phoneVerificationBeforeDescriptionText`)),$x(2),TD(`routerLink`,kF(5,6,`/profile/personal-info`)),bo$1(`data-testid`,`security2FAConfirmPhoneBtn`),$x(3),JD(kF(8,8,`profileSecurity.twoFactorConfirmButton`)))}function dt(e,t){if(e&1){let i=wL();Ml(0,`div`,1)(1,`pu-two-factor-enter-form`,8),Cr$1(`smsCodeConfirmed`,function(s){B_(i);return V_(xL(2).smsCodeConfirmed.emit(s))})(`resendCode`,function(){B_(i);return V_(xL(2).resendSmsCode.emit())}),Ph()()}if(e&2){let i=xL(2),o=EF(0);$x(),TD(`phone`,o.disable2faData.phone)(`isLoading`,i.isSmsConfirming())(`codeResendDate`,o.disable2faData.smsCodeResendDate)(`codeExpireDate`,o.disable2faData.smsCodeEndDate)}}function pt(e,t){if(e&1&&(Ml(0,`div`,0),EL(1,lt,9,10,`div`,6),EL(2,dt,2,4,`div`,1),Ph()),e&2){xL();let i=EF(0);$x(),yL(i.isPhoneVerified?-1:1),$x(),yL(i.isPhoneVerified&&i.disable2faData?2:-1)}}var oe=class oe{constructor(){this.isPhoneVerified=mq.required();this.disable2faData=mq.required();this.is2faEnabled=mq.required();this.is2faToggleDisabled=mq.required();this.isSmsConfirming=mq(!1);this.enable2fa=gq();this.disable2fa=gq();this.smsCodeConfirmed=gq();this.resendSmsCode=gq()}switcherToggled(){this.is2faEnabled()?this.disable2fa.emit():this.enable2fa.emit({isTwoFactorAuthEnabled:!0})}};oe.ɵfac=function(i){return new(i||oe)},oe.ɵcmp=To$1({type:oe,selectors:[[`pu-security-factor-auth`]],inputs:{isPhoneVerified:[1,`isPhoneVerified`],disable2faData:[1,`disable2faData`],is2faEnabled:[1,`is2faEnabled`],is2faToggleDisabled:[1,`is2faToggleDisabled`],isSmsConfirming:[1,`isSmsConfirming`]},outputs:{enable2fa:`enable2fa`,disable2fa:`disable2fa`,smsCodeConfirmed:`smsCodeConfirmed`,resendSmsCode:`resendSmsCode`},decls:16,vars:17,consts:[[1,`pu-security-factor-auth__section-wrapper`],[1,`pu-security-factor-auth__section`],[1,`pu-security-factor-auth__description`],[1,`pu-security-factor-auth__switcher`],[1,`pu-security-factor-auth__switcher_label`],[3,`toggleSwitch`,`value`,`disabled`],[1,`pu-security-factor-auth__section`,`pu-security-factor-auth__section_justify`],[`uiButton`,``,`uiType`,`tertiary`,`size`,`m`,1,`pu-security-factor-auth__verify-phone-btn`,3,`routerLink`],[`dataTestId`,`security2FASms`,1,`pu-security-factor-auth__enter-form`,3,`smsCodeConfirmed`,`resendCode`,`phone`,`isLoading`,`codeResendDate`,`codeExpireDate`]],template:function(i,o){if(i&1&&(sI(0),Ml(1,`div`,0)(2,`div`,1)(3,`p`,2),fF(4),LF(5,`translate`),Ph()(),Ml(6,`div`,1)(7,`p`,2),fF(8),LF(9,`translate`),Ph(),Ml(10,`div`,3)(11,`div`,4),fF(12),LF(13,`translate`),Ph(),Ml(14,`ui-toggle`,5),Cr$1(`toggleSwitch`,function(){return o.switcherToggled()}),Ph()()()(),EL(15,pt,3,2,`div`,0)),i&2){let s=_F(CF(14,ct,o.isPhoneVerified(),o.disable2faData()));$x(4),JD(kF(5,8,`profileSecurity.twoFactorAuthenticationDescriptionText`)),$x(4),JD(kF(9,10,`profileSecurity.setupAuthenticationDescriptionText`)),$x(4),JD(kF(13,12,`profileSecurity.smsVerificationWithdrawal`)),$x(2),TD(`value`,o.is2faEnabled())(`disabled`,o.is2faToggleDisabled()),bo$1(`data-testid`,`smsVerificationWithdrawalToggle`),$x(),yL(!s.isPhoneVerified||s.isPhoneVerified&&s.disable2faData?15:-1)}},dependencies:[vn,ae$1,Nt$1,Ie$1,Ene,B],styles:[`@keyframes _ngcontent-%COMP%_shine{0%{left:-150%}to{left:150%}}@keyframes _ngcontent-%COMP%_live-flashing{0%{opacity:0}
250%{opacity:1}to{opacity:0}}@keyframes _ngcontent-%COMP%_blink{0%,to{opacity:1}50%{opacity:0}}.ui-vertical-accordion-animation[_ngcontent-%COMP%]{opacity:1;visibility:visible;overflow:hidden;display:grid;grid-template-rows:1fr}.ui-vertical-accordion-animation.entering[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-entering .1s}.ui-vertical-accordion-animation.leaving[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-leaving .1s}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-entering{0%{opacity:0;visibility:hidden;grid-template-rows:0fr}to{opacity:1;visibility:visible;grid-template-rows:1fr}}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-leaving{0%{opacity:1;visibility:visible;grid-template-rows:1fr}to{opacity:0;visibility:hidden;grid-template-rows:0fr}}[_nghost-%COMP%]{display:flex;flex-direction:column}.pu-security-factor-auth__section[_ngcontent-%COMP%]{display:flex;flex-direction:column}.pu-security-factor-auth__section[_ngcontent-%COMP%] + .pu-security-factor-auth__section[_ngcontent-%COMP%]{margin-top:1rem}.pu-security-factor-auth__section-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column}.pu-security-factor-auth__section-wrapper[_ngcontent-%COMP%] + .pu-security-factor-auth__section-wrapper[_ngcontent-%COMP%]{margin-top:1rem}@media(min-width:768px){.pu-security-factor-auth__section_justify[_ngcontent-%COMP%]{flex-direction:row;justify-content:space-between;align-items:flex-start}}.pu-security-factor-auth__description[_ngcontent-%COMP%]{color:var(--%NS%color-card-txt-2);font-size:.875rem;line-height:1.125rem;font-weight:400}.pu-security-factor-auth__switcher[_ngcontent-%COMP%]{height:40px;display:flex;justify-content:space-between;align-items:center;margin-top:.5rem}.pu-security-factor-auth__switcher_label[_ngcontent-%COMP%]{color:var(--%NS%color-card-txt-1);font-size:1rem;line-height:1.375rem;font-weight:500}.pu-security-factor-auth__verify-phone-btn[_ngcontent-%COMP%]{justify-content:center;margin-top:.5rem}`]});var Fe=oe;var Ie={"":`desktop`,ios:`apple`,android:`android`,desktop:`desktop`,mobile:`phone`};var Ee={"":`Web desktop`,ios:`iOS`,android:`Android`,desktop:`Web desktop`,mobile:`Web mobile`};var mt=(e,t)=>({currentSession:e,sessions:t});function _t(e,t){if(e&1&&(AD(0,`ui-icon`,10),fF(1)),e&2){let i=t,o=xL(2);TD(`iconName`,o.sessionDeviceIconRecord[i]),$x(),Vh(` `,o.sessionDeviceNameRecord[i],` `)}}function yt(e,t){e&1&&fF(0),e&2&&Vh(` `,t,` `)}function ft(e,t){if(e&1&&fF(0),e&2){xL(2);let i=EF(0);Vh(` `,i.currentSession.city+(i.currentSession.city&&i.currentSession.country?`, `:``)+i.currentSession.country,` `)}}function gt(e,t){e&1&&(fF(0),LF(1,`date`)),e&2&&Vh(` `,UF(1,1,t,`dd.MM.yyyy HH:mm`),` `)}function Ct(e,t){if(e&1){let i=wL();Ml(0,`tr`,9)(1,`td`,11)(2,`button`,12),Cr$1(`click`,function(){B_(i);return V_(xL(2).closeSessions.emit())}),fF(3),LF(4,`translate`),Ph()()()}if(e&2){let i=xL(2);$x(2),TD(`disabled`,i.isSessionClosing()),bo$1(`data-testid`,`profileSecurityCloseSessionBtn`),$x(),Vh(` `,kF(4,3,`profileSecurity.closeOtherSessions`),` `)}}function St(e,t){if(e&1&&(Ml(0,`tr`)(1,`th`,4),fF(2),LF(3,`translate`),Ph()(),Ml(4,`tr`,5)(5,`td`,6)(6,`div`,7),EL(7,_t,2,2),Ph()(),Ml(8,`td`,6),EL(9,yt,1,1),Ph(),Ml(10,`td`,6),EL(11,ft,1,1),Ph(),Ml(12,`td`,6),EL(13,gt,2,4),Ph(),Ml(14,`td`,8),fF(15),Ph()(),EL(16,Ct,5,5,`tr`,9)),e&2){let i,o,s,C=xL(),Q=EF(0);$x(2),Vh(` `,kF(3,7,`profileSecurity.currentSession`),` `),$x(5),yL((i=Q.currentSession.device)?7:-1,i),$x(2),yL((o=Q.currentSession.ip)?9:-1,o),$x(2),yL(Q.currentSession.city||Q.currentSession.country?11:-1),$x(2),yL((s=Q.currentSession.activityDate)?13:-1,s),$x(2),Vh(` `,Q.currentSession.isOnline?`online`:``,` `),$x(),yL(C.isCloseSessionAvailable()?16:-1)}}function ht(e,t){if(e&1&&(AD(0,`ui-icon`,10),fF(1)),e&2){let i=xL().$implicit,o=xL(2);TD(`iconName`,o.sessionDeviceIconRecord[i.device]),$x(),Vh(` `,o.sessionDeviceNameRecord[i.device],` `)}}function bt(e,t){if(e&1&&(fF(0),LF(1,`date`)),e&2){let i=xL().$implicit;Vh(` `,UF(1,1,i.activityDate,`dd.MM.yyyy HH:mm`),` `)}}function vt(e,t){if(e&1&&(Ml(0,`tr`,5)(1,`td`,6)(2,`div`,7),EL(3,ht,2,2),Ph()(),Ml(4,`td`,6),fF(5),Ph(),Ml(6,`td`,6),fF(7),Ph(),Ml(8,`td`,6),EL(9,bt,2,4),Ph(),Ml(10,`td`,8),fF(11),Ph()()),e&2){let i=t.$implicit,o=t.$index;$x(),bo$1(`data-testid`,`securitySessionsCellDevice`+(o+1)),$x(2),yL(i.device?3:-1),$x(),bo$1(`data-testid`,`securitySessionsCellIp`+(o+1)),$x(),Vh(` `,i.ip,` `),$x(),bo$1(`data-testid`,`securitySessionsCellAddress`+(o+1)),$x(),Vh(` `,i.city+(i.city&&i.country?`, `:``)+i.country,` `),$x(),bo$1(`data-testid`,`securitySessionsCellActivityDate`+(o+1)),$x(),yL(i.activityDate?9:-1),$x(),bo$1(`data-testid`,`securitySessionsCellStatus`+(o+1)),$x(),Vh(` `,i.isOnline?`online`:``,` `)}}function wt(e,t){if(e&1){let i=wL();Ml(0,`button`,15),Cr$1(`click`,function(){B_(i);return V_(xL(3).loadMore.emit())}),Ml(1,`span`),fF(2),LF(3,`translate`),Ph()()}e&2&&(bo$1(`data-testid`,`profileSessionsLoadMoreBtn`),$x(2),JD(kF(3,2,`profileSecurity.loadMore`)))}function Pt(e,t){if(e&1&&(kh(0),EL(1,wt,4,4,`button`,14),ql()),e&2){let i=xL(2);$x(),yL(i.hasMoreSessions()?1:-1)}}function xt(e,t){if(e&1&&(IL(0,vt,12,10,`tr`,5,vL),Ml(2,`tr`,9)(3,`td`,11),pD(4,Pt,2,1,`ng-container`,13),Ph()()),e&2){let i=xL();SL(EF(0).sessions),$x(4),TD(`uiSpinner`,i.isLoading())}}var ne=class ne{constructor(){this.currentSession=mq.required();this.sessions=mq.required();this.hasMoreSessions=mq.required();this.isCloseSessionAvailable=mq.required();this.isLoading=mq.required();this.isSessionClosing=mq.required();this.closeSessions=gq();this.loadMore=gq();this.sessionDeviceIconRecord=Ie;this.sessionDeviceNameRecord=Ee}};ne.ɵfac=function(i){return new(i||ne)},ne.ɵcmp=To$1({type:ne,selectors:[[`pu-security-sessions-desktop`]],inputs:{currentSession:[1,`currentSession`],sessions:[1,`sessions`],hasMoreSessions:[1,`hasMoreSessions`],isCloseSessionAvailable:[1,`isCloseSessionAvailable`],isLoading:[1,`isLoading`],isSessionClosing:[1,`isSessionClosing`]},outputs:{closeSessions:`closeSessions`,loadMore:`loadMore`},decls:27,vars:24,consts:[[1,`pu-security-sessions-desktop__table`],[1,`pu-security-sessions-desktop__table-row`,`pu-security-sessions-desktop__table-row_head`],[1,`pu-security-sessions-desktop__table-cell`,`pu-security-sessions-desktop__table-cell_header`],[1,`pu-security-sessions-desktop__table-cell`,`pu-security-sessions-desktop__table-cell_right`,`pu-security-sessions-desktop__table-cell_header`],[`colspan`,`5`,1,`pu-security-sessions-desktop__table-label`],[1,`pu-security-sessions-desktop__table-row`],[1,`pu-security-sessions-desktop__table-cell`],[1,`pu-security-sessions-desktop__table-cell_icon`],[1,`pu-security-sessions-desktop__table-cell`,`pu-security-sessions-desktop__table-cell_status`],[1,`pu-security-sessions-desktop__control`,`pu-security-sessions-desktop__table-row`],[`size`,`s`,1,`pu-security-sessions-desktop__table-cell_icon-img`,3,`iconName`],[`colspan`,`5`],[`uiButton`,``,`uiType`,`tertiary`,`size`,`m`,1,`pu-security-sessions-desktop__control-close`,3,`click`,`disabled`],[4,`uiSpinner`],[`uiButton`,``,`uiType`,`quaternary`,`size`,`m`,1,`pu-security-sessions-desktop__control`,`pu-security-sessions-desktop__control-load`],[`uiButton`,``,`uiType`,`quaternary`,`size`,`m`,1,`pu-security-sessions-desktop__control`,`pu-security-sessions-desktop__control-load`,3,`click`]],template:function(i,o){if(i&1&&(sI(0),Ml(1,`table`,0)(2,`thead`,1)(3,`tr`)(4,`th`,2),fF(5),LF(6,`translate`),Ph(),Ml(7,`th`,2),fF(8),LF(9,`translate`),Ph(),Ml(10,`th`,2),fF(11),LF(12,`translate`),Ph(),Ml(13,`th`,2),fF(14),LF(15,`translate`),Ph(),Ml(16,`th`,3),fF(17),LF(18,`translate`),Ph()()(),Ml(19,`tbody`),EL(20,St,17,9),Ph(),Ml(21,`tbody`)(22,`tr`)(23,`th`,4),fF(24),LF(25,`translate`),Ph()(),EL(26,xt,5,1),Ph()()),i&2){let s=_F(CF(21,mt,o.currentSession(),o.sessions()));$x(5),Vh(` `,kF(6,9,`profileSecurity.device`),` `),$x(3),Vh(` `,kF(9,11,`profileSecurity.ip`),` `),$x(3),Vh(` `,kF(12,13,`profileSecurity.city`),` `),$x(3),Vh(` `,kF(1
25,15,`profileSecurity.date`),` `),$x(3),Vh(` `,kF(18,17,`profileSecurity.status`),` `),$x(3),yL(s.currentSession?20:-1),$x(4),Vh(` `,kF(25,19,`profileSecurity.history`),` `),$x(2),yL(s.sessions.length>0?26:-1)}},dependencies:[It$1,ae$1,Ki,Ene,s1],styles:[`@keyframes _ngcontent-%COMP%_shine{0%{left:-150%}to{left:150%}}@keyframes _ngcontent-%COMP%_live-flashing{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes _ngcontent-%COMP%_blink{0%,to{opacity:1}50%{opacity:0}}.ui-vertical-accordion-animation[_ngcontent-%COMP%]{opacity:1;visibility:visible;overflow:hidden;display:grid;grid-template-rows:1fr}.ui-vertical-accordion-animation.entering[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-entering .1s}.ui-vertical-accordion-animation.leaving[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-leaving .1s}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-entering{0%{opacity:0;visibility:hidden;grid-template-rows:0fr}to{opacity:1;visibility:visible;grid-template-rows:1fr}}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-leaving{0%{opacity:1;visibility:visible;grid-template-rows:1fr}to{opacity:0;visibility:hidden;grid-template-rows:0fr}}[_nghost-%COMP%]{display:flex;flex-direction:column}.pu-security-sessions-desktop__table[_ngcontent-%COMP%]{width:100%;text-align:left;border-collapse:separate;border-spacing:0 .25rem}.pu-security-sessions-desktop__table-row[_ngcontent-%COMP%]{position:relative}.pu-security-sessions-desktop__table-row[_ngcontent-%COMP%] + .pu-security-sessions-desktop__table-row[_ngcontent-%COMP%]:after{content:"";position:absolute;top:-.25rem;left:0;right:0;height:1px;background:var(--%NS%color-profile-table-line-1);width:100%}.pu-security-sessions-desktop__table-row_head[_ngcontent-%COMP%]:after, .pu-security-sessions-desktop__table-row_head[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--%NS%color-profile-table-line-1);width:100%}.pu-security-sessions-desktop__table-row_head[_ngcontent-%COMP%]:after{top:auto;bottom:0}.pu-security-sessions-desktop__table-cell[_ngcontent-%COMP%]{width:20%;color:var(--%NS%color-profile-table-txt-1);padding:.75rem .5rem 1rem;position:relative;vertical-align:middle;font-size:.875rem;line-height:1.125rem;font-weight:400}.pu-security-sessions-desktop__table-cell[_ngcontent-%COMP%]:after{right:0;content:"";position:absolute;top:0;bottom:0;width:1px;background:var(--%NS%gradient-divider-vert);height:100%}.pu-security-sessions-desktop__table-cell[_ngcontent-%COMP%]:after{height:auto;bottom:.25rem}.pu-security-sessions-desktop__table-cell[_ngcontent-%COMP%]:first-child{padding-left:1.5rem}.pu-security-sessions-desktop__table-cell[_ngcontent-%COMP%]:last-child{padding-right:1.5rem}.pu-security-sessions-desktop__table-cell[_ngcontent-%COMP%]:last-child:after{display:none}.pu-security-sessions-desktop__table-cell_header[_ngcontent-%COMP%]{color:var(--%NS%color-profile-table-txt-header);padding:7px .5rem;font-size:.875rem;line-height:1.125rem;font-weight:400;font-weight:500}.pu-security-sessions-desktop__table-cell_header[_ngcontent-%COMP%]:after{display:none}.pu-security-sessions-desktop__table-cell_right[_ngcontent-%COMP%]{text-align:right}.pu-security-sessions-desktop__table-cell_icon[_ngcontent-%COMP%]{display:flex;align-items:center}.pu-security-sessions-desktop__table-cell_icon-img[_ngcontent-%COMP%]{margin-right:.5rem;color:var(--%NS%color-profile-table-icon)}.pu-security-sessions-desktop__table-cell_status[_ngcontent-%COMP%]{color:var(--%NS%color-profile-table-status);text-align:right}.pu-security-sessions-desktop__table-label[_ngcontent-%COMP%]{background:var(--%NS%color-profile-table-bg-1);color:var(--%NS%color-profile-table-txt-header);padding:.5rem 1.5rem;font-size:.875rem;line-height:1.125rem;font-weight:400;font-weight:500}.pu-security-sessions-desktop__control-close[_ngcontent-%COMP%]{margin:.75rem auto 20px}.pu-security-sessions-desktop__control-load[_ngcontent-%COMP%]{margin:.25rem auto 20px}`]});var se=ne;function Mt(e,t){if(e&1&&(AD(0,`ui-icon`,6),fF(1)),e&2){let i=t,o=xL(2);TD(`iconName`,o.sessionDeviceIconRecord[i]),$x(),Vh(` `,o.sessionDeviceNameRecord[i],` `)}}function Tt(e,t){if(e&1&&fF(0),e&2){xL(2);let i=EF(0);Vh(` `,i.city+(i.city&&i.country?`, `:``)+i.country,` `)}}function kt(e,t){e&1&&(Ml(0,`div`,4),fF(1),LF(2,`translate`),Ph()),e&2&&($x(),eI(``,kF(2,2,`profileSecurity.ip`),` : `,t))}function Dt(e,t){e&1&&(Ml(0,`div`,5),fF(1),LF(2,`date`),Ph()),e&2&&($x(),Vh(` `,UF(2,1,t,`dd.MM.yyyy HH:mm`),` `))}function At(e,t){if(e&1&&(Ml(0,`div`,1)(1,`div`,2),EL(2,Mt,2,2),EL(3,Tt,1,1
2),Ph(),Ml(4,`div`,3)(5,`span`),fF(6),Ph()()(),Ml(7,`div`,1),EL(8,kt,3,4,`div`,4),EL(9,Dt,3,4,`div`,5),Ph()),e&2){let i,o,s;xL();let C=EF(0);$x(2),yL((i=C.device)?2:-1,i),$x(),yL(C.city||C.country?3:-1),$x(3),JD(C.isOnline?`online`:``),$x(2),yL((o=C.ip)?8:-1,o),$x(),yL((s=C.activityDate)?9:-1,s)}}var re=class re{constructor(){this.session=mq.required();this.sessionDeviceIconRecord=Ie;this.sessionDeviceNameRecord=Ee}};re.ɵfac=function(i){return new(i||re)},re.ɵcmp=To$1({type:re,selectors:[[`pu-security-sessions-mobile-item`]],inputs:{session:[1,`session`]},decls:3,vars:2,consts:[[1,`pu-security-sessions-mobile__session`],[1,`pu-security-sessions-mobile__row`],[1,`pu-security-sessions-mobile__device`],[1,`pu-security-sessions-mobile__status`],[1,`pu-security-sessions-mobile__ip`],[1,`pu-security-sessions-mobile__date`],[`size`,`s`,1,`pu-security-sessions-mobile__device-icon`,3,`iconName`]],template:function(i,o){if(i&1&&(sI(0),Ml(1,`div`,0),EL(2,At,10,5),Ph()),i&2){let s=_F(o.session());$x(2),yL(s?2:-1)}},dependencies:[It$1,s1,Ene],styles:[`@keyframes _ngcontent-%COMP%_shine{0%{left:-150%}to{left:150%}}@keyframes _ngcontent-%COMP%_live-flashing{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes _ngcontent-%COMP%_blink{0%,to{opacity:1}50%{opacity:0}}.ui-vertical-accordion-animation[_ngcontent-%COMP%]{opacity:1;visibility:visible;overflow:hidden;display:grid;grid-template-rows:1fr}.ui-vertical-accordion-animation.entering[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-entering .1s}.ui-vertical-accordion-animation.leaving[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-leaving .1s}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-entering{0%{opacity:0;visibility:hidden;grid-template-rows:0fr}to{opacity:1;visibility:visible;grid-template-rows:1fr}}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-leaving{0%{opacity:1;visibility:visible;grid-template-rows:1fr}to{opacity:0;visibility:hidden;grid-template-rows:0fr}}.pu-security-sessions-mobile__session[_ngcontent-%COMP%]{position:relative;padding:.5rem 0}.pu-security-sessions-mobile__session[_ngcontent-%COMP%]:after{bottom:0;content:"";position:absolute;left:0;right:0;height:1px;background:var(--%NS%gradient-divider-horiz);width:100%}.pu-security-sessions-mobile__row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between}.pu-security-sessions-mobile__row[_ngcontent-%COMP%]:not(:last-child){margin-bottom:2px}.pu-security-sessions-mobile__device[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--%NS%color-profile-table-txt-1);font-size:.875rem;line-height:1.125rem;font-weight:400}.pu-security-sessions-mobile__device-icon[_ngcontent-%COMP%]{margin-right:.5rem;color:var(--%NS%color-profile-table-icon)}.pu-security-sessions-mobile__ip[_ngcontent-%COMP%]{color:var(--%NS%color-profile-table-txt-2);padding-left:28px;font-size:.75rem;line-height:1rem;font-weight:400}.pu-security-sessions-mobile__date[_ngcontent-%COMP%]{color:var(--%NS%color-profile-table-txt-2);text-align:right;white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:400}.pu-security-sessions-mobile__status[_ngcontent-%COMP%]{color:var(--%NS%color-profile-table-status);flex-shrink:0;text-align:right;white-space:nowrap;margin-left:.5rem;font-size:.875rem;line-height:1.125rem;font-weight:400}`]});var Ve=re;var Ot=(e,t)=>({currentSession:e,sessions:t});function Bt(e,t){if(e&1){let i=wL();Ml(0,`button`,3),Cr$1(`click`,function(){B_(i);return V_(xL(2).closeSessions.emit())}),fF(1),LF(2,`translate`),Ph()}if(e&2)TD(`disabled`,xL(2).isSessionClosing()),bo$1(`data-testid`,`profileSecurityCloseSessionBtn`),$x(),Vh(` `,kF(2,3,`profileSecurity.closeOtherSessions`),` `)}function Ft(e,t){if(e&1&&(Ml(0,`div`,0),fF(1),LF(2,`translate`),Ph(),AD(3,`pu-security-sessions-mobile-item`,1),EL(4,Bt,3,5,`button`,2)),e&2){let i=xL(),o=EF(0);$x(),Vh(` `,kF(2,3,`profileSecurity.currentSession`),` `),$x(2),TD(`session`,o.currentSession),$x(),yL(i.isCloseSessionAvailable()?4:-1)}}function It(e,t){if(e&1&&AD(0,`pu-security-sessions-mobile-item`,1),e&2){let i=t.$implicit;TD(`session`,i)}}function Et(e,t){if(e&1){let i=wL();Ml(0,`button`,6),Cr$1(`click`,function(){B_(i);return V_(xL(3).loadMore.emit())}),Ml(1,`span`),fF(2),LF(3,`translate`),Ph()()}e&2&&(bo$1(`data-testid`,`profileSessionsLoadMoreBtn`),$x(2),JD(kF(3,2,`profileSecurity.loadMore`)))}function Vt(e,t){if(e&1&&(kh(0),EL(1,Et,4,4,`button`,5),ql()),e&2){let i=xL(2);$x(),yL(i.hasMoreSessions()?1:-1)}}function Nt(e,t){if(e&1&&(Ml(0,`div`,0),fF(1),LF(2,`translate`),Ph(),IL(3,It,1,1,`pu-security-sessions-mobile-item`,1,vL),pD(5,Vt,2,1,`ng-container`,4)),e&2){let i=xL(),o=EF(0);$x(),Vh(` `,kF(2,2,`profileSecurity.history`),` `),$x(2),SL(o.sessions),$x(2),TD(`uiSpinner`,i.isLoading())}}var K=class K extends se{};K.ɵfac=(()=>{let t;return function(o){return(t||(t=ft$1(K)))(o||K)}})(),K.ɵcmp=To$1({type:K,selectors:[[`pu-security-sessions-mobile`]],features:[rt$1],decls:3,vars:6,consts:[[1,`pu-security-sessions-mobile__label`],[3,`session`],[`uiButton`,``,`uiType`,`tertiary`,`size`,`m`,1,`pu-security-sessions-mobile__control`,`pu-security-sessions-mobile__control-close`,3,`disabled`],[`uiButton`,``,`uiType`,`tertiary`,`size`,`m`,1,`pu-security-sessions-mobile__control`,`pu-security-sessions-mobile__control-close`,3,`click`,`disabled`],[4,`uiSpinner`],[`uiButton`,``,`uiType`,`quaternary`,`size`,`m`,1,`pu-security-sessions-mobile__control`,`pu-security-sessions-mobile__control-load`],[`uiButton`,``,`uiType`,`quaternary`,`size`,`m`,1,`pu-security-sessions-mobile__control`,`pu-security-sessions-mobile__control-load`,3,`click`]],template:function(i,o){if(i&1&&(sI(0),EL(1,Ft,5,5),EL(2,Nt,6,4)),i&2){let s=_F(CF(3,Ot,o.currentSession(),o.sessions()));$x(),yL(s.currentSession?1:-1),$x(),yL(s.sessions.length>0?2:-1)}},dependencies:[ae$1,Ki,Ve,Ene],styles:[`@keyframes _ngcontent-%COMP%_shine{0%{left:-150%}to{left:150%}}@keyframes _ngcontent-%COMP%_live-flashing{0%{opacity:0}
250%{opacity:1}to{opacity:0}}@keyframes _ngcontent-%COMP%_blink{0%,to{opacity:1}50%{opacity:0}}.ui-vertical-accordion-animation[_ngcontent-%COMP%]{opacity:1;visibility:visible;overflow:hidden;display:grid;grid-template-rows:1fr}.ui-vertical-accordion-animation.entering[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-entering .1s}.ui-vertical-accordion-animation.leaving[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-leaving .1s}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-entering{0%{opacity:0;visibility:hidden;grid-template-rows:0fr}to{opacity:1;visibility:visible;grid-template-rows:1fr}}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-leaving{0%{opacity:1;visibility:visible;grid-template-rows:1fr}to{opacity:0;visibility:hidden;grid-template-rows:0fr}}.pu-security-sessions-mobile__label[_ngcontent-%COMP%]{color:var(--%NS%color-profile-table-txt-header);padding:.25rem 0;font-size:.875rem;line-height:1.125rem;font-weight:400;font-weight:500}.pu-security-sessions-mobile__control[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center}.pu-security-sessions-mobile__control-close[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:1rem}.pu-security-sessions-mobile__control-load[_ngcontent-%COMP%]{margin-top:.5rem}`]});var Ne=K;var p={enableTwoFactorAuth:L(`Enable Two-factor Auth`),disableTwoFactorAuth:L(`Disable Two-factor Auth`),resendSmsCode:L(`Resend SMS code for disable Two-factor Auth`),loadSessions:Pt$1(`Load auth sessions`),closeSessions:L(`Close auth sessions`)};var Re={currentPage:1,totalPages:1};var qt=$s([],Gs(p.loadSessions.succeededAction,(e,t)=>[...e,...t.payload.sessions]),Gs(p.closeSessions.succeededAction,e=>e.map(t=>s(r({},t),{isOnline:!1}))),Gs(p.loadSessions.failedAction,p.loadSessions.clearAction,p.closeSessions.succeededAction,()=>[]));var jt=$s(null,Gs(p.loadSessions.succeededAction,(e,t)=>t.payload.currentSession),Gs(p.loadSessions.failedAction,p.loadSessions.clearAction,()=>null));var Wt=$s(Re,Gs(p.loadSessions.succeededAction,(e,t)=>s(r({},e),{totalPages:t.payload.pagesCount})),Gs(p.loadSessions.failedAction,e=>s(r({},e),{currentPage:e.currentPage>Re.currentPage?e.currentPage-1:Re.currentPage})),Gs(h.loadMoreSessionsClicked,e=>s(r({},e),{currentPage:e.currentPage+1})),Gs(p.loadSessions.clearAction,p.closeSessions.succeededAction,()=>Re));var Le=Hs({name:Oe,reducer:Ri({currentSession:jt,sessions:qt,disable2faData:$s(null,Gs(p.disableTwoFactorAuth.succeededAction,(e,t)=>t.payload),Gs(p.disableTwoFactorAuth.clearAction,()=>null),Gs(p.resendSmsCode.succeededAction,(e,t)=>t.payload)),loadSessionsAction:tc(p.loadSessions),closeSessionsAction:tc(p.closeSessions),enable2faAction:tc(p.enableTwoFactorAuth),disable2faAction:tc(p.disableTwoFactorAuth),pagination:Wt})});var{selectCurrentSession:Gt,selectPagination:$t,selectSessions:Ut,selectLoadSessionsAction:Kt,selectCloseSessionsAction:Qt,selectEnable2faAction:Yt,selectDisable2faAction:Jt,selectDisable2faData:Xt}=Le,O={selectCurrentSession:Gt,selectSessions:Ut,selectLoadSessionsAction:Kt,selectPagination:$t,selectCloseSessionsAction:Qt,selectEnable2faAction:Yt,selectDisable2faAction:Jt,selectDisable2faData:Xt};var Zt=pn(O.selectLoadSessionsAction,e=>!pc(e));var eo=pn($t$1.selectEnterCodeAction,e=>e.inProgress);var io=pn(O.selectCloseSessionsAction,e=>e.inProgress);var to=pn(O.selectPagination,e=>e.currentPage<e.totalPages);var oo=pn(O.selectSessions,e=>!!e.find(({isOnline:t})=>t));var no=pn(Ho.selectIsUserPhoneVerified,O.selectEnable2faAction,O.selectDisable2faAction,O.selectDisable2faData,(e,t,i,o)=>!e&&!(pc(t)||pc(i))||!!o);var so=pn(Uf.selectIsTwoFactorAuthEnabled,Ho.selectIsUserPhoneVerified,Ho.selectUserPhone,(e,t,i)=>e&&t&&!!i);var st={selectSecurityPageViewModel:pn({isSessionsLoading:Zt,hasMoreSessions:to,currentSession:pn(O.selectCurrentSession,e=>e||null),sessions:pn(O.selectSessions,e=>e||[]),isCloseSessionAvailable:oo,isSessionClosing:io,isPhoneVerified:Ho.selectIsUserPhoneVerified,playerPhone:Ho.selectUserPhone,playerEmail:xo$1.selectUserEmail,is2faEnabled:so,is2faToggleDisabled:no,disable2faData:O.selectDisable2faData,isSmsConfirming:eo,isTopBarVisible:Vm.selectIsTopBarVisible})};var lo=(e,t)=>({vm:e,isMd:t});function po(e,t){if(e&1){let i=wL();Ml(0,`pu-security-sessions-desktop`,12),Cr$1(`closeSessions`,function(){B_(i);return V_(xL(3).onCloseSessionsClicked())})(`loadMore`,function(){B_(i);return V_(xL(3).onLoadMoreSessionsClicked())}),Ph()}if(e&2){xL(3);let i=EF(0);TD(`sessions`,i.vm.sessions)(`hasMoreSessions`,i.vm.hasMoreSessions)(`isLoading`,i.vm.isSessionsLoading)(`currentSession`,i.vm.currentSession)(`isCloseSessionAvailable`,i.vm.isCloseSessionAvailable)(`isSessionClosing`,i.vm.isSessionClosing)}}function uo(e,t){if(e&1){let i=wL();Ml(0,`ui-accordion`,13),LF(1,`translate`),Cr$1(`openBtnClicked`,function(){B_(i);return V_(xL(3).handleSecuritySessionsOpenButtonClicked())}),Ml(2,`pu-security-sessions-mobile`,12),Cr$1(`closeSessions`,function(){B_(i);return V_(xL(3).onCloseSessionsClicked())})(`loadMore`,function(){B_(i);return V_(xL(3).onLoadMoreSessionsClicked())}),Ph()()}if(e&2){xL(3);let i=EF(0);TD(`title`,kF(1,7,`profileSecurity.sessionsHistory`)),$x(2),TD(`sessions`,i.vm.sessions)(`hasMoreSessions`,i.vm.hasMoreSessions)(`isLoading`,i.vm.isSessionsLoading)(`currentSession`,i.vm.currentSession)(`isCloseSessionAvailable`,i.vm.isCloseSessionAvailable)(`isSessionClosing`,i.vm.isSessionClosing)}}function mo(e,t){if(e&1&&EL(0,po,1,6,`pu-security-sessions-desktop`,10)(1,uo,3,9,`ui-accordion`,11),e&2){xL(2);yL(EF(0).isMd?0:1)}}function _o(e,t){if(e&1&&(kh(0),EL(1,mo,2,1),ql()),e&2){xL();let i=EF(0);$x(),yL(i.vm.currentSession||i.vm.sessions.length>0?1:-1)}}var ae=class ae{constructor(){this._store=I(ki);this._mediaScreenService=I(yt$1);this.vm$=this._store.select(st.selectSecurityPageViewModel);this.isMd$=this._mediaScreenService.mediaMatcher(768);this.isBonusTopBarVisible=I(p$2).isBonusTopBarVisible();this._gtmService=I(w)}ngOnInit(){this._store.dispatch(h.opened())}ngOnDestroy(){this._store.dispatch(h.closed())}
2onLoadMoreSessionsClicked(){this._store.dispatch(h.loadMoreSessionsClicked())}onCloseSessionsClicked(){this._gtmService.pushTag(Y),this._store.dispatch(h.closeSessionsClicked())}onEnableTwoFactorAuthClicked(){this._gtmService.pushTag(C(`on`)),this._store.dispatch(p.enableTwoFactorAuth.action())}onDisableTwoFactorAuthClicked(){this._gtmService.pushTag(C(`off`)),this._store.dispatch(h.disableTwoFactorAuthClicked())}resendSmsCodeClicked(){this._store.dispatch(p.resendSmsCode.action())}onSmsCodeConfirmed(t){this._store.dispatch(Pe.codeEntered({code:t}))}handleChangePasswordOpenButtonClicked(){this._gtmService.pushTag(te$1)}handleChangePasswordCloseButtonClicked(){this._gtmService.pushTag(u)}handleSecuritySessionsOpenButtonClicked(){this._gtmService.pushTag(oe$1)}handleTwoFactorAuthenticationInstallButtonClicked(){this._gtmService.pushTag(ne$1)}handleBackClick(){this._gtmService.pushTag(ie)}};ae.ɵfac=function(i){return new(i||ae)},ae.ɵcmp=To$1({type:ae,selectors:[[`pu-security`]],decls:25,vars:54,consts:[[3,`simpleBackClicked`,`title`,`label`,`isTopBarVisible`,`isBonusTopBarVisible`],[1,`pu-security__sections`],[1,`pu-security__widgets`],[`iconName`,`password-change`,1,`pu-security__widget`,3,`openBtnClicked`,`closeBtnClicked`,`title`,`openBtnText`,`closeBtnText`,`description`,`actionDataTestId`],[3,`playerPhone`,`playerEmail`],[`iconName`,`security`,1,`pu-security__widget`,3,`openBtnClicked`,`title`,`openBtnText`,`closeBtnText`,`description`,`actionDataTestId`],[3,`enable2fa`,`disable2fa`,`smsCodeConfirmed`,`resendSmsCode`,`isPhoneVerified`,`is2faEnabled`,`is2faToggleDisabled`,`disable2faData`],[1,`pu-security__section`],[1,`pu-security__title`],[4,`uiSpinner`],[3,`sessions`,`hasMoreSessions`,`isLoading`,`currentSession`,`isCloseSessionAvailable`,`isSessionClosing`],[`iconName`,`operations-history`,3,`title`],[3,`closeSessions`,`loadMore`,`sessions`,`hasMoreSessions`,`isLoading`,`currentSession`,`isCloseSessionAvailable`,`isSessionClosing`],[`iconName`,`operations-history`,3,`openBtnClicked`,`title`]],template:function(i,o){if(i&1&&(sI(0),LF(1,`async`),LF(2,`async`),Ml(3,`ui-section-back`,0),LF(4,`translate`),LF(5,`translate`),Cr$1(`simpleBackClicked`,function(){return o.handleBackClick()}),Ph(),Ml(6,`div`,1)(7,`div`,2)(8,`ui-accordion`,3),LF(9,`translate`),LF(10,`translate`),LF(11,`translate`),LF(12,`translate`),Cr$1(`openBtnClicked`,function(){return o.handleChangePasswordOpenButtonClicked()})(`closeBtnClicked`,function(){return o.handleChangePasswordCloseButtonClicked()}),AD(13,`pu-security-change-password`,4),Ph(),Ml(14,`ui-accordion`,5),LF(15,`translate`),LF(16,`translate`),LF(17,`translate`),LF(18,`translate`),Cr$1(`openBtnClicked`,function(){return o.handleTwoFactorAuthenticationInstallButtonClicked()}),Ml(19,`pu-security-factor-auth`,6),Cr$1(`enable2fa`,function(){return o.onEnableTwoFactorAuthClicked()})(`disable2fa`,function(){return o.onDisableTwoFactorAuthClicked()})(`smsCodeConfirmed`,function(C){return o.onSmsCodeConfirmed(C)})(`resendSmsCode`,function(){return o.resendSmsCodeClicked()}),Ph()()(),Ml(20,`div`,7)(21,`h4`,8),fF(22),LF(23,`translate`),Ph(),pD(24,_o,2,1,`ng-container`,9),Ph()()),i&2){let s=_F(CF(51,lo,kF(1,24,o.vm$),kF(2,26,o.isMd$)));$x(3),TD(`title`,kF(4,29,`profileSecurity.title`))(`label`,kF(5,31,`profileCommon.backToLobby`))(`isTopBarVisible`,s.vm.isTopBarVisible)(`isBonusTopBarVisible`,o.isBonusTopBarVisible()),$x(5),TD(`title`,kF(9,33,`profileSecurity.changingPassword`))(`openBtnText`,kF(10,35,`profileSecurity.change`))(`closeBtnText`,kF(11,37,`profileSecurity.close`))(`description`,kF(12,39,`profileSecurity.changePasswordDescriptionText`))(`actionDataTestId`,`profileSecurityChangePasswordBtn`),bo$1(`data-testid`,`profileSecurityChangePasswordWidget`),$x(5),TD(`playerPhone`,s.vm.playerPhone)(`playerEmail`,s.vm.playerEmail),$x(),TD(`title`,kF(15,41,`profileSecurity.twoFactorAuthentication`))(`openBtnText`,kF(16,43,`profileSecurity.setup`))(`closeBtnText`,kF(17,45,`profileSecurity.close`))(`description`,kF(18,47,`profileSecurity.twoFactorAuthenticationDescriptionText`))(`actionDataTestId`,`profileSecuritySetup2FABtn`),$x(5),TD(`isPhoneVerified`,s.vm.isPhoneVerified)(`is2faEnabled`,s.vm.is2faEnabled)(`is2faToggleDisabled`,s.vm.is2faToggleDisabled)(`disable2faData`,s.vm.disable2faData),$x(2),bo$1(`data-testid`,`profileSessionHistoryTitle`),$x(),Vh(` `,kF(23,49,`profileSecurity.sessionsHistory`),` `),$x(2),TD(`uiSpinner`,s.vm.isSessionsLoading&&!s.vm.currentSession)}},dependencies:[Zi,un,Be,Fe,Ki,se,Ne,e1,Ene],styles:[`@keyframes _ngcontent-%COMP%_shine{0%{left:-150%}to{left:150%}}@keyframes _ngcontent-%COMP%_live-flashing{0%{opacity:0}
250%{opacity:1}to{opacity:0}}@keyframes _ngcontent-%COMP%_blink{0%,to{opacity:1}50%{opacity:0}}.ui-vertical-accordion-animation[_ngcontent-%COMP%]{opacity:1;visibility:visible;overflow:hidden;display:grid;grid-template-rows:1fr}.ui-vertical-accordion-animation.entering[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-entering .1s}.ui-vertical-accordion-animation.leaving[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_ui-vertical-accordion-animation-leaving .1s}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-entering{0%{opacity:0;visibility:hidden;grid-template-rows:0fr}to{opacity:1;visibility:visible;grid-template-rows:1fr}}@keyframes _ngcontent-%COMP%_ui-vertical-accordion-animation-leaving{0%{opacity:1;visibility:visible;grid-template-rows:1fr}to{opacity:0;visibility:hidden;grid-template-rows:0fr}}[_nghost-%COMP%]{display:flex;flex-direction:column}.pu-security__sections[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:.5rem}@media(min-width:768px){.pu-security__sections[_ngcontent-%COMP%]{padding:1rem}}@media(min-width:1280px){.pu-security__sections[_ngcontent-%COMP%]{padding:1.5rem}}.pu-security__widgets[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:.5rem}@media(min-width:768px){.pu-security__widgets[_ngcontent-%COMP%]{margin-bottom:1.5rem}}@media(min-width:1280px){.pu-security__widgets[_ngcontent-%COMP%]{flex-direction:row;align-items:flex-start}}.pu-security__widget[_ngcontent-%COMP%] + .pu-security__widget[_ngcontent-%COMP%]{margin-top:.5rem}@media(min-width:1280px){.pu-security__widget[_ngcontent-%COMP%] + .pu-security__widget[_ngcontent-%COMP%]{margin-top:0;margin-left:1rem}}.pu-security__title[_ngcontent-%COMP%]{color:var(--%NS%color-profile-txt-1);margin-bottom:.5rem;display:none;font-size:1rem;line-height:1.375rem;font-weight:500}@media(min-width:768px){.pu-security__title[_ngcontent-%COMP%]{display:block}}`]});var ze=ae;var ei={};x(ei,{handleCloseSessions:()=>fo,loadSessions:()=>yo});var yo=bt$2((e=I(Dt$1),t=I(ao),i=I(u$1))=>e.pipe(wt$1(p.loadSessions.action),ei$1(o=>Qu(t.getSessions({page:o.payload,type:1,pageSize:10},i.getSessionId()),p.loadSessions))),{functional:!0});var fo=bt$2((e=I(Dt$1),t=I(ao),i=I(u$1))=>e.pipe(wt$1(p.closeSessions.action),ei$1(()=>Qu(t.closeSessions(i.getSessionId()),p.closeSessions))),{functional:!0});var ii={};x(ii,{disableTwoFactorAuth:()=>Co,enableTwoFactorAuth:()=>go,handleResendSmsCode:()=>So});var rt=e=>e.get(Dt$2).confirm({title:`verifyTwoFactorAuthWithoutDeposit.title`,description:`verifyTwoFactorAuthWithoutDeposit.description`,confirmBtn:`verifyTwoFactorAuthWithoutDeposit.confirmBtn`,icon:`alert-warning`,hasCloseBtn:!0,dialogName:`verifyTwoFactorAuthWithoutDeposit`}).pipe(gt$1(({isConfirmed:t})=>!!t),_e(()=>ya.loadCashbox()));var go=bt$2((e=I(Dt$1),t=I(ke),i=I(ki),o=I(de))=>e.pipe(wt$1(p.enableTwoFactorAuth.action),x$1(()=>i.select(Uf.selectDepositCount)),ei$1(([,s])=>!s&&we.clientConfig.featuresConfig.verifyPhoneWithoutDepositDisabled?rt(o):Qu(t.twoFactorEnable(),p.enableTwoFactorAuth))),{functional:!0});var Co=bt$2((e=I(Dt$1),t=I(ke),i=I(ki),o=I(de))=>e.pipe(wt$1(p.disableTwoFactorAuth.action),x$1(()=>i.select(Uf.selectDepositCount)),ei$1(([,s])=>!s&&we.clientConfig.featuresConfig.verifyPhoneWithoutDepositDisabled?rt(o):Qu(t.twoFactorDisable(),p.disableTwoFactorAuth))),{functional:!0});var So=bt$2((e=I(Dt$1),t=I(ke))=>e.pipe(wt$1(p.resendSmsCode.action),ei$1(()=>Qu(t.resendTwoFactorCodeSms(),p.resendSmsCode))),{functional:!0});var ti={};x(ti,{changePasswordFingerprint:()=>xo,handleChangePasswordClicked:()=>Mo,handleCloseSessions:()=>wo,handleCloseSessionsSuccess:()=>Po,handleClosed:()=>bo,handleDisableTwoFactorAuthClicked:()=>To,handleOpened:()=>ho,handleSmsCodeConfirmed:()=>ko,setEnabledTwoFactorAuth:()=>Do,triggerSessionsLoad:()=>vo});var ho=bt$2((e=I(Dt$1),t=I(v))=>e.pipe(wt$1(h.opened),qo(()=>t.setProfileMetaLegacy()),_e(()=>Sa.pushTag({event:be$1(`safety`)}))),{functional:!0});var bo=bt$2((e=I(Dt$1),t=I(v))=>e.pipe(wt$1(h.closed),qo(()=>t.resetToDefaults()),ei$1(()=>[p.loadSessions.clearAction(),p.disableTwoFactorAuth.clearAction(),p.enableTwoFactorAuth.clearAction(),p$3.enterCode.clearAction()])),{functional:!0});var vo=bt$2((e=I(Dt$1),t=I(ki),i=I(One))=>e.pipe(wt$1(h.opened,h.loadMoreSessionsClicked,h.loadSessions),gt$1(()=>i),x$1(()=>t.select(O.selectPagination)),_e(([,{currentPage:o}])=>p.loadSessions.action({payload:o}))),{functional:!0});var wo=bt$2((e=I(Dt$1),t=I(Dt$2),i=I(w))=>e.pipe(wt$1(h.closeSessionsClicked),ei$1(()=>t.confirm({title:`closeSessionsDialog.title`,description:`closeSessionsDialog.description`,confirmBtn:`closeSessionsDialog.apply`,cancelBtn:`closeSessionsDialog.cancel`,dialogName:`closeSessionsDialog`})),qo(({isConfirmed:o})=>o?i.pushTag(re$1):i.pushTag(se$1)),gt$1(o=>o.isConfirmed),_e(()=>p.closeSessions.action())),{functional:!0});var Po=bt$2((e=I(Dt$1))=>e.pipe(wt$1(p.closeSessions.succeededAction),_e(()=>h.loadSessions())),{functional:!0});var xo=bt$2((e=I(Dt$1),t=I(ki))=>
2e.pipe(wt$1(h.changePasswordClicked),ei$1(()=>t.select(I$1.selectIsInitiated).pipe(gt$1(Boolean))),_e(()=>p$1.send())),{functional:!0});var Mo=bt$2((e=I(Dt$1))=>e.pipe(wt$1(h.changePasswordClicked),_e(({payload:t})=>po$1.passwordChange.action({payload:t}))),{functional:!0});var To=bt$2((e=I(Dt$1),t=I(Dt$2))=>e.pipe(wt$1(h.disableTwoFactorAuthClicked),ei$1(()=>t.confirm({title:`profileSecurity.twoFactorDisableTitle`,description:`profileSecurity.twoFactorDisableDescription`,confirmBtn:`profileSecurity.twoFactorDisableCancel`,cancelBtn:`profileSecurity.twoFactorDisableConfirm`,dialogName:`twoFactorDisableDialog`})),gt$1(i=>i.isConfirmed===!1),_e(()=>p.disableTwoFactorAuth.action())),{functional:!0});var ko=bt$2((e=I(Dt$1))=>e.pipe(wt$1(p$3.enterCode.succeededAction),ei$1(()=>[p.disableTwoFactorAuth.clearAction(),Lc.profileUpdated({update:{isTwoFactorAuthEnabled:!1}})])),{functional:!0});var Do=bt$2((e=I(Dt$1))=>e.pipe(wt$1(p.enableTwoFactorAuth.succeededAction),_e(()=>Lc.profileUpdated({update:{isTwoFactorAuthEnabled:!0}}))),{functional:!0});var Cr=[{path:``,component:ze,providers:[zt(),$r(),Ys(Le),At$1([ti,ii,ei])],data:{[Vre]:!0}}];export{Cr as routes};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.