PageSourceSearch

https://login.paysafecard.com/customer-auth/chunk-WPZY3NCP.js

js paysafecard.com collected 2026-10-01 10:30:45 UTC 9,082 bytes, 1 lines download raw bytes

1import{a as oe,b as ae}from"./chunk-7GWJDKVR.js";import{u as te,v as ne,w as re,x as I,y as H,z as L}from"./chunk-TK5E2N4H.js";import{$ as u,A as W,Ab as M,B as P,D as y,G as S,Gb as Z,H as v,Ia as U,Jb as $,Kb as N,La as p,Ma as l,Nb as B,Ob as ee,Rb as h,Tb as G,U as K,Ub as b,W as a,Wa as m,Wb as R,X as Q,Xa as d,Ya as z,Yb as ie,ba as D,ca as j,fa as C,ma as f,na as r,oa as o,pa as g,pb as X,qb as Y,rb as q,ta as k,ua as A,ub as V,va as x,xa as E,ya as _,yb as T}from"./chunk-WCWQ7CMJ.js";import"./chunk-JHI3MBHO.js";var Ce=5e3,O=(()=>{let t=class t{constructor(n,e,c,w){this.credentialsService=n,this.parameterService=e,this.httpClient=c,this.router=w}startPolling(){this.pollDevice()}stopPolling(){clearTimeout(this.pollTimer)}pollDevice(){let n=new T({"Content-Type":"application/json",Authorization:this.credentialsService.intermediateJWT,redirect_uri:this.parameterService.get(R.REDIRECT)});this.httpClient.post("/auth/rest/strongCustomerAuthDeviceStatus",{},{headers:n}).subscribe({next:e=>{},error:e=>{let c=e.error;if(c.errorCode)switch(c.errorCode){case I.SCA_DEVICE_NOT_READY:this.pollTimer=setTimeout(()=>this.pollDevice(),Ce);return;case I.SCA_REQUIRED:this.credentialsService.intermediateJWT=c.limitedJwt,this.router.load(h.SCA);return;case I.AUTH_TOKEN_NOT_VALID:this.stopPolling(),this.router.load(h.LOGIN)}}})}};t.\u0275fac=function(e){return new(e||t)(y(H),y(B),y(M),y(b))},t.\u0275prov=W({token:t,factory:t.\u0275fac});let i=t;return i})();function Te(i,t){if(i&1&&g(0,"div",12),i&2){let s=_(2);f("innerHTML",s.deviceLinkHTML,K)}}function be(i,t){if(i&1){let s=x();r(0,"div",13)(1,"button",14),E("click",function(){S(s);let e=_(2);return v(e.cancel())}),r(2,"span"),p(3),m(4,"translate"),o()()()}if(i&2){let s=_(2);a(),f("disabled",s.loading),a(2),l(d(4,2,"sca.setup.later"))}}function we(i,t){if(i&1){let s=x();k(0),r(1,"div",5)(2,"div",6)(3,"span"),p(4),m(5,"translate"),o(),C(6,Te,1,1,"div",7),o(),r(7,"div",8)(8,"span"),p(9),m(10,"translate"),o()(),r(11,"div",9)(12,"button",10),E("click",function(){S(s);let e=_();return v(e.proceed())}),r(13,"span"),p(14),m(15,"translate"),o()()(),C(16,be,5,4,"div",11),o(),A()}if(i&2){let s=_();a(4),l(d(5,6,"sca.setup.device.text")),a(2),f("ngIf",s.deviceLinkHTML),a(3),l(d(10,8,"sca.setup.device.hint")),a(3),f("processing",s.loading),a(2),l(d(15,10,"sca.setup.proceed")),a(2),f("ngIf",!s.scaSetupService.isMandatory)}}function ye(i,t){i&1&&(r(0,"div",15)(1,"span"),p(2),m(3,"translate"),o()(),r(4,"h4",16),p(5),m(6,"translate"),o(),r(7,"ol",17)(8,"li",18)(9,"div",19),p(10,"1"),o(),r(11,"p"),p(12),m(13,"translate"),o(),r(14,"div",20)(15,"a",21),g(16,"img",22),o(),r(17,"a",23),g(18,"img",24),o()()(),r(19,"li",18)(20,"div",19),p(21,"2"),o(),r(22,"p"),p(23),m(24,"translate"),o()(),r(25,"li",18)(26,"div",19),p(27,"3"),o(),r(28,"p"),p(29),m(30,"translate"),o()()()),i&2&&(a(2),l(d(3,5,"sca.setup.app.text")),a(3),l(d(6,7,"sca.setup.app.title")),a(7),l(d(13,9,"sca.setup.app.step.1")),a(11),l(d(24,11,"sca.setup.app.step.2")),a(6),l(d(30,13,"sca.setup.app.step.3")))}function ke(i,t){i&1&&(r(0,"span"),p(1),m(2,"translate"),o()),i&2&&(a(),l(d(2,1,"sca.setup.fallback.title")))}function Ae(i,t){i&1&&(p(0),m(1,"translate")),i&2&&l(d(1,1,"sca.setup.fallback-app.title"))}function Pe(i,t){if(i&1){let s=x();k(0),g(1,"hr",25),r(2,"h4",16),C(3,ke,3,3,"span",3)(4,Ae,2,3,"ng-template",null,1,z),o(),r(6,"ul",26)(7,"li",27)(8,"a",28),E("click",function(){S(s);let e=_();return v(e.fallback())}),r(9,"div"),p(10),m(11,"translate"),o(),r(12,"div"),p(13),o()()()(),A()}if(i&2){let s=U(5),n=_();a(3),f("ngIf",n.scaSetupService.isDeviceReady)("ngIfElse",s),a(7),l(d(11,4,"sca.setup.fallback.text")),a(3),l(n.phoneNumberService.phoneNumber)}}var pe=(()=>{let t=class t{constructor(n,e,c,w,me,de,ue,fe,_e){this.httpClient=n,this.credentialsService=e,this.phoneNumberService=c,this.scaSetupService=w,this.router=me,this.parameterService=de,this.translateService=ue,this.sanitizer=fe,this.spinnerService=_e,this.smsFallback=new Q,this.loading=!1;let J=this.translateService.instant("sca.setup.device.link");J&&(this.deviceLinkHTML=this.sanitizer.bypassSecurityTrustHtml(J))}proceed(){this.loading=!0;let n=new T({"Content-type":"application/json; charset=utf-8",Authorization:this.credentialsService.intermediateJWT});this.httpClient.post("/auth/rest/strongCustomerAuth/setup/proceed",{},{headers:n}).subscribe({next:e=>{},error:e=>{let c=e.error;c?.errorCode===I.SCA_REQUIRED?(this.credentialsService.intermediateJWT=c.limitedJwt,this.router.load(h.SCA)):this.loading=!1}})}cancel(){this.loading=!0;let n=new T({"Content-type":"application/json; charset=utf-8",Authorization:this.credentialsService.intermediateJWT,redirect_uri:this.parameterService.get(R.REDIRECT)});this.httpClient.post("/auth/rest/strongCustomerAuth/setup/cancel",{},{headers:n}).subscribe({next:e=>{e.redirectUrl&&(window.location.href=e.redirectUrl)},error:e=>{this.loading=!1}})}fallback(){this.spinnerService.processing.start(),this.loading=!0;let n=new T({"Content-Type":"application/json",Authorization:this.credentialsService.intermediateJWT});return this.httpClient.post("/auth/rest/fallbackSms",{},{headers:n}).subscribe({next:e=>{this.spinnerService.processing.stop(),this.loading=!1,this.smsFallback.next(!0)},error:e=>this.handleError(e)}),!1}handleError(n){let e=n.error;e&&e.errorCode===I.AUTH_TOKEN_NOT_VALID&&this.router.load(h.LOGIN),this.loading=!1,this.spinnerService.processing.stop()}};t.\u0275fac=function(e){return new(e||t)(u(M),u(H),u(re),u(L),u(b),u(B),u($),u(Z),u(ee))},t.\u0275cmp=D({type:t,selectors:[["app-setup-component"]],outputs:{smsFallback:"smsFallback"},standalone:!1,decls:5,vars:3,consts:[["nonAppCustomer",""],["nonAppCustomerFallback",""],[1,"auth-sca-setup-section"],[4,"ngIf","ngIfElse"],[4,"ngIf"],[1,"auth-sca-setup__app-customer"],[1,"auth-sca__description","is-app"],[3,"innerHTML",4,"ngIf"],[1,"auth-sca__info","mt-4"],[1,"mt-button"],["
1id","setupProceedButton","psc-button","primary",1,"is-block",3,"click","processing"],["class","mt-2",4,"ngIf"],[3,"innerHTML"],[1,"mt-2"],["id","setupCancelButton","psc-button","accent",1,"is-block",3,"click","disabled"],[1,"auth-sca__description"],[1,"auth-sca-options__subtitle"],[1,"auth-sca-setup__steps","mt-4"],[1,"auth-sca-setup__step"],[1,"auth-sca-setup__step-nr"],[1,"mt-2","auth-sca-setup__apps"],["href","https://itunes.apple.com/app/id588324792?mt=8","target","_blank"],["src","assets/vectors/sca/logo-app-store.62f0d60477.svg","alt","Download on the App Store",1,"auth-sca-setup__store-logo"],["href","https://play.google.com/store/apps/details?id=at.paysafecard.android&referrer=adjust_reftag%3DcIGmAvoU2TFcK%26utm_source%3DWebsite%2B-%2BApp%2BSeite","target","_blank"],["src","assets/vectors/sca/logo-google-play.c3ab5227be.svg","alt","Get it on Google Play",1,"auth-sca-setup__store-logo","ml-2"],[1,"auth-sca__delimiter"],[1,"auth-sca-options__list"],[1,"auth-sca-options__item"],["href","#","id","setupFallbackButton",1,"auth-sca-options__link","is-sms",3,"click"]],template:function(e,c){if(e&1&&(r(0,"section",2),C(1,we,17,12,"ng-container",3)(2,ye,31,15,"ng-template",null,0,z)(4,Pe,14,6,"ng-container",4),o()),e&2){let w=U(3);a(),f("ngIf",c.scaSetupService.isDeviceReady)("ngIfElse",w),a(3),f("ngIf",c.scaSetupService.isMandatory)}},dependencies:[X,te,N],encapsulation:2});let i=t;return i})();function je(i,t){if(i&1){let s=x();r(0,"app-setup-component",7),E("smsFallback",function(){S(s);let e=_();return v(e.switchView("sms"))}),o()}}function Ve(i,t){if(i&1){let s=x();r(0,"app-sms-component",8),E("back",function(){S(s);let e=_();return v(e.switchView("setup"))}),o()}}var ce=(()=>{let t=class t{constructor(n,e,c){this.devicePollingService=n,this.scaSetupService=e,this.router=c,this.scaView="setup"}ngOnInit(){this.scaSetupService.isDeviceReady||this.devicePollingService.startPolling()}ngOnDestroy(){this.devicePollingService.stopPolling()}switchView(n){this.router.setLastPage(h.SCA_SETUP),this.scaView=n}};t.\u0275fac=function(e){return new(e||t)(u(O),u(L),u(b))},t.\u0275cmp=D({type:t,selectors:[["ng-component"]],standalone:!1,decls:9,vars:6,consts:[[1,"auth-sca-setup"],[1,"auth-card"],[1,"auth-title"],["id","alert","animation","flipInX"],[3,"ngSwitch"],[3,"smsFallback",4,"ngSwitchCase"],[3,"back",4,"ngSwitchCase"],[3,"smsFallback"],[3,"back"]],template:function(e,c){e&1&&(r(0,"section",0)(1,"div",1)(2,"h2",2),p(3),m(4,"translate"),o(),g(5,"psc-alert",3),k(6,4),C(7,je,1,0,"app-setup-component",5)(8,Ve,1,0,"app-sms-component",6),A(),o()()),e&2&&(a(3),l(d(4,4,"sca.title")),a(3),f("ngSwitch",c.scaView),a(),f("ngSwitchCase","setup"),a(),f("ngSwitchCase","sms"))},dependencies:[Y,q,ie,oe,pe,N],encapsulation:2});let i=t;return i})();var Me=[{path:"**",component:ce}],le=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=j({type:t}),t.\u0275inj=P({imports:[V,G.forChild(Me),G]});let i=t;return i})();var jt=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=j({type:t}),t.\u0275inj=P({providers:[O],imports:[ne.forChild(),ae,le,V]});let i=t;return i})();export{jt as ScaSetupModule};

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.