PageSourceSearch

https://www.paper.id/webappv1/auth-login.module-J3CBMPLG.js

js paper.id collected 2026-10-01 12:33:05 UTC 51,256 bytes, 1 lines download raw bytes

1import{a as At}from"./chunk-P3BXOYGK.js";import{a as kt}from"./chunk-WSZ3NQDF.js";import"./chunk-MJVTBPD2.js";import{a as te,b as Lt,c as de}from"./chunk-KHVVLL7N.js";import{c as V}from"./chunk-RLJXU2ZO.js";import"./chunk-6TJAYPLL.js";import"./chunk-H442AVJ5.js";import"./chunk-S6TSF4K2.js";import"./chunk-TKUGICBR.js";import{a as Mt}from"./chunk-V2M6L7BS.js";import{a as ee}from"./chunk-YIB3EYAZ.js";import"./chunk-N4FTACKK.js";import{a as Y}from"./chunk-54J4THLA.js";import{a as Ot}from"./chunk-PFM3RAW2.js";import"./chunk-42ZBTJW2.js";import"./chunk-7Q2JJLQG.js";import"./chunk-PKHMEX4E.js";import"./chunk-FQKYOQOZ.js";import"./chunk-CBJDGPY2.js";import"./chunk-NUKH7ANI.js";import"./chunk-WIKPFPZC.js";import"./chunk-MUOMRZ6K.js";import"./chunk-CV2ZWZQE.js";import"./chunk-K7RPI7K3.js";import"./chunk-HIQPUQQ3.js";import"./chunk-M74OIHO5.js";import{a as pe,b as yt}from"./chunk-HIJ2CURE.js";import"./chunk-SYLGZMEH.js";import"./chunk-MMDMTPM5.js";import"./chunk-UG4KMKYC.js";import{a as wt,b as Pt}from"./chunk-IFQ4ZZNZ.js";import{c as St}from"./chunk-BVGOBGMN.js";import"./chunk-WLCVGZRY.js";import"./chunk-4SAH42S3.js";import{i as ue,o as xt,q as Ct}from"./chunk-3F3B7YX4.js";import{a as ht}from"./chunk-WERKPHMY.js";import"./chunk-QXPCQ3YD.js";import"./chunk-WYJWPITG.js";import"./chunk-2LVKMB4R.js";import"./chunk-Z66C52IY.js";import{h as bt,i as vt}from"./chunk-H7RZGTUV.js";import"./chunk-LYKJ762I.js";import{c as ce,d as K,e as X,h as Z}from"./chunk-4HMDMQ64.js";import{b as _t}from"./chunk-EXN2SXIX.js";import"./chunk-KOZ7A4GB.js";import"./chunk-5OBCX6ML.js";import{a as mt}from"./chunk-2HCGAIEC.js";import"./chunk-DOX3GHR3.js";import"./chunk-QPPLDETR.js";import"./chunk-JY4V5LMX.js";import"./chunk-UPZEQCVP.js";import"./chunk-HAUEKOA3.js";import"./chunk-7WBUI5OV.js";import{b as gt}from"./chunk-HP2CF2GT.js";import"./chunk-I6MBSWGK.js";import"./chunk-XCKWCKVK.js";import"./chunk-42ZBBF7V.js";import"./chunk-4YBPLW2E.js";import{a as ct}from"./chunk-PL4XAWN7.js";import"./chunk-GKZL5FN7.js";import"./chunk-WP2M2WAG.js";import"./chunk-24ITAKT3.js";import"./chunk-XTO5MQ2C.js";import"./chunk-56VN5WLC.js";import"./chunk-3RK6DDJD.js";import"./chunk-WAB6FILJ.js";import"./chunk-7SWYBML6.js";import"./chunk-54TPBTGY.js";import"./chunk-B5GTZVN7.js";import"./chunk-S2VCFDWZ.js";import"./chunk-TQZAM7IJ.js";import"./chunk-J3YCSW3K.js";import"./chunk-V7LC4K4H.js";import{a as Q}from"./chunk-TCQB4HDJ.js";import"./chunk-EXWWOKQ7.js";import{Fa as Ke,a as Ye,b as J}from"./chunk-OZYTH7R3.js";import{b as ft}from"./chunk-GGJ4FUAM.js";import"./chunk-MXUV2IMK.js";import"./chunk-NPWRWIN7.js";import{c as $e,g as Qe,i as Je}from"./chunk-A5G3GD3I.js";import"./chunk-UEMZ3I2G.js";import{f as $}from"./chunk-BKHAOR4P.js";import"./chunk-LQFTEEA7.js";import{s as lt}from"./chunk-7C57LWT7.js";import"./chunk-R2O5K33K.js";import"./chunk-36IEDLKC.js";import"./chunk-PB2PDYZS.js";import"./chunk-5DTQNBSS.js";import"./chunk-AQHIEARC.js";import"./chunk-YIJS7TK6.js";import"./chunk-EBAYBZXB.js";import{b as pt,c as dt}from"./chunk-DVFWGOCD.js";import{A as He,f as le,g as We,y as Ge}from"./chunk-YGVHDXFX.js";import"./chunk-QMTDOAXW.js";import{a as B}from"./chunk-ERTW4IWA.js";import"./chunk-OBHSMO7D.js";import{a as Te,b as Be,e as Re,g as Ue,h as Fe,j as se}from"./chunk-W2AWOYZL.js";import{p as De,q as Ee}from"./chunk-C6UQ2ACR.js";import"./chunk-RTEEPNMQ.js";import"./chunk-7XRSUS5A.js";import{c as ut}from"./chunk-IFLO7NU6.js";import"./chunk-VG4Q4TGI.js";import"./chunk-UJMTZYY6.js";import{G as ot,I as at,J as st,c as Xe,e as Ze,h as et,i as tt,n as it,r as nt,u as rt}from"./chunk-JH46TCUL.js";import{b as Ne,c as Ve,d as qe}from"./chunk-RMO7VQCR.js";import{c as je,f as ze}from"./chunk-6W54VN77.js";import"./chunk-K3FNKPAU.js";import"./chunk-CXVRAMWO.js";import"./chunk-354S4AXW.js";import"./chunk-ZU47GXP7.js";import"./chunk-VLLHPRYW.js";import{E as Ie,a as Le,h as ke,l as Ae}from"./chunk-ZK5Z4JJN.js";import{Aa as j,B as _,Cd as ae,Dc as P,Ea as Ce,Ic as p,J as ve,Jc as u,Kc as v,Lb as s,Ld as g,Md as m,N as R,Oc as N,Qa as D,Qb as ye,Ra as E,Rb as c,U as ne,Ub as Se,Uc as T,Wc as M,aa as re,bc as we,cc as z,g as fe,hc as k,hd as Pe,id as Me,jd as Oe,kd as f,ld as oe,md as x,n as b,pa as H,qa as U,r as be,s as w,sa as F,t as G,uc as A,vc as O,za as xe}from"./chunk-G5TAN4KK.js";import{a as I,b as W}from"./chunk-3ZVT5MQA.js";var It=(()=>
1{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=z({type:i});static \u0275inj=j({providers:[ee],imports:[kt]})}return i})();var Dt=(()=>{class i{http;gateway_url=B.new_gateway_url;constructor(e){this.http=e}getCustomTheme(){let e=this.gateway_url+"/api/v1/milky-way/companies/custom-theme";return this.http.get(e)}static \u0275fac=function(t){return new(t||i)(Ce(He))};static \u0275prov=xe({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function _e(){let i=localStorage.getItem("user_module_role_setting");if(i)try{let l=JSON.parse(i),e=l?.navigation,t=l?.user_module_role_setting;if(e&&t){let n=ge(e);return{menus:n,firstMenu:me(n)}}}catch(l){console.error("Failed to parse user_module_role_setting:",l)}}function ge(i){let l=Object.entries(i??{}).filter(([,e])=>typeof e?.sequence=="number").sort(([,e],[,t])=>e?.sequence-t?.sequence).map(([e,t])=>{let n=W(I({},t),{child:ge(t?.child??{}),child_in_child:ge(t?.child_in_child??{})});return[e,n]});return Object.fromEntries(l)}function me(i){for(let[,l]of Object.entries(i??{})){if(l?.show_status!==1)continue;if(l?.url)return l;let e=me(l?.child??{});if(e)return e;let t=me(l?.child_in_child??{});if(t)return t}}var Xt=["loginIdentifierField"],Zt=i=>({"auth-form__title-accurate":i}),ei=i=>({"auth-text--underline":i});function ti(i,l){i&1&&v(0,"spinner",2)}function ii(i,l){i&1&&v(0,"sandbox-banner",3),i&2&&O("multiLanguage",!1)}function ni(i,l){if(i&1){let e=N();p(0,"button",12),T("click",function(){D(e);let n=M();return E(n.goBack())}),v(1,"img",13),u()}}function ri(i,l){i&1&&v(0,"img",17)}function oi(i,l){i&1&&(p(0,"span"),f(1),g(2,"translate"),u(),p(3,"span"),f(4),g(5,"translate"),v(6,"img",31),f(7),g(8,"translate"),u()),i&2&&(s(),oe(m(2,3,"login.paper_accurate.subtitle_form_leading")),s(3),x(" ",m(5,5,"login.paper_accurate.subtitle_form_trailing1")," "),s(3),x(" ",m(8,7,"login.paper_accurate.subtitle_form_trailing2")," "))}function ai(i,l){i&1&&v(0,"bca-ocean-alert-info",19),i&2&&O("entry_point","login")}function si(i,l){if(i&1&&(p(0,"au-hint",25),f(1),g(2,"translate"),u()),i&2){let e=M(2);s(),x(" ",m(2,1,e.credential_labelling.error1)," ")}}function li(i,l){if(i&1&&(p(0,"au-hint",26),f(1),g(2,"translate"),u()),i&2){let e=M(2);s(),x(" ",m(2,1,e.credential_labelling.error2)," ")}}function ci(i,l){if(i&1){let e=N();p(0,"div",29)(1,"au-checkbox",32),g(2,"translate"),T("checkedChange",function(n){D(e);let o=M(2);return E(o.isRememberMe=n)}),u(),p(3,"a",33),f(4),g(5,"translate"),u()()}if(i&2){let e=M(2);s(),O("label",m(2,6,"login.default.lbl_remember_me"))("checked",e.isRememberMe),A("data-cy","checkbox-rememberme"),s(2),O("hidden",e.entryPoint==="po_form"),A("data-cy","go-to-forget-password-page"),s(),x(" ",m(5,8,"lbl_forgot_password")," ")}}function ui(i,l){i&1&&(f(0),g(1,"translate"),v(2,"br")),i&2&&x(" ",m(1,1,"login.paper_accurate.lbl_do_not_have_account"),"")}function pi(i,l){if(i&1){let e=N();p(0,"div",30),k(1,ui,3,3),p(2,"a",34),T("click",function(){D(e);let n=M(2);return E(n.getRouterLink())}),f(3),g(4,"translate"),u()()}if(i&2){let e=M(2);s(),P(e.isPaperAccurate?-1:1),s(),O("ngClass",ae(6,ei,!e.isPaperAccurate)),A("data-cy","go-to-register-page"),s(),x(" ",m(4,4,e.label.btn_register)," ")}}function di(i,l){if(i&1){let e=N();p(0,"div",14)(1,"div",15)(2,"div",16),f(3),g(4,"translate"),u(),k(5,ri,1,0,"img",17)(6,oi,9,9),u(),v(7,"div",18),u(),k(8,ai,1,1,"bca-ocean-alert-info",19),p(9,"form",20,0),T("ngSubmit",function(){D(e);let n=M();return E(n.onSubmit())}),p(11,"au-form-field",21)(12,"au-label",22),v(13,"au-icon",23),f(14),g(15,"translate"),u(),v(16,"input",24,1),g(18,"translate"),k(19,si,3,3,"au-hint",25)(20,li,3,3,"au-hint",26),u(),v(21,"input",27),p(22,"button",28),f(23),g(24,"translate"),u()(),k(25,ci,6,10,"div",29)(26,pi,5,8,"div",30)}if(i&2){let e=Oe(10),t=M();s(),O("ngClass",ae(26,Zt,t.isPaperAccurate)),s(2),oe(m(4,18,t.label.title_form)),s(2),P(t.isPaperAccurate?6:5),s(3),P(t.is_bca_ocean_user?8:-1),s(),O("formGroup",t.loginForm),s(3),O("required",!0),s(2),x(" ",m(15,20,t.credential_labelling.email_phone)," "),s(2),O("placeholder",m(18,22,t.credential_labelling.placeholder))("disabled",t.isLoginDisabled),A("data-cy","identifier")("aria-invalid",t.loginForm.get("identifier").invalid&&(e.submitted||t.loginForm.get("identifier").touched)),s(3),P(t.loginForm.get("identifier").hasError("required")&&(e.submitted||t.loginForm.get("identifier").touched)?19:-1),s(),P(t.loginForm.get("identifier").hasError("isPhoneOrEmailForLogin")&&(e.submitted||t.loginForm.get("identifier").touched)?20:-1),s(2),O("disabled",t.isLoginDisabled),A("data-cy","submit"),s(),x(" ",m(24,24,t.label.btn_masuk)," "),s(2),P(t.isReturnUrlHideRegistration?-1:25),s(),P(!t.checkIsSupplier()&&!t.isReturnUrlHideRegistration?26:-1)}}function gi(i,l){if(i&1){let e=N();p(0,"div",14)(1,"div",35)(2,"div",16),f(3),g(4,"translate"),u(),v(5,"img",17),u(
1),v(6,"div",18),u(),p(7,"div",36),f(8),g(9,"translate"),u(),p(10,"button",37),T("click",function(){D(e);let n=M();return E(n.openChatWidget())}),f(11),g(12,"translate"),u(),p(13,"div",38),f(14),g(15,"translate"),p(16,"a",39),T("click",function(n){D(e);let o=M();return E(o.clearLoginLimit(n))}),f(17),g(18,"translate"),u()()}i&2&&(s(3),x(" ",m(4,7,"login.locked.lbl_title")," "),s(5),x(" ",m(9,9,"login.locked.lbl_message")," "),s(2),A("data-cy","contact-support"),s(),x(" ",m(12,11,"login.locked.btn_support")," "),s(3),x(" ",m(15,13,"login.locked.lbl_back_to")," "),s(2),A("data-cy","go-to-login"),s(),x(" ",m(18,15,"login.locked.btn_login")," "))}var Et=(()=>{class i{formBuilder;authDialogService;authService2;sharedService;router;authenticationLoopbackService;route;dialog;meta;title;dom;renderer;notifierDialogsService;bcaOceanService;location;enterpriseCompanySettingService;customThemeService;themeSettingService;onboardingServiceRevamp;loginPasswordDialogService;translateService;clientRegionService;mobileAppBridgeService;loginIdentifierField=Se("loginIdentifierField");PAYPER_SINGLE_INVOICE_ROUTES=["payper/single-invoice","payper/single-invoice-v2"];isLoading;loginForm;loginLimit;isShowLoginLimit=!0;isLoginDisabled;returnUrl;isRememberMe=!1;is2FA=!1;fingerprint_challenge="";entryPoint;bi_institution=null;bi_uuid=null;ip_address;credential_labelling={email_phone:"login.credential_labelling.email_phone",placeholder:"login.credential_labelling.placeholder",error1:"login.credential_labelling.error1",error2:"login.credential_labelling.error2"};unsubscribe$=new fe;is_sandbox=B.sandbox;accurate_referral="PPRACCURATE";isPaperAccurate=!1;query_params={entry_point:"login"};utmParams={utm_source:null,utm_medium:null,utm_campaign:null,utm_term:null,gclid:null};label={btn_masuk:"login.default.btn_masuk",title_form:"login.default.title_form",btn_register:"login.default.btn_register"};is_bca_ocean_user=!1;isDifferentDevice=!1;poform_uuid;additional_onboarding_invoice=!1;selected_language=null;region="ID";userDetails=[];constructor(e,t,n,o,r,a,d,C,S,y,L,q,Bt,Rt,Ut,Ft,jt,zt,Nt,Vt,qt,Wt,Gt){this.formBuilder=e,this.authDialogService=t,this.authService2=n,this.sharedService=o,this.router=r,this.authenticationLoopbackService=a,this.route=d,this.dialog=C,this.meta=S,this.title=y,this.dom=L,this.renderer=q,this.notifierDialogsService=Bt,this.bcaOceanService=Rt,this.location=Ut,this.enterpriseCompanySettingService=Ft,this.customThemeService=jt,this.themeSettingService=zt,this.onboardingServiceRevamp=Nt,this.loginPasswordDialogService=Vt,this.translateService=qt,this.clientRegionService=Wt,this.mobileAppBridgeService=Gt,this.meta.updateTag({content:"Segera login ke akun Paper.id untuk pengalaman terbaik dalam membantu menjalankan bisnis kalian dimanapun dan kapanpun dengan mudah."},'name="description"'),this.title.setTitle("Log In / Masuk ke Akun Anda - Paper.id"),this.loginForm=this.formBuilder.group({identifier:["",[Ze.required,mt.isPhoneOrEmailForLogin]]}),this.route.queryParams.pipe(U(this.unsubscribe$)).subscribe(h=>{this.entryPoint=h.entry_point,this.setQueryParams(h.referral);let Ht=h[V.UTM_CAMPAIGN],$t=h[V.UTM_MEDIUM],Qt=h[V.UTM_SOURCE],Jt=h[V.UTM_TERM],Yt=h[V.GCLID];if(this.utmParams={utm_source:Qt,utm_medium:$t,utm_campaign:Ht,utm_term:Jt,gclid:Yt},this.query_params=de(this.query_params,this.utmParams),h.signature&&h.timestamp)this.bcaOceanService.saveBCAOceanParams({bca_ocean_signature:h.signature,bca_ocean_timestamp:+h.timestamp}),this.is_bca_ocean_user=this.bcaOceanService.isBCAOceanUser();else if(h.verify)if(h.verify==="true")this.dialog.open(pe,{width:"500px",data:{type:"company"}}).afterClosed().subscribe(()=>{this.authenticationLoopbackService.getbearer()&&(this.isLoading=!0,this.navigateAfterLogin())});else{let he=this.dialog.open(pe,{width:"500px",data:{type:"user",params:h.verify}});return this.sharedService.resetCtProps(),this.authenticationLoopbackService.clearAuthStorage(dataLayer),he.afterClosed()}else this.authenticationLoopbackService.check()&&(this.isLoading=!0,this.authenticationLoopbackService.loadUsers().subscribe({next:()=>{this.navigateAfterLogin()},error:()=>{this.sharedService.resetCtProps(),this.authenticationLoopbackService.clearAuthStorage(dataLayer),this.isLoading=!1}}));h.utm_content&&h.utm_content.toLowerCase()==="horizon_card"&&localStorage.setItem("is_utm_horizon","1"),this.poform_uuid=h.uuid,setTimeout(()=>{this.ctOnLoginPageViewed()},2e3)}),this.createCanonicalURL("https://www.paper.id/webappv1/login")}ngOnInit(){this.is_bca_ocean_user=this.bcaOceanService.isBCAOceanUser(),this.is_bca_ocean_user&&ve(this.bcaOceanService.getBCAOceanParamsTTL()).pipe(ne(1),U(this.unsubscribe$)).subscribe({next:()=>this.presentBCAOceanSessionEndDialog()}),this.renderer.addClass(document.body,"zendesk-position"),this.bi_institution=window.localStorage.getItem("bi_institution"),this.bi_uuid=window.localStorage.getItem("bi_uuid");let e=_e()?.firstMenu?.url;
1this.returnUrl=this.route.snapshot.queryParams.returnUrl||e,window.localStorage.setItem("return_url",this.returnUrl),this.authService2.loginLimit$.pipe(U(this.unsubscribe$)).subscribe(o=>{this.loginLimit=o;let r=this.loginLimit&&this.loginLimit.isLocked,a=this.loginLimit&&this.loginLimit.isLockedPermanent;this.isLoginDisabled=r||a}),this.router.routerState.root.queryParams.pipe(U(this.unsubscribe$)).subscribe(o=>{let r=this.sharedService.getParameterByName(o.returnUrl,"email")||"";this.loginForm.controls.identifier.setValue(r)});let t=0;this.router.events.pipe(U(this.unsubscribe$)).subscribe(o=>{o instanceof Te?t++:o instanceof Be&&(t--,(o.url==="/login"||o.url.startsWith("/login"))&&(this.isLoading=!1,this.is_bca_ocean_user=this.bcaOceanService.isBCAOceanUser())),!this.returnUrl&&t>0&&(this.isLoading=!0)}),this.translateForSupplierPortal(),this.initializeLanguage(),this.query_params&&this.query_params?.referral===this.accurate_referral&&(this.isPaperAccurate=!0),this.authenticationLoopbackService.check()&&this.onboardingServiceRevamp.getOnboardingQuestionnaireStatus().subscribe(o=>{this.additional_onboarding_invoice=o?.body?.additional_onboarding_data?.active_additional_onboarding==="invoice_setting"});let n=Lt(this.route,{name:"accurate",key:"utm_campaign"});n&&(this.returnUrl=n)}ngAfterViewInit(){this.getIpAdress()}isPayperSingleInvoiceRoute(e){return e?this.PAYPER_SINGLE_INVOICE_ROUTES.some(t=>e===t||e.startsWith(`${t}?`)):!1}get isReturnUrlHideRegistration(){return this.isPayperSingleInvoiceRoute(this.returnUrl)}initializeLanguage(){this.selected_language=this.clientRegionService.getLanguage(),this.region=this.clientRegionService.getClientRegion(),this.translateService.use(this.selected_language)}presentBCAOceanSessionEndDialog(){this.authDialogService.presentBCAOceanSessionEndDialog().pipe(ne(1)).subscribe({next:e=>{this.handlerExpiredAndErrorBCAOcean(e)}})}handlerExpiredAndErrorBCAOcean(e){if(this.is_bca_ocean_user=!1,this.bcaOceanService.resetBCAOceanStateFromLocalStorage(),e&&e!=="call_cs")window.open($e,"_blank","noopener");else{let t=window.location.href.split("?")[0];window.history.pushState({},document.title,t),window.location.reload()}}getIpAdress(){this.sharedService.getCurrentIp().subscribe(e=>{this.ip_address=e.ip})}ngOnDestroy(){this.renderer.removeClass(document.body,"zendesk-position"),this.unsubscribe$.next(),this.unsubscribe$.complete(),this.authService2.setLoginLimit(void 0),this.isLoading=!1}onSubmit(){if(!this.loginForm.valid){this.loginForm.markAllAsTouched(),this.loginIdentifierField()?.nativeElement.dispatchEvent(new Event("blur"));return}let e=this.loginForm.controls.identifier.value,t=this.authService2.getIdentifierType(e);if(t==="phone"){if(B?.is_supplier){this.sharedService.paperMessage({status:"error",title:"Terjadi kesalahan",detail:"Login hanya boleh menggunakan email"});return}this.loginWithPhone(e)}else t==="email"&&this.loginWithEmail(e)}clearLoginLimit(e){e.preventDefault(),this.authService2.clearLoginLimit()}openChatWidget(){window.zE("messenger","open")}loginWithPhone(e){let t=/^[+62|62]{2,3}/;t.test(e)&&(e=e.replace(t,"0")),this.authService2.checkPhoneAccount(e).pipe(_(n=>{console.log("***checkPhoneAccountResponse",n);let o=n?.data?.multiple||!1,r=n?.data?.has_password||!1;if(o||!r)return this.loginWithPhoneOtp(e,"whatsapp").pipe(_(d=>d?w(d):b));let a=this.authService2.validatePhone(e);return this.authDialogService.openLoginMethodDialog(e,a).pipe(_(d=>d==="sms"?this.loginWithPhoneOtp(e,"sms"):d==="whatsapp"?this.loginWithPhoneOtp(e,"whatsapp"):d==="password"?this.loginWithPhonePassword(e):b))}),_(n=>{if(n?.error?.code==="100001")return this.authDialogService.openAccountDetectedAsFraudDialog(),b;{this.isLoading=!0,this.authenticationLoopbackService.saveLocalStorageUserData(n),this.mobileAppBridgeService.isWebView()&&this.mobileAppBridgeService.callHandler("inAppWebviewLogin",this.mobileAppBridgeService.getInAppWebviewLoginData(n));let o=n?.user?.has_password;return this.userDetails?.length>1?this.authService2.validateDevice({user_id:n?.body?.uuid,fingerprint:""}).pipe(F(a=>{this.fingerprint_challenge=a.body?.challenge||""}),_(()=>{let a=this.buildLoginPayload(n?.body);return this.authService2.loginWithChooseCompany(a)}),F(a=>{this.authenticationLoopbackService.saveLocalStorageUserData(a),this.mobileAp
1pBridgeService.isWebView()&&this.mobileAppBridgeService.callHandler("inAppWebviewLogin",this.mobileAppBridgeService.getInAppWebviewLoginData(a))}),R(a=>this.handleBCAOceanLoginError(a))):o?this.authenticationLoopbackService.getPasswordStatus()==="expired"?(this.isLoading=!1,this.authDialogService.showPasswordChangeDialog()):this.onboardingServiceRevamp.getOnboardingQuestionnaireStatus():this.authDialogService.openLoginSetPasswordDialog(e).pipe(_(a=>a?this.authenticationLoopbackService.getPasswordStatus()==="expired"?(this.isLoading=!1,this.authDialogService.showPasswordChangeDialog()):this.onboardingServiceRevamp.getOnboardingQuestionnaireStatus():(this.authenticationLoopbackService.clearAuthStorage(dataLayer),b)))}}),R(n=>this.handleError(n))).subscribe({next:n=>{this.onCtLogin(),this.bi_institution!==null&&this.bi_uuid!==null&&this.authenticationLoopbackService.bankInterfaceUpdateInvitationStatus({finance_institution_key:this.bi_institution,company_uuid:this.bi_uuid,invitation_status:"accepted"}).subscribe(o=>{[200,201].includes(o.status)&&(this.bi_uuid=null,this.bi_institution=null,window.localStorage.removeItem("bi_institution"),window.localStorage.removeItem("bi_uuid"))}),n&&this.setTheme().pipe(re(()=>this.navigateAfterLogin())).subscribe()},error:n=>{console.log("***error",n),this.isLoading=!1,this.showGeneralLoginErrorDialog(n)}})}goBack(){this.location.back()}loginWithEmail(e){this.loginPasswordDialogService.openLoginPasswordDialog({identifier:e,identifier_type:"email",ip_address:this.ip_address,entry_source:this.query_params.referral===this.accurate_referral?"accurate":null,is_remember_me:this.isRememberMe}).pipe(_(t=>t&&t?.error?.code=="100001"?(this.authDialogService.openAccountDetectedAsFraudDialog(),b):t?w(t):(this.isShowLoginLimit=!0,b)),_(t=>{if(this.isLoading=!0,B?.is_supplier&&!t?.supplier_portal){this.sharedService.paperMessage({status:"error",title:"Terjadi kesalahan",detail:"Data supplier portal tidak ditemukan"});return}return this.authenticationLoopbackService.saveLocalStorageUserData(t),this.mobileAppBridgeService.isWebView()&&this.mobileAppBridgeService.callHandler("inAppWebviewLogin",this.mobileAppBridgeService.getInAppWebviewLoginData(t)),this.enterpriseCompanySettingService.setCompanyKey(),this.authenticationLoopbackService.getPasswordStatus()==="expired"?(this.isLoading=!1,this.authDialogService.showPasswordChangeDialog()):this.onboardingServiceRevamp.getOnboardingQuestionnaireStatus()}),_(t=>this.authenticationLoopbackService.getCompanyType()?.company_type_name!=="Kopi Kenangan"?w(t):this.sharedService.getRole().pipe(F(o=>{let r=I(I({},o?.navigation?.ppr_procurement?.child?.ppr_invoice2?.activities??{}),o?.navigation?.my_task?.activities??{});localStorage.setItem("user_role_kk_activities",JSON.stringify(r))}),_(()=>this.authenticationLoopbackService.loadUserCategories()),F(o=>{let r=o?.data?.categories;localStorage.setItem("user_categories",JSON.stringify(r))}))),R(t=>this.handleError(t))).subscribe({next:t=>{this.onCtLogin(),this.bi_institution!==null&&this.bi_uuid!==null&&this.authenticationLoopbackService.bankInterfaceUpdateInvitationStatus({finance_institution_key:this.bi_institution,company_uuid:this.bi_uuid,invitation_status:"accepted"}).subscribe(n=>{[200,201].includes(n.status)&&(this.bi_uuid=null,this.bi_institution=null,window.localStorage.removeItem("bi_institution"),window.localStorage.removeItem("bi_uuid"))}),t&&this.setTheme().pipe(re(()=>this.navigateAfterLogin())).subscribe()},error:t=>{this.isLoading=!1,this.showGeneralLoginErrorDialog(t)}})}loginWithPhoneOtp(e,t){this.isLoading=!0,this.userDetails=[];let n={phone:e,method:t};this.authService2.checkSupplierUser(n);let o=this.authService2.validatePhone(e);return o||(n.method="whatsapp"),this.authService2.loginWithPhone(n).pipe(_(r=>(this.isLoading=!1,this.authDialogService.openLoginOtpDialog(e,r.data,this.ip_address,o,t).pipe(_(a=>{if([200,201].includes(a?.loginResponse?.status)){if(e&&a?.loginResponse?.error?.code==="100001")return this.authDialogService.openAccountDetectedAsFraudDialog(),b;if(e)return this.isLoading=!0,w(a)}else{if(a?.loginResponse?.state==="error")return this.showGeneralLoginErrorDialog(a?.loginResponse?.message),b;if(a?.emails||a?.loginResponse.companies)return this.isLoading=!0,w(a)}return b})))),H(r=>{if(!r)return b;let{uuid:a,phone:d,user_details:C,companies:S}=r.loginResponse;return be(this.authService2.initFingerprintJS({action:"login",companyIds:S?.map(y=>y.uuid)})).pipe(H(()=>this.authService2.validateDevice({user_id:a,fingerprint:""}).pipe(H(y=>{let{is_new_device:L,challenge:q}=y.body||{};return this.fingerprint_challenge=q,C?.length>1?w(W(I({},r),{isNewDevice:L})):L?(this.is2FA=!0,this.loginPasswordDialogService.openLoginPasswordDialog({identifier:d,identifier_type:"phone",ip_address:this.ip_address,is_2fa_otp_success:!0,is_remember_me:this.isRememberMe})):w(r)}))))}),_(r=>{if(this.is2FA&&r)return w(r);if(r=r,r)if(Array.isArray(r?.emails)){this.isLoading=!1;let a=r?.emails||[],d=r?.loginResponse?.user_details||[],C=r?.otp||"";if(this.userDetails=d,!a.length)return w(r.loginResponse);let S={type_login_multi_company_dialog:"choose-company-then-credential-for-login",list_of_company_emails:a,user_details:d};return this.authDialogService.openLoginMultiCompanyDialog(null,null,null,null,null,S).pipe(_(y=>{if(y){let L={not_choose_user_list_multicompany:!0,phone:e,previous_otp_success_input:C};return r?.isNewDevice?(this.is2FA=!0,this.loginPasswordDialogService.openLoginPasswordDialog({identifier:y,identifier_type:"email",ip_address:this.ip_address,is_2fa_otp_success:!0,login_password_dialog_data:L,is_remember_me:this.isRememberMe})):this.loginPasswordDialogService.openLoginPasswordDialog({identifier:y,identifier_type:"email",ip_address:this.ip_address,entry_source:this.query_params.referral===this.accurate_referral?"accurate":null,login_password_dialog_data:L,is_remember_me:this.isRememberMe})}return b}))}else{let{companies:a,token:d,uuid:C}=r?.loginResponse,S={type_login_multi_company_dialog:"choose-company-direct-login"};if(St("onboarding_is_multi_company_key",a?.length>1),a.length>1)return this.authDialogService.openLoginMultiCompanyDialog(a,C,d,r?.ip_address,this.fingerprint_challenge,S);if(a.length===1){let y={user_id:C,company_id:a?.[0]?.uuid,token:d,ip_address:r?.ip_address};return this.is_bca_ocean_user&&(y.bca_ocean_data=this.bcaOceanService.getBCAOceanParams()),this.fingerprint_challenge&&(y.fingerprint_challenge=this.fingerprint_challenge),this.authService2.loginWithChooseCompany(y).pipe(R(L=>this.is_bca_ocean_user&&L?.error?.error?.code===ue.SMBC_USER_LOG_IN_BCA_OCEAN?(this.isLoading=!1,this.notifierDialogsService.confirmationTemplateDialog({width:500,close_button:!0,border_radius:!0,title:"lbl_bca_ocean_inapplicable_login_popup_t
1itle",message_top:"lbl_bca_ocean_inapplicable_login_popup_subtitle",image:"./assets/images/illust/il-bca-ocean.svg",is_image_top:!0,image_width:"200px",btn_left:"lbl_bca_ocean_inapplicable_login_popup_button",btn_left_classname:"paper-button blue-button no-shadow",btn_left_resp:!0,data_cy_btn_left:"bca-ocean-inapplicable-login-popup-btn"}).pipe(_(q=>(q&&(this.is_bca_ocean_user=!1,this.bcaOceanService.resetBCAOceanStateFromLocalStorage(),this.router.navigate(["/login"])),b)))):G(L)))}}else return this.isLoading=!1,b}))}loginWithPhonePassword(e){return this.loginPasswordDialogService.openLoginPasswordDialog({identifier:e,identifier_type:"phone",ip_address:this.ip_address,entry_source:this.query_params.referral===this.accurate_referral?"accurate":null,is_remember_me:this.isRememberMe}).pipe(_(t=>t?w(t):b))}handleError(e){let t;return typeof e=="string"?t=e:vt.includes(e?.error?.error?.message?.toLowerCase())?t="lbl_bca_ocean_login_err_message":t=e?.error?.error?.message,G(t)}validateGtmCTUserProps(e){if(!e)return{};let t=e?.user?.uuid,n=e?.user_module_role,o="";for(let S=0;S<n.length;S++)t===n[S]?.user_id&&(o=n[S]?.module_role?.name);let r=e?.company?.userCommentMetasetting||null,a=r?this.sharedService.getCompanyType(r):null,d=e?.user?.has_verification_token||!1,C={company_id:e?.company?.uuid||null,user_id:t,user_email:e?.user?.email||null,company_email:e?.company?.company_email||null,user_name:e?.user?.name||null,company_name:e?.company?.company_name||null,user_phone:this.sharedService.getPhoneFormat(e),company_phone:e?.company?.company_phone||null,user_role_name:o||null,company_address_1:e?.company?.company_address1||null,company_address_2:e?.company?.company_address2||null,company_zip_code:e?.company?.company_zip_code||null,city:e?.company?.company_city||null,country:e?.company?.company_country||null,user_verification:d?"Verified":"Not yet verified",registration_date:e.user&&new Date(e.user.created_at)||null,company_verification:d?"Verified":"Not yet verified",subscription:e?.subscription?.package?.package_name||null,business_type_parent:e?.company?.business_type_parent||null,language:e.language&&e.language.code||null,company_entity:e?.company?.company_type||null,company_type:a||null,subscription_start_date:e?.subscription?.start_date?new Date(e?.subscription?.start_date):null,subscription_end_date:e?.subscription?.end_date?new Date(e?.subscription?.end_date):null,referral_code:e?.company?.affiliate_marketing||null,kyc_status:null,company_logo:null,business_type_child:null};return C?.subscription==="Free"&&(C.subscription_end_date=null,C.subscription_start_date=null),C}onCtLogin(){let e=this.authenticationLoopbackService.getuserFull();if(dataLayer){let t={user:e?.user,company:e?.company,package:e?.package,user_module_role:e?.user_module_role,language:e?.language,subscription:e?.subscription},n=this.validateGtmCTUserProps(t),o=new le;o.event="logged_in",o.event_name="Logged In",o.app_type=this.sharedService.getBrowser();let r=Object.assign(o,n);dataLayer.push(r)}}ctOnLoginPageViewed(){if(dataLayer){let e=new le,t=new We,n=Object.assign(e,t);n.event="login_page_viewed",n.event_name="Login Page Viewed",n.app_type=this.sharedService.getBrowser(),n.entry_point=this.entryPoint,n.page_source=this.is_bca_ocean_user?"bca_ocean":"",dataLayer.push(n)}}navigateAfterLogin(){if(this.additional_onboarding_invoice){this.router.navigateByUrl("/invoicer/guidance");return}let e=_e()?.firstMenu?.url;localStorage.setItem("onboarding_finished","finished_onboarding");let t="";if(localStorage.getItem("paRaRes")&&this.isPayperSingleInvoiceRoute(this.returnUrl)){t=`${this.returnUrl?.includes("?")?"&":"?"}ParaRes=${localStorage.getItem("paRaRes")}`;let r=localStorage.getItem("payment_expired_timestamp");r&&(t+=`&payment_expired_timestamp=${r}`)}this.router.navigateByUrl((this.returnUrl||e||"/invoicer/dashboard")+t)}createCanonicalURL(e){let t=this.dom.createElement("link");t.setAttribute("rel","canonical"),this.dom.head.appendChild(t),t.setAttribute("href",e)}showGeneralLoginErrorDialog(e){this.notifierDialogsService.confirmationTemplateDialog({title:"login.login_error_dialog.lbl_title",HTMLcontent:e||"login.login_error_dialog.error_message",color:"white",btn_left_classname:"paper-button blue-button no-shadow",btn_left:this.is_bca_ocean_user?"lbl_relogin":"login.login_error_dialog.lbl_btn_left",width:450,btn_right_classname:"paper-ghost-button blue-button no-shadow",btn_right:this.is_bca_ocean_user?"lbl_back":"login.login_error_dialog.lbl_btn_right",image:"./assets/images/auth/il-login-error.svg",is_image_top:!0,wave:null,border_radius:!0,close_button:!0,btn_right_resp:"call_cs"}).subscribe(t=>
1{if(this.is_bca_ocean_user){this.handlerExpiredAndErrorBCAOcean(t);return}t=="call_cs"&&window.open("https://api.whatsapp.com/send?phone=6285219526186","_blank","noopener")})}buildLoginPayload(e){let t={user_id:e?.uuid,company_id:e?.companies?.[0]?.uuid,token:e?.token,ip_address:this.ip_address,remember_me:!1};return this.is_bca_ocean_user&&(t.bca_ocean_data=this.bcaOceanService.getBCAOceanParams()),this.fingerprint_challenge&&(t.fingerprint_challenge=this.fingerprint_challenge),t}handleBCAOceanLoginError(e){return this.is_bca_ocean_user&&e?.error?.error?.code===ue.SMBC_USER_LOG_IN_BCA_OCEAN?(this.isLoading=!1,this.showBCAOceanInapplicableDialog()):G(()=>e)}showBCAOceanInapplicableDialog(){return this.notifierDialogsService.confirmationTemplateDialog({width:500,close_button:!0,border_radius:!0,title:"lbl_bca_ocean_inapplicable_login_popup_title",message_top:"lbl_bca_ocean_inapplicable_login_popup_subtitle",image:"./assets/images/illust/il-bca-ocean.svg",is_image_top:!0,image_width:"200px",btn_left:"lbl_bca_ocean_inapplicable_login_popup_button",btn_left_classname:"paper-button blue-button no-shadow",btn_left_resp:!0,data_cy_btn_left:"bca-ocean-inapplicable-login-popup-btn"}).pipe(_(e=>(e&&this.resetBCAOceanAndRedirect(),b)))}resetBCAOceanAndRedirect(){this.is_bca_ocean_user=!1,this.bcaOceanService.resetBCAOceanStateFromLocalStorage(),this.router.navigate(["/login"])}translateForSupplierPortal(){this.checkIsSupplier()&&(this.credential_labelling.email_phone="login.credential_labelling_supplier.email_phone",this.credential_labelling.placeholder="login.credential_labelling_supplier.placeholder",this.credential_labelling.error1="login.credential_labelling_supplier.error1",this.credential_labelling.error2="login.credential_labelling_supplier.error2")}checkIsSupplier(){return B?.is_supplier}setQueryParams(e){e===this.accurate_referral?(window.localStorage.setItem("referral_code",JSON.stringify({referral_code:this.accurate_referral,active:1})),this.query_params={entry_point:"login",referral:this.accurate_referral},this.setLabel("title_form","login.paper_accurate.title_form"),this.setLabel("btn_masuk","login.paper_accurate.btn_masuk"),this.setLabel("btn_register","login.paper_accurate.btn_register")):(this.setLabel("title_form","login.default.title_form"),this.setLabel("btn_masuk","login.default.btn_masuk"),this.setLabel("btn_register","login.default.btn_register")),this.query_params=de(this.query_params,this.utmParams)}setLabel(e,t){this.label[e]=t}setTheme(){return this.customThemeService.getCustomTheme().pipe(F(e=>{e.body?(this.themeSettingService.initFromConfig(e.body),localStorage.setItem($,JSON.stringify(e.body))):localStorage.removeItem($)}),R(()=>(localStorage.removeItem($),w(null))))}getRouterLink(){this.entryPoint==="po_form"?this.router.navigate(["/public/easy-onboarding"],{queryParams:{returnUrl:this.returnUrl,entry_point:this.entryPoint,uuid:this.poform_uuid}}):this.router.navigate(["/register"],{queryParams:W(I({},this.query_params),{returnUrl:this.returnUrl})})}static \u0275fac=function(t){return new(t||i)(c(ot),c(Ct),c(_t),c(Ge),c(Ue),c(Je),c(Re),c(je),c(De),c(Ee),c(Le),c(ye),c(gt),c(bt),c(ke),c(ee),c(Dt),c(Qe),c(Ot),c(Pt),c(Ne),c(ct),c(Mt))};static \u0275cmp=we({type:i,selectors:[["auth-login"]],viewQuery:function(t,n){t&1&&Pe(n.loginIdentifierField,Xt,5),t&2&&Me()},standalone:!1,decls:12,vars:4,consts:[["ngForm","ngForm"],["loginIdentifierField",""],["id","spinner"],[3,"multiLanguage"],[1,"auth","auth--gradient","auth--login-page"],[1,"auth-page-content"],[1,"auth-page-content__inner"],[1,"auth-back-button"],[1,"auth-logo-block"],["src","./assets/images/auth/il-paper-logo-white-new.svg","alt","Paper.id",1,"auth-logo-block__paper"],["src","./assets/images/auth/il-spc-logo.webp","alt","SPC",1,"auth-logo-block__spc"],[1,"auth-form__box"],[1,"auth-back-button",3,"click"],["src","./assets/images/icon/arrows/arrow-left-white.svg","alt","Icon Back"],[1,"auth-mb-40"],[1,"auth-form__title",3,"ngClass"],[1,"auth-form__title__text"],["src","./assets/images/auth/ic-blue-shield.svg","alt","icon",1,"auth-form__title__icon"],[1,"auth-form__title-divider"],[3,"entry_point"],[1,"auth-login-form",3,"ngSubmit","formGroup"],[1,"auth-mb-40","auth-field-group"],["for","login-identifier",3,"required"],["type","mail",1,"auth-label__icon"],["auFieldInput","","id","login-identifier","type","text","formControlName","identifier","name","email","aria-describedby","login-identifier-required-error login-identifier-format-error",3,"placeholder","disabled"],["hintState","error","id","login-identifier-required-error","role","alert"],["hintState","error","id","login-identifier-format-error","role","alert"],["type","text","name","password","type","password",2,"display","none"],["auBtn","","btnSize","default","btnType","primary","type","submit",1,"auth-form__submit-btn",3,"disabled"],[1,"auth-flex","auth-justify-between","auth-remember-forgot"],[1,"auth-form__account-text","auth-text--center"],["src","./assets/images/logo/partner/accurate-logo-black.svg","alt","logo-accurate"],["type","check",3,"checkedChange","label","checked"],["routerLink","/forget-password",1,"auth-text","auth-text--blue",3,"hidden"],[1,"auth-text","auth-text--blue","auth-text--bold",3,"click","ngClass"],[1,"auth-form__title"],[1,"auth-mb-50","auth-text","auth-text--center"],["type","button",1,"paper-button","green-button","auth-form__submit-btn","auth-mb-20",3,"click"],[1,"auth-text","auth-text--dark-grey-40","auth-text--center"],[1,"auth-text","auth-text--blue","auth-text--bold","auth-text--underline",3,"click"]],template:function(t,n){t&1&&(k(0,ti,1,0,"spinner",2)(1,ii,1,1,"sandbox-banner",3),p(2,"div",4)(3,"div",5)(4,"div",6),k(5,ni,2,0,"button",7),p(6,"div",8),v(7,"img",9)(8,"img",10),u(),p(9,"div",11),k(10,di,27,28)(11,gi,19,17),u(
1)()()()),t&2&&(P(n.isLoading?0:-1),s(),P(n.is_sandbox?1:-1),s(4),P(n.isReturnUrlHideRegistration?5:-1),s(5),P(n.loginLimit!=null&&n.loginLimit.isLockedPermanent?11:10))},dependencies:[Fe,pt,Ae,it,Xe,et,tt,nt,rt,te,Q,Y,Z,K,X,ce,J,Ve],styles:['.auth[_ngcontent-%COMP%]{min-height:100vh}.auth--white[_ngcontent-%COMP%]{background-color:#fff;background-image:url("/webappv1/media/il-wave-top-pale-blue-NC27NRNF.svg"),url("/webappv1/media/il-wave-bottom-pale-blue-IMHPBC7G.svg"),linear-gradient(30deg,#e6ebee,#fff 50%,#f5fbff);background-position:top right,bottom center,center center;background-size:50%,contain,cover;background-repeat:no-repeat}.auth--blue[_ngcontent-%COMP%]{background-color:#4195d5;background-image:url("/webappv1/media/il-wave-top-white-RLWBNBG2.svg"),url("/webappv1/media/il-wave-bottom-white-DVCOHTRD.svg"),linear-gradient(30deg,#185278,#297eb8 50%,#50a0d7);background-position:top right,bottom center,center center;background-size:50%,contain,cover;background-repeat:no-repeat}.auth-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;padding:50px 45px 20px}.auth-header__logo[_ngcontent-%COMP%]{height:50px;width:200px}.auth-header-accurate[_ngcontent-%COMP%]{justify-content:center!important;gap:30px}.auth-header__logo-accurate[_ngcontent-%COMP%]{height:45px;width:auto}.auth-grid[_ngcontent-%COMP%]{max-width:1180px;margin:0 auto;padding:0 20px;display:grid;grid-column-gap:128px;grid-template-columns:585px auto}.auth-grid.auth-grid--centered[_ngcontent-%COMP%]{grid-template-columns:585px;grid-column-gap:unset;justify-content:center}.auth-flex-center[_ngcontent-%COMP%]{height:100vh;display:flex;align-items:center;justify-content:center}.auth-form__box[_ngcontent-%COMP%]{background-color:#fff;border-radius:10px;border:1px solid #d4dade;box-shadow:0 0 12px 4px #6464641a;padding:30px 60px}.auth-form__title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding-bottom:15px}.auth-form__title__text[_ngcontent-%COMP%]{color:#3c5467;font-size:25px;font-weight:700;margin-right:5px}.auth-form__sub__title__text[_ngcontent-%COMP%]{color:#718c9e;font-size:15px;font-weight:400;margin-right:5px}.auth-form__title__icon[_ngcontent-%COMP%]{margin-left:5px;height:25px;width:25px}.auth-form__title__supplier__icon[_ngcontent-%COMP%]{margin-left:5px;height:85px;width:auto}.auth-form__title-divider[_ngcontent-%COMP%]{position:relative}.auth-form__title-divider[_ngcontent-%COMP%]:after{content:" ";width:50px;position:absolute;left:50%;bottom:0;transform:translate(-50%,50%);border-top:3px solid #4195d5}.auth-form__title-ppc[_ngcontent-%COMP%]{color:#133f5d;font-size:16px;text-align:center;margin-bottom:16px;margin-top:-7px;line-height:21.6px}.auth-form__submit-btn[_ngcontent-%COMP%]{width:100%;font-size:15px;margin-top:15px}.auth-form__title-accurate[_ngcontent-%COMP%]{flex-direction:column;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px}.auth-form__title-accurate[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:19px;letter-spacing:0px;color:#718c9e;flex:1 0 100%}.auth-form__title-accurate[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-child{margin-top:5px}.auth-form__title-accurate[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.auth-form__title-accurate[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:13px;width:auto}.auth-illustration[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.auth-illustration__image[_ngcontent-%COMP%]{width:100%;height:auto}.auth-illustration__text[_ngcontent-%COMP%]{margin-top:30px;text-align:center;font-size:14px}.auth-illustration__text--dark-grey[_ngcontent-%COMP%]{color:#3c5467}.auth-illustration__text--white[_ngcontent-%COMP%]{color:#fff}.auth-label[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:3px}.auth-label__icon[_ngcontent-%COMP%]{width:15px;height:15px;margin-right:5px}.auth-label__forgot-password[_ngcontent-%COMP%]{font-size:13px;font-weight:400;color:#3c5467;text-align:center;margin:15px 0 25px;line-height:2rem}.auth-label__text[_ngcontent-%COMP%]{font-size:15px;font-weight:400;color:#3c5467}.auth-label__optional[_ngcontent-%COMP%]{font-size:13px;opacity:.7;margin-left:3px}.auth-input-container[_ngcontent-%COMP%]{position:relative}.auth-input[_ngcontent-%COMP%]{width:100%;display:block;border:none;border-bottom:1px solid #a6b2ba;font-size:15px;height:30px;font-family:Lato,sans-serif;padding-left:10px}.auth-input.auth-input-err[_ngcontent-%COMP%]{background-color:#fbeaee;border-bottom:1px solid #e35273}.pwd-error-msg[_ngcontent-%COMP%]{color:#e35273;margin:5px 0}.auth-input--has-prefix[_ngcontent-%COMP%]{padding-left:30px}.auth-input-prefix[_ngcontent-%COMP%]{font-size:15px;position:absolute;
1left:0;bottom:50%;transform:translateY(50%);color:#9aa6b0}.auth-input-icon[_ngcontent-%COMP%]{height:15px;width:15px;cursor:pointer;position:absolute;right:10px;bottom:50%;transform:translateY(50%)}.auth-input[_ngcontent-%COMP%]:focus, .auth-input[_ngcontent-%COMP%]:active{outline:none}.auth-dialog[_ngcontent-%COMP%]{background:#fff;border-radius:10px;padding:30px;position:relative;background-image:url("/webappv1/media/il-wave-modal-QOQC3CGQ.svg");background-size:contain;background-position:bottom center;background-repeat:no-repeat}@media (max-width: 768px){.auth-dialog[_ngcontent-%COMP%]{border-radius:10px 10px 0 0!important}}.auth-dialog__close-btn[_ngcontent-%COMP%]{position:absolute;right:16px;width:15px;height:15px;top:18px;cursor:pointer}.auth-dialog__close-btn.relative-flex[_ngcontent-%COMP%]{position:relative;top:auto;right:auto;align-self:flex-end}.auth-dialog__title[_ngcontent-%COMP%]{color:#3c5467;font-size:21px;font-weight:700;text-align:center;margin-bottom:20px}.auth-dialog__subtitle[_ngcontent-%COMP%]{color:var(--color-dark-blue);font-size:15px;text-align:center}.auth-dialog__image[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-bottom:20px}.auth-dialog__image__img[_ngcontent-%COMP%]{width:180px;height:auto}.auth-dialog__footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.auth-dialog__footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:5px}.auth-dialog__footer__spacer[_ngcontent-%COMP%]{flex:0 0 20px}.auth-dialog__footer-space-between[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.auth-dialog__footer-btn[_ngcontent-%COMP%]{display:flex;justify-content:center;flex:1}.auth-text[_ngcontent-%COMP%]{font-size:12px;color:#3c5467}.auth-text--blue[_ngcontent-%COMP%]{color:#4195d5}.auth-text--blue[_ngcontent-%COMP%]:focus{outline:none;box-shadow:none}.auth-text--blue[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--color-action-primary-bg);outline-offset:2px}.auth-text--blue-40[_ngcontent-%COMP%]{color:#6fafdc}.auth-text--dark-grey-40[_ngcontent-%COMP%]{color:#6b7d8c}.auth-text--medium[_ngcontent-%COMP%]{font-size:15px}.auth-text--underline[_ngcontent-%COMP%]{text-decoration:underline}.auth-text--center[_ngcontent-%COMP%]{text-align:center}.auth-text--bold[_ngcontent-%COMP%]{font-weight:700}.auth-mb-10[_ngcontent-%COMP%]{margin-bottom:10px}.auth-mb-20[_ngcontent-%COMP%]{margin-bottom:20px}.auth-mb-30[_ngcontent-%COMP%]{margin-bottom:30px}.auth-mb-35[_ngcontent-%COMP%]{margin-bottom:35px}.auth-mb-40[_ngcontent-%COMP%]{margin-bottom:40px}.auth-mb-50[_ngcontent-%COMP%]{margin-bottom:50px}.auth-ml-4[_ngcontent-%COMP%]{margin-left:4px}.auth-flex[_ngcontent-%COMP%]{display:flex}.auth-justify-between[_ngcontent-%COMP%]{justify-content:space-between}.auth-justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.auth-justify-center[_ngcontent-%COMP%]{justify-content:center}@media (max-width: 1180px){.auth-grid[_ngcontent-%COMP%]{grid-template-columns:3fr 2fr;grid-column-gap:100px}}@media (max-width: 768px){.auth-grid[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-row-gap:20px}.auth-grid.auth-grid--centered[_ngcontent-%COMP%]{grid-template-columns:1fr}.auth-header[_ngcontent-%COMP%]{justify-content:center;padding:30px 20px}.auth-header__logo[_ngcontent-%COMP%]{height:40px;width:auto}.auth-illustration__image[_ngcontent-%COMP%]{width:125px}.auth-form__box[_ngcontent-%COMP%]{padding:30px}}@media (max-width: 425px){.auth-form__title__text[_ngcontent-%COMP%]{font-size:18px}.auth-form__title__icon[_ngcontent-%COMP%]{height:18px}.auth-form__box[_ngcontent-%COMP%]{padding:20px}.auth-illustration[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]     .p-checkbox-label{margin-bottom:unset;font-weight:400;color:#4195d5;font-size:15px}[_nghost-%COMP%]     .p-checkbox .p-checkbox-box{width:18px;height:18px}[_nghost-%COMP%]     .p-checkbox .p-checkbox-box.p-highlight{background:#4195d5;border-color:#4195d5}.error-message-basic[_ngcontent-%COMP%]{color:#e35273;font-size:12px;text-align:left;font-family:Lato,sans-serif}[_nghost-%COMP%]     country-dropdown .dropdown-countries-input{background-color:#fff!important}.tnc-wrapper[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:flex-start}.register-tnc-checkbox[_ngcontent-%COMP%]{margin-top:4px}.register-tnc-label[_ngcontent-%COMP%]{font-size:13px;font-weight:400;color:#718c9e;margin:0}.auth-back-button[_ngcontent-%COMP%]{background-color:transparent;margin-bottom:20px}.auth-back-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:20px;width:auto}
1.auth--gradient[_ngcontent-%COMP%]{position:relative;overflow:hidden;background-image:radial-gradient(408.29% 99.61% at 50% 100%,#b4dbf4 7.33%,#2fadec 22.12%,#1e60b6 50%,#17348f 76.44%,#001c44);background-position:center center;background-size:cover;background-repeat:no-repeat}.auth--gradient[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;pointer-events:none;contain:layout style paint;background-image:radial-gradient(circle 1.5px at 10% 10%,rgba(217,217,217,.9) 0 1.5px,transparent 1.5px),radial-gradient(circle 2px at 24% 14%,rgba(217,217,217,.9) 0 2px,transparent 2px),radial-gradient(circle 2.5px at 38% 12%,rgba(217,217,217,.9) 0 2.5px,transparent 2.5px),radial-gradient(circle 2px at 58% 18%,rgba(217,217,217,.9) 0 2px,transparent 2px),radial-gradient(circle 1.5px at 72% 10%,rgba(217,217,217,.9) 0 1.5px,transparent 1.5px),radial-gradient(circle 2px at 86% 16%,rgba(217,217,217,.9) 0 2px,transparent 2px),radial-gradient(circle 2px at 14% 28%,rgba(217,217,217,.9) 0 2px,transparent 2px),radial-gradient(circle 1.5px at 30% 32%,rgba(217,217,217,.9) 0 1.5px,transparent 1.5px),radial-gradient(circle 2.5px at 48% 30%,rgba(217,217,217,.9) 0 2.5px,transparent 2.5px),radial-gradient(circle 2px at 64% 28%,rgba(217,217,217,.9) 0 2px,transparent 2px),radial-gradient(circle 1.5px at 80% 26%,rgba(217,217,217,.9) 0 1.5px,transparent 1.5px),radial-gradient(circle 2px at 20% 48%,rgba(217,217,217,.9) 0 2px,transparent 2px),radial-gradient(circle 2.5px at 36% 46%,rgba(217,217,217,.9) 0 2.5px,transparent 2.5px),radial-gradient(circle 2px at 55% 44%,rgba(217,217,217,.9) 0 2px,transparent 2px),radial-gradient(circle 1.5px at 70% 42%,rgba(217,217,217,.9) 0 1.5px,transparent 1.5px),radial-gradient(circle 2.5px at 85% 40%,rgba(217,217,217,.9) 0 2.5px,transparent 2.5px),url("/webappv1/media/il-sparkle-2CV4TR7R.webp"),url("/webappv1/media/il-sparkle-2CV4TR7R.webp"),url("/webappv1/media/il-sparkle-2CV4TR7R.webp"),url("/webappv1/media/il-sparkle-2CV4TR7R.webp"),url("/webappv1/media/il-sparkle-2CV4TR7R.webp"),url("/webappv1/media/il-floor-grid-R3TXAELD.svg");background-size:auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,50px,45px,35px,29px,35px,100% auto;background-repeat:no-repeat;background-position:0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,8% 6%,90% 18%,12% 80%,86% 60%,94% 92%,bottom center;opacity:.5;mix-blend-mode:overlay;z-index:0}.auth--gradient[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;pointer-events:none;contain:layout style paint;background-image:url("/webappv1/media/il-supergraphic-KFUB5UEU.webp");background-repeat:no-repeat;background-position:70% center;background-size:125% auto;filter:blur(1.5px);z-index:0}.auth-page-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:60px var(--spacing-xl);position:relative;z-index:1}.auth-page-content__inner[_ngcontent-%COMP%]{width:100%;max-width:438px}.auth-page-content__inner--register[_ngcontent-%COMP%]{max-width:552px}.auth-logo-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-xs);margin-bottom:var(--spacing-2xl)}.auth-logo-block__paper[_ngcontent-%COMP%]{width:133px}.auth-logo-block__spc[_ngcontent-%COMP%]{width:350px}.auth-field-group[_ngcontent-%COMP%]   .auth-label__icon[_ngcontent-%COMP%]{width:var(--spacing-xl);height:var(--spacing-xl);margin-right:var(--spacing-sm)}.auth--gradient[_ngcontent-%COMP%]   .auth-text[_ngcontent-%COMP%], .auth--gradient[_ngcontent-%COMP%]   .auth-text--medium[_ngcontent-%COMP%]{font-size:var(--text-body-size-md)}.auth--gradient[_ngcontent-%COMP%]   .auth-form__box[_ngcontent-%COMP%]{padding:var(--spacing-4xl)}.auth--gradient[_ngcontent-%COMP%]   .auth-form__title[_ngcontent-%COMP%]{padding-bottom:var(--spacing-md)}.auth--gradient[_ngcontent-%COMP%]   .auth-form__title__text[_ngcontent-%COMP%]{color:var(--color-dark-brand-50);font-size:var(--text-body-size-xl);margin:0}.auth--gradient[_ngcontent-%COMP%]   .auth-form__title__icon[_ngcontent-%COMP%]{margin-left:var(--spacing-xs);height:var(--spacing-4xl);width:var(--spacing-4xl)}
1.auth--gradient[_ngcontent-%COMP%]   .auth-form__title-divider[_ngcontent-%COMP%]:after{width:64px;border-top:var(--stroke-lg) solid #0D2056}.auth--gradient[_ngcontent-%COMP%]   .auth-label__optional[_ngcontent-%COMP%]{font-size:var(--text-body-size-md);font-weight:var(--text-body-weight-regular);color:var(--color-dark-brand-40);margin-left:var(--spacing-2xs)}.auth--gradient[_ngcontent-%COMP%]   .auth-form__submit-btn[_ngcontent-%COMP%]{font-size:var(--text-body-size-md);margin-top:0}.auth-form__account-text[_ngcontent-%COMP%]{font-size:var(--text-body-size-md);font-weight:var(--text-body-weight-regular);color:var(--color-dark-brand-50);line-height:var(--spacing-xl)}@media (max-width: 767px){.auth--gradient[_ngcontent-%COMP%]   .auth-form__box[_ngcontent-%COMP%]{padding:var(--spacing-2xl)}}',".remember-me-label[_ngcontent-%COMP%]{margin-bottom:unset;font-weight:var(--text-body-weight-regular);color:#4195d5;font-size:var(--text-body-size-md)}.auth-login-form[_ngcontent-%COMP%]{margin-bottom:var(--spacing-lg)}.auth-remember-forgot[_ngcontent-%COMP%]{margin-bottom:var(--spacing-3xl)}@media (max-width: 900px){.auth--gradient.auth--login-page[_ngcontent-%COMP%]   .auth-form__title[_ngcontent-%COMP%]{text-align:center}.auth--gradient.auth--login-page[_ngcontent-%COMP%]   .auth-form__title__text[_ngcontent-%COMP%]{font-size:var(--text-body-size-lg)}.auth--gradient.auth--login-page[_ngcontent-%COMP%]   .auth-form__title__icon[_ngcontent-%COMP%]{width:var(--spacing-3xl);height:var(--spacing-3xl)}}"]})}return i})();var mi=[{path:"",component:Et}],Tt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=z({type:i});static \u0275inj=j({imports:[se.forChild(mi),se]})}return i})();var _i=[It,dt,lt],hi=[Ie,at,st,ut,ze,qe,ft];var Cr=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=z({type:i});static \u0275inj=j({providers:[Ye([Ke])],imports:[Tt,yt,_i,hi,te,At,xt,ht,wt,Q,Y,Z,K,X,J]})}return i})();export{Cr as AuthLoginModule};

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.