PageSourceSearch

https://www.independer.nl/dist/apps/bike-insurance/browser/chunk-GWQLJUEU.js

js independer.nl collected 2026-09-24 08:59:25 UTC 121,434 bytes, 388 lines download raw bytes

1import{c as Se}from"./chunk-K4ULEASW.js";import{c as An,d as Nn,h as Bn,i as Rn,l as Ae,m as Vn,n as bt,o as yt,p as We,q as X}from"./chunk-WKS7ZKCU.js";import{a as $n,b as Yn}from"./chunk-WH5GBB47.js";import{E as qt,G as qe,H as Ne,I as Be,K as Gt,N as xt,R as Pn,S as Re,T as Ce,U as St,V as wt,Y as Ot,Z as Fn,ca as jn,ea as oe,fa as Un,ha as zn,ia as Hn,ja as Wn,ka as qn,la as Gn,ma as Kn,p as Et,q as pe,ra as Qn}from"./chunk-P7XREB2L.js";import{a as Dn,d as Ct,e as vt,i as Ln}from"./chunk-DEOHWVJQ.js";import{A as P,Ea as Wt,Ga as In,Ja as K,Ka as $,La as ie,Na as _t,Pa as Tn,Ta as kn,Va as Mn,Y as On,Z as ft,_ as F,a as xe,d as zt,g as bn,i as q,ia as G,j as dt,m as fe,o as ut,q as mt,r as _e,u as gt,v as yn,w as En,x as Me,z as De}from"./chunk-3EGW73OI.js";import{$ as se,$d as Sn,Ab as ue,B as tn,Ba as sn,Bb as me,C as nn,Ca as s,Cb as Ie,Db as Te,Eb as O,Fb as I,Fd as Ht,Gc as at,Ha as j,Ia as U,Ib as He,Ic as gn,Ja as de,Jb as nt,Jc as st,Kb as it,Kc as hn,Lb as ot,Lc as lt,Mb as w,Nb as u,Oa as y,Ob as ne,P as be,Pa as le,Pb as Y,Q as V,Qa as Vt,R as ae,S as J,Sb as cn,Sc as ke,T as ee,Tb as pn,Tc as fn,U as _,Ua as Xe,Ub as dn,Va as Oe,Vc as ct,Wa as b,Wd as xn,Z as g,Zb as Z,Zc as _n,_ as h,_c as Cn,ab as T,ac as un,ba as on,bc as ce,ca as Ye,cc as rt,d as Xt,da as D,db as k,dc as Ut,e as Jt,ea as Bt,fb as M,fe as Le,ga as S,hb as Je,ia as rn,ib as et,id as vn,j as Qe,jb as tt,kb as r,l as ze,la as Ze,lb as d,ld as R,mb as c,me as ht,nb as E,ob as Pt,oc as ge,oe as B,pa as ye,pb as Ft,pc as z,qb as jt,qe as wn,rb as H,sb as W,sc as N,ta as Rt,tb as te,tc as m,ub as x,va as an,vb as ln,wc as he,xb as f,xc as L,xd as pt,yc as Ee,z as en,zb as a,zc as mn}from"./chunk-UYSMONXB.js";var Ve=(function(t){return t[t.Google=0]="Google",t[t.Facebook=1]="Facebook",t[t.Apple=2]="Apple",t})(Ve||{}),It=class{},Ei=(function(t){return t[t.Unknown=0]="Unknown",t[t.Failed=1]="Failed",t[t.Succeeded=2]="Succeeded",t[t.UserNameIsNotEmail=3]="UserNameIsNotEmail",t[t.EmailNotConfirmed=4]="EmailNotConfirmed",t[t.UserDenied=5]="UserDenied",t})(Ei||{}),Tt=class{},Kt=(function(t){return t[t.AuthenticationFromInloggenPage=0]="AuthenticationFromInloggenPage",t[t.Creation=1]="Creation",t[t.Verbind=2]="Verbind",t[t.AuthenticationFromInloggenPopup=3]="AuthenticationFromInloggenPopup",t})(Kt||{});var we=(()=>{class t{constructor(e,n){this.window=e,this.httpService=n}async getSocialLoginRedirectUrls(e,n){let i={socialLoginPurpose:e,returnUrls:n},o=await this.httpService.post("/api/sociallogin/getsocialloginredirecturls",i);return this.GetUrlsFromUrlKeyValuePairs(o)}connectSocialLogin(e){let n=new Tt;return n.socialLoginProvider=Ve[e],this.httpService.post("/api/sociallogin/koppelsocialidentity",n)}disconnectSocialLoginWithoutPasswordCheck(e){return this.httpService.post("/api/sociallogin/ontkoppelwithoutpasswordcheck",e)}checkOriginForSocialAuth(e){e?.opener.origin!==this.window.location.origin&&this.window.opener.close()}GetUrlsFromUrlKeyValuePairs(e){let n=new It;return e&&e.length&&e.map(i=>{i.key===Ve.Facebook?n.facebookLoginUrl=i.value:i.key===Ve.Google?n.googleLoginUrl=i.value:i.key===Ve.Apple&&(n.appleLoginUrl=i.value)}),n}static{this.\u0275fac=function(n){return new(n||t)(ee(R),ee(xn))}}static{this.\u0275prov=V({token:t,factory:t.\u0275fac})}}return t})();var Zn=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-maintenance"]],decls:13,vars:0,consts:[[1,"container"],[1,"onderhoud"],[1,"onderhoud--content"],["ue","naar-homepagina","href","/",1,"ind-link-icon--arrow","mt-8"],[1,"onderhoud--illustration"],["alt","onderhoud","width","335","height","335","ngSrc","/assets/img/mijnindepender/schilderen.svg"]],template:function(n,i){n&1&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),u(4,"We zijn even uit de lucht"),c(),d(5,"h4"),u(6,"Voor wat technisch onderhoud. "),E(7,"br"),u(8,"Probeer je het later nog een keer?"),c(),d(9,"a",3),u(10,"ga naar de homepagina"),c()(),d(11,"div",4),E(12,"img",5),c()()())},dependencies:[ct],styles:['.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:" ";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   .onderhoud[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;min-height:calc(100vh - 500px)}@media(max-width:1135.98px){[_nghost-%COMP%]   .onderhoud[_ngcontent-%COMP%]{flex-direction:column}}[_nghost-%COMP%]   .onderhoud--content[_ngcontent-%COMP%], [_nghost-%COMP%]   .onderhoud--illustration[_ngcontent-%COMP%]{margin:48px auto}']})}}return t})();var Ge=(()=>
1{class t{constructor(){this.initalizationScheduler=new Jt(1),this.document=_(on),this.window=_(R),this.location=_(vn),this.featureToggleService=_(Se),this.internalService=_(Le),this.sessionStorageService=_(Sn),this.APP_ID_PROD="DvRvStPZG9uOmNvcmU6ZHZydi1ldS0xOmRldm8vM2pYUEcxb0d1dTpwbHVnX3NldHRpbmcvMV9ffHxfXzIwMjUtMTEtMDUgMTY6MDI6MjIuNjg2OTg3MjgxICswMDAwIFVUQw==xlxendsDvRv",this.APP_ID_DEMO="DvRvStPZG9uOmNvcmU6ZHZydi1ldS0xOmRldm8vM29Jd0Q4ZlNRUTpwbHVnX3NldHRpbmcvMV9ffHxfXzIwMjUtMDEtMjggMDk6NTE6MzEuNDUzMjEyMzA4ICswMDAwIFVUQw==xlxendsDvRv",this.CHATBOT_FEATURE_TOGGLE_NAME="DevRev.Indy.100",this.WIDGET_READY_TIMEOUT_MS=15e3,this.IS_CHATBOT_STREAMING_ENABLED=!0,this.DEFAULT_HIDE_CLASS="hide-devrev-ai-default",this.actionOnInit={openChat:!1,message:""},this.CHATBOT_TRIGGERED_STORAGE_IDENTITY={key:"chatbotTriggered"},this.CHATBOT_USE_PROD_ENV_STORAGE_IDENTITY={key:"devRevUseProdEnv"},this._isEnabled=S(void 0),this.isEnabled=this._isEnabled.asReadonly(),this.isChatbotInitializing=S(!1),this.isChatbotReady=S(!1),this.isChatbotErrored=S(!1),this.isChatbotOpen=S(!1),this.shouldWidgetBeVisible=z(()=>this.isChatbotReady()&&(this.isChatbotOpen()||this.sessionStorageService.get(this.CHATBOT_TRIGGERED_STORAGE_IDENTITY))),sn({write:()=>{this.initalizationScheduler.pipe(nn(1)).subscribe(({shouldStartBotOpen:e,initialChatMessage:n})=>{this.window.__chatbotForceDisabled||this.injectDevRevScripts(e,n)})}}),mn({write:()=>{this.shouldWidgetBeVisible()?this.showWidget():this.hideWidget()}})}get isProdHostname(){return this.location.hostname==="www.independer.nl"||this.location.hostname==="intern.independer.nl"}getChatbotAppId(){return this.sessionStorageService.get(this.CHATBOT_USE_PROD_ENV_STORAGE_IDENTITY)===!0?this.APP_ID_PROD:this.isProdHostname?this.APP_ID_PROD:this.APP_ID_DEMO}setShouldEnableChatbot(){if(this.internalService.isInternal&&!this.sessionStorageService.get(this.CHATBOT_TRIGGERED_STORAGE_IDENTITY)){console.log('Chatbot is disabled by default when Internal. Use "Klant view".'),this._isEnabled.set(!1);return}this._isEnabled.set(this.featureToggleService.isEnabled(this.CHATBOT_FEATURE_TOGGLE_NAME))}init(e=!1,n){this.setShouldEnableChatbot(),this.isEnabled()&&this.initalizationScheduler.next({shouldStartBotOpen:e,initialChatMessage:n})}openChat(e){if(this.actionOnInit={openChat:!1,message:""},!this.isChatbotReady()&&this.internalService.isInternal){alert('Chatbot is intern niet geladen, kies eerst voor "Klant view" in het admin-panel');return}this.isChatbotReady()?this.isChatbotOpen()||(this.showWidget(),this.window.plugSDK?.toggleWidget(!0)):this.actionOnInit={openChat:!0,message:e??""}}closeChat(){this.isChatbotReady()&&this.isChatbotOpen()&&this.window.plugSDK?.toggleWidget(!1)}async updateChatbotUserData(){console.log("DevRev updateChatbotUserData called")}injectDevRevScripts(e,n){return this.isChatbotInitializing.set(!0),this.isChatbotErrored.set(!1),new Promise(i=>{let o=this.document.createElement("script");o.type="text/javascript",o.src="https://plug-platform.devrev.ai/static/plug.js",o.async=!0;let l=setTimeout(()=>{this.isChatbotInitializing()&&(console.error("DevRev widget ready timeout"),this.isChatbotInitializing.set(!1),this.isChatbotErrored.set(!0),i())},this.WIDGET_READY_TIMEOUT_MS);o.onerror=()=>this.onDevRevScriptLoadError(o,l,i),o.onload=()=>this.onDevRevScriptLoadSuccess(l,i,e,n),this.document.head.appendChild(o)})}onDevRevScriptLoadSuccess(e,n,i,o){let l={header_text:"Indy de AI-assistant",subheader_text:"Je chat met Indy, onze AI-assistent. Indy helpt je graag op weg.",start_conversation_msg_placeholder:"Stel je vraag"};this.window.plugSDK?.init({app_id:this.getChatbotAppId(),enable_streaming:this.IS_CHATBOT_STREAMING_ENABLED,conversation_page_options:l}),this.window.plugSDK?.onEvent(v=>{v.type==="ON_PLUG_WIDGET_READY"&&(clearTimeout(e),this.isChatbotInitializing.set(!1),this.isChatbotReady.set(!0),i&&this.openChat(o),this.actionOnInit.openChat&&this.openChat(this.actionOnInit.message)),v.type==="ON_PLUG_WIDGET_OPENED"&&(this.sessionStorageService.set(this.CHATBOT_TRIGGERED_STORAGE_IDENTITY,!0),this.isChatbotOpen.set(!0)),v.type==="ON_PLUG_WIDGET_CLOSED"&&this.isChatbotOpen.set(!1),n()})}onDevRevScriptLoadError(e,n,i){clearTimeout(n),console.error("Failed to load DevRev script"),e.remove(),this.isChatbotInitializing.set(!1),this.isChatbotErrored.set(!0),i()}hideWidget(){this.document.body.classList.add(this.DEFAULT_HIDE_CLASS)}showWidget(){this.document.body.classList.remove(this.DEFAULT_HIDE_CLASS)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var xi="Backspace",Xn=(()=>
1{class t{constructor(e){this.window=e,this.updateValue=new D,this.pasteValue=new D,this.abortController=new AbortController}onPaste(e){e.stopImmediatePropagation();let i=(e.clipboardData||this.window.clipboardData).getData("text").replace(/\s+/g,"");this.pasteValue.emit(i)}ngAfterViewInit(){this.addHandlersForInputs(),this.focusInputByIndex(0)}ngOnDestroy(){this.removeListenersForInputs()}addHandlersForInputs(){this.inputList.forEach((e,n)=>this.addHandlersForInput(e.inputElement,n))}removeListenersForInputs(){this.abortController.abort()}addHandlersForInput(e,n){this.handleBackspacePress(e,n),this.handleCellChange(e,n)}handleBackspacePress(e,n){e.nativeElement.addEventListener("keydown",this.backspacePressListener.bind(this,n),{signal:this.abortController.signal})}handleCellChange(e,n){e.nativeElement.addEventListener("input",this.cellInputListener.bind(this,e,n),{signal:this.abortController.signal})}backspacePressListener(e,n){n.code===xi&&n.target.value===""&&e>0&&this.inputList.get(e-1)?.inputElement.nativeElement.focus()}cellInputListener(e,n,i){i.target.value||(i.target.value=""),e.nativeElement.value.length>0&&n!==this.inputList.length-1&&this.focusInputByIndex(n+1),this.updateValue.emit()}focusInputByIndex(e){this.inputList.get(e)?.inputElement.nativeElement.focus()}static{this.\u0275fac=function(n){return new(n||t)(de(R))}}static{this.\u0275dir=Vt({type:t,selectors:[["","indAuthenticationCode",""]],contentQueries:function(n,i,o){if(n&1&&Ie(o,_t,4),n&2){let l;O(l=I())&&(i.inputList=l)}},hostBindings:function(n,i){n&1&&f("paste",function(l){return i.onPaste(l)})},outputs:{updateValue:"updateValue",pasteValue:"pasteValue"}})}}return t})();var Si=["inputElement"];function wi(t,p){if(t&1){let e=x();d(0,"ind-input",3,0),f("surpassMaxValue",function(i){let o=g(e).$index,l=a();return h(l.writeValue(i,o))}),c(),j()}if(t&2){let e=p.$implicit,n=a();it("ng-invalid",n.invalid())("ng-touched",n.invalid()),r("formControl",e)("maxlength",1)("validationSuccessCheckmark",!1),U()}}var ve=(()=>{class t{constructor(e){this.fb=e,this.size=m.required(),this.invalid=m(!1),this.pressEnter=new D,Ze(()=>{this.size()!==this.numberOfControls&&(this.numberOfControls=this.size(),this.initAuthenticationCodeForm(this.size()))})}formatAndPropagateChange(){this.onChange(this.authenticationCodeForm.value.join(""))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}onEnterKeydown(e){e.stopImmediatePropagation(),this.pressEnter.emit()}writeValue(e,n=0){if(!e){for(let v=n;v<this.numberOfControls;v++)this.authenticationCodeForm.controls[v].reset();return}let i=0,o=e.length===this.authenticationCodeForm.length?0:n,l=Math.min(o+e.length,this.authenticationCodeForm.length);for(let v=o;v<l;v++)this.authenticationCodeForm.controls[v].setValue(e[i]),i++;requestAnimationFrame(()=>{this.inputElements.get(l-1)?.inputElement.nativeElement.focus()})}initAuthenticationCodeForm(e){let n=[];for(let i=0;i<e;i++)n.push(this.fb.control(""));this.authenticationCodeForm=this.fb.array(n)}static{this.\u0275fac=function(n){return new(n||t)(de(Me))}}static{this.\u0275cmp=y({type:t,selectors:[["ind-authentication-code-input"]],viewQuery:function(n,i){if(n&1&&Te(Si,5),n&2){let o;O(o=I())&&(i.inputElements=o)}},inputs:{size:[1,"size"],invalid:[1,"invalid"]},outputs:{pressEnter:"pressEnter"},features:[Z([{provide:xe,useExisting:be(()=>t),multi:!0}])],decls:3,vars:0,consts:[["inputElement",""],["tabindex","0","indAuthenticationCode","",1,"ind-form","code",3,"updateValue","keydown.enter"],["type","number","autocomplete","one-time-code",1,"align-last-center",3,"formControl","maxlength","validationSuccessCheckmark","ng-invalid","ng-touched"],["type","number","autocomplete","one-time-code",1,"align-last-center",3,"surpassMaxValue","formControl","maxlength","validationSuccessCheckmark"]],template:function(n,i){n&1&&(d(0,"div",1),f("updateValue",function(){return i.formatAndPropagateChange()})("keydown.enter",function(l){return i.onEnterKeydown(l)}),et(1,wi,2,7,"ind-input",2,Je),c()),n&2&&(s(),tt(i.authenticationCodeForm.controls))},dependencies:[_t,Xn,P,q,bn,_e,ie],styles:['.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:" ";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.code[_ngcontent-%COMP%]{display:flex;gap:8px}.align-last-center[_ngcontent-%COMP%]{text-align-last:center}']})}}return t})();
1var C=(function(t){return t[t.PERSON_NOT_FOUND=0]="PERSON_NOT_FOUND",t[t.LOCKED_USER=1]="LOCKED_USER",t[t.ONE_LAST_TRY_LEFT=2]="ONE_LAST_TRY_LEFT",t[t.TOKEN_EXPIRED=3]="TOKEN_EXPIRED",t[t.WRONG_AUTH_CODE=4]="WRONG_AUTH_CODE",t[t.NO_ERROR=5]="NO_ERROR",t[t.REGISTRATION_FAILED=6]="REGISTRATION_FAILED",t[t.RATE_LIMITED=7]="RATE_LIMITED",t[t.USER_EXISTS=8]="USER_EXISTS",t[t.NO_PHONE_NUMBER=9]="NO_PHONE_NUMBER",t})(C||{});function Oi(t,p){t&1&&(d(0,"div",0),u(1," Ongeldige code ingevoerd. Controleer de code en probeer het opnieuw. "),c())}function Ii(t,p){t&1&&(d(0,"div",1),u(1,"Deze code was 60 minuten geldig en is verlopen. Vraag een nieuwe code aan."),c())}function Ti(t,p){t&1&&(d(0,"div",2),u(1," Helaas, we kunnen je persoonsgegevens niet vinden. Als je contact met ons opneemt kunnen we het voor je herstellen. Wij zijn bereikbaar via onze "),d(2,"a",3),u(3,"klantenservicepagina"),c(),u(4,". "),c())}function ki(t,p){t&1&&(d(0,"div",1),u(1,"Ongeldige code ingevoerd. Controleer de code en probeer het opnieuw."),c())}var Pe=(()=>{class t{constructor(){this.loginError=m.required(),this.loginErrorEnum=C}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-login-error"]],inputs:{loginError:[1,"loginError"]},decls:4,vars:2,consts:[["data-testid","wrong-auth-code",1,"text-error","show","mt-16"],[1,"text-error","show","mt-16"],["data-testid","person-not-found",1,"error-message-box","show","mt-16"],["href","/algemeen/info/klantenservice.aspx","ue","klantenservicepagina","title","Link naar Klantenservice Pagina"]],template:function(n,i){if(n&1&&(k(0,Oi,2,0,"div",0),k(1,Ii,2,0,"div",1)(2,Ti,5,0,"div",2)(3,ki,2,0,"div",1)),n&2){let o;M(i.loginError()===i.loginErrorEnum.WRONG_AUTH_CODE||i.loginError()===i.loginErrorEnum.ONE_LAST_TRY_LEFT||i.loginError()===i.loginErrorEnum.LOCKED_USER?0:-1),s(),M((o=i.loginError())===i.loginErrorEnum.TOKEN_EXPIRED?1:o===i.loginErrorEnum.PERSON_NOT_FOUND?2:o===i.loginErrorEnum.REGISTRATION_FAILED?3:-1)}},dependencies:[B],encapsulation:2})}}return t})();var re=(()=>{class t{constructor(){this.authenticationService=_(X),this.loginError=m.required(),this.title=m("Toegangscode verstuurd"),this.message=m(""),this.getNotificationType=z(()=>this.showSuccessNotification()?Ae.Success:this.loginError()===C.ONE_LAST_TRY_LEFT?Ae.Warning:Ae.Error),this.showSuccessNotification=z(()=>this.loginError()===C.NO_ERROR||this.loginError()===C.WRONG_AUTH_CODE),this.loginErrorEnum=C}getNotificationContent(){return this.authenticationService.getEmailAddressChanged()?this.getUsernameChangedContent():this.getLoginErrorContent()}getUsernameChangedContent(){return{title:"Gelukt!",message:"We hebben je e-mailadres aangepast."}}getLoginErrorContent(){switch(this.loginError()){case this.loginErrorEnum.ONE_LAST_TRY_LEFT:return{title:"Let op, 1 poging over",message:"Je hebt 4x een onjuist wachtwoord ingevoerd. Bij een volgende foute invoer wordt je account voor de veiligheid 30 minuten geblokkeerd."};case this.loginErrorEnum.LOCKED_USER:return{title:"Tijdelijk geblokkeerd",message:'Je hebt iets te vaak verkeerd ingelogd. Daarom wordt je account voor de veiligheid geblokkeerd. Je kan het na 30 minuten opnieuw proberen. Hulp nodig? Stel je vraag in onze <a class="text-decoration-none text-dashed" target="_blank" href="https://www.independer.nl/algemeen/info/klantenservice.aspx">livechat.</a>'};case this.loginErrorEnum.RATE_LIMITED:return{message:"Check over 5 minuten je mailbox en gebruik de allerlaatste code die we je hebben gestuurd om in te loggen."};case this.loginErrorEnum.PERSON_NOT_FOUND:return{title:"Neem even contact op",message:"Want we kunnen je gegevens niet vinden. We helpen je snel en persoonlijk in de livechat van onze klantenservice."};case this.loginErrorEnum.NO_PHONE_NUMBER:return{title:"Geen nummer gevonden",message:'Neem contact op met onze <a class="text-decoration-none text-dashed" target="_blank" href="https://www.independer.nl/algemeen/info/klantenservice.aspx">klantenservice.</a>'};case this.loginErrorEnum.NO_ERROR:case this.loginErrorEnum.WRONG_AUTH_CODE:return{title:this.title(),message:this.message()};default:return{message:"Er gaat iets fout. Probeer het straks nog een keer"}}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-notification-error"]],inputs:{loginError:[1,"loginError"],title:[1,"title"],message:[1,"message"]},decls:1,vars:4,consts:[["data-testid","otp-code-sent",1,"mb-24",3,"notificationType","showCloseButton","title","message"]],template:function(n,i){n&1&&E(0,"ind-notification",0),n&2&&r("notificationType",i.getNotificationType())("showCloseButton",!1)("title",i.getNotificationContent()?.title)("message",i.getNotificationContent()?.message)},dependencies:[Vn],encapsulation:2,changeDetection:1})}}return t})();var Fe=[zt.required,zt.pattern(/^\d{6}$/)];var Mi=["*"];function Di(t,p){if(t&1){let e=x();d(0,"ind-input-item",3)(1,"input-item-content")(2,"button",8),f("click",function(){g(e);let i=a();return h(i.requestOtpBySms.emit())}),u(3," Ontvang je code per sms "),c()()()}if(t&2){let e=a();s(2),r("ghost",!0)("loading",e.smsStepLoading())}}function Li(t,p){if(t&1){let e=x();d(0,"ind-input-item",3)(1,"input-item-content")(2,"button",9),f("click",function(){g(e);let i=a();return h(i.backToAccountSelection.emit())}),u(3," Inloggen met ander account "),c()()()}t&2&&(s(2),r("ghost",!0))}function Ai(t,p){if(t&1){let e=x();d(0,"ind-input-item",3)(1,"input-item-content")(2,"button",10),f("click",function(){g(e);let i=a();return h(i.openChatbot())}),u(3," Hulp nodig? "),c()()()}if(t&2){let e=a();s(2),r("ghost",!0)("loading",e.helpLoading())}}var $t=(()=>{class t{constructor(){this.loginErrorEnum=C,this.email=m.required(),this.loginLoading=m.required(),this.smsStepLoading=m.required(),this.loginError=m.required(),this.setLoginError=N(),this.showLoginByOtherAccount=m(!0),this.showSendBySmsButton=m(!0),this.showHelpButton=m(!1),this.requestOtpBySms=N(),this.codeEntered=N(),this.backToAccountSelection=N(),this.chatbotService=_(Ge),this.helpLoading=S(!1),this.featureToggleService=_(Se),this.smsOptionEnabled=S(this.featureToggleService.isEnabled("MyIndepender.SendOtpViaSms")),this.authenticationCodeFormControl=new fe("",Fe)}submitCode(){if(this.authenticationCodeFormControl.invalid){this.setLoginError.emit(C.WRONG_AUTH_CODE);return}this.codeEntered.emit(this.authenticationCodeFormControl.value)}openChatbot(){this.helpLoading.set(!0);try{this.chatbotService.openChat()}finally{this.helpLoading.set(!1)}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-email-authentication-code"]],inputs:{email:[1,"email"],loginLoading:[1,"loginLoading"],smsStepLoading:[1,"smsStepLoading"],loginError:[1,"loginError"],showLoginByOtherAccount:[1,"showLoginByOtherAccount"],showSendBySmsButton:[1,"showSendBySmsButton"],showHelpButton:[1,"showHelpButton"]},outputs:{setLoginError:"setLoginError",requestOtpBySms:"requestOtpBySms",codeEntered:"codeEntered",backToAccountSelection:"backToAccountSelection"},ngContentSelectors:Mi,decls:19,vars:11,consts:[[1,"mt-0","mb-24"],[3,"loginError","message"],["data-testid","controle-code",1,"mt-24"],["hideValidation",""],[3,"pressEnter","formControl","size","invali
1d"],[3,"loginError"],[1,"mt-24","gap-8"],["indBtn","","ue","doorgaan","data-testid","submit-authentication-code","type","button",1,"btn-full-width",3,"click","cta","loading"],["indBtn","","ue","inloggen-ontvang-je-code-per-sms","data-testid","recieve-sms-authentication-code","type","button",1,"btn-full-width",3,"click","ghost","loading"],["indBtn","","type","button","ue","inloggen-met-ander-account","data-testid","login-with-different-account",1,"btn-full-width",3,"click","ghost"],["indBtn","","ue","inloggen-need-help","data-testid","login-need-help","type","button",1,"btn-full-width",3,"click","ghost","loading"]],template:function(n,i){n&1&&(ue(),d(0,"h2",0),u(1,"Vul je toegangscode in"),c(),me(2),E(3,"ind-notification-error",1),d(4,"ind-input-group",2)(5,"ind-input-item",3)(6,"input-item-label"),u(7,"Code"),c(),d(8,"input-item-content")(9,"ind-authentication-code-input",4),f("pressEnter",function(){return i.submitCode()}),c(),j(),c()()(),E(10,"ind-login-error",5),d(11,"ind-input-group",6)(12,"ind-input-item",3)(13,"input-item-content")(14,"button",7),f("click",function(){return i.submitCode()}),u(15," Inloggen "),c()()(),k(16,Di,4,2,"ind-input-item",3),k(17,Li,4,1,"ind-input-item",3),k(18,Ai,4,2,"ind-input-item",3),c()),n&2&&(s(3),r("loginError",i.loginError())("message",`We hebben zojuist de eenmalige code verzonden naar <strong>${i.email()}</strong>, controleer je inbox`),s(6),r("formControl",i.authenticationCodeFormControl)("size",6)("invalid",i.loginError()!==i.loginErrorEnum.NO_ERROR),U(),s(),r("loginError",i.loginError()),s(4),r("cta",!0)("loading",i.loginLoading()),s(2),M(i.smsOptionEnabled()&&i.showSendBySmsButton()?16:-1),s(),M(i.showLoginByOtherAccount()?17:-1),s(),M(i.showHelpButton()?18:-1))},dependencies:[G,K,F,B,ve,P,q,_e,ie,$,re,Pe],encapsulation:2,changeDetection:1})}}return t})();var $e=(function(t){return t[t.OneDay=1]="OneDay",t[t.OneWeek=2]="OneWeek",t[t.OneMonth=3]="OneMonth",t[t.OneYear=4]="OneYear",t})($e||{});var Q=(function(t){return t[t.ACCOUNT_SELECTION=0]="ACCOUNT_SELECTION",t[t.AUTH_APP_CODE=1]="AUTH_APP_CODE",t[t.SMS_CODE=2]="SMS_CODE",t[t.OTP_CODE_SOURCE_SELECTION=3]="OTP_CODE_SOURCE_SELECTION",t})(Q||{});var Jn=(()=>{class t{constructor(){this.currentLoginStep=S(Q.ACCOUNT_SELECTION),this.previousLoginStep=S(Q.ACCOUNT_SELECTION),this.loginError=S(C.NO_ERROR)}setNextStep(e){this.previousLoginStep.set(this.currentLoginStep()),this.currentLoginStep.set(e),this.loginError.set(C.NO_ERROR)}getCurrentStep(){return this.currentLoginStep.asReadonly()}setLoginError(e){this.loginError.set(e)}getLoginError(){return this.loginError.asReadonly()}backToPreviousStep(){this.setNextStep(this.previousLoginStep())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ni(t,p){if(t&1&&(d(0,"div",2),E(1,"img",3),u(2),c()),t&2){let e=a().$implicit;s(),r("ngSrc",e.logoUrl)("width",e.size)("height",e.size),T("aria-label",e.ariaLabel),s(),Y(" ",e.text," ")}}function Bi(t,p){if(t&1){let e=x();d(0,"button",1),f("click",function(){let i=g(e).$implicit,o=a();return h(o.clickSocialLogin.emit(i.link))}),k(1,Ni,3,5,"div",2),c()}if(t&2){let e=p.$implicit,n=a();w(e.class),r("ue",e.ue),T("aria-label",e.ariaLabel),s(),M(n.newSocialIcons()?1:-1)}}var ei=(()=>{class t{constructor(){this.socialLoginUrlsRequest=m(),this.newSocialIcons=m(!1),this.clickSocialLogin=N(),this.socialLoginButtonsList=[],this.socialLoginService=_(we),this.cd=_(he)}ngOnInit(){this.getSocialButtonsData()}async getSocialButtonsData(){let e=this.socialLoginUrlsRequest();if(e){let n=await this.socialLoginService.getSocialLoginRedirectUrls(e.socialLoginPurpose,e.returnUrls);this.socialLoginButtonsList=[{ue:"login-met-facebook",link:n.facebookLoginUrl,class:this.newSocialIcons()?"wire-purple btn-facebook-outline":"btn-facebook",ariaLabel:"",text:"Facebook",logoUrl:"/assets/img/facebook-logo-color.png",size:24},{ue:"login-met-google",link:n.googleLoginUrl,class:this.newSocialIcons()?"wire-purple btn-google-outline":"btn-google",ariaLabel:"",text:"Google",logoUrl:"/assets/img/google-logo.svg",size:24},{ue:"login-met-apple",link:n.appleLoginUrl,class:this.newSocialIcons()?"wire-purple btn-apple-outline":"btn-apple",ariaLabel:"",text:"Apple",logoUrl:"/assets/img/apple-logo-black.svg",size:24}],this.cd.markForCheck()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-social-buttons"]],inputs:{socialLoginUrlsRequest:[1,"socialLoginUrlsRequest"],newSocialIcons:[1,"newSocialIcons"]},outputs:{clickSocialLogin:"clickSocialLogin"},features:[Z([we])],decls:2,vars:0,consts:[["type","button","indBtn","",3,"ue","class"],["type","button","indBtn","",3,"click","ue"],[1,"d-flex","align-items-center","justify-content-center"],["role","presentation","alt","",1,"mx-4",3,"ngSrc","width","height"]],template:function(n,i){n&1&&et(0,Bi,2,5,"button",0,Je),n&2&&tt(i.socialLoginButtonsList)},dependencies:[F,B,ct],styles:[".btn-apple[_ngcontent-%COMP%], .btn-google[_ngcontent-%COMP%], .btn-facebook[_ngcontent-%COMP%], .btn-facebook-outline[_ngcontent-%COMP%], .btn-google-outline[_ngcontent-%COMP%], .btn-apple-outline[_ngcontent-%COMP%]{max-width:unset;flex:1}.btn-apple[_ngcontent-%COMP%], .btn-google[_ngcontent-%COMP%], .btn-facebook[_ngcontent-%COMP%]{min-width:unset;flex-grow:1;background-position:center}"],changeDetection:1})}}return t})();var kt=(()=>{class t extends Hn{pathId;onInit(){this.pathId="url(#"+xt()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=ye(t)))(i||t)}})();static \u0275cmp=y({type:t,selectors:[["","data-p-icon","times-circle"]],features:[Oe],decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14
1C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(se(),Pt(0,"g"),jt(1,"path",0),Ft(),Pt(2,"defs")(3,"clipPath",1),jt(4,"rect",2),Ft()()),n&2&&(T("clip-path",i.pathId),s(3),ln("id",i.pathId))},encapsulation:2,changeDetection:1})}return t})();var ti=`
2    .p-chip {
3        display: inline-flex;
4        align-items: center;
5        background: dt('chip.background');
6        color: dt('chip.color');
7        border-radius: dt('chip.border.radius');
8        padding-block: dt('chip.padding.y');
9        padding-inline: dt('chip.padding.x');
10        gap: dt('chip.gap');
11    }
12
13    .p-chip-icon {
14        color: dt('chip.icon.color');
15        font-size: dt('chip.icon.font.size');
16        width: dt('chip.icon.size');
17        height: dt('chip.icon.size');
18    }
19
20    .p-chip-image {
21        border-radius: 50%;
22        width: dt('chip.image.width');
23        height: dt('chip.image.height');
24        margin-inline-start: calc(-1 * dt('chip.padding.y'));
25    }
26
27    .p-chip:has(.p-chip-remove-icon) {
28        padding-inline-end: dt('chip.padding.y');
29    }
30
31    .p-chip:has(.p-chip-image) {
32        padding-block-start: calc(dt('chip.padding.y') / 2);
33        padding-block-end: calc(dt('chip.padding.y') / 2);
34    }
35
36    .p-chip-remove-icon {
37        cursor: pointer;
38        font-size: dt('chip.remove.icon.size');
39        width: dt('chip.remove.icon.size');
40        height: dt('chip.remove.icon.size');
41        color: dt('chip.remove.icon.color');
42        border-radius: 50%;
43        transition:
44            outline-color dt('chip.transition.duration'),
45            box-shadow dt('chip.transition.duration');
46        outline-color: transparent;
47    }
48
49    .p-chip-remove-icon:focus-visible {
50        box-shadow: dt('chip.remove.icon.focus.ring.shadow');
51        outline: dt('chip.remove.icon.focus.ring.width') dt('chip.remove.icon.focus.ring.style') dt('chip.remove.icon.focus.ring.color');
52        outline-offset: dt('chip.remove.icon.focus.ring.offset');
53    }
54`;var Pi=["removeicon"],Fi=["*"];function ji(t,p){if(t&1){let e=x();d(0,"img",4),f("error",function(i){g(e);let o=a();return h(o.imageError(i))}),c()}if(t&2){let e=a();w(e.cx("image")),r("pBind",e.ptm("image"))("src",e.image,an)("alt",e.alt)}}function Ui(t,p){if(t&1&&E(0,"span",6),t&2){let e=a(2);w(e.icon),r("pBind",e.ptm("icon"))("ngClass",e.cx("icon"))}}function zi(t,p){if(t&1&&b(0,Ui,1,4,"span",5),t&2){let e=a();r("ngIf",e.icon)}}function Hi(t,p){if(t&1&&(d(0,"div",7),u(1),c()),t&2){let e=a();w(e.cx("label")),r("pBind",e.ptm("label")),s(),ne(e.label)}}function Wi(t,p){if(t&1){let e=x();d(0,"span",11),f("click",function(i){g(e);let o=a(3);return h(o.close(i))})("keydown",function(i){g(e);let o=a(3);return h(o.onKeydown(i))}),c()}if(t&2){let e=a(3);w(e.removeIcon),r("pBind",e.ptm("removeIcon"))("ngClass",e.cx("removeIcon")),T("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel)}}function qi(t,p){if(t&1){let e=x();se(),d(0,"svg",12),f("click",function(i){g(e);let o=a(3);return h(o.close(i))})("keydown",function(i){g(e);let o=a(3);return h(o.onKeydown(i))}),c()}if(t&2){let e=a(3);w(e.cx("removeIcon")),r("pBind",e.ptm("removeIcon")),T("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel)}}function Gi(t,p){if(t&1&&(H(0),b(1,Wi,1,6,"span",9)(2,qi,1,5,"svg",10),W()),t&2){let e=a(2);s(),r("ngIf",e.removeIcon),s(),r("ngIf",!e.removeIcon)}}function Ki(t,p){}function $i(t,p){t&1&&b(0,Ki,0,0,"ng-template")}function Qi(t,p){if(t&1){let e=x();d(0,"span",13),f("click",function(i){g(e);let o=a(2);return h(o.close(i))})("keydown",function(i){g(e);let o=a(2);return h(o.onKeydown(i))}),b(1,$i,1,0,null,14),c()}if(t&2){let e=a(2);w(e.cx("removeIcon")),r("pBind",e.ptm("removeIcon")),T("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel),s(),r("ngTemplateOutlet",e.removeIconTemplate||e._removeIconTemplate)}}function Yi(t,p){if(t&1&&(H(0),b(1,Gi,3,2,"ng-container",3)(2,Qi,2,6,"span",8),W()),t&2){let e=a();s(),r("ngIf",!e.removeIconTemplate&&!e._removeIconTemplate),s(),r("ngIf",e.removeIconTemplate||e._removeIconTemplate)}}var Zi={root:({instance:t})=>["p-chip p-component",{"p-disabled":t.disabled}],image:"p-chip-image",icon:"p-chip-icon",label:"p-chip-label",removeIcon:"p-chip-remove-icon"},ni=(()=>{class t extends wt{name="chip";style=ti;classes=Zi;static \u0275fac=(()=>{let e;return function(i){return(e||(e=ye(t)))(i||t)}})();static \u0275prov=V({token:t,factory:t.\u0275fac})}return t})();var ii=new J("CHIP_INSTANCE"),oi=(()=>{class t extends Fn{$pcChip=_(ii,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=_(oe,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}label;icon;image;alt;styleClass;disabled=!1;removable=!1;removeIcon;onRemove=new D;onImageError=new D;visible=!0;get removeAriaLabel(){return this.config.getTranslation(St.ARIA).removeLabel}get chipProps(){return this._chipProps}set chipProps(e){this._chipProps=e,e&&typeof e=="object"&&Object.entries(e).forEach(([n,i])=>this[`_${n}`]!==i&&(this[`_${n}`]=i))}_chipProps;_componentStyle=_(ni);removeIconTemplate;templates;_removeIconTemplate;
54onAfterContentInit(){this.templates.forEach(e=>{e.getType()==="removeicon"?this._removeIconTemplate=e.template:this._removeIconTemplate=e.template})}onChanges(e){if(e.chipProps&&e.chipProps.currentValue){let{currentValue:n}=e.chipProps;n.label!==void 0&&(this.label=n.label),n.icon!==void 0&&(this.icon=n.icon),n.image!==void 0&&(this.image=n.image),n.alt!==void 0&&(this.alt=n.alt),n.styleClass!==void 0&&(this.styleClass=n.styleClass),n.removable!==void 0&&(this.removable=n.removable),n.removeIcon!==void 0&&(this.removeIcon=n.removeIcon)}}close(e){this.visible=!1,this.onRemove.emit(e)}onKeydown(e){(e.key==="Enter"||e.key==="Backspace")&&this.close(e)}imageError(e){this.onImageError.emit(e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=ye(t)))(i||t)}})();static \u0275cmp=y({type:t,selectors:[["p-chip"]],contentQueries:function(n,i,o){if(n&1&&Ie(o,Pi,4)(o,Re,4),n&2){let l;O(l=I())&&(i.removeIconTemplate=l.first),O(l=I())&&(i.templates=l)}},hostVars:5,hostBindings:function(n,i){n&2&&(T("aria-label",i.label),w(i.cn(i.cx("root"),i.styleClass)),nt("display",!i.visible&&"none"))},inputs:{label:"label",icon:"icon",image:"image",alt:"alt",styleClass:"styleClass",disabled:[2,"disabled","disabled",L],removable:[2,"removable","removable",L],removeIcon:"removeIcon",chipProps:"chipProps"},outputs:{onRemove:"onRemove",onImageError:"onImageError"},features:[Z([ni,{provide:ii,useExisting:t},{provide:Ot,useExisting:t}]),Xe([oe]),Oe],ngContentSelectors:Fi,decls:6,vars:4,consts:[["iconTemplate",""],[3,"pBind","class","src","alt","error",4,"ngIf","ngIfElse"],[3,"pBind","class",4,"ngIf"],[4,"ngIf"],[3,"error","pBind","src","alt"],[3,"pBind","class","ngClass",4,"ngIf"],[3,"pBind","ngClass"],[3,"pBind"],["role","button",3,"pBind","class","click","keydown",4,"ngIf"],["role","button",3,"pBind","class","ngClass","click","keydown",4,"ngIf"],["data-p-icon","times-circle","role","button",3,"pBind","class","click","keydown",4,"ngIf"],["role","button",3,"click","keydown","pBind","ngClass"],["data-p-icon","times-circle","role","button",3,"click","keydown","pBind"],["role","button",3,"click","keydown","pBind"],[4,"ngTemplateOutlet"]],template:function(n,i){if(n&1&&(ue(),me(0),b(1,ji,1,5,"img",1)(2,zi,1,1,"ng-template",null,0,ge)(4,Hi,2,4,"div",2)(5,Yi,3,2,"ng-container",3)),n&2){let o=He(3);s(),r("ngIf",i.image)("ngIfElse",o),s(3),r("ngIf",i.label),s(),r("ngIf",i.removable)}},dependencies:[ke,at,st,lt,kt,Ce,oe],encapsulation:2})}return t})();var ri=`
55    .p-autocomplete {
56        display: inline-flex;
57    }
58
59    .p-autocomplete-loader {
60        position: absolute;
61        top: 50%;
62        margin-top: -0.5rem;
63        inset-inline-end: dt('autocomplete.padding.x');
64    }
65
66    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-loader {
67        inset-inline-end: calc(dt('autocomplete.dropdown.width') + dt('autocomplete.padding.x'));
68    }
69
70    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input {
71        flex: 1 1 auto;
72        width: 1%;
73    }
74
75    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input,
76    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input-multiple {
77        border-start-end-radius: 0;
78        border-end-end-radius: 0;
79    }
80
81    .p-autocomplete-dropdown {
82        cursor: pointer;
83        display: inline-flex;
84        user-select: none;
85        align-items: center;
86        justify-content: center;
87        overflow: hidden;
88        position: relative;
89        width: dt('autocomplete.dropdown.width');
90        border-start-end-radius: dt('autocomplete.dropdown.border.radius');
91        border-end-end-radius: dt('autocomplete.dropdown.border.radius');
92        background: dt('autocomplete.dropdown.background');
93        border: 1px solid dt('autocomplete.dropdown.border.color');
94        border-inline-start: 0 none;
95        color: dt('autocomplete.dropdown.color');
96        transition:
97            background dt('autocomplete.transition.duration'),
98            color dt('autocomplete.transition.duration'),
99            border-color dt('autocomplete.transition.duration'),
100            outline-color dt('autocomplete.transition.duration'),
101            box-shadow dt('autocomplete.transition.duration');
102        outline-color: transparent;
103    }
104
105    .p-autocomplete-dropdown:not(:disabled):hover {
106        background: dt('autocomplete.dropdown.hover.background');
107        border-color: dt('autocomplete.dropdown.hover.border.color');
108        color: dt('autocomplete.dropdown.hover.color');
109    }
110
111    .p-autocomplete-dropdown:not(:disabled):active {
112        background: dt('autocomplete.dropdown.active.background');
113        border-color: dt('autocomplete.dropdown.active.border.color');
114        color: dt('autocomplete.dropdown.active.color');
115    }
116
117    .p-autocomplete-dropdown:focus-visible {
118        box-shadow: dt('autocomplete.dropdown.focus.ring.shadow');
119        outline: dt('autocomplete.dropdown.focus.ring.width') dt('autocomplete.dropdown.focus.ring.style') dt('autocomplete.dropdown.focus.ring.color');
120        outline-offset: dt('autocomplete.dropdown.focus.ring.offset');
121    }
122
123    .p-autocomplete-overlay {
124        position: absolute;
125        top: 0;
126        left: 0;
127        background: dt('autocomplete.overlay.background');
128        color: dt('autocomplete.overlay.color');
129        border: 1px solid dt('autocomplete.overlay.border.color');
130        border-radius: dt('autocomplete.overlay.border.radius');
131        box-shadow: dt('autocomplete.overlay.shadow');
132        min-width: 100%;
133    }
134
135    .p-autocomplete-list-container {
136        overflow: auto;
137    }
138
139    .p-autocomplete-list {
140        margin: 0;
141        list-style-type: none;
142        display: flex;
143        flex-direction: column;
144        gap: dt('autocomplete.list.gap');
145        padding: dt('autocomplete.list.padding');
146    }
147
148    .p-autocomplete-option {
149        cursor: pointer;
150        white-space: nowrap;
151        position: relative;
152        overflow: hidden;
153        display: flex;
154        align-items: center;
155        padding: dt('autocomplete.option.padding');
156        border: 0 none;
157        color: dt('autocomplete.option.color');
158        background: transparent;
159        transition:
160            background dt('autocomplete.transition.duration'),
161            color dt('autocomplete.transition.duration'),
162            border-color dt('autocomplete.transition.duration');
163        border-radius: dt('autocomplete.option.border.radius');
164    }
165
166    .p-autocomplete-option:not(.p-autocomplete-option-selected):not(.p-disabled).p-focus {
167        background: dt('autocomplete.option.focus.background');
168        color: dt('autocomplete.option.focus.color');
169    }
170
171    .p-autocomplete-option-selected {
172        background: dt('autocomplete.option.selected.background');
173        color: dt('autocomplete.option.selected.color');
174    }
175
176    .p-autocomplete-option-selected.p-focus {
177        background: dt('autocomplete.option.selected.focus.background');
178        color: dt('autocomplete.option.selected.focus.color');
179    }
180
181    .p-autocomplete-option-group {
182        margin: 0;
183        padding: dt('autocomplete.option.group.padding');
184        color: dt('autocomplete.option.group.color');
185        background: dt('autocomplete.option.group.background');
186        font-weight: dt('autocomplete.option.group.font.weight');
187    }
188
189    .p-autocomplete-input-multiple {
190        margin: 0;
191        list-style-type: none;
192        cursor: text;
193        overflow: hidden;
194        display: flex;
195        align-items: center;
196        flex-wrap: wrap;
197        padding: calc(dt('autocomplete.padding.y') / 2) dt('autocomplete.padding.x');
198        gap: calc(dt('autocomplete.padding.y') / 2);
199        color: dt('autocomplete.color');
200        background: dt('autocomplete.background');
201        border: 1px solid dt('autocomplete.border.color');
202        border-radius: dt('autocomplete.border.radius');
203        width: 100%;
204        transition:
205            background dt('autocomplete.transition.duration'),
206            color dt('autocomplete.transition.duration'),
207            border-color dt('autocomplete.transition.duration'),
208            outline-color dt('autocomplete.transition.duration'),
209            box-shadow dt('autocomplete.transition.duration');
210        outline-color: transparent;
211        box-shadow: dt('autocomplete.shadow');
212    }
213
214    .p-autocomplete-input-multiple.p-disabled {
215        opacity: 1;
216        background: dt('inputtext.disabled.background');
217        color: dt('inputtext.disabled.color');
218    }
219
220    .p-autocomplete-input-multiple:not(.p-disabled):hover {
221        border-color: dt('autocomplete.hover.border.color');
222    }
223
224    .p-autocomplete.p-focus .p-autocomplete-input-multiple:not(.p-disabled) {
225        border-color: dt('autocomplete.focus.border.color');
226        box-shadow: dt('autocomplete.focus.ring.shadow');
227        outline: dt('autocomplete.focus.ring.width') dt('autocomplete.focus.ring.style') dt('autocomplete.focus.ring.color');
228        outline-offset: dt('autocomplete.focus.ring.offset');
229    }
230
231    .p-autocomplete.p-invalid .p-autocomplete-input-multiple {
232        border-color: dt('autocomplete.invalid.border.color');
233    }
234
235    .p-variant-filled.p-autocomplete-input-multiple {
236        background: dt('autocomplete.filled.background');
237    }
238
239    .p-autocomplete-input-multiple.p-variant-filled:not(.p-disabled):hover {
240        background: dt('autocomplete.filled.hover.background');
241    }
242
243    .p-autocomplete.p-focus .p-autocomplete-input-multiple.p-variant-filled:not(.p-disabled) {
244        background: dt('autocomplete.filled.focus.background');
245    }
246
247    .p-autocomplete-chip.p-chip {
248        padding-block-start: calc(dt('autocomplete.padding.y') / 2);
249        padding-block-end: calc(dt('autocomplete.padding.y') / 2);
250        border-radius: dt('autocomplete.chip.border.radius');
251    }
252
253    .p-autocomplete-input-multiple:has(.p-autocomplete-chip) {
254        padding-inline-start: calc(dt('autocomplete.padding.y') / 2);
255        padding-inline-end: calc(dt('autocomplete.padding.y') / 2);
256    }
257
258    .p-autocomplete-chip-item.p-focus .p-autocomplete-chip {
259        background: dt('autocomplete.chip.focus.background');
260        color: dt('autocomplete.chip.focus.color');
261    }
262
263    .p-autocomplete-input-chip {
264        flex: 1 1 auto;
265        display: inline-flex;
266        padding-block-start: calc(dt('autocomplete.padding.y') / 2);
267        padding-block-end: calc(dt('autocomplete.padding.y') / 2);
268    }
269
270    .p-autocomplete-input-chip input {
271        border: 0 none;
272        outline: 0 none;
273        background: transparent;
274        margin: 0;
275        padding: 0;
276        box-shadow: none;
277        border-radius: 0;
278        width: 100%;
279        font-family: inherit;
280        font-feature-settings: inherit;
281        font-size: 1rem;
282        color: inherit;
283    }
284
285    .p-autocomplete-input-chip input::placeholder {
286        color: dt('autocomplete.placeholder.color');
287    }
288
289    .p-autocomplete.p-invalid .p-autocomplete-input-chip input::placeholder {
290        color: dt('autocomplete.invalid.placeholder.color');
291    }
292
293    .p-autocomplete-empty-message {
294        padding: dt('autocomplete.empty.message.padding');
295    }
296
297    .p-autocomplete-fluid {
298        display: flex;
299    }
300
301    .p-autocomplete-fluid:has(.p-autocomplete-dropdown) .p-autocomplete-input {
302        width: 1%;
303    }
304
305    .p-autocomplete:has(.p-inputtext-sm) .p-autocomplete-dropdown {
306        width: dt('autocomplete.dropdown.sm.width');
307    }
308
309    .p-autocomplete:has(.p-inputtext-sm) .p-autocomplete-dropdown .p-icon {
310        font-size: dt('form.field.sm.font.size');
311        width: dt('form.field.sm.font.size');
312        height: dt('form.field.sm.font.size');
313    }
314
315    .p-autocomplete:has(.p-inputtext-lg) .p-autocomplete-dropdown {
316        width: dt('autocomplete.dropdown.lg.width');
317    }
318
319    .p-autocomplete:has(.p-inputtext-lg) .p-autocomplete-dropdown .p-icon {
320        font-size: dt('form.field.lg.font.size');
321        width: dt('form.field.lg.font.size');
322        height: dt('form.field.lg.font.size');
323    }
324
325    .p-autocomplete-clear-icon {
326        position: absolute;
327        top: 50%;
328        margin-top: -0.5rem;
329        cursor: pointer;
330        color: dt('form.field.icon.color');
331        inset-inline-end: dt('autocomplete.padding.x');
332    }
333
334    .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-clear-icon {
335        inset-inline-end: calc(dt('autocomplete.padding.x') + dt('autocomplete.dropdown.width'));
336    }
337
338    .p-autocomplete:has(.p-autocomplete-clear-icon) .p-autocomplete-input {
339        padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
340    }
341
342    .p-inputgroup .p-autocomplete-dropdown {
343        border-radius: 0;
344    }
345
346    .p-inputgroup > .p-autocomplete:last-child:has(.p-autocomplete-dropdown) > .p-autocomplete-input {
347        border-start-end-radius: 0;
348        border-end-end-radius: 0;
349    }
350
351    .p-inputgroup > .p-autocomplete:last-child .p-autocomplete-dropdown {
352        border-start-end-radius: dt('autocomplete.dropdown.border.radius');
353        border-end-end-radius: dt('autocomplete.dropdown.border.radius');
354    }
355`;var Ji=["item"],eo=["empty"],to=["header"],no=["footer"],io=["selecteditem"],oo=["group"],ro=["loader"],ao=["removeicon"],so=["loadingicon"],lo=["clearicon"],co=["dropdownicon"],po=["focusInput"],uo=["multiIn"],mo=["multiContainer"],go=["ddBtn"],ho=["items"],fo=["scroller"],_o=["overlay"],Co=t=>({i:t}),li=t=>({$implicit:t}),vo=(t,p,e)=>({removeCallback:t,index:p,class:e}),Mt=t=>({height:t}),ci=(t,p)=>({$implicit:t,options:p}),bo=t=>({options:t}),yo=()=>({}),Eo=(t,p,e)=>({option:t,i:p,scrollerOptions:e}),xo=(t,p)=>({$implicit:t,index:p});function So(t,p){if(t&1){let e=x();d(0,"input",18,2),f("input",function(i){g(e);let o=a();return h(o.onInput(i))})("keydown",function(i){g(e);let o=a();return h(o.onKeyDown(i))})("change",function(i){g(e);let o=a();return h(o.onInputChange(i))})("focus",function(i){g(e);let o=a();return h(o.onInputFocus(i))})("blur",function(i){g(e);let o=a();return h(o.onInputBlur(i))})("paste",function(i){g(e);let o=a();return h(o.onInputPaste(i))})("keyup",function(i){g(e);let o=a();return h(o.onInputKeyUp(i))}),c()}if(t&2){let e=a();w(e.cn(e.cx("pcInputText"),e.inputStyleClass)),r("pAutoFocus",e.autofocus)("pt",e.ptm("pcInputText"))("ngStyle",e.inputStyle)("variant",e.$variant())("invalid",e.invali
355d())("pSize",e.size())("fluid",e.hasFluid),T("type",e.type)("value",e.inputValue())("id",e.inputId)("autocomplete",e.autocomplete)("placeholder",e.placeholder)("name",e.name())("minlength",e.minlength())("min",e.min())("max",e.max())("pattern",e.pattern())("size",e.inputSize())("maxlength",e.maxlength())("tabindex",e.$disabled()?-1:e.tabindex)("required",e.required()?"":void 0)("readonly",e.readonly?"":void 0)("disabled",e.$disabled()?"":void 0)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy)("aria-required",e.required())("aria-expanded",e.overlayVisible??!1)("aria-controls",e.overlayVisible?e.id+"_list":null)("aria-activedescendant",e.focused?e.focusedOptionId:void 0)}}function wo(t,p){if(t&1){let e=x();se(),d(0,"svg",21),f("click",function(){g(e);let i=a(2);return h(i.clear())}),c()}if(t&2){let e=a(2);w(e.cx("clearIcon")),r("pBind",e.ptm("clearIcon")),T("aria-hidden",!0)}}function Oo(t,p){}function Io(t,p){t&1&&b(0,Oo,0,0,"ng-template")}function To(t,p){if(t&1){let e=x();d(0,"span",22),f("click",function(){g(e);let i=a(2);return h(i.clear())}),b(1,Io,1,0,null,23),c()}if(t&2){let e=a(2);w(e.cx("clearIcon")),r("pBind",e.ptm("clearIcon")),T("aria-hidden",!0),s(),r("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function ko(t,p){if(t&1&&(H(0),b(1,wo,1,4,"svg",19)(2,To,2,5,"span",20),W()),t&2){let e=a();s(),r("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),s(),r("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function Mo(t,p){t&1&&te(0)}function Do(t,p){if(t&1){let e=x();d(0,"span",22),f("click",function(i){g(e);let o=a(2).index,l=a(2);return h(!l.readonly&&!l.$disabled()?l.removeOption(i,o):"")}),se(),E(1,"svg",31),c()}if(t&2){let e=a(4);w(e.cx("chipIcon")),r("pBind",e.ptm("chipIcon")),s(),w(e.cx("chipIcon")),T("aria-hidden",!0)}}function Lo(t,p){}function Ao(t,p){t&1&&b(0,Lo,0,0,"ng-template")}function No(t,p){if(t&1&&(d(0,"span",32),b(1,Ao,1,0,null,29),c()),t&2){let e=a(2).index,n=a(2);r("pBind",n.ptm("chipIcon")),T("aria-hidden",!0),s(),r("ngTemplateOutlet",n.removeIconTemplate||n._removeIconTemplate)("ngTemplateOutletContext",Ut(4,vo,n.removeOption.bind(n),e,n.cx("chipIcon")))}}function Bo(t,p){if(t&1&&b(0,Do,2,6,"span",20)(1,No,2,8,"span",30),t&2){let e=a(3);r("ngIf",!e.removeIconTemplate&&!e._removeIconTemplate),s(),r("ngIf",e.removeIconTemplate||e._removeIconTemplate)}}function Ro(t,p){if(t&1){let e=x();d(0,"li",26,5)(2,"p-chip",28),f("onRemove",function(i){let o=g(e).index,l=a(2);return h(l.readonly?"":l.removeOption(i,o))}),b(3,Mo,1,0,"ng-container",29)(4,Bo,2,2,"ng-template",null,6,ge),c()()}if(t&2){let e=p.$implicit,n=p.index,i=a(2);w(i.cx("chipItem",ce(16,Co,n))),r("pBind",i.ptm("chipItem")),T("id",i.id+"_multiple_option_"+n)("aria-label",i.getOptionLabel(e))("aria-setsize",i.modelValue().length)("aria-posinset",n+1)("aria-selected",!0),s(2),w(i.cx("pcChip")),r("pt",i.ptm("pcChip"))("label",!i.selectedItemTemplate&&!i._selectedItemTemplate&&i.getOptionLabel(e))("disabled",i.$disabled())("removable",!0),s(),r("ngTemplateOutlet",i.selectedItemTemplate||i._selectedItemTemplate)("ngTemplateOutletContext",ce(18,li,e))}}function Vo(t,p){if(t&1){let e=x();d(0,"ul",24,3),f("focus",function(i){g(e);let o=a();return h(o.onMultipleContainerFocus(i))})("blur",function(i){g(e);let o=a();return h(o.onMultipleContainerBlur(i))})("keydown",function(i){g(e);let o=a();return h(o.onMultipleContainerKeyDown(i))}),b(2,Ro,6,20,"li",25),d(3,"li",26)(4,"input",27,4),f("input",function(i){g(e);let o=a();return h(o.onInput(i))})("keydown",function(i){g(e);let o=a();return h(o.onKeyDown(i))})("change",function(i){g(e);let o=a();return h(o.onInputChange(i))})("focus",function(i){g(e);let o=a();return h(o.onInputFocus(i))})("blur",function(i){g(e);let o=a();return h(o.onInputBlur(i))})("paste",function(i){g(e);let o=a();return h(o.onInputPaste(i))})("keyup",function(i){g(e);let o=a();return h(o.onInputKeyUp(i))}),c()()()}if(t&2){let e=a();w(e.cx("inputMultiple")),r("pBind",e.ptm("inputMultiple"))("tabindex",-1),T("aria-orientation","horizontal")("aria-activedescendant",e.focused?e.focusedMultipleOptionId:void 0),s(2),r("ngForOf",e.modelValue()),s(),w(e.cx("inputChip")),r("pBind",e.ptm("inputChip")),s(),w(e.cx("pcInputText")),r("pAutoFocus",e.autofocus)("pBind",e.ptm("input"))("ngStyle",e.inputStyle),T("type",e.type)("id",e.inputId)("autocomplete",e.autocomplete)("name",e.name())("minlength",e.minlength())("maxlength",e.maxlength())("size",e.size())("min",e.min())("max",e.max())("pattern",e.pattern())("placeholder",e.$filled()?null:e.placeholder)("tabindex",e.$disabled()?-1:e.tabindex)("required",e.required()?"":void 0)("readonly",e.readonly?"":void 0)("disabled",e.$disabled()?"":void 0)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy)("aria-required",e.required())("aria-expanded",e.overlayVisible??!1)("aria-controls",e.overlayVisible?e.id+"_list":null)("aria-activedescendant",e.focused?e.focusedOptionId:void 0)}}function Po(t,p){if(t&1&&(se(),E(0,"svg",35)),t&2){let e=a(2);w(e.cx("loader")),r("pBind",e.ptm("loader"))("spin",!0),T("aria-hidden",!0)}}function Fo(t,p){}function jo(t,p){t&1&&b(0,Fo,0,0,"ng-template")}function Uo(t,p){if(t&1&&(d(0,"span",32),b(1,jo,1,0,null,23),c()),t&2){let e=a(2);w(e.cx("loader")),r("pBind",e.ptm("loader")),T("aria-hidden",!0),s(),r("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function zo(t,p){if(t&1&&(H(0),b(1,Po,1,5,"svg",33)(2,Uo,2,5,"span",34),W()),t&2){let e=a();s(),r("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),s(),r("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function Ho(t,p){if(t&1&&E(0,"span",38),t&2){let e=a(2);r("ngClass",e.dropdownIcon),T("aria-hidden",!0)}}function Wo(t,p){if(t&1&&(se(),E(0,"svg",40)),t&2){let e=a(3);r("pBind",e.ptm("dropdown"))}}function qo(t,p){}function Go(t,p){t&1&&b(0,qo,0,0,"ng-template")}function Ko(t,p){if(t&1&&(H(0),b(1,Wo,1,1,"svg",39)(2,Go,1,0,null,23),W()),t&2){let e=a(2);s(),r("ngIf",!e.dropdownIconTemplate&&!e._dropdownIconTemplate),s(),r("ngTemplateOutlet",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function $o(t,p){if(t&1){let e=x();d(0,"button",36,7),f("click",function(i){g(e);let o=a();return h(o.handleDropdownClick(i))}),b(2,Ho,1,2,"span",37)(3,Ko,3,2,"ng-container",14),c()}if(t&2){let e=a();w(e.cx("dropdown")),r("pBind",e.ptm("dropdown"))("disabled",e.$disabled()),T("aria-label",e.dropdownAriaLabel)("tabindex",e.tabindex),s(2),r("ngIf",e.dropdownIcon),s(),r("ngIf",!e.dropdownIcon)}}function Qo(t,p){t&1&&te(0)}function Yo(t,p){t&1&&te(0)}function Zo(t,p){if(t&1&&b(0,Yo,1,0,"ng-container",29),t&2){let e=p.$implicit,n=p.options;a(2);let i=He(6);r("ngTemplateOutlet",i)("ngTemplateOutletContext",rt(2,ci,e,n))}}function Xo(t,p){t&1&&te(0)}function Jo(t,p){if(t&1&&b(0,Xo,1,0,"ng-container",29),t&2){let e=p.options,n=a(4);r("ngTemplateOutlet",n.loaderTemplate||n._loaderTemplate)("ngTemplateOutletContext",ce(2,bo,e))}}function er(t,p){t&1&&(H(0),b(1,Jo,1,4,"ng-template",null,10,ge),W())}function tr(t,p){if(t&1){let e=x();d(0,"p-scroller",45,9),f("onLazyLoad",function(i){g(e);let o=a(2);return h(o.onLazyLoad.emit(i))}),b(2,Zo,1,5,"ng-template",null,1,ge)(4,er,3,0,"ng-container",14),c()}if(t&2){let e=a(2);ot(ce(9,Mt,e.scrollHeight)),r("pt",e.ptm("virtualScroller"))("items",e.visibleOptions())("itemSize",e.virtualScrollItemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),s(4),r("ngIf",e.loaderTemplate||e._loaderTemplate)}}function nr(t,p){t&1&&te(0)}function ir(t,p){if(t&1&&(H(0),b(1,nr,1,0,"ng-container",29),W()),t&2){a();let e=He(6),n=a();s(),r("ngTemplateOutlet",e)("ngTemplateOutletContext",rt(3,ci,n.visibleOptions(),un(2,yo)))}}function or(t,p){if(t&1&&(d(0,"span"),u(1),c()),t&2){let e=a(2).$implicit,n=a(3);s(),ne(n.getOptionGroupLabel(e.optionGroup))}}function rr(t,p){t&1&&te(0)}function ar(t,p){if(t&1&&(H(0),d(1,"li",49),b(2,or,2,1,"span",14)(3,rr,1,0,"ng-container",29),c(),W()),t&2){let e=a(),n=e.$implicit,i=e.index,o=a().options,l=a(2);s(),w(l.cx("optionGroup")),r("pBind",l.ptm("optionGroup"))("ngStyle",ce(8,Mt,o.itemSize+"px")),T("id",l.id+"_"+l.getOptionIndex(i,o)),s(),r("ngIf",!l.groupTemplate),s(),r("ngTemplateOutlet",l.groupTemplate)("ngTemplateOutletContext",ce(10,li,n.optionGroup))}}function sr(t,p){if(t&1&&(d(0,"span"),u(1),c()),t&2){let e=a(2).$implicit,n=a(3);s(),ne(n.getOptionLabel(e))}}function lr(t,p){t&1&&te(0)}function cr(t,p){if(t&1){let e=x();H(0),d(1,"li",50),f("click",function(i){g(e);let o=a().$implicit,l=a(3);return h(l.onOptionSelect(i,o))})("mouseenter",function(i){g(e);let o=a().index,l=a().options,v=a(2);return h(v.onOptionMouseEnter(i,v.getOptionIndex(o,l)))}),b(2,sr,2,1,"span",14)(3,lr,1,0,"ng-container",29),c(),W()}if(t&2){let e=a(),n=e.$implicit,i=e.index,o=a().options,l=a(2);
355s(),w(l.cx("option",Ut(14,Eo,n,i,o))),r("pBind",l.getPTOptions(n,o,i,"option"))("ngStyle",ce(18,Mt,o.itemSize+"px")),T("id",l.id+"_"+l.getOptionIndex(i,o))("aria-label",l.getOptionLabel(n))("aria-selected",l.isSelected(n))("aria-disabled",l.isOptionDisabled(n))("data-p-focused",l.focusedOptionIndex()===l.getOptionIndex(i,o))("aria-setsize",l.ariaSetSize)("aria-posinset",l.getAriaPosInset(l.getOptionIndex(i,o))),s(),r("ngIf",!l.itemTemplate&&!l._itemTemplate),s(),r("ngTemplateOutlet",l.itemTemplate||l._itemTemplate)("ngTemplateOutletContext",rt(20,xo,n,o.getOptions?o.getOptions(i):i))}}function pr(t,p){if(t&1&&b(0,ar,4,12,"ng-container",14)(1,cr,4,23,"ng-container",14),t&2){let e=p.$implicit,n=a(3);r("ngIf",n.isOptionGroup(e)),s(),r("ngIf",!n.isOptionGroup(e))}}function dr(t,p){if(t&1&&(H(0),u(1),W()),t&2){let e=a(4);s(),Y(" ",e.searchResultMessageText," ")}}function ur(t,p){t&1&&te(0,null,12)}function mr(t,p){if(t&1&&(d(0,"li",49),b(1,dr,2,1,"ng-container",51)(2,ur,2,0,"ng-container",23),c()),t&2){let e=a().options,n=a(2);w(n.cx("emptyMessage")),r("pBind",n.ptm("emptyMessage"))("ngStyle",ce(7,Mt,e.itemSize+"px")),s(),r("ngIf",!n.emptyTemplate&&!n._emptyTemplate)("ngIfElse",n.empty),s(),r("ngTemplateOutlet",n.emptyTemplate||n._emptyTemplate)}}function gr(t,p){if(t&1&&(d(0,"ul",46,11),b(2,pr,2,2,"ng-template",47)(3,mr,3,9,"li",48),c()),t&2){let e=p.$implicit,n=p.options,i=a(2);ot(n.contentStyle),w(i.cn(i.cx("list"),n.contentStyleClass)),r("pBind",i.ptm("list")),T("id",i.id+"_list")("aria-label",i.listLabel),s(2),r("ngForOf",e),s(),r("ngIf",!e||e&&e.length===0&&i.showEmptyMessage)}}function hr(t,p){t&1&&te(0)}function fr(t,p){if(t&1&&(d(0,"div",41),b(1,Qo,1,0,"ng-container",23),d(2,"div",42),b(3,tr,5,11,"p-scroller",43)(4,ir,2,6,"ng-container",14),c(),b(5,gr,4,9,"ng-template",null,8,ge)(7,hr,1,0,"ng-container",23),c(),d(8,"span",44),u(9),c()),t&2){let e=a();w(e.cn(e.cx("overlay"),e.panelStyleClass)),r("pBind",e.ptm("overlay"))("ngStyle",e.panelStyle),s(),r("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),s(),w(e.cx("listContainer")),nt("max-height",e.virtualScroll?"auto":e.scrollHeight),r("pBind",e.ptm("listContainer"))("tabindex",-1),s(),r("ngIf",e.virtualScroll),s(),r("ngIf",!e.virtualScroll),s(3),r("ngTemplateOutlet",e.footerTemplate||e._footerTemplate),s(2),Y(" ",e.selectedMessageText," ")}}var _r=`
356    ${ri}
357
358    /* For PrimeNG */
359    p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input,
360    p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple,
361    p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input,
362    p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-multiple p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input,
363    p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple {
364        border-color: dt('autocomplete.invalid.border.color');
365    }
366
367    p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
368    p-autoComplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
369    p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
370    p-auto-complete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
371    p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
372    p-autocomplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple {
373        border-color: dt('autocomplete.focus.border.color');
374    }
375
376    p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
377    p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
378    p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder {
379        color: dt('autocomplete.invalid.placeholder.color');
380    }
381
382    p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
383    p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
384    p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder {
385        color: dt('autocomplete.invalid.placeholder.color');
386    }
387`,Cr={root:{position:"relative"}},vr={root:({instance:t})=>["p-autocomplete p-component p-inputwrapper",{"p-invalid":t.invali
387d(),"p-focus":t.focused,"p-inputwrapper-filled":t.$filled(),"p-inputwrapper-focus":t.focused&&!t.$disabled()||t.autofocus||t.overlayVisible,"p-autocomplete-open":t.overlayVisible,"p-autocomplete-clearable":t.showClear&&!t.$disabled(),"p-autocomplete-fluid":t.hasFluid}],pcInputText:"p-autocomplete-input",inputMultiple:({instance:t})=>["p-autocomplete-input-multiple",{"p-disabled":t.$disabled(),"p-variant-filled":t.$variant()==="filled"}],chipItem:({instance:t,i:p})=>["p-autocomplete-chip-item",{"p-focus":t.focusedMultipleOptionIndex()===p}],pcChip:"p-autocomplete-chip",chipIcon:"p-autocomplete-chip-icon",inputChip:"p-autocomplete-input-chip",loader:"p-autocomplete-loader",dropdown:"p-autocomplete-dropdown",overlay:({instance:t})=>["p-autocomplete-overlay p-component-overlay p-component",{"p-input-filled":t.$variant()==="filled","p-ripple-disabled":t.config.ripple()===!1}],listContainer:"p-autocomplete-list-container",list:"p-autocomplete-list",optionGroup:"p-autocomplete-option-group",option:({instance:t,option:p,i:e,scrollerOptions:n})=>({"p-autocomplete-option":!0,"p-autocomplete-option-selected":t.isSelected(p),"p-focus":t.focusedOptionIndex()===t.getOptionIndex(e,n),"p-disabled":t.isOptionDisabled(p)}),emptyMessage:"p-autocomplete-empty-message",clearIcon:"p-autocomplete-clear-icon"},ai=(()=>{class t extends wt{name="autocomplete";style=_r;classes=vr;inlineStyles=Cr;static \u0275fac=(()=>{let e;return function(i){return(e||(e=ye(t)))(i||t)}})();static \u0275prov=V({token:t,factory:t.\u0275fac})}return t})();var si=new J("AUTOCOMPLETE_INSTANCE"),br={provide:xe,useExisting:be(()=>je),multi:!0},je=(()=>{class t extends zn{overlayService;zone;$pcAutoComplete=_(si,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=_(oe,{self:!0});minLength=1;minQueryLength;delay=300;panelStyle;styleClass;panelStyleClass;inputStyle;inputId;inputStyleClass;placeholder;readonly;scrollHeight="200px";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;autoHighlight;forceSelection;type="text";autoZIndex=!0;baseZIndex=0;ariaLabel;dropdownAriaLabel;ariaLabelledBy;dropdownIcon;unique=!0;group;completeOnFocus=!1;showClear=!1;dropdown;showEmptyMessage=!0;dropdownMode="blank";multiple;addOnTab=!1;tabindex;dataKey;emptyMessage;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";autofocus;autocomplete="off";optionGroupChildren="items";optionGroupLabel="label";overlayOptions;get suggestions(){return this._suggestions()}set suggestions(e){this._suggestions.set(e),this.handleSuggestionsChange()}optionLabel;optionValue;id;searchMessage;emptySelectionMessage;selectionMessage;autoOptionFocus=!1;selectOnFocus;searchLocale;optionDisabled;focusOnHover=!0;typeahead=!0;addOnBlur=!1;separator;appendTo=m(void 0);completeMethod=new D;onSelect=new D;onUnselect=new D;onAdd=new D;onFocus=new D;onBlur=new D;onDropdownClick=new D;onClear=new D;onInputKeydown=new D;onKeyUp=new D;onShow=new D;onHide=new D;onLazyLoad=new D;inputEL;multiInputEl;multiContainerEL;dropdownButton;itemsViewChild;scroller;overlayViewChild;itemsWrapper;itemTemplate;emptyTemplate;headerTemplate;footerTemplate;selectedItemTemplate;groupTemplate;loaderTemplate;removeIconTemplate;loadingIconTemplate;clearIconTemplate;dropdownIconTemplate;onHostClick(e){this.onContainerClick(e)}value;_suggestions=S(null);timeout;overlayVisible;suggestionsUpdated;highlightOption;highlightOptionChanged;focused=!1;loading;scrollHandler;listId;searchTimeout;dirty=!1;_itemTemplate;_groupTemplate;_selectedItemTemplate;_headerTemplate;_emptyTemplate;_footerTemplate;_loaderTemplate;_removeIconTemplate;_loadingIconTemplate;_clearIconTemplate;_dropdownIconTemplate;focusedMultipleOptionIndex=S(-1);focusedOptionIndex=S(-1);_componentStyle=_(ai);$appendTo=z(()=>this.appendTo()||this.config.overlayAppendTo());visibleOptions=z(()=>this.group?this.flatOptions(this._suggestions()):this._suggestions()||[]);inputValue=z(()=>{let e=this.modelValue(),n=this.optionValueSelected?(this.suggestions||[]).find(i=>Be(i,e,this.equalityKey())):e;if(qe(e))if(typeof e=="object"||this.optionValueSelected){let i=this.getOptionLabel(n);return i??e}else return e;else return""});get focusedMultipleOptionId(){return this.focusedMultipleOptionIndex()!==-1?`${this.id}_multiple_option_${this.focusedMultipleOptionIndex()}`:null}get focusedOptionId(){return this.focusedOptionIndex()!==-1?`${this.id}_${this.focusedOptionIndex()}`:null}get searchResultMessageText(){return qe(this.visibleOptions())&&this.overlayVisible?this.searchMessageText.replaceAll("{0}",this.visibleOptions().length):this.emptySearchMessageText}get searchMessageText(){return this.searchMessage||this.config.translation.searchMessage||""}get emptySearchMessageText(){return this.emptyMessage||this.config.translation.emptySearchMessage||""}get selectionMessageText(){return this.selectionMessage||this.config.translation.selectionMessage||""}get emptySelectionMessageText(){return this.emptySelectionMessage||this.config.translation.emptySelectionMessage||""}get selectedMessageText(){return this.hasSelectedOption()?this.selectionMessageText.replaceAll("{0}",this.multiple?this.modelValue()?.length:"1"):this.emptySelectionMessageText}get ariaSetSize(){return this.visibleOptions().filter(e=>!this.isOptionGroup(e)).length}get listLabel(){return this.config.getTranslation(St.ARIA).listLabel}get virtualScrollerDisabled(){return!this.virtualScroll}get optionValueSelected(){return typeof this.modelValue()=="string"&&this.optionValue}chipItemClass(e){return this._componentStyle.classes.chipItem({instance:this,i:e})}constructor(e,n){super(),this.overlayService=e,this.zone=n}onInit(){this.id=this.id||xt("pn_id_"),this.cd.detectChanges()}templates;
387onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":this._itemTemplate=e.template;break;case"group":this._groupTemplate=e.template;break;case"selecteditem":this._selectedItemTemplate=e.template;break;case"selectedItem":this._selectedItemTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"empty":this._emptyTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"loader":this._loaderTemplate=e.template;break;case"removetokenicon":this._removeIconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"dropdownicon":this._dropdownIconTemplate=e.template;break;default:this._itemTemplate=e.template;break}})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"])),this.suggestionsUpdated&&this.overlayViewChild&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1),this.suggestionsUpdated=!1})}handleSuggestionsChange(){if(this.loading){this._suggestions()?.length>0||this.showEmptyMessage||this.emptyTemplate?this.show():this.hide();let e=this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(e),this.suggestionsUpdated=!0,this.loading=!1,this.cd.markForCheck()}}flatOptions(e){return(e||[]).reduce((n,i,o)=>{n.push({optionGroup:i,group:!0,index:o});let l=this.getOptionGroupChildren(i);return l&&l.forEach(v=>n.push(v)),n},[])}isOptionGroup(e){return this.optionGroupLabel&&e.optionGroup&&e.group}findFirstOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidOption(e))}findLastOptionIndex(){return Gt(this.visibleOptions(),e=>this.isValidOption(e))}findFirstFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e}findLastFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}findNextOptionIndex(e){let n=e<this.visibleOptions().length-1?this.visibleOptions().slice(e+1).findIndex(i=>this.isValidOption(i)):-1;return n>-1?n+e+1:e}findPrevOptionIndex(e){let n=e>0?Gt(this.visibleOptions().slice(0,e),i=>this.isValidOption(i)):-1;return n>-1?n:e}isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)}isValidOption(e){return e&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))}isOptionDisabled(e){return this.optionDisabled?Ne(e,this.optionDisabled):!1}isSelected(e){return this.multiple?this.unique?this.modelValue()?.some(n=>Be(n,e,this.equalityKey())):!1:Be(this.modelValue(),e,this.equalityKey())}isOptionMatched(e,n){return this.isValidOption(e)&&this.getOptionLabel(e).toLocaleLowerCase(this.searchLocale)===n.toLocaleLowerCase(this.searchLocale)}isInputClicked(e){return e.target===this.inputEL?.nativeElement}isDropdownClicked(e){return this.dropdownButton?.nativeElement?e.target===this.dropdownButton.nativeElement||this.dropdownButton.nativeElement.contains(e.target):!1}equalityKey(){return this.optionValue?void 0:this.dataKey}onContainerClick(e){this.$disabled()||this.loading||this.isInputClicked(e)||this.isDropdownClicked(e)||(!this.overlayViewChild||!this.overlayViewChild.overlayViewChild?.nativeElement.contains(e.target))&&pe(this.inputEL?.nativeElement)}handleDropdownClick(e){let n;this.overlayVisible?this.hide(!0):(pe(this.inputEL?.nativeElement),n=this.inputEL?.nativeElement?.value,this.dropdownMode==="blank"?this.search(e,"","dropdown"):this.dropdownMode==="current"&&this.search(e,n,"dropdown")),this.onDropdownClick.emit({originalEvent:e,query:n})}onInput(e){if(this.typeahead){let n=this.minQueryLength||this.minLength;this.searchTimeout&&clearTimeout(this.searchTimeout);let i=e.target.value;this.maxlength()!==null&&(i=i.split("").slice(0,this.maxlength()).join("")),!this.multiple&&!this.forceSelection&&this.updateModel(i),i.length===0&&!this.multiple?(this.onClear.emit(),setTimeout(()=>{this.hide()},this.delay/2)):i.length>=n?(this.focusedOptionIndex.set(-1),this.searchTimeout=setTimeout(()=>{this.search(e,i,"input")},this.delay)):this.hide()}}onInputChange(e){if(this.forceSelection){let n=!1;if(this.visibleOptions()){let i=this.visibleOptions().find(o=>this.isOptionMatched(o,this.inputEL?.nativeElement?.value||""));i!==void 0&&(n=!0,!this.isSelected(i)&&this.onOptionSelect(e,i))}n||(this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=""),!this.multiple&&this.updateModel(null))}}onInputFocus(e){if(this.$disabled())return;!this.dirty&&this.completeOnFocus&&this.search(e,e.target.value,"focus"),this.dirty=!0,this.focused=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(e)}onMultipleContainerFocus(e){this.$disabled()||(this.focused=!0)}onMultipleContainerBlur(e){this.focusedMultipleOptionIndex.set(-1),this.focused=!1}onMultipleContainerKeyDown(e){if(this.$disabled()){e.preventDefault();return}switch(e.code){case"ArrowLeft":this.onArrowLeftKeyOnMultiple(e);break;case"ArrowRight":this.onArrowRightKeyOnMultiple(e);break;case"Backspace":this.onBackspaceKeyOnMultiple(e);break;default:break}}onInputBlur(e){if(this.dirty=!1,this.focused=!1,this.focusedOptionIndex.set(-1),this.addOn
387Blur&&this.multiple&&!this.typeahead){let n=(this.multiInputEl?.nativeElement?.value||e.target.value||"").trim();n&&!this.isSelected(n)&&(this.updateModel([...this.modelValue()||[],n]),this.onAdd.emit({originalEvent:e,value:n}),this.multiInputEl?.nativeElement?this.multiInputEl.nativeElement.value="":e.target.value="")}this.onModelTouched(),this.onBlur.emit(e)}onInputPaste(e){if(this.separator&&this.multiple&&!this.typeahead){let n=(e.clipboardData||window.clipboardData)?.getData("Text");if(n){let i=n.split(this.separator),o=[...this.modelValue()||[]];if(i.forEach(l=>{let v=l.trim();v&&!this.isSelected(v)&&o.push(v)}),o.length>(this.modelValue()||[]).length){let l=o.slice((this.modelValue()||[]).length);this.updateModel(o),l.forEach(v=>{this.onAdd.emit({originalEvent:e,value:v})}),this.multiInputEl?.nativeElement?this.multiInputEl.nativeElement.value="":e.target.value="",e.preventDefault()}}}else this.onKeyDown(e)}onInputKeyUp(e){this.onKeyUp.emit(e)}onKeyDown(e){if(this.$disabled()){e.preventDefault();return}switch(this.onInputKeydown.emit(e),e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e);break;case"ArrowLeft":this.onArrowLeftKey(e);break;case"ArrowRight":this.onArrowRightKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"Backspace":this.onBackspaceKey(e);break;case"ShiftLeft":case"ShiftRight":break;default:this.handleSeparatorKey(e);break}}handleSeparatorKey(e){if(this.separator&&this.multiple&&!this.typeahead&&(this.separator===e.key||typeof this.separator=="string"&&e.key===this.separator||this.separator instanceof RegExp&&e.key.match(this.separator))){let n=(this.multiInputEl?.nativeElement?.value||e.target.value||"").trim();n&&!this.isSelected(n)&&(this.updateModel([...this.modelValue()||[],n]),this.onAdd.emit({originalEvent:e,value:n}),this.multiInputEl?.nativeElement?this.multiInputEl.nativeElement.value="":e.target.value="",e.preventDefault())}}onArrowDownKey(e){if(!this.overlayVisible)return;let n=this.focusedOptionIndex()!==-1?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(e,n),e.preventDefault(),e.stopPropagation()}onArrowUpKey(e){if(this.overlayVisible)if(e.altKey)this.focusedOptionIndex()!==-1&&this.onOptionSelect(e,this.visibleOptions()[this.focusedOptionIndex()]),this.overlayVisible&&this.hide(),e.preventDefault();else{let n=this.focusedOptionIndex()!==-1?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(e,n),e.preventDefault(),e.stopPropagation()}}onArrowLeftKey(e){let n=e.currentTarget;this.focusedOptionIndex.set(-1),this.multiple&&(qt(n.value)&&this.hasSelectedOption()?(pe(this.multiContainerEL?.nativeElement),this.focusedMultipleOptionIndex.set(this.modelValue().length)):e.stopPropagation())}onArrowRightKey(e){this.focusedOptionIndex.set(-1),this.multiple&&e.stopPropagation()}onHomeKey(e){let{currentTarget:n}=e,i=n.value.length;n.setSelectionRange(0,e.shiftKey?i:0),this.focusedOptionIndex.set(-1),e.preventDefault()}onEndKey(e){let{currentTarget:n}=e,i=n.value.length;n.setSelectionRange(e.shiftKey?0:i,i),this.focusedOptionIndex.set(-1),e.preventDefault()}onPageDownKey(e){this.scrollInView(this.visibleOptions().length-1),e.preventDefault()}onPageUpKey(e){this.scrollInView(0),e.preventDefault()}onEnterKey(e){if(!this.typeahead&&!this.forceSelection&&this.multiple){let n=e.target.value?.trim();n&&!this.isSelected(n)&&(this.updateModel([...this.modelValue()||[],n]),this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=""))}if(this.overlayVisible)this.focusedOptionIndex()!==-1&&this.onOptionSelect(e,this.visibleOptions()[this.focusedOptionIndex()]),this.hide();else return;e.preventDefault()}onEscapeKey(e){this.overlayVisible&&this.hide(!0),e.preventDefault()}onTabKey(e){if(this.focusedOptionIndex()!==-1){this.onOptionSelect(e,this.visibleOptions()[this.focusedOptionIndex()]);return}
387if(this.multiple&&!this.typeahead){let n=(this.multiInputEl?.nativeElement?.value||this.inputEL?.nativeElement?.value||"").trim();if(this.addOnTab&&n&&!this.isSelected(n)){this.updateModel([...this.modelValue()||[],n]),this.onAdd.emit({originalEvent:e,value:n}),this.multiInputEl?.nativeElement?this.multiInputEl.nativeElement.value="":this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=""),this.updateInputValue(),e.preventDefault(),this.overlayVisible&&this.hide();return}}this.overlayVisible&&this.hide()}onBackspaceKey(e){if(this.multiple){if(qe(this.modelValue())&&!this.inputEL?.nativeElement?.value){let n=this.modelValue()[this.modelValue().length-1],i=this.modelValue().slice(0,-1);this.updateModel(i),this.onUnselect.emit({originalEvent:e,value:n})}e.stopPropagation()}}onArrowLeftKeyOnMultiple(e){let n=this.focusedMultipleOptionIndex()<1?0:this.focusedMultipleOptionIndex()-1;this.focusedMultipleOptionIndex.set(n)}onArrowRightKeyOnMultiple(e){let n=this.focusedMultipleOptionIndex();n++,this.focusedMultipleOptionIndex.set(n),n>this.modelValue().length-1&&(this.focusedMultipleOptionIndex.set(-1),pe(this.inputEL?.nativeElement))}onBackspaceKeyOnMultiple(e){this.focusedMultipleOptionIndex()!==-1&&this.removeOption(e,this.focusedMultipleOptionIndex())}onOptionSelect(e,n,i=!0){this.multiple?(this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=""),this.isSelected(n)||this.updateModel([...this.modelValue()||[],n])):this.updateModel(n),this.onSelect.emit({originalEvent:e,value:n}),i&&this.hide(!0)}onOptionMouseEnter(e,n){this.focusOnHover&&this.changeFocusedOptionIndex(e,n)}search(e,n,i){n!=null&&(i==="input"&&n.trim().length===0||(this.loading=!0,this.completeMethod.emit({originalEvent:e,query:n})))}removeOption(e,n){e.stopPropagation();let i=this.modelValue()[n],o=this.modelValue().filter((l,v)=>v!==n);this.updateModel(o),this.onUnselect.emit({originalEvent:e,value:i}),pe(this.inputEL?.nativeElement)}updateModel(e){let n=null;e&&(n=this.multiple?e.map(i=>this.getOptionValue(i)):this.getOptionValue(e)),this.value=n,this.writeModelValue(e),this.onModelChange(n),this.updateInputValue(),this.cd.markForCheck()}updateInputValue(){this.inputEL&&this.inputEL.nativeElement&&(this.multiple?this.inputEL.nativeElement.value="":this.inputEL.nativeElement.value=this.inputValue())}autoUpdateModel(){if((this.selectOnFocus||this.autoHighlight)&&this.autoOptionFocus&&!this.hasSelectedOption()){let e=this.findFirstFocusedOptionIndex();this.focusedOptionIndex.set(e),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)}}scrollInView(e=-1){let n=e!==-1?`${this.id}_${e}`:this.focusedOptionId;if(this.itemsViewChild&&this.itemsViewChild.nativeElement){let i=Et(this.itemsViewChild.nativeElement,`li[id="${n}"]`);i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(e!==-1?e:this.focusedOptionIndex())},0)}}changeFocusedOptionIndex(e,n){this.focusedOptionIndex()!==n&&(this.focusedOptionIndex.set(n),this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(e,this.visibleOptions()[n],!1))}show(e=!1){this.dirty=!0,this.overlayVisible=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),e&&pe(this.inputEL?.nativeElement),e&&pe(this.inputEL?.nativeElement),this.onShow.emit(),this.cd.markForCheck()}hide(e=!1){let n=()=>{this.dirty=e,this.overlayVisible=!1,this.focusedOptionIndex.set(-1),e&&pe(this.inputEL?.nativeElement),this.onHide.emit(),this.cd.markForCheck()};setTimeout(()=>{n()},0)}clear(){this.updateModel(null),this.inputEL?.nativeElement&&(this.inputEL.nativeElement.value=""),this.onClear.emit()}hasSelectedOption(){return qe(this.modelValue())}getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions().slice(0,e).filter(n=>this.isOptionGroup(n)).length:e)+1}getOptionLabel(e){return this.optionLabel?Ne(e,this.optionLabel):e&&e.label!=null?e.label:e}getOptionValue(e){return this.optionValue?Ne(e,this.optionValue):e&&e.value!=null?e.value:e}getOptionIndex(e,n){return this.virtualScrollerDisabled?e:n&&n.getItemOptions(e).index}getOptionGroupLabel(e){return this.optionGroupLabel?Ne(e,this.optionGroupLabel):e&&e.label!=null?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?Ne(e,this.optionGroupChildren):e.items}
387getPTOptions(e,n,i,o){return this.ptm(o,{context:{option:e,index:this.getOptionIndex(i,n),selected:this.isSelected(e),focused:this.focusedOptionIndex()===this.getOptionIndex(i,n),disabled:this.isOptionDisabled(e)}})}onOverlayAnimationStart(e){if(e.toState==="visible"&&(this.itemsWrapper=Et(this.overlayViewChild.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-autocomplete-panel"),this.virtualScroll&&(this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.scroller?.viewInit()),this.visibleOptions()&&this.visibleOptions().length))if(this.virtualScroll){let n=this.modelValue()?this.focusedOptionIndex():-1;n!==-1&&this.scroller?.scrollToIndex(n)}else{let n=Et(this.itemsWrapper,".p-autocomplete-item.p-highlight");n&&n.scrollIntoView({block:"nearest",inline:"center"})}}writeControlValue(e,n){let i=this.multiple?this.visibleOptions().filter(o=>e?.some(l=>Be(l,o,this.equalityKey()))):this.visibleOptions().find(o=>Be(e,o,this.equalityKey()));this.value=e,n(qt(i)?e:i),this.updateInputValue(),this.cd.markForCheck()}onDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(n){return new(n||t)(de(Pn),de(Bt))};static \u0275cmp=y({type:t,selectors:[["p-autoComplete"],["p-autocomplete"],["p-auto-complete"]],contentQueries:function(n,i,o){if(n&1&&Ie(o,Ji,5)(o,eo,5)(o,to,5)(o,no,5)(o,io,5)(o,oo,5)(o,ro,5)(o,ao,5)(o,so,5)(o,lo,5)(o,co,5)(o,Re,4),n&2){let l;O(l=I())&&(i.itemTemplate=l.first),O(l=I())&&(i.emptyTemplate=l.first),O(l=I())&&(i.headerTemplate=l.first),O(l=I())&&(i.footerTemplate=l.first),O(l=I())&&(i.selectedItemTemplate=l.first),O(l=I())&&(i.groupTemplate=l.first),O(l=I())&&(i.loaderTemplate=l.first),O(l=I())&&(i.removeIconTemplate=l.first),O(l=I())&&(i.loadingIconTemplate=l.first),O(l=I())&&(i.clearIconTemplate=l.first),O(l=I())&&(i.dropdownIconTemplate=l.first),O(l=I())&&(i.templates=l)}},viewQuery:function(n,i){if(n&1&&Te(po,5)(uo,5)(mo,5)(go,5)(ho,5)(fo,5)(_o,5),n&2){let o;O(o=I())&&(i.inputEL=o.first),O(o=I())&&(i.multiInputEl=o.first),O(o=I())&&(i.multiContainerEL=o.first),O(o=I())&&(i.dropdownButton=o.first),O(o=I())&&(i.itemsViewChild=o.first),O(o=I())&&(i.scroller=o.first),O(o=I())&&(i.overlayViewChild=o.first)}},hostVars:4,hostBindings:function(n,i){n&1&&f("click",function(l){return i.onHostClick(l)}),n&2&&(ot(i.sx("root")),w(i.cn(i.cx("root"),i.styleClass)))},inputs:{minLength:[2,"minLength","minLength",Ee],minQueryLength:[2,"minQueryLength","minQueryLength",Ee],delay:[2,"delay","delay",Ee],panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",inputStyle:"inputStyle",inputId:"inputId",inputStyleClass:"inputStyleClass",placeholder:"placeholder",readonly:[2,"readonly","readonly",L],scrollHeight:"scrollHeight",lazy:[2,"lazy","lazy",L],virtualScroll:[2,"virtualScroll","virtualScroll",L],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",Ee],virtualScrollOptions:"virtualScrollOptions",autoHighlight:[2,"autoHighlight","autoHighlight",L],forceSelection:[2,"forceSelection","forceSelection",L],type:"type",autoZIndex:[2,"autoZIndex","autoZIndex",L],baseZIndex:[2,"baseZIndex","baseZIndex",Ee],ariaLabel:"ariaLabel",dropdownAriaLabel:"dropdownAriaLabel",ariaLabelledBy:"ariaLabelledBy",dropdownIcon:"dropdownIcon",unique:[2,"unique","unique",L],group:[2,"group","group",L],completeOnFocus:[2,"completeOnFocus","completeOnFocus",L],showClear:[2,"showClear","showClear",L],dropdown:[2,"dropdown","dropdown",L],showEmptyMessage:[2,"showEmptyMessage","showEmptyMessage",L],dropdownMode:"dropdownMode",multiple:[2,"multiple","multiple",L],addOnTab:[2,"addOnTab","addOnTab",L],tabindex:[2,"tabindex","tabindex",Ee],dataKey:"dataKey",emptyMessage:"emptyMessage",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",autofocus:[2,"autofocus","autofocus",L],autocomplete:"autocomplete",optionGroupChildren:"optionGroupChildren",optionGroupLabel:"optionGroupLabel",overlayOptions:"overlayOptions",suggestions:"suggestions",optionLabel:"optionLabel",optionValue:"optionValue",id:"id",searchMessage:"searchMessage",emptySelectionMessage:"emptySelectionMessage",selectionMessage:"selectionMessage",autoOptionFocus:[2,"autoOptionFocus","autoOptionFocus",L],selectOnFocus:[2,"selectOnFocus","selectOnFocus",L],searchLocale:[2,"searchLocale","searchLocale",L],optionDisabled:"optionDisabled",focusOnHover:[2,"focusOnHover","focusOnHover",L],typeahead:[2,"typeahead","typeahead",L],addOnBlur:[2,"addOnBlur","addOnBlur",L],separator:"separator",appendTo:[1,"appendTo"]},outputs:{completeMethod:"completeMethod",onSelect:"onSelect",onUnselect:"onUnselect",onAdd:"onAdd",onFocus:"onFocus",onBlur:"onBlur",onDropdownClick:"onDropdownClick",onClear:"onClear",onInputKeydown:"onInputKeydown",onKeyUp:"onKeyUp",onShow:"onShow",onHide:"onHide",onLazyLoad:"onLazyLoad"},features:[Z([br,ai,{provide:si,useExisting:t},{provide:Ot,useExisting:t}]),Xe([oe]),Oe],decls:9,vars:13,consts:[["overlay",""],["content",""],["focusInput",""],["multiContainer",""],["focusInput","","multiIn",""],["token",""],["removeicon",""],["ddBtn",""],["buildInItems",""],["scroller",""],["loader",""],["items",""],["empty",""],["pInputText","","aria-autocomplete","list","role","combobox",3,"pAutoFocus","pt","class","ngStyle","variant","invali
387d","pSize","fluid","input","keydown","change","focus","blur","paste","keyup",4,"ngIf"],[4,"ngIf"],["role","listbox",3,"pBind","class","tabindex","focus","blur","keydown",4,"ngIf"],["type","button","pRipple","",3,"pBind","class","disabled","click",4,"ngIf"],[3,"visibleChange","onAnimationStart","onHide","pt","hostAttrSelector","visible","options","target","appendTo","showTransitionOptions","hideTransitionOptions"],["pInputText","","aria-autocomplete","list","role","combobox",3,"input","keydown","change","focus","blur","paste","keyup","pAutoFocus","pt","ngStyle","variant","invalid","pSize","fluid"],["data-p-icon","times",3,"pBind","class","click",4,"ngIf"],[3,"pBind","class","click",4,"ngIf"],["data-p-icon","times",3,"click","pBind"],[3,"click","pBind"],[4,"ngTemplateOutlet"],["role","listbox",3,"focus","blur","keydown","pBind","tabindex"],["role","option",3,"pBind","class",4,"ngFor","ngForOf"],["role","option",3,"pBind"],["role","combobox","aria-autocomplete","list",3,"input","keydown","change","focus","blur","paste","keyup","pAutoFocus","pBind","ngStyle"],[3,"onRemove","pt","label","disabled","removable"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"pBind",4,"ngIf"],["data-p-icon","times-circle"],[3,"pBind"],["data-p-icon","spinner",3,"pBind","class","spin",4,"ngIf"],[3,"pBind","class",4,"ngIf"],["data-p-icon","spinner",3,"pBind","spin"],["type","button","pRipple","",3,"click","pBind","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["data-p-icon","chevron-down",3,"pBind",4,"ngIf"],["data-p-icon","chevron-down",3,"pBind"],[3,"pBind","ngStyle"],[3,"pBind","tabindex"],[3,"pt","items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],["role","status","aria-live","polite",1,"p-hidden-accessible"],[3,"onLazyLoad","pt","items","itemSize","autoSize","lazy","options"],["role","listbox",3,"pBind"],["ngFor","",3,"ngForOf"],["role","option",3,"pBind","class","ngStyle",4,"ngIf"],["role","option",3,"pBind","ngStyle"],["pRipple","","role","option",3,"click","mouseenter","pBind","ngStyle"],[4,"ngIf","ngIfElse"]],template:function(n,i){if(n&1){let o=x();b(0,So,2,31,"input",13)(1,ko,3,2,"ng-container",14)(2,Vo,7,36,"ul",15)(3,zo,3,2,"ng-container",14)(4,$o,4,8,"button",16),d(5,"p-overlay",17,0),dn("visibleChange",function(v){return g(o),pn(i.overlayVisible,v)||(i.overlayVisible=v),h(v)}),f("onAnimationStart",function(v){return i.onOverlayAnimationStart(v)})("onHide",function(){return i.hide()}),b(7,fr,10,15,"ng-template",null,1,ge),c()}n&2&&(r("ngIf",!i.multiple),s(),r("ngIf",i.$filled()&&!i.$disabled()&&i.showClear&&!i.loading),s(),r("ngIf",i.multiple),s(),r("ngIf",i.loading),s(),r("ngIf",i.dropdown),s(),r("pt",i.ptm("pcOverlay"))("hostAttrSelector",i.$attrSelector),cn("visible",i.overlayVisible),r("options",i.overlayOptions)("target","@parent")("appendTo",i.$appendTo())("showTransitionOptions",i.showTransitionOptions)("hideTransitionOptions",i.hideTransitionOptions))},dependencies:[ke,at,gn,st,lt,hn,$n,Kn,Qn,Yn,jn,kt,qn,Wn,oi,Ce,Gn,Un,oe],encapsulation:2})}return t})(),pi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=le({type:t});static \u0275inj=ae({imports:[je,Ce,Ce]})}return t})();function Er(t,p){}var di=["gmail.com","hotmail.com","live.nl","outlook.com","icloud.nl","yahoo.com"],ui=(()=>{class t{constructor(){this.destroyRef=_(Ye),this.changeDetection=_(he),this.element=_(Rt),this.defaultClass=!0,this.condensedClass=!0,this.isOpened=!1,this.blurEvent=new D,this.placeholder=m("bijv. [email protected]"),this.forceSelection=m(!1),this.openOnFocus=m(!1),this.isDisabled=m(!1),this.ariaLabel=m("e-mail veld"),this.ariaDescribedBy=m(),this.source=S([]),this.onChange=()=>{},this.onTouched=()=>{}}ngAfterViewInit(){let e=this.element.nativeElement.querySelector(".p-autocomplete-input");e&&(e.setAttribute("aria-label",this.ariaLabel()||this.placeholder()),this.ariaDescribedBy()&&e.setAttribute("aria-describedby",this.ariaDescribedBy()),e.setAttribute("name","email")),this.autoComplete.inputEL.nativeElement.addEventListener("keydown",n=>this.onKeyDown(n),!0)}filter(e){let n=e.query,[i,o]=n.split("@");if(!e.query.includes("@")||di.includes(o))return;
387let l=di.map(v=>`${i}@${v}`);this.source.set(l.filter(v=>v.includes(o))),this.autoComplete.suggestions=this.source()}onKeyDown(e){(e.key==="Home"||e.key==="End")&&(e.stopPropagation(),this.autoComplete.inputEL.nativeElement.type="text",this.autoComplete.onKeyDown(e),this.autoComplete.inputEL.nativeElement.type="email")}onKeyUp(e){e.key==="Enter"?this.updateEmailValue(this.autoComplete.value||this.autoComplete.inputValue()):Qe(this.autoComplete.inputValue()).pipe(tn(200),pt(this.destroyRef)).subscribe(n=>{this.updateEmailValue(n),n&&n.includes("@")&&this.markAsTouched()})}onBlur(){this.updateEmailValue(this.autoComplete.value||this.autoComplete.inputValue()),this.blurEvent.emit(),this.markAsTouched()}selectSuggestion(e){this.updateEmailValue(e.value)}updateOpenedState(e){this.isOpened=e,this.changeDetection.markForCheck()}writeValue(e){this.autoComplete.writeValue(e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}markAsTouched(){this.onTouched()}updateEmailValue(e){this.autoComplete.writeValue(e),this.onChange(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-email-autocomplete"]],viewQuery:function(n,i){if(n&1&&Te(je,7),n&2){let o;O(o=I())&&(i.autoComplete=o.first)}},hostVars:6,hostBindings:function(n,i){n&2&&it("ind-autocomplete",i.defaultClass)("ind-autocomplete--no-search-icon",i.condensedClass)("ind-autocomplete--dropdown-shown",i.isOpened)},inputs:{placeholder:[1,"placeholder"],forceSelection:[1,"forceSelection"],openOnFocus:[1,"openOnFocus"],isDisabled:[1,"isDisabled"],ariaLabel:[1,"ariaLabel"],ariaDescribedBy:[1,"ariaDescribedBy"]},outputs:{blurEvent:"blurEvent"},features:[Z([{provide:xe,useExisting:be(()=>t),multi:!0}])],decls:2,vars:5,consts:[["styleClass","ind-autocomplete__input-wrapper","inputStyleClass","ind-autocomplete__input","panelStyleClass","ind-autocomplete__panel","autocomplete","email","type","email",3,"onShow","onHide","onBlur","onKeyUp","onSelect","completeMethod","disabled","suggestions","completeOnFocus","placeholder","showEmptyMessage"],["pTemplate","loadingicon"]],template:function(n,i){n&1&&(d(0,"p-autoComplete",0),f("onShow",function(){return i.updateOpenedState(!0)})("onHide",function(){return i.updateOpenedState(!1)})("onBlur",function(){return i.onBlur()})("onKeyUp",function(l){return i.onKeyUp(l)})("onSelect",function(l){return i.selectSuggestion(l)})("completeMethod",function(l){return i.filter(l)}),b(1,Er,0,0,"ng-template",1),c()),n&2&&r("disabled",i.isDisabled())("suggestions",i.source())("completeOnFocus",i.openOnFocus())("placeholder",i.placeholder())("showEmptyMessage",!1)},dependencies:[pi,je,Re,De,Ce],encapsulation:2})}}return t})();function xr(t,p){if(t&1&&(d(0,"p",11),u(1),c()),t&2){let e=a(2);s(),ne(e.subtitle())}}function Sr(t,p){if(t&1&&(d(0,"h2",10),u(1),c(),k(2,xr,2,1,"p",11)),t&2){let e=a();s(),ne(e.title()),s(),M(e.subtitle()?2:-1)}}function wr(t,p){if(t&1&&E(0,"ind-notification-error",0),t&2){let e=a();r("loginError",e.errorStatus())}}function Or(t,p){if(t&1&&(d(0,"button",7),u(1),c()),t&2){let e=a();r("loading",e.loading())("ue",e.submitButtonConfig.ue)("cta",!0),s(),Y(" ",e.submitButtonConfig.text," ")}}function Ir(t,p){if(t&1){let e=x();d(0,"div",8)(1,"p",12)(2,"span",13),u(3,"of log in met"),c()(),d(4,"ind-social-buttons",14),f("clickSocialLogin",function(i){g(e);let o=a();return h(o.clickSocialLogin(i))}),c()()}if(t&2){let e=a();s(4),r("socialLoginUrlsRequest",e.socialLoginUrlsRequest())("newSocialIcons",e.newSocialIcons())}}function Tr(t,p){t&1&&(d(0,"div",9)(1,"span"),u(2," Nog geen account? "),c(),d(3,"a",15),u(4," Registreer hier "),c()())}var Dt=(()=>{class t{constructor(){this.window=_(R),this.socialLoginService=_(we),this.cd=_(he),this.authenticationService=_(X),this.loginForm=m.required(),this.errorStatus=m.required(),this.showTitle=m(!0),this.showSocialLoginBlock=m(!0),this.isAccountCreationEnabled=m(!0),this.socialLoginUrlsRequest=m(),this.submitButtonText=m(),this.newSocialIcons=m(!1),this.loading=m(!1),this.emailConfirmedSuccessfully=S(!1),this.showNotificationError=z(()=>this.errorStatus()===C.RATE_LIMITED||this.errorStatus()===C.LOCKED_USER||this.emailConfirmedSuccessfully()),this.submitForm=N(),this.isUserFromEmail=this.window.location.href.includes("utm_source=crm"),this.title=S(this.isUserFromEmail?"Welkom terug":"Inloggen"),this.subtitle=S(this.isUserFromEmail?"Voor slimme tips en de beste deals voor jou":""),this.keepMeLoggedInDuration=$e,Ze(()=>{this.setSubmitButtonConfig(this.submitButtonText()||"Verstuur toegangscode")}),this.emailConfirmedSuccessfully.set(this.authenticationService.getEmailAddressChanged())}onSubmit(){this.loginForm().valid&&this.submitForm.emit()}clickSocialLogin(e){let n=this.window.open(e,"_blank");this.socialLoginService.checkOriginForSocialAuth(n)}setSubmitButtonConfig(e){this.submitButtonConfig={ue:e.replace(" ","-"),text:e}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-passwordless-login"]],inputs:{loginForm:[1,"loginForm"],errorStatus:[1,"errorStatus"],showTitle:[1,"showTitle"],showSocialLoginBlock:[1,"showSocialLoginBlock"],isAccountCreationEnabled:[1,"isAccountCreationEnabled"],socialLoginUrlsRequest:[1,"socialLoginUrlsRequest"],submitButtonText:[1,"submitButtonText"],newSocialIcons:[1,"newSocialIcons"],loading:[1,"loading"]},outputs:{submitForm:"submitForm"},decls:30,vars:12,consts:[[3,"loginError"],["indForm","",3,"ngSubmit","formGroup"],["id","email","data-testid","email","formControlName","email",1,"input-full-width"],["ue","keepMeLoggedInDuration","formControlName","keepMeLoggedInDuration",1,"input-full-width",3,"ueType"],[3,"indValue"],[1,"mt-32","login-button-container"],["hideValidation",""],["indBtn","","data-testid","submit-login","type","submit","aria-label","submit-login",1,"btn-full-width","body-md",3,"loading","ue","cta"],[1,"text-center"],[1,"flex","mt-24","text-center"],["data-testid","login-form-header",1,"mb-24"],["data-testid","login-form-header",1,"mb-24","body-md"],[1,"text-bold","social-divider"],[1,"nowrap"],[1,"d-flex","gap-8","social-container",3,"clickSocialLogin","socialLoginUrlsRequest","newSocialIcons"],["ue","createaccount","href","/mijnindepender/registreren/account-aanmaken",1,"underline"]],template:function(n,i){n&1&&(k(0,Sr,3,2),k(1,wr,1,1,"ind-notification-error",0),d(2,"form",1),f("ngSubmit",function(){return i.onSubmit()}),d(3,"ind-input-group")(4,"ind-input-item")(5,"input-item-label"),u(6,"E-mailadres"),c(),d(7,"input-item-content"),E(8,"ind-email-autocomplete",2),j(),c()(),d(9,"ind-input-item")(10,"input-item-label"),u(11,"Houd mij ingelogd"),c(),d(12,"input-item-content")(13,"ind-select",3)(14,"option",4),u(15,"nooit"),c(),d(16,"option",4),u(17,"1 dag"),c(),d(18,"option",4),u(19,"1 week"),c(),d(20,"option",4),u(21,"1 maand"),c(),d(22,"option",4),u(23,"1 jaar"),c()(),j(),c()()(),d(24,"ind-input-group",5)(25,"ind-input-item",6)(26,"input-item-content"),k(27,Or,2,4,"button",7),c()()(),k(28,Ir,5,2,"div",8),c(),
387k(29,Tr,5,0,"div",9)),n&2&&(M(i.showTitle()?0:-1),s(),M(i.showNotificationError()?1:-1),s(),r("formGroup",i.loginForm()),s(6),U(),s(5),r("ueType",i.keepMeLoggedInDuration),U(),s(),r("indValue",null),s(2),r("indValue",i.keepMeLoggedInDuration.OneDay),s(2),r("indValue",i.keepMeLoggedInDuration.OneWeek),s(2),r("indValue",i.keepMeLoggedInDuration.OneMonth),s(2),r("indValue",i.keepMeLoggedInDuration.OneYear),s(5),M(i.submitButtonConfig?27:-1),s(),M(i.showSocialLoginBlock()&&i.socialLoginUrlsRequest()?28:-1),s(),M(i.isAccountCreationEnabled()?29:-1))},dependencies:[G,K,ft,Tn,P,mt,yn,En,q,dt,ut,gt,ht,F,B,ie,kn,$,ui,re,ei],styles:['.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:" ";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.create-account[_ngcontent-%COMP%]{width:100%}.social-link[_ngcontent-%COMP%]:before{font-size:20px}.login-button-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.social-divider[_ngcontent-%COMP%]{display:flex;align-items:center;margin:24px 0}@media(max-width:767.98px){.social-divider[_ngcontent-%COMP%]{margin:12px 0}}.social-divider[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding:0 12px}.social-divider[_ngcontent-%COMP%]:before, .social-divider[_ngcontent-%COMP%]:after{content:"";width:100%;border-bottom:1px solid var(--%NS%ind-theme-color-border-default-strong)}@media(max-width:767.98px){.social-container[_ngcontent-%COMP%]{flex-direction:column}}.hide-block[_ngcontent-%COMP%]{position:absolute;z-index:-9999;opacity:0}']})}}return t})();var mi=(()=>{class t{getOtpBySms(){let e=navigator?.credentials;if(!e)return Promise.reject("Credentials API not available");try{return e.get({otp:{transport:["sms"]}})}catch{return Promise.reject("Credentials API fail.")}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kr=["*"];function Mr(t,p){if(t&1&&E(0,"ind-notification-error",1),t&2){let e=a();r("loginError",e.loginError())("message",`We hebben net per sms een toegangscode gestuurd naar <b>*******${e.phoneLastNumbers()}</b>.`)}}function Dr(t,p){if(t&1&&E(0,"ind-notification-error",2),t&2){let e=a();r("loginError",e.loginErrorEnum.NO_PHONE_NUMBER)}}var Qt=(()=>{class t{constructor(){this.loginErrorEnum=C,this.phoneLastNumbers=m.required(),this.loginLoading=m.required(),this.loginError=m.required(),this.setLoginError=N(),this.codeEntered=N(),this.helpLoading=S(!1),this.chatbotService=_(Ge),this.credentialsApiService=_(mi),this.authenticationCodeFormControl=new fe("",Fe)}ngOnInit(){this.phoneLastNumbers()&&this.credentialsApiService.getOtpBySms().then(e=>{e&&this.authenticationCodeFormControl.setValue(e.code)},console.info)}submitCode(){if(this.authenticationCodeFormControl.invalid){this.setLoginError.emit(C.WRONG_AUTH_CODE);return}this.codeEntered.emit(this.authenticationCodeFormControl.value)}openChatbot(){this.helpLoading.set(!0);try{this.chatbotService.openChat()}finally{this.helpLoading.set(!1)}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-sms-authentication-code"]],inputs:{phoneLastNumbers:[1,"phoneLastNumbers"],loginLoading:[1,"loginLoading"],loginError:[1,"loginError"]},outputs:{setLoginError:"setLoginError",codeEntered:"codeEntered"},ngContentSelectors:kr,decls:21,vars:9,consts:[[1,"mt-0","mb-24"],[3,"loginError","message"],[3,"loginError"],["data-testid","controle-code",1,"mt-24"],["hideValidation",""],[3,"pressEnter","formControl","size","invalid"],[1,"mt-24","gap-8"],["indBtn","","ue","doorgaan","data-testid","submit-authentication-code","type","button",1,"btn-full-width",3,"click","cta","loading"],["indBtn","","ue","inloggen-need-help","data-testid","login-need-help","type","button",1,"btn-full-width",3,"click","ghost","loading"]],template:function(n,i){n&1&&(ue(),d(0,"h2",0),u(1,"Vul je toegangscode in"),c(),me(2),k(3,Mr,1,2,"ind-notification-error",1)(4,Dr,1,1,"ind-notification-error",2),d(5,"ind-input-group",3)(6,"ind-input-item",4)(7,"input-item-label"),u(8,"Code"),c(),d(9,"input-item-content")(10,"ind-authentication-code-input",5),f("pressEnter",function(){return i.submitCode()}),c(),j(),c()()(),E(11,"ind-login-error",2),d(12,"ind-input-group",6)(13,"ind-input-item",4)(14,"input-item-content")(15,"button",7),f("click",function(){return i.submitCode()}),u(16," Inloggen "),c()()(),d(17,"ind-input-item",4)(18,"input-item-content")(19,"button",8),f("click",function(){return i.openChatbot()}),u(20," Hulp nodig? "),c()()()()),n&2&&(s(3),M(i.phoneLastNumbers()?3:4),s(7),r("formControl",i.authenticationCodeFormControl)("size",6)("invalid",i.loginError()!==i.loginErrorEnum.NO_ERROR),U(),s(),r("loginError",i.loginError()),s(4),r("cta",!0)("loading",i.loginLoading()),s(4),r("ghost",!0)("loading",i.helpLoading()))},dependencies:[G,K,F,B,ve,P,q,_e,ie,$,re,Pe],encapsulation:2,changeDetection:1})}}return t})();var Yt=t=>{switch(t.result){case bt.Succeeded:return C.NO_ERROR;case bt.UserLocked:return C.LOCKED_USER;case bt.TokenExpired:return C.TOKEN_EXPIRED;default:return t.isContactMissingInSiebel?C.PERSON_NOT_FOUND:t.warnUserAboutLoginAttempts?C.ONE_LAST_TRY_LEFT:C.WRONG_AUTH_CODE}},Lt=t=>{switch(t.authenticateUserOtpResult){case yt.AccountLocked:return C.LOCKED_USER;case yt.RateLimited:return C.RATE_LIMITED;case yt.Success:return C.NO_ERROR;default:return C.NO_ERROR}};function Lr(t,p){if(t&1){let e=x();d(0,"ind-passwordless-login",3),f("submitForm",function(){g(e);let i=a();return h(i.sendOtpRequest())}),c()}if(t&2){let e=a();r("errorStatus",e.loginError())("newSocialIcons",e.newSocialIcons())("loginForm",e.loginForm)("showTitle",e.showTitle())("isAccountCreationEnabled",e.enableNieuweKlant())("showSocialLoginBlock",e.showSocialLoginBlock())("submitButtonText",e.buttonText())("socialLoginUrlsRequest",e.socialLoginUrlsRequest())("loading",e.loading())}}function Ar(t,p){if(t&1){let e=x();d(0,"ind-email-authentication-code",4),f("requestOtpBySms",function(){g(e);let i=a();return h(i.goToSmsOtpPage())})("codeEntered",function(i){g(e);let o=a();return h(o.authenticateUserWithOtpByAuthApp(i))})("setLoginError",function(i){g(e);let o=a();return h(o.setLoginError(i))})("backToAccountSelection",function(){g(e);let i=a();return h(i.changeLoginStep(i.loginStepEnum.ACCOUNT_SELECTION))}),c()}if(t&2){let e=a();r("email",e.loginForm.get("email")?.value)("loginError",e.loginError())("loginLoading",e.loading())("smsStepLoading",e.smsStepLoading())}}function Nr(t,p){if(t&1){let e=x();d(0,"ind-sms-authentication-code",5),f("codeEntered",function(i){g(e);let o=a();return h(o.authenticateUserWithOtpByAuthApp(i))})("setLoginError",function(i){g(e);let o=a();return h(o.setLoginError(i))}),c()}if(t&2){let e=a();r("phoneLastNumbers",e.phoneLastNumbers())("loginError",e.loginError())("loginLoading",e.loading())}}var At=(()=>{class t{constructor(){this.loginFlowService=_(Jn),this.fb=_(Me),this.authenticationService=_(X),this.socialLoginUrlsRequest=m(),this.emailPrefilled=m(void 0),this.showTitle=m(!0),this.enableNieuweKlant=m(!0),this.showSocialLoginBlock=m(!0),this.buttonText=m(),this.newSocialIcons=m(!1),this.authenticationSucceeded=N(),this.phoneLastNumbers=S(null),this.loginStepEnum=Q,this.notificationTypes=Ae,this.loginErrorEnum=C,this.loginStep=this.loginFlowService.getCurrentStep(),this.loginError=this.loginFlowService.getLoginError(),this.loading=S(!1),this.smsStepLoading=S(!1),this.emailConfirmedSuccessfully=S(!1)}ngOnInit(){this.initLoginForm()}onAuthenticationSucceeded(){this.loginFlowService.setLoginError(C.NO_ERROR),this.authenticationSucceeded.emit
387()}async sendOtpRequest(){this.loading.set(!0);let e={userName:this.loginForm.get("email")?.value,forSms:!1};try{let n=await ze(this.authenticationService.sendOtpLoginRequest(e)),i=Lt(n);this.loginFlowService.setLoginError(i),i===C.NO_ERROR&&this.changeLoginStep(Q.AUTH_APP_CODE)}finally{this.loading.set(!1)}}async authenticateUserWithOtpByAuthApp(e){this.loading.set(!0);let n={userName:this.loginForm.get("email")?.value,token:e,keepMeLoggedInDuration:this.loginForm.get("keepMeLoggedInDuration")?.value,validateOtpReason:Ht.Login,forSms:this.loginStep()===Q.SMS_CODE};try{let i=await ze(this.authenticationService.authenticateUserWithOtp(n)),o=Yt(i);this.loginFlowService.setLoginError(o),o===C.NO_ERROR&&this.onAuthenticationSucceeded()}finally{this.loading.set(!1)}}changeLoginStep(e){this.loginFlowService.setNextStep(e)}async goToSmsOtpPage(){this.smsStepLoading.set(!0);try{let e=this.loginForm.get("email")?.value;try{let o=await ze(this.authenticationService.getPhoneLastNumbers({userName:e}));this.phoneLastNumbers.set(o.phoneLastNumbers)}catch(o){if(o instanceof _n&&o.status===Cn.NotFound){this.loginFlowService.setLoginError(C.NO_PHONE_NUMBER),this.loginFlowService.setNextStep(Q.SMS_CODE);return}throw o}let n=await ze(this.authenticationService.sendSmsForLoginRequest({userName:e,forSms:!0})),i=Lt(n);this.loginFlowService.setLoginError(i),i===C.NO_ERROR&&this.changeLoginStep(Q.SMS_CODE)}finally{this.smsStepLoading.set(!1)}}initLoginForm(){this.loginForm=this.fb.group({email:[this.emailPrefilled()?this.emailPrefilled():"",[Wt.required("Sorry, we hebben echt je email nodig."),Wt.pattern(In,"Kijk nog even. Dit e-mailadres lijkt niet correct.")]],keepMeLoggedInDuration:this.fb.control($e.OneYear)})}setLoginError(e){this.loginFlowService.setLoginError(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-inloggen"]],inputs:{socialLoginUrlsRequest:[1,"socialLoginUrlsRequest"],emailPrefilled:[1,"emailPrefilled"],showTitle:[1,"showTitle"],enableNieuweKlant:[1,"enableNieuweKlant"],showSocialLoginBlock:[1,"showSocialLoginBlock"],buttonText:[1,"buttonText"],newSocialIcons:[1,"newSocialIcons"]},outputs:{authenticationSucceeded:"authenticationSucceeded"},decls:3,vars:1,consts:[[3,"errorStatus","newSocialIcons","loginForm","showTitle","isAccountCreationEnabled","showSocialLoginBlock","submitButtonText","socialLoginUrlsRequest","loading"],[3,"email","loginError","loginLoading","smsStepLoading"],[3,"phoneLastNumbers","loginError","loginLoading"],[3,"submitForm","errorStatus","newSocialIcons","loginForm","showTitle","isAccountCreationEnabled","showSocialLoginBlock","submitButtonText","socialLoginUrlsRequest","loading"],[3,"requestOtpBySms","codeEntered","setLoginError","backToAccountSelection","email","loginError","loginLoading","smsStepLoading"],[3,"codeEntered","setLoginError","phoneLastNumbers","loginError","loginLoading"]],template:function(n,i){if(n&1&&k(0,Lr,1,9,"ind-passwordless-login",0)(1,Ar,1,4,"ind-email-authentication-code",1)(2,Nr,1,3,"ind-sms-authentication-code",2),n&2){let o;M((o=i.loginStep())===i.loginStepEnum.ACCOUNT_SELECTION?0:o===i.loginStepEnum.AUTH_APP_CODE?1:o===i.loginStepEnum.SMS_CODE?2:-1)}},dependencies:[Dt,$t,Qt],encapsulation:2})}}return t})();var Br=new J("recaptcha-language"),Rr=new J("recaptcha-base-url"),Vr=new J("recaptcha-nonce-tag");var Pr=new J("recaptcha-v3-site-key"),Fr=new J("recaptcha-loader-options");function jr(t,p,e,{url:n,lang:i,nonce:o}={}){window.ng2recaptchaloaded=()=>{e(grecaptcha)};let l=document.createElement("script");l.innerHTML="";let{url:v,nonce:Ue}=p(new URL(n||"https://www.google.com/recaptcha/api.js"));v.searchParams.set("render",t==="explicit"?t:t.key),v.searchParams.set("onload","ng2recaptchaloaded"),v.searchParams.set("trustedtypes","true"),i&&v.searchParams.set("hl",i),l.src=v.href;let Zt=Ue||o;Zt&&l.setAttribute("nonce",Zt),l.async=!0,l.defer=!0,document.head.appendChild(l)}function Ur({v3SiteKey:t,onBeforeLoad:p,onLoaded:e}){let n=t?{key:t}:"explicit";gi.loadScript(n,p,e)}var gi={loadScript:jr,newLoadScript:Ur};function zr(t){return t.asObservable().pipe(en(p=>p!==null))}var Hr=(()=>{class t{static{this.ready=null}constructor(e,n,i,o,l,v){this.platformId=e,this.language=n,this.baseUrl=i,this.nonce=o,this.v3SiteKey=l,this.options=v;let Ue=this.init();this.ready=Ue?zr(Ue):Qe()}init(){if(t.ready)return t.ready;if(!fn(this.platformId))return;let e=new Xt(null);return t.ready=e,gi.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:n=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(n);let i=new URL(this.baseUrl??n);return this.language&&i.searchParams.set("hl",this.language),{url:i,nonce:this.nonce}},onLoaded:n=>{let i=n;this.options?.onLoaded&&(i=this.options.onLoaded(n)),e.next(i)}}),e}static{this.\u0275fac=function(n){return new(n||t)(ee(rn),ee(Br,8),ee(Rr,8),ee(Vr,8),ee(Pr,8),ee(Fr,8))}}static{this.\u0275prov=V({token:t,factory:t.\u0275fac})}}return t})();var hi=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=le({type:t})}static{this.\u0275inj=ae({})}}return t})(),fi=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=le({type:t})}static{this.\u0275inj=ae({providers:[Hr],imports:[hi]})}}return t})();var _i=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=le({type:t})}static{this.\u0275inj=ae({imports:[De,hi]})}}return t})();var Wr=["*"];function qr(t,p){if(t&1){let e=x();d(0,"ind-input-item",3)(1,"input-item-content")(2,"button",8),f("click",function(){g(e);let i=a();return h(i.helpButtonClick.emit())}),u(3," Problemen met inloggen? "),c()()()}}function Gr(t,p){if(t&1){let e=x();d(0,"ind-input-item",3)(1,"input-item-content")(2,"button",9),f("click",function(){g(e);let i=a();return h(i.backToAccountSelectionAction())}),u(3," Inloggen met ander account "),c()()()}}var Ci=(()=>{class t{constructor(){this.destroyRef=_(Ye),this.cd=_(he),this.header=m.required(),this.shouldDisplayBackButton=m(!1),this.shouldDisplayHelpButton=m(!1),this.buttonText=m("Inloggen"),this.errorStatus=m(C.NO_ERROR),this.email=m.required(),this.loading=m(!1),this.isErrorState=z(()=>this.errorStatus()!==C.NO_ERROR),this.helpButtonClick=N(),this.backToAccountSelection=N(),this.codeEntered=N(),this.invalidCodeEntered=N(),this.loginErrorEnum=C,this.authenticationCodeFormControl=new fe("",Fe)}onEnter(e){e.stopImmediatePropagation(),this.continueFlow()}ngOnInit(){this.handleValidStatusForAuthCodeControl()}backToAccountSelectionAction(){this.backToAccountSelection.emit()}continueFlow(){if(this.authenticationCodeFormControl.invalid){this.invalidCodeEntered.emit(this.authenticationCodeFormControl.invalid);return}this.codeEntered.emit(this.authenticationCodeFormControl.value)}handleValidStatusForAuthCodeControl(){this.authenticationCodeFormControl.statusChanges.pipe(pt(this.destroyRef)).subscribe(()=>{this.cd.markForCheck()})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-authentication-code"]],hostBindings:function(n,i){n&1&&f("keydown.enter",function(l){return i.onEnter(l)})},inputs:{header:[1,"header"],shouldDisplayBackButton:[1,"shouldDisplayBackButton"],shouldDisplayHelpButton:[1,"shouldDisplayHelpButton"],buttonText:[1,"buttonText"],errorStatus:[1,"errorStatus"],email:[1,"email"],loading:[1,"loading"]},outputs:{helpButtonClick:"helpButtonClick",backToAccountSelection:"backToAccountSelection",codeEntered:"codeEntered",invali
387dCodeEntered:"invalidCodeEntered"},ngContentSelectors:Wr,decls:18,vars:12,consts:[[1,"mb-24"],[3,"loginError","message"],["data-testid","controle-code",1,"mt-24"],["hideValidation",""],[3,"formControl","size","invalid"],[3,"loginError"],[1,"mt-24","gap-8"],["type","button","indBtn","","ue","doorgaan","data-testid","submit-authentication-code",1,"btn-full-width",3,"click","cta","loading"],["type","button","indBtn","","ue","problemen-met-inloggen",1,"btn-full-width","btn-wire-purple",3,"click"],["type","button","indBtn","","ue","inloggen-met-ander-account",1,"btn-full-width","btn-wire-purple",3,"click"]],template:function(n,i){n&1&&(ue(),d(0,"h3",0),u(1),c(),me(2),E(3,"ind-notification-error",1),d(4,"ind-input-group",2)(5,"ind-input-item",3)(6,"input-item-label"),u(7,"Code"),c(),d(8,"input-item-content"),E(9,"ind-authentication-code-input",4),j(),c()()(),E(10,"ind-login-error",5),d(11,"ind-input-group",6)(12,"ind-input-item",3)(13,"input-item-content")(14,"button",7),f("click",function(){return i.continueFlow()}),u(15),c()()(),k(16,qr,4,0,"ind-input-item",3),k(17,Gr,4,0,"ind-input-item",3),c()),n&2&&(s(),ne(i.header()),s(2),r("loginError",i.errorStatus())("message",`We hebben zojuist de eenmalige code verzonden naar <strong>${i.email()}</strong>, controleer je inbox`),s(6),r("formControl",i.authenticationCodeFormControl)("size",6)("invalid",i.isErrorState()),U(),s(),r("loginError",i.errorStatus()),s(4),r("cta",!0)("loading",i.loading()),s(),Y(" ",i.buttonText()," "),s(),M(i.shouldDisplayHelpButton()?16:-1),s(),M(i.shouldDisplayBackButton()?17:-1))},dependencies:[G,K,F,B,ve,P,q,_e,ie,$,re,Pe],encapsulation:2})}}return t})();function Kr(t,p){if(t&1){let e=x();d(0,"ind-inloggen",2),f("authenticationSucceeded",function(){g(e);let i=a();return h(i.handleSuccessfulAuthentication())}),c()}if(t&2){let e=a();r("showTitle",!1)("enableNieuweKlant",!1)("socialLoginUrlsRequest",e.socialLoginUrlsRequest)("emailPrefilled",e.emailPrefilled)}}function $r(t,p){t&1&&E(0,"ind-maintenance")}var vi=(()=>{class t{constructor(){this.window=_(R),this.modalRef=_(Dn),this.internalService=_(Le),this.featureToggleService=_(Se),this.isLoginEnabled=!1}handleSuccessfulAuthentication(){this.modalRef.close(!0),this.window.location.reload()}ngOnInit(){this.checkIsLoginEnabled();let e=this.window.location.href.split(this.window.location.hostname)[1],n={onSuccess:e,onFailure:e};this.socialLoginUrlsRequest={socialLoginPurpose:Kt.AuthenticationFromInloggenPopup,returnUrls:n}}checkIsLoginEnabled(){this.isLoginEnabled=!this.featureToggleService.isEnabled("MyIndepender.OnlyInternalAccess")||this.internalService.isInternal}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-inloggen-popup"]],decls:5,vars:1,consts:[["data-testid","login-popup"],[3,"showTitle","enableNieuweKlant","socialLoginUrlsRequest","emailPrefilled"],[3,"authenticationSucceeded","showTitle","enableNieuweKlant","socialLoginUrlsRequest","emailPrefilled"]],template:function(n,i){n&1&&(d(0,"ind-dialog-header",0),u(1,"Inloggen"),c(),d(2,"ind-dialog-content"),k(3,Kr,1,4,"ind-inloggen",1)(4,$r,1,0,"ind-maintenance"),c()),n&2&&(s(3),M(i.isLoginEnabled?3:4))},dependencies:[Ct,vt,At,Zn],styles:["ind-dialog-content[_ngcontent-%COMP%]{width:400px}"]})}}return t})();var Nt=(()=>{class t{constructor(){this.window=_(R),this.formBuilder=_(Me),this.authenticationService=_(X),this.selectedOption=m(),this.loading=S(!1),this.logoutOptionEnum=We}ngOnInit(){this.logoutFormModel=this.formBuilder.group({logoutOption:new fe(this.selectedOption()||We.Standard,{nonNullable:!0})})}async onSubmit(){this.loading.set(!0),await this.authenticationService.logout(this.logoutFormModel.get("logoutOption")?.value),this.window.sessionStorage.removeItem("nextStepDashboard"),this.loading.set(!1),this.window.location.reload()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-logout"]],inputs:{selectedOption:[1,"selectedOption"]},decls:16,vars:6,consts:[["indForm","",3,"ngSubmit","formGroup"],[1,"mb-8"],[1,"mb-32"],[1,"mb-16"],["formControlName","logoutOption","ue","logoutOption",3,"ueType"],["data-testid","standard-logout",1,"me-16",3,"value"],["data-testid","from-all-devices",3,"value"],[1,"divi
387der","my-16"],["indBtn","","ue","logout","type","submit",1,"btn-full-width",3,"cta","loading"]],template:function(n,i){n&1&&(d(0,"form",0),f("ngSubmit",function(){return i.onSubmit()}),d(1,"ind-input-group")(2,"ind-input-item",1)(3,"input-item-content")(4,"div",2),u(5," Weet je zeker dat je wilt uitloggen? Als je blijft ingelogd kun je onder andere sneller nieuwe vergelijkingen maken doordat wij de bij ons bekende gegevens al voor je invullen. "),c(),d(6,"h4",3),u(7,"Waar wil je uitloggen?"),c(),d(8,"ind-radios",4)(9,"ind-radio",5),u(10,"Alleen op dit apparaat"),c(),d(11,"ind-radio",6),u(12,"Op al mijn apparaten "),c()(),j(),c()()(),E(13,"div",7),d(14,"button",8),u(15,"Uitloggen"),c()()),n&2&&(r("formGroup",i.logoutFormModel),s(8),r("ueType",i.logoutOptionEnum),U(),s(),r("value",i.logoutOptionEnum.Standard),s(2),r("value",i.logoutOptionEnum.FromAllDevices),s(3),r("cta",!0)("loading",i.loading()))},dependencies:[ft,P,mt,q,dt,ut,gt,G,$,K,F,B,An,Nn,ht],encapsulation:2})}}return t})();var rd=(()=>{class t{constructor(){this.selectedOption=S(We.Standard)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-logout-popup"]],standalone:!1,decls:4,vars:1,consts:[[1,"content"],[3,"selectedOption"]],template:function(n,i){n&1&&(d(0,"ind-dialog-header"),u(1,"Uitloggen"),c(),d(2,"ind-dialog-content",0),E(3,"ind-logout",1),c()),n&2&&(s(3),r("selectedOption",i.selectedOption()))},dependencies:[vt,Ct,Nt],encapsulation:2})}}return t})();function Yr(t,p){if(t&1){let e=x();d(0,"a",8),f("click",function(){g(e);let i=a();return h(i.changeLoginStep.emit(i.loginStepEnum.SMS_CODE))})("keydown.enter",function(){g(e);let i=a();return h(i.changeLoginStep.emit(i.loginStepEnum.SMS_CODE))}),d(1,"div",9)(2,"span"),u(3,"Toegangscode via sms"),c(),d(4,"span",10),u(5),c()()()}if(t&2){let e=p;s(5),Y("Je ontvang deze op \u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022",e.substring(e.length-2))}}var bi=(()=>{class t{constructor(){this.userPhoneNumber=m(),this.changeLoginStep=N(),this.backButtonClick=N(),this.loginStepEnum=Q,this.notification={text:"Heb je de controle-code niet ontvangen via de e-mail? Controleer of code in spam-map terecht is komen. Gebruik je de authenticator app? Dan staat je toegangscode daarin.",styles:{container:"background-color: #EBFFFB; color: black;"}}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=y({type:t,selectors:[["ind-otp-code-source-selection"]],inputs:{userPhoneNumber:[1,"userPhoneNumber"]},outputs:{changeLoginStep:"changeLoginStep",backButtonClick:"backButtonClick"},decls:12,vars:2,consts:[[1,"mb-24"],[3,"config"],[1,"d-flex","flex-column","text-purple","font-weight-semibold","mt-16"],["tabindex","0",1,"if-generic--phone-outline","d-flex","option"],["tabindex","0",1,"if-generic--email-outline","option",3,"click","keydown.enter"],["ue","klantenservice","target","_blank","href","/algemeen/info/klantenservice.aspx",1,"d-flex","align-items-baseline","option"],[1,"if-generic--circle-questionmark--wire"],["tabindex","0",1,"if-generic--arrow-left","option",3,"click","keydown.enter"],["tabindex","0",1,"if-generic--phone-outline","d-flex","option",3,"click","keydown.enter"],[1,"d-flex","flex-column"],[1,"text-grey-dark"]],template:function(n,i){if(n&1&&(d(0,"h3",0),u(1,"Hoe wil je inloggen?"),c(),E(2,"ind-notification-bar",1),d(3,"div",2),k(4,Yr,6,1,"a",3),d(5,"a",4),f("click",function(){return i.changeLoginStep.emit(i.loginStepEnum.AUTH_APP_CODE)})("keydown.enter",function(){return i.changeLoginStep.emit(i.loginStepEnum.AUTH_APP_CODE)}),u(6," Toegangscode via e-mail "),c(),d(7,"a",5),E(8,"p",6),u(9," Contact opnemen met klantenservice "),c(),d(10,"a",7),f("click",function(){return i.backButtonClick.emit()})("keydown.enter",function(){return i.backButtonClick.emit()}),u(11,"Terug"),c()()),n&2){let o;s(2),r("config",i.notification),s(2),M((o=i.userPhoneNumber())?4:-1,o)}},dependencies:[Rn,B],styles:[`.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}ind-otp-code-source-selection .option{text-decoration:none;padding:8px 0}ind-otp-code-source-selection [class^=if-generic--]:before{font-size:20px;padding-right:8px;vertical-align:-15%}
388`],encapsulation:2})}}return t})();var Hd=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=le({type:t})}static{this.\u0275inj=ae({providers:[we],imports:[ke,P,Mn,Bn,On,Ln,wn,De,fi,_i,bi,At,vi,Ci,ve,Dt,Nt]})}}return t})();export{Ei as a,Kt as b,we as c,Zn as d,Ge as e,je as f,pi as g,ui as h,At as i,vi as j,rd as k,Hd as l};

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.