PageSourceSearch

https://verzekerdbijhema.nl/src_app_salesfunnel_pages_car_car-insu…car-insurance_module_ts.d56e40a36075bd6d.js

js verzekerdbijhema.nl collected 2026-10-07 14:51:15 UTC 71,736 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkverzekerdbijhema_app=self.webpackChunkverzekerdbijhema_app||[]).push([["src_app_salesfunnel_pages_car_car-insurance_car-insurance_module_ts"],{15415:(U,b,i)=>{i.r(b),i.d(b,{CarInsuranceModule:()=>kn});var d=i(23705),x=i(23105),C=i(54362),O=i(30980),g=i(54585),y=i(37386),m=i(53464),w=i(69891),c=i(2376),_=i(52572),f=i(37398),P=i(32181),T=i(27921),D=i(83620),S=i(93997),e=i(65879);let F=(()=>{class t{onValueChanges$(n,r){const o=[n.pipe((0,f.U)(l=>l?l.license_plate:null),(0,P.h)(l=>!!l)),r.pipe((0,T.O)(null))];return(0,_.a)(o).pipe((0,D.b)(100),(0,S.x)(),(0,f.U)(([l,u])=>({licensePlate:l,noClaimsYearsAmount:u})))}static#e=this.\u0275fac=function(r){return new(r||t)};static#n=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ge=i(52022),I=i(31662),_e=i(52393),v=i(43598),j=i(47394),Y=i(84221),J=i(80147),s=i(56223),E=i(27080);class Z{static preSubmit(a,n){const{vehicle:r,...o}=a.insurance,l=a.customer||{};if(n&&(l.postal_code=n.residential_address.postal_code,l.family_composition_code=n.family_composition.family_composition_code,l.birthdate=n.birthdate),"J"===o.non_regular_driver_transfer_indication){const{relation_code:p,non_regular_driver:M,...R}=o;return{insurance:{...R,...r,non_regular_driver:null,relation_code:null},customer:l}}return["PRTR","KIND"].includes(o.relation_code)?{insurance:{...o,...r},customer:l}:{insurance:{...{...o,non_regular_driver:null},...r},customer:l}}static prePatch([a,n],r){let o={license_plate:null,license_plate_unknown:!1,build_month:null,build_year:null,brand_id:null,model_id:null,style_trim_id:null};a&&(a.license_plate?o={...o,license_plate:a.license_plate,license_plate_unknown:!1,style_trim_id:a.style_trim_id}:(a.build_month||a.license_plate_unknown)&&(o={...o,license_plate_unknown:!0,build_month:a.build_month,build_year:a.build_year,brand_id:a.brand_id,model_id:a.model_id,style_trim_id:a.style_trim_id}));const l={insurance:{vehicle:o},customer:{}};return a.no_claims_years_amount&&(l.insurance.no_claims_years_amount=a.no_claims_years_amount),a.mileage_auto&&(l.insurance.mileage_auto=a.mileage_auto),a.relation_code&&(l.insurance.relation_code=a.relation_code),l.insurance.non_regular_driver=a.non_regular_driver?a.non_regular_driver:{birthdate:null},a.non_regular_driver_transfer_indication&&(l.insurance.non_regular_driver_transfer_indication=a.non_regular_driver_transfer_indication),r?(n.postal_code&&(l.customer.postal_code=r.residential_address.postal_code),n.family_composition_code&&(l.customer.family_composition_code=r.family_composition.family_composition_code),n.birthdate&&(l.customer.birthdate=r.birthdate)):(n.postal_code&&(l.customer.postal_code=n.postal_code),n.family_composition_code&&(l.customer.family_composition_code=n.family_composition_code),n.birthdate&&(l.customer.birthdate=n.birthdate)),l}static prePatchDriverForCarReplacement(a,n){return{...this.prePatchDriver(a),...this.prepareUserValues(n)}}static prePatchDriver(a){return a?{insurance:{relation_code:a.relation_code||"IKZE",non_regular_driver:{birthdate:a.non_regular_driver?a.non_regular_driver.birthdate:""}}}:{}}static prepareUserValues(a){return a?{customer:{birthdate:a.birthdate,postal_code:a.residential_address?.postal_code,family_composition_code:a.family_composition?.family_composition_code}}:{}}static prepatchVehicle([a,n]){return a.license_plate?{insurance:{vehicle:{license_plate:a.license_plate,license_plate_unknown:!1,build_month:null,build_year:null,brand_id:null,model_id:null,style_trim_id:`${a.style_trim_id}`}}}:a.build_month?{insurance:{vehicle:{license_plate:null,license_plate_unknown:!0,build_month:a.build_month,build_year:a.build_year,brand_id:a.brand_id,model_id:a.model_id,style_trim_id:`${a.style_trim_id}`}}}:null}}var pe=i(38863),h=i(96814),$=i(6606),A=i(86300),Q=i(87640),fe=i(79360);const{isArray:he}=Array;var ve=i(57537),V=i(79940),be=i(9666);var Oe=i(22096);let L=(()=>{class t{constructor(n){this.collectiviteitService=n,this.noClaimsYearsAmounts$=(0,Oe.of)(Array.from({length:51},(r,o)=>({value:o,content:`${o}`}))),this.hasCollectivity$=this.collectiviteitService.hasCollectivity$}addCollectivityData(n){return this.hasCollectivity$&&(n.partner_component_code=n.partner_component_code,n.external_reference_id=n.external_reference_id),n}static#e=this.\u0275fac=function(r){return new(r||t)(e.LFG(J.D))};static#n=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ye=i(75101);const Pe=["*"];let Me=(()=>{class t{constructor(n,r,o,l,u,p){this.salesfunnelStore=n,this.calculationService=r,this.carInsuranceService=o,this.vehicleReplaceService=l,this.router=u,this.authenticationDataService=p,this.errors$=this.calculationService.n
1otifications$.pipe(function xe(...t){const a=(0,V.yG)(t),n=(0,V._6)(t,1/0);return t=function Ce(t){return 1===t.length&&he(t[0])?t[0]:t}(t),(0,fe.e)((r,o)=>{(0,ve.J)(n)((0,be.D)([r,...t],a)).subscribe(o)})}(this.calculationService.errors$)),this.claimsYears$=this.carInsuranceService.noClaimsYearsAmounts$,this.subscriptions=new j.w0,this.salesfunnelStore.dispatch(new Q.Yv)}ngOnInit(){this.subscriptions.add(this.authenticationDataService.isLoggedIn$().subscribe(n=>this.authenticated=n))}ngOnDestroy(){this.subscriptions.unsubscribe()}vehicleValuesChanged(n){this.vehicleReplaceService.vehicleReplaceValues$.next(n)}calculatePremium({insurance:n,customer:r}){this.carInsuranceService.addCollectivityData(n),this.calculationService.calculate$({url:"en-gb/insurance-coverage/calculate/coverage-premium-auto",data:{insurance:n,customer:r,authenticated:this.authenticated},mapper:$.Y}).subscribe({next:()=>this.router.navigateByUrl(`/${A.X.CarInsurance}/${A.X.CalculateCarInsurance}/${A.X.InsuranceCoverage}`)})}static#e=this.\u0275fac=function(r){return new(r||t)(e.Y36(Y.yh),e.Y36(v.HYc),e.Y36(L),e.Y36(ye.e),e.Y36(I.F0),e.Y36(v.dc$))};static#n=this.\u0275cmp=e.Xpm({type:t,selectors:[["sf-car-details-container"]],exportAs:["carDetailsContainer"],ngContentSelectors:Pe,decls:1,vars:0,template:function(r,o){1&r&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return t})();var z=i(99720),N=i(40772),B=i(78645),H=i(60932),q=i(94664),G=i(48180),K=i(99397),X=i(41789),W=i(29472),we=i(5284),Ze=i(98368),ee=i(61889),ne=i(86539),Ae=i(83665),te=i(73006),oe=i(40485),Te=i(43840),Ie=i(50641),re=i(3301),je=i(83267),ae=i(32600),Re=i(71693),ie=i(20875),le=i(51297),se=i(55987),ce=i(66463);function Ue(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Vul je je soort vestiging nog even in? "),e.qZA())}function Ye(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Vul je je personeelsnummer nog even in? "),e.qZA())}function De(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Helaas! Deze informatie klopt niet. Wij herkennen je personeelsnummer niet. Controleer je het nog een keer? je vindt het nummer op je loonstrook. "),e.qZA())}function Se(t,a){if(1&t&&(e.ynx(0),e.YNc(1,Ye,2,0,"cyno-error",4),e.YNc(2,De,2,0,"cyno-error",4),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.externalReferenceId.touched&&n.externalReferenceId.hasError("required")),e.xp6(1),e.Q6J("ngIf",n.externalReferenceId.touched&&n.externalReferenceId.hasError("invalidCollectivityNumber"))}}const me=function(t,a,n){return{"has-error":t,"has-success":a,"is-pending":n}};function Ne(t,a){if(1&t&&(e.ynx(0),e.TgZ(1,"div",41)(2,"h3"),e._uU(3,"HEMA personeelsgegevens"),e.qZA(),e.TgZ(4,"div",21)(5,"label",42)(6,"div",23),e._uU(7,"soort vestiging"),e.qZA()(),e.TgZ(8,"div",24)(9,"hem-component-code",43)(10,"span",44),e._uU(11,"Kies je soort vestiging"),e.qZA()(),e.YNc(12,Ue,2,0,"cyno-error",4),e.qZA()(),e.TgZ(13,"cyno-field",45)(14,"cyno-label"),e._uU(15,"personeelsnummer"),e.qZA(),e._UZ(16,"input",46),e.YNc(17,Se,3,2,"ng-container",4),e.qZA()(),e.BQk()),2&t){const n=e.oxw();e.xp6(4),e.Q6J("ngClass",e.kEZ(3,me,n.partnerComponentCode.touched&&n.partnerComponentCode.invalid,n.partnerComponentCode.valid,n.partnerComponentCode.pending)),e.xp6(8),e.Q6J("ngIf",n.partnerComponentCode.touched&&n.partnerComponentCode.hasError("required")),e.xp6(5),e.Q6J("ngIf",n.externalReferenceId)}}function ke(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Oeps! Vul je jouw postcode nog even in? "),e.qZA())}function Fe(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Helaas, dit is geen geldige postcode "),e.qZA())}function Je(t,a){1&t&&(e.TgZ(0,"div"),e._uU(1," Dit is het aantal jaren dat je schadevrij hebt gereden, terwijl de autoverzekering op jouw naam stond. Dit staat op het polisblad van jouw huidige autoverzekering. Heb je al een autoverzekering bij Hema? Of recent gehad? Log dan eerst in. Dan vullen wij het voor je in. "),e.qZA())}function Ee(t,a){1&t&&(e.TgZ(0,"div"),e._uU(1," Dit is het aantal jaren dat je schadevrij hebt gereden, terwijl de autoverzekering op jouw naam stond. Dit is op te vragen bij jouw huidige verzekeraar. "),e.qZA())}function $e(t,a){if(1&t&&(e.ynx(0),e.TgZ(1,"option",47),e._uU(2),e.qZA(),e.BQk()),2&t){const n=a.$implicit;e.xp6(1),e.Q6J("value",n.value),e.xp6(1),e.Oqu(n.content)}}function Qe(t,a){1&t&&(e.ynx(0),e._uU(1," Helaas, we verzekeren geen auto's met minder dan -2 schadevrije jaren. Heb je al een autoverzekering bij HEMA? Of recent gehad? "),e.TgZ(2,"a",48),e._uU(3,"Log dan in"),e.qZA(),e._uU(4," , zodat we kunnen zien of wij in jouw geval een uitzondering kunnen maken. "),e.BQk())}function Ve(t,a){1&t&&(e.ynx(0),e._uU(1," Helaas, we verzekeren geen auto's met minder dan -2 schadevrije jaren. "),e.BQk())}function Le(t,a){if(1&t&&(e.TgZ(0,"cyno-error"),e.YNc(1,Qe,5,0,"ng-container",4),e.YNc(2,Ve,2,0,"ng-container",4),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",!n.relation),e.xp6(1),e.Q6J("ngIf",n.relation)}}function ze(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Oeps! Geef je nog even aan hoeveel scha
1devrije jaren je hebt? "),e.qZA())}function Be(t,a){if(1&t){const n=e.EpF();e.TgZ(0,"sf-claims-years-calculator-container",49),e.NdJ("close",function(){e.CHM(n);const o=e.oxw();return e.KtG(o.toggleClaimsYearsCalculator())})("changed",function(o){e.CHM(n);const l=e.oxw();return e.KtG(l.claimsYearsCalculatorChanged(o))}),e.qZA()}}function He(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Oeps! Geef je nog even aan hoeveel kilometers je per jaar rijdt? "),e.qZA())}function qe(t,a){1&t&&(e.ynx(0),e._uU(1,"1 volwassene"),e.BQk())}function Ge(t,a){1&t&&(e.ynx(0),e._uU(1,"1 volwassene + kind(eren)"),e.BQk())}function Ke(t,a){1&t&&(e.ynx(0),e._uU(1,"2 volwassenen"),e.BQk())}function Xe(t,a){1&t&&(e.ynx(0),e._uU(1,"2 volwassenen + kind(eren)"),e.BQk())}function We(t,a){1&t&&(e.ynx(0),e._uU(1,"-"),e.BQk())}function en(t,a){if(1&t&&(e.TgZ(0,"option",47),e.ynx(1,50),e.YNc(2,qe,2,0,"ng-container",51),e.YNc(3,Ge,2,0,"ng-container",51),e.YNc(4,Ke,2,0,"ng-container",51),e.YNc(5,Xe,2,0,"ng-container",51),e.YNc(6,We,2,0,"ng-container",52),e.BQk(),e.qZA()),2&t){const n=a.$implicit;e.Q6J("value",n),e.xp6(1),e.Q6J("ngSwitch",n),e.xp6(1),e.Q6J("ngSwitchCase","1ZON"),e.xp6(1),e.Q6J("ngSwitchCase","1MET"),e.xp6(1),e.Q6J("ngSwitchCase","2ZON"),e.xp6(1),e.Q6J("ngSwitchCase","2MET")}}function nn(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Oeps! Geef je nog even aan wat jouw gezinssamenstelling is? "),e.qZA())}function tn(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Sorry! Wij verzekeren alleen mensen van 18 jaar en ouder. Kom je dan weer terug? "),e.qZA())}function on(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Helaas! Deze geboortedatum klopt niet "),e.qZA())}let rn=(()=>{class t{get form(){return this.parentForm.form}get customerForm(){return this.form.get("customer")}get insuranceForm(){return this.form.get("insurance")}get postalCode(){return this.form.get("customer.postal_code")}get familyCompositionCode(){return this.form.get("customer.family_composition_code")}get birthdate(){return this.form.get("customer.birthdate")}get noClaimsYearsAmount(){return this.form.get("insurance.no_claims_years_amount")}get mileageAuto(){return this.form.get("insurance.mileage_auto")}get vehicle(){return this.form.get("insurance.vehicle")}get relationCode(){return this.form.get("insurance.relation_code")}get externalReferenceId(){return this.form.get("insurance.external_reference_id")}get partnerComponentCode(){return this.form.get("insurance.partner_component_code")}constructor(n,r,o,l,u,p){this.hostElement=n,this.salesfunnelScrollService=r,this.scrollService=o,this.changeDetectorRef=l,this.carReplaceService=u,this.parentForm=p,this.errors=[],this.submitted=new e.vpe,this.vehicleValuesChanged=new e.vpe,this.premiumFactorChanged=new e.vpe,this.familyCompositionCodes=["1ZON","1MET","2ZON","2MET"],this.claimsYearsCalculator=!1,this.ngSubmit$=new B.x,this.subscriptions=new j.w0,this.ngSubmitObs$=this.ngSubmit$.pipe((0,H.g)(0),(0,q.w)(()=>this.form.statusChanges.pipe((0,T.O)(this.form.status),(0,P.h)(M=>"PENDING"!==M),(0,G.q)(1),(0,K.b)(()=>this.onSubmit()))))}ngOnInit(){this.setSubscriptions(),this.checkCollectivity()}ngOnChanges(n){n.relation&&(n.relation.currentValue?this.form.get("customer").disable():this.form.get("customer").enable())}ngOnDestroy(){this.subscriptions.unsubscribe()}toggleClaimsYearsCalculator(){return this.claimsYearsCalculator=!this.claimsYearsCalculator,this.claimsYearsCalculator?this.noClaimsYearsAmount.disable():(this.noClaimsYearsAmount.enable(),this.noClaimsYearsAmountValidateTouched()),!1}claimsYearsCalculatorChanged(n){this.noClaimsYearsAmount.patchValue(n)}setSubscriptions(){const n=this.scrollService.scrollToFragment(0,0).subscribe(),r=this.carReplaceService.onValueChanges$(this.vehicle.valueChanges,this.noClaimsYearsAmount.valueChanges).subscribe(l=>this.vehicleValuesChanged.emit(l)),o=this.ngSubmitObs$.subscribe();this.subscriptions.add(n),this.subscriptions.add(r),this.subscriptions.add(o),this.premiumFactorListener(this.form.valueChanges)}noClaimsYearsAmountValidateTouched(){this.noClaimsYearsAmount.value||this.noClaimsYearsAmount.markAsUntouched()}checkCollectivity(){this.collectivity&&(this.externalReferenceId.enable(),this.partnerComponentCode.enable(),this.externalReferenceId.setValidators([s.kI.required]),this.externalReferenceId.updateV
1alueAndValidity(),this.partnerComponentCode.setValidators([s.kI.required]),this.partnerComponentCode.updateValueAndValidity())}premiumFactorListener(n){this.subscriptions.add(n.pipe((0,D.b)(200),(0,S.x)((r,o)=>JSON.stringify(r)===JSON.stringify(o))).subscribe(()=>{const r=Z.preSubmit(this.form.getRawValue());this.premiumFactorChanged.emit(r)}))}onSubmit(){if(this.form.invalid)return this.changeDetectorRef.markForCheck(),this.form.markAllAsTouched(),void this.salesfunnelScrollService.scrollToError(this.hostElement);const n=Z.preSubmit(this.form.getRawValue());this.submitted.emit(n)}static#e=this.\u0275fac=function(r){return new(r||t)(e.Y36(e.SBq),e.Y36(X.o),e.Y36(W.a),e.Y36(e.sBO),e.Y36(F),e.Y36(s.sg))};static#n=this.\u0275cmp=e.Xpm({type:t,selectors:[["sf-car-details"]],viewQuery:function(r,o){if(1&r&&(e.Gf(z.J,7),e.Gf(N.o,7)),2&r){let l;e.iGM(l=e.CRH())&&(o.nonRegularDriver=l.first),e.iGM(l=e.CRH())&&(o.vehicleForm=l.first)}},inputs:{errors:"errors",relation:"relation",claimsYears:"claimsYears",collectivity:"collectivity"},outputs:{submitted:"submitted",vehicleValuesChanged:"vehicleValuesChanged",premiumFactorChanged:"premiumFactorChanged"},features:[e._Bn([],[{provide:s.gN,useExisting:s.sg}]),e.TTD],decls:91,vars:41,consts:[["novalidate","",3,"formGroup","ngSubmit"],["id","car","formGroupName","insurance",1,"salesfunnel-step"],["vehicleFormContainer","vehicleFormContainer"],["productId","AUTO","placeholder","AB-CD-EF",3,"years","brands","models","styles","vehicle","errors","resetUnknownLicensePlate"],[4,"ngIf"],["id","driver",1,"salesfunnel-step"],["formGroupName","customer"],[3,"visible"],["href","/polismap/persoonsgegevens#/woonadres/wijzigen","target","_blank"],["formControlName","postal_code","id","postal_code","placeholder","1234AB"],["name","postal_code"],["formGroupName","insurance"],[4,"ngIf","ngIfElse"],["isCurrentUser",""],["cynoSelect","","formControlName","no_claims_years_amount","e2e","no_claims_years_amount","aria-label","claims years"],["disabled","","value","","selected","selected"],["value","-5"],["value","-2"],["value","-1"],[4,"ngFor","ngForOf"],["productId","AUTO",3,"close","changed",4,"ngIf"],["formGroupName","insurance","e2e","mileage",1,"form-group",3,"ngClass"],["for","mileage_auto",1,"control-label"],[1,"control-label__inner"],[1,"control-input"],["formControlName","mileage_auto"],["selectbox-element-placeholder",""],["href","/polismap/persoonsgegevens","target","_blank"],["cynoSelect","","formControlName","family_composition_code","e2e","family_composition_code","aria-label","family composition code"],[3,"value",4,"ngFor","ngForOf"],[1,"control-input__subtext"],[3,"relation"],["formGroupName","customer",1,"form-group"],["id","birthdate","e2e","birthdate","placeholder","dd-mm-jjjj","formControlName","birthdate"],[1,"alert","alert--information"],["name","customer_birthdate"],[3,"errors"],[1,"salesfunnel-buttons"],[1,"salesfunnel-buttons__left"],[1,"salesfunnel-buttons__right"],["e2eLabel","step_submit"],["id","collectivity",1,"salesfunnel-step"],["for","partner_component_code",1,"control-label"],["formControlName","partner_component_code"],["component-code-placeholder",""],["formGroupName","insurance",1,"form-group"],["cynoInput","","type","text","id","external_reference_id","e2e","external_reference_id","name","external_reference_id","formControlName","external_reference_id"],[3,"value"],["routerLink","/inloggen","title","Login"],["productId","AUTO",3,"close","changed"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(r,o){if(1&r){const l=e.EpF();e.TgZ(0,"h1"),e._uU(1,"bereken je premie"),e.qZA(),e.TgZ(2,"form",0),e.NdJ("ngSubmit",function(){return o.ngSubmit$.next()}),e.TgZ(3,"div",1)(4,"h3"),e._uU(5,"je auto"),e.qZA(),e.TgZ(6,"sf-vehicle-form-container",null,2)(8,"sf-vehicle-form",3),e.NdJ("resetUnknownLicensePlate",function(){e.CHM(l);const p=e.MAs(7);return e.KtG(p.onResetUnknownLicensePlate())}),e.ALo(9,"async"),e.ALo(10,"async"),e.ALo(11,"async"),e.ALo(12,"async"),e.ALo(13,"async"),e.qZA()()(),e.YNc(14,Ne,18,7,"ng-container",4),e.TgZ(15,"div",5)(16,"h3"),e._uU(17,"je gegevens"),e.qZA(),e.TgZ(18,"cyno-field",6)(19,"cyno-label"),e._uU(20,"postcode"),e.qZA(),e.TgZ(21,"cyno-info",7),e._uU(22," Dit zijn jouw gegevens zoals ze bij ons bekend zijn. Klopt er iets niet? Dan kun je dat veranderen bij de Persoonlijke gegevens in "),e.TgZ(23,"a",8),e._uU(24," jouw digitale Verzekeringsmap "),e.qZA(),e._uU(25," . "),e.qZA(),e._UZ(26,"cyno-postcode",9),e.YNc(27,ke,2,0,"cyno-error",4),e.YNc(28,Fe,2,0,"cyno-error",4),e._UZ(29,"sf-element-validate-errors-container",10),e.qZA(),e.TgZ(30,"cyno-field",11)(31,"cyno-label"),e._uU(32,"aantal schadevrije jaren"),e.qZA(),e.TgZ(33,"cyno-info"),e.YNc(34,Je,2,0,"div",12),e.YNc(35,Ee,2,0,"ng-template",null,13,e.W1O),e.qZA(),e.TgZ(37,"select",14)(38,"option",15),e._uU(39,"Kies jouw schadevrije jaren"),e.qZA(),e.TgZ(40,"option",16),e._uU(41,"Minder dan -2"),e.qZA(),e.TgZ(42,"option",17),e._uU(43,"-2"),e.qZA(),e.TgZ(44,"option",18),e._uU(45,"-1"),e.qZA(),e.YNc(46,$e,3,2,"ng-container",19),e.qZA(),e.YNc(47,Le,3,2,"cyno-error",4),e.YNc(48,ze,2,0,"cyno-error",4),e.qZA(),e.YNc(49,Be,1,0,"sf-claims-years-calculator-container",20),e.TgZ(50,"div",21)(51,"label",22)(52,"div",23),e._uU(53,"aantal kilometers per jaar"),e.qZA()(),e.TgZ(54,"div",24)(55,"hem-selectbox-element",25)(56,"span",26),e._uU(57,"kies de kilometers per jaar"),e.qZA()(),e.YNc(58,He,2,0,"cyno-error",4),e.qZA()(),e.TgZ(59,"cyno-field",6)(60,"cyno-label"),e._uU(61,"gezinssamenstelling"),e.qZA(),e.TgZ(62,"cyno-info",7),e._uU(63," Dit zijn jouw gegevens zoals ze bij ons bekend zijn. Klopt er iets niet? Dan kun je dat veranderen bij de Persoonlijke gegevens in "),e.TgZ(64,"a",27),e._uU(65,"jouw digitale polismap"),e.qZA(),e._uU(66," . "),e.qZA(),e.TgZ(67,"select",28)(68,"option",15),e._uU(69,"kies jouw gezinssamenstelling"),e.qZA(),e.YNc(70,en,7,6,"option",29),e.qZA(),e.YNc(71,nn,2,0,"cyno-error",4),e.TgZ(72,"p",30),e._uU(73," De gezinssamenstelling is nodig om de premie van aanvullende verzekeringen te bepalen. "),e.qZA()(),e._UZ(74,"sf-non-regular-driver-container",31),e.TgZ(75,"cyno-field",32)(76,"cyno-label"),e._uU(77,"j
1ouw geboortedatum"),e.qZA(),e._UZ(78,"cyno-birthdate",33),e.TgZ(79,"cyno-info",7)(80,"div",34),e._uU(81," Dit zijn jouw gegevens zoals ze bij ons bekend zijn. Klopt er iets niet? Neem dan contact op met [email protected] "),e.qZA()(),e.YNc(82,tn,2,0,"cyno-error",4),e.YNc(83,on,2,0,"cyno-error",4),e._UZ(84,"sf-element-validate-errors-container",35),e.qZA()(),e._UZ(85,"sf-acceptance-errors",36),e.TgZ(86,"div",37),e._UZ(87,"div",38),e.TgZ(88,"div",39)(89,"sf-cta-button",40),e._uU(90,"bereken je premie"),e.qZA()()()()}if(2&r){const l=e.MAs(7),u=e.MAs(36);e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(6),e.Q6J("years",l.buildYears)("brands",e.lcZ(9,27,l.brands$))("models",e.lcZ(10,29,l.models$))("styles",e.lcZ(11,31,l.styles$))("vehicle",e.lcZ(12,33,l.vehicle$))("errors",e.lcZ(13,35,l.errors$)),e.xp6(6),e.Q6J("ngIf",o.collectivity),e.xp6(7),e.Q6J("visible",o.relation),e.xp6(6),e.Q6J("ngIf",o.postalCode.touched&&o.postalCode.hasError("required")),e.xp6(1),e.Q6J("ngIf",o.postalCode.touched&&o.postalCode.hasError("minlength")),e.xp6(6),e.Q6J("ngIf",!o.relation)("ngIfElse",u),e.xp6(12),e.Q6J("ngForOf",o.claimsYears),e.xp6(1),e.Q6J("ngIf",o.noClaimsYearsAmount.touched&&o.noClaimsYearsAmount.hasError("min")),e.xp6(1),e.Q6J("ngIf",o.noClaimsYearsAmount.touched&&o.noClaimsYearsAmount.hasError("required")),e.xp6(1),e.Q6J("ngIf",o.claimsYearsCalculator),e.xp6(1),e.Q6J("ngClass",e.kEZ(37,me,o.mileageAuto.touched&&o.mileageAuto.invalid,o.mileageAuto.valid,o.mileageAuto.pending)),e.xp6(8),e.Q6J("ngIf",o.mileageAuto.touched&&o.mileageAuto.hasError("required")),e.xp6(4),e.Q6J("visible",o.relation),e.xp6(8),e.Q6J("ngForOf",o.familyCompositionCodes),e.xp6(1),e.Q6J("ngIf",o.familyCompositionCode.touched&&o.familyCompositionCode.hasError("required")),e.xp6(3),e.Q6J("relation",o.relation),e.xp6(5),e.Q6J("visible",o.relation),e.xp6(3),e.Q6J("ngIf",(null==o.birthdate?null:o.birthdate.touched)&&(null==o.birthdate?null:o.birthdate.hasError("invalidAgeMinimum"))),e.xp6(1),e.Q6J("ngIf",(null==o.birthdate?null:o.birthdate.touched)&&(null==o.birthdate?null:o.birthdate.hasError("invalidAgeMaximum"))),e.xp6(2),e.Q6J("errors",o.errors)}},dependencies:[h.mk,h.sg,h.O5,h.RF,h.n9,h.ED,s._Y,s.YN,s.Kr,s.Fj,s.EJ,s.JJ,s.JL,s.sg,s.u,s.x0,I.rH,we.zK,Ze.$,ee.QL,ne.b,Ae.z,te.N,oe.P,Te.z,Ie.h,re.X,je.b,ae.u,N.o,Re.H,ie.$,le.i,se.r,ce.V,h.Ov],styles:['@media (max-width: 767px){h1[_ngcontent-%COMP%]{margin-left:1.6rem}}.salesfunnel[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.salesfunnel[_ngcontent-%COMP%]{margin-left:-2rem;margin-right:-2rem}}@media (max-width: 1199px){.salesfunnel[_ngcontent-%COMP%]{display:block}}@media (min-width: 991px){.salesfunnel[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{max-width:26rem}}.salesfunnel__content[_ngcontent-%COMP%]{flex:auto}@media (min-width: 1200px){.salesfunnel__content[_ngcontent-%COMP%]{margin-right:4rem}}@media (min-width: 1320px){.salesfunnel__content[_ngcontent-%COMP%]{max-width:81.3rem}}@media (max-width: 767px){.salesfunnel__steps[_ngcontent-%COMP%]{padding-top:.8rem;padding-bottom:.8rem}.salesfunnel__steps[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding-left:1.6rem;padding-right:1.6rem}}.salesfunnel__sidebar[_ngcontent-%COMP%]{width:38.7rem;flex-shrink:0}@media (max-width: 1199px){.salesfunnel__sidebar[_ngcontent-%COMP%]{width:100%}}.salesfunnel-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:1.6rem}.salesfunnel-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]:last-child{margin-bottom:0}@media (max-width: 1199px){.salesfunnel-header[_ngcontent-%COMP%]{flex-flow:column}}@media (min-width: 1200px){.salesfunnel-header[_ngcontent-%COMP%]{width:calc(100% - 42.7rem)}}.salesfunnel-header--full[_ngcontent-%COMP%]{width:100%}.salesfunnel-header__content[_ngcontent-%COMP%]{width:100%;margin-bottom:2.4rem;flex:auto}.salesfunnel-header__content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}@media (min-width: 768px){.salesfunnel-header__content[_ngcontent-%COMP%]{margin-right:12rem}}.salesfunnel-header__content--image[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}.salesfunnel-header__content--image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}@media (max-width: 767px){.salesfunnel-header__content--image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none}}@media (min-width: 768px){.salesfunnel-header__content--image[_ngcontent-%COMP%]{flex-direction:row;align-items:center}}@media (min-width: 1200px){.salesfunnel-header__content--image[_ngcontent-%COMP%]{width:100%}}.salesfunnel-header__animation[_ngcontent-%COMP%]{margin-bottom:1.6rem}@media (min-width: 768px){.salesfunnel-header__animation[_ngcontent-%COMP%]{margin-right:4rem;margin-bottom:0}}.salesfunnel-header__left[_ngcontent-%COMP%]{width:100%}.salesfunnel-header__receipt[_ngcontent-%COMP%]{width:42.7rem;flex-shrink:0;align-self:flex-end}.salesfunnel-header__functions[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.salesfunnel-header__functions[_ngcontent-%COMP%]{flex-flow:column}}.salesfunnel-step[_ngcontent-%COMP%]{margin:0 0 3rem;padding:3rem;position:relative;background-color:#5dc5e326}.salesfunnel-step[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{margin-bottom:3.2rem}.salesfunnel-step[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{border:none;height:1px;background-color:#ddd;margin:1.6rem 0 2.4rem}@media (max-width: 767px){.salesfunnel-step[_ngcontent-%COMP%]{padding:1.6rem;margin-bottom:1.6rem}.salesfunnel-step[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{margin-bottom:1.6rem}.salesfunnel-step[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%] + h3[_ngcontent-%COMP%]{margin-left:3.2rem}}.salesfunnel-step--open[_ngcontent-%COMP%]{border-bottom:0;border-radius:0;margin-bottom:0;padding-bottom:0}.salesfunnel-step--open[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:last-child{margin-bottom:0}@media (max-width: 767px){.salesfunnel-step--open[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:last-child{padding-bottom:1.6rem}}@media (max-width: 767px){.salesfunnel-step--open[_ngcontent-%COMP%]{margin-left:1.6rem;margin-right:1.6rem}}.salesfunnel-step--clear[_ngcontent-%COMP%]{margin:0 0 1.6rem;padding:0;position:relative;background-color:transparent}@media (max-width: 767px){.salesfunnel-step--clear[_ngcontent-%COMP%]{padding:1.6rem 1.6rem 0;margin-bottom:0}}.salesfunnel-title-info[_ngcontent-%COMP%]{float:right;clear:right}.salesfunnel-step__stepnumber[_ngcontent-%COMP%]{width:3rem;height:3rem;padding-top:.5rem;position:absolute;
1left:-6.4rem;top:-.6rem;background-color:#e5e3de;border-radius:50%;color:#fff;text-align:center;font-family:HurmeHema-Bold,Arial,sans-serif}.salesfunnel-step__stepnumber[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:1.8rem;fill:#fff}@media (max-width: 767px){.salesfunnel-step__stepnumber[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;padding-top:.2rem;left:-2.9rem;top:-.3rem}}.salesfunnel-step__substep[_ngcontent-%COMP%]{position:relative;margin-top:5.6rem}@media (max-width: 991px){.salesfunnel-step__substep[_ngcontent-%COMP%]{margin-top:3.2rem}}@media (max-width: 991px){.salesfunnel-step__substep--space[_ngcontent-%COMP%]{padding-left:1.6rem}}.salesfunnel-step__group[_ngcontent-%COMP%]{margin-bottom:2rem;padding-bottom:1rem;border-bottom:solid 1px #E5E3DE}.salesfunnel-step__group[_ngcontent-%COMP%]:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.salesfunnel-step__group[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:1.6rem}.salesfunnel-step__title[_ngcontent-%COMP%]{display:flex}.salesfunnel-step__title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:1rem}.salesfunnel-intro[_ngcontent-%COMP%]{position:relative;margin-bottom:3rem;font-weight:700;color:#222}.salesfunnel-intro[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.1rem;margin-bottom:3rem}.salesfunnel-intro[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:0}.salesfunnel-intro[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}@media (max-width: 991px){.salesfunnel-intro[_ngcontent-%COMP%]{margin-left:-1.5rem;margin-right:-1.5rem;padding:3.2rem 1.5rem}.salesfunnel-intro[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{display:block;margin-right:0;margin-bottom:.8rem}}.salesfunnel-coverages-vehicle[_ngcontent-%COMP%]{background-color:#fff;margin:1.6rem -1.5rem 1.6rem -3.2rem}@media (min-width: 768px){.salesfunnel-coverages-vehicle[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:6.5rem}}@media (min-width: 768px){.salesfunnel-content[_ngcontent-%COMP%]{padding:3.2rem}}.salesfunnel-buttons[_ngcontent-%COMP%]{margin-bottom:4rem;display:flex}@media (max-width: 767px){.salesfunnel-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}}.salesfunnel-buttons__left[_ngcontent-%COMP%]{flex:1;padding-top:1.5rem}@media (max-width: 767px){.salesfunnel-buttons__left[_ngcontent-%COMP%]{width:100%}}.salesfunnel-buttons__back[_ngcontent-%COMP%]{font-size:1.1rem;text-decoration:none;color:#9b9b9b}.salesfunnel-buttons__back[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:1rem;fill:#9b9b9b}@media (max-width: 767px){.salesfunnel-buttons__back[_ngcontent-%COMP%]{margin-top:2.5rem;padding:0 1.6rem}}.salesfunnel-buttons__right[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-column-gap:2rem;direction:rtl}@media (max-width: 767px){.salesfunnel-buttons__right[_ngcontent-%COMP%]{grid-template-columns:1fr;padding:0 1.6rem}.salesfunnel-buttons__right[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-bottom:1.6rem}}@media (max-width: 767px){.salesfunnel-buttons__send[_ngcontent-%COMP%]{display:block;margin-bottom:1.6rem}}.salesfunnel-balloon[_ngcontent-%COMP%]{position:relative;padding:3.2rem 8.8rem 3.2rem 2.4rem;border:2px solid #E5E3DE;border-radius:10px;background-color:#fff}.salesfunnel-balloon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}@media (max-width: 767px){.salesfunnel-balloon[_ngcontent-%COMP%]{padding-right:2.4rem}}.salesfunnel-balloon--pull-left[_ngcontent-%COMP%]{margin-left:-8rem}@media (max-width: 991px){.salesfunnel-balloon--pull-left[_ngcontent-%COMP%]{margin-left:-4rem}}.salesfunnel-balloon--image[_ngcontent-%COMP%]{display:flex}@media (max-width: 991px){.salesfunnel-balloon--image[_ngcontent-%COMP%]{padding-top:8rem;margin-top:8rem}}.salesfunnel-balloon__image[_ngcontent-%COMP%]{flex-shrink:0;margin-right:3.2rem}@media (max-width: 991px){.salesfunnel-balloon__image[_ngcontent-%COMP%]{width:14rem;position:absolute;top:-5rem;left:1.6rem}}.salesfunnel-balloon__sticker[_ngcontent-%COMP%]{width:11rem;height:11rem;position:absolute;top:-4rem;right:-2rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:#e5e3de}.salesfunnel-balloon__sticker[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{transform:rotate(5deg);font-size:1.8rem;font-family:HurmeHema-Bold,Arial,sans-serif;color:#fff}@media (max-width: 767px){.salesfunnel-balloon__sticker[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.1rem}}@media (max-width: 1199px){.salesfunnel-balloon__sticker[_ngcontent-%COMP%]{right:-1rem}}@media (max-width: 767px){.salesfunnel-balloon__sticker[_ngcontent-%COMP%]{width:7.5rem;height:7.5rem;top:initial;bottom:-3rem;right:1.6rem}}.salesfunnel-cross-sell[_ngcontent-%COMP%]{padding-bottom:4rem}.salesfunnel-cross-sell[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-left:0}@media (min-width: 768px){.salesfunnel-cross-sell[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-left:3.2rem}}.salesfunnel-cross-sell__content[_ngcontent-%COMP%]{display:block}@media (min-width: 992px){.salesfunnel-cross-sell__content[_ngcontent-%COMP%]{display:flex}}.salesfunnel-cross-sell__item[_ngcontent-%COMP%]{display:block;flex:1;margin-left:0;margin-bottom:2.5rem}@media (min-width: 768px){.salesfunnel-cross-sell__item[_ngcontent-%COMP%]{margin-left:3.2rem}}@media (min-width: 992px){.salesfunnel-cross-sell__item[_ngcontent-%COMP%]{margin-bottom:0}}.salesfunnel-prefilled-data[_ngcontent-%COMP%]{margin-bottom:3.2rem}.salesfunnel-prefilled-data__row[_ngcontent-%COMP%]{margin-bottom:.8rem}.salesfunnel-prefilled-data__data[_ngcontent-%COMP%]{margin-left:.8rem;font-family:HurmeHema-SemiBold,Arial,sans-serif}.salesfunnel-additional-field-info[_ngcontent-%COMP%]{margin-top:1.6rem;padding:1.6rem;position:relative;background:#FFF}.salesfunnel-additional-field-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.salesfunnel-additional-field-info[_ngcontent-%COMP%]:before{content:"";width:0;height:0;position:absolute;top:-.8rem;
1border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #FFF}.salesfunnel-additional-field-info--left[_ngcontent-%COMP%]{max-width:55.2rem}.salesfunnel-additional-field-info--left[_ngcontent-%COMP%]:before{left:13rem}@media (max-width: 767px){.salesfunnel-additional-field-info--left[_ngcontent-%COMP%]:before{left:2.4rem}}.salesfunnel-additional-field-info--right[_ngcontent-%COMP%]{max-width:55.2rem}.salesfunnel-additional-field-info--right[_ngcontent-%COMP%]:before{left:40.4rem}@media (max-width: 767px){.salesfunnel-additional-field-info--right[_ngcontent-%COMP%]:before{left:13.4rem}}.salesfunnel-additional-field-info--highlighted[_ngcontent-%COMP%]{color:#9ac122}.salesfunnel-additional-field-info--solo[_ngcontent-%COMP%]{width:26.8rem}.salesfunnel-additional-field-info--solo[_ngcontent-%COMP%]:before{left:13rem}@media (max-width: 767px){.salesfunnel-additional-field-info--solo[_ngcontent-%COMP%]:before{left:calc(50% - .4rem)}}@media (max-width: 767px){.salesfunnel-additional-field-info--solo[_ngcontent-%COMP%]{width:100%}}']})}return t})();var an=i(98685),ln=i(56756),de=i(85505),sn=i(77442);function cn(t,a){if(1&t&&(e.TgZ(0,"div",6)(1,"div"),e._uU(2,"gezinssamenstelling"),e.qZA(),e.TgZ(3,"div"),e._uU(4),e.qZA()()),2&t){const n=e.oxw();e.xp6(4),e.hij(" ",n.relation.family_composition.family_composition_description," ")}}function mn(t,a){1&t&&(e.ynx(0),e._uU(1," schadevrij jaar "),e.BQk())}function dn(t,a){1&t&&e._uU(0,"schadevrije jaren")}function un(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Oeps! Geef je nog even aan hoeveel kilometers je per jaar rijdt? "),e.qZA())}function gn(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Vul je je soort vestiging nog even in? "),e.qZA())}function _n(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Vul je je personeelsnummer nog even in? "),e.qZA())}function pn(t,a){1&t&&(e.TgZ(0,"cyno-error"),e._uU(1," Helaas! Deze informatie klopt niet. Wij herkennen je personeelsnummer niet. Controleer je het nog een keer? je vindt het nummer op je loonstrook. "),e.qZA())}function fn(t,a){if(1&t&&(e.ynx(0),e.YNc(1,_n,2,0,"cyno-error",19),e.YNc(2,pn,2,0,"cyno-error",19),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.externalReferenceId.touched&&n.externalReferenceId.hasError("required")),e.xp6(1),e.Q6J("ngIf",n.externalReferenceId.touched&&n.externalReferenceId.hasError("invalidCollectivityNumber"))}}const ue=function(t,a,n){return{"has-error":t,"has-success":a,"is-pending":n}};function hn(t,a){if(1&t&&(e.ynx(0),e.TgZ(1,"div",27)(2,"h3"),e._uU(3,"HEMA personeelsgegevens"),e.qZA(),e.TgZ(4,"div",13)(5,"label",28)(6,"div",15),e._uU(7,"soort vestiging"),e.qZA()(),e.TgZ(8,"div",16)(9,"hem-component-code",29)(10,"span",30),e._uU(11,"Kies je soort vestiging"),e.qZA()(),e.YNc(12,gn,2,0,"cyno-error",19),e.qZA()(),e.TgZ(13,"cyno-field",31)(14,"cyno-label"),e._uU(15,"personeelsnummer"),e.qZA(),e._UZ(16,"input",32),e.YNc(17,fn,3,2,"ng-container",19),e.qZA()(),e.BQk()),2&t){const n=e.oxw();e.xp6(4),e.Q6J("ngClass",e.kEZ(3,ue,n.mileageAuto.touched&&n.mileageAuto.invalid,n.mileageAuto.valid,n.mileageAuto.pending)),e.xp6(8),e.Q6J("ngIf",n.partnerComponentCode.touched&&n.partnerComponentCode.hasError("required")),e.xp6(5),e.Q6J("ngIf",n.externalReferenceId)}}function Cn(t,a){1&t&&(e.TgZ(0,"div",53),e._uU(1," Oeps! Geef je nog even aan of dit de bestuurder van de nieuwe auto blijft? "),e.qZA())}function vn(t,a){if(1&t&&(e.TgZ(0,"div",54)(1,"span"),e._uU(2),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(2),e.hij(" Let op: je kunt alleen een auto verzekeren die op jouw naam staat of op naam van jouw partner die op hetzelfde adres woont. ","KIND"===n.purchasedProductReplacement.non_regular_driver.relation_code?"Dit kan niet op naam van jouw kind.":""," ")}}function bn(t,a){if(1&t&&e._UZ(0,"sf-non-regular-driver-container",55),2&t){const n=e.oxw(2);e.Q6J("relation",n.relation)}}const xn=function(t,a){return{"has-success":t,"has-error":a}};function On(t,a){if(1&t&&(e.TgZ(0,"div",33)(1,"h3",34),e.O4$(),e.TgZ(2,"svg",35),e._UZ(3,"path",36),e.qZA(),e._uU(4," bestuurder(s) "),e.qZA(),e.kcU(),e.TgZ(5,"p"),e._uU(6,"Er staat een afwijkende bestuurder geregistreerd bij de verzekering voor jouw oude kenteken."),e.qZA(),e.TgZ(7,"div",37)(8,"div",38)(9,"div",39),e._uU(10," naam "),e.TgZ(11,"span",40),e._uU(12),e.qZA()(),e.TgZ(13,"div",39),e._uU(14," geboortedatum "),e.TgZ(15,"span",40),e._uU(16),e.ALo(17,"dateFormat"),e.qZA()()()(),e.TgZ(18,"div",41)(19,"label",42),e._uU(20," Wil je de bovenstaande bestuurder meenemen naar jouw nieuwe verzekering? "),e.qZA(),e.TgZ(21,"div",43)(22,"div",44)(23,"div",45),e._UZ(24,"input",46),e.TgZ(25,"label",47),e._uU(26," ja, deze bestuurder meenemen "),e.qZA()(),e.TgZ(27,"div",45),e._UZ(28,"input",48),e.TgZ(29,"label",49),e._uU(30," nee, deze bestuurder niet meenemen "),e.qZA()()(),e.YNc(31,Cn,2,0,"div",50),e.qZA(),e.YNc(32,vn,3,1,"div",51),e.qZA(),e.YNc(33,bn,1,1,"sf-non-regular-driver-container",52),e.qZA()),2&t){const n=e.oxw();e.xp6(12),e.lnq(" ",n.purchasedProductReplacement.non_regular_driver.initials," ",n.purchasedProductReplacement.non_regular_driver.middle_name_initials," ",n.purchasedProductReplacement.non_regular_driver.surname," "),e.xp6(4),e.hij(" ",e.lcZ(17,8,n.purchasedProductReplacement.non_regular_driver.birthdate)," "),e.xp6(2),e.Q6J("ngClass",e.WLB(10,xn,n.nonRegularDriverTransferIndication.valid,n.nonRegularDriverTransferIndication.touched&&n.nonRegularDriverTransferIndication.invalid)),e.xp6(13),e.Q6J("ngIf",n.nonRegularDriverTransferIndication.touched&&n.nonRegularDriverTransferIndication.hasError("required")),e.xp6(1),e.Q6J("ngIf","N"!==n.nonRegularDriverTransferIndication.value),e.xp6(1),e.Q6J("ngIf","N"===n.nonRegularDriverTransferIndication.value)}}function yn(t,a){if(1&t&&(e.TgZ(0,"div",56)(1,"h3"),e._uU(2,"bestuurder(s)"),e.qZA(),e._UZ(3,"sf-non-regular-driver-container",55),e.qZA()),2&t){const n=e.oxw();e.xp6(3),e.Q6J("relation",n.relation)}}let Pn=(()=>{class t{get form(){return this.parentForm.form}get insuranceForm(){return this.form.get("insurance")}get customerForm(){return this.form.get("customer")}get familyCompositionCode(){return this.form.get("customer.family_composition_code")}get noClaimsYearsAmount(){return this.form.get("insurance.no_claims_years_amount")}get nonRegularDriverTransferIndication(){return this.form.get("insurance.non_regular_driver_transfer_indication")}get mileageAuto(){return this.form.get("insurance.mileage_auto")}get vehicle(){return this.form.get("insurance.vehicle")}get relationCode(){return this.form.get("insurance.relation_code")}get externalReferenceId(){return this.form.get("insurance.external_reference_id")}get partnerComponentCode(){return this.form.get("insurance.partner_component_code")}constructor(n,r,o,l,u,p,M){this.vehicleService=n,this.elementValidator=r,this.changeDetectorRef=o,this.hostElement=l,this.salesfunnelScrollService=u,this.scrollService=p,this.parentForm=M,this.errors=[],this.prefill=[],this.submitted=new e.vpe,this.premiumFactorChanged=new e.vpe,this.ngSubmit$=new B.x,this.showInfo=!1,this.subscriptions=new j.w0,this.ngSubmitObs$=this.ngSubmit$.pipe((0,H.g)(0),(0,q.w)(()=>this.form.statusChanges.pipe((0,T.O)(this.form.status),(0,P.h)(R=>"PENDING"!==R),(0,G.q)(1),(0,K.b)(()=>this.onSubmit()))))}ngOnInit(){this.setSubscriptions(),this.checkCollectivity()}ngOnDestroy(){this.subscriptions.unsubscribe()}toggleTooltip(n){n.preventDefault(),this.showInfo=!this.showInfo}
1onSubmit(){if(this.form.invalid)return this.form.markAllAsTouched(),this.changeDetectorRef.markForCheck(),void this.salesfunnelScrollService.scrollToError(this.hostElement);const n=Z.preSubmit(this.form.getRawValue(),this.relation);this.submitted.emit(n)}checkCollectivity(){this.collectivity&&(this.externalReferenceId.enable(),this.partnerComponentCode.enable(),this.externalReferenceId.setValidators([s.kI.required]),this.externalReferenceId.updateValueAndValidity(),this.partnerComponentCode.setValidators([s.kI.required]),this.partnerComponentCode.updateValueAndValidity())}setSubscriptions(){const n=this.ngSubmitObs$.subscribe(),r=this.scrollService.scrollToFragment(0,140).subscribe();this.subscriptions.add(n),this.subscriptions.add(r),this.premiumFactorListener(this.form.valueChanges)}premiumFactorListener(n){this.subscriptions.add(n.pipe((0,D.b)(200),(0,S.x)((r,o)=>JSON.stringify(r)===JSON.stringify(o))).subscribe(()=>{const r=Z.preSubmit(this.form.getRawValue());this.premiumFactorChanged.emit(r)}))}static#e=this.\u0275fac=function(r){return new(r||t)(e.Y36(an.f),e.Y36(v.e8Y),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(X.o),e.Y36(W.a),e.Y36(s.sg))};static#n=this.\u0275cmp=e.Xpm({type:t,selectors:[["sf-car-replace"]],viewQuery:function(r,o){if(1&r&&e.Gf(z.J,5),2&r){let l;e.iGM(l=e.CRH())&&(o.nonRegularDrivers=l)}},inputs:{errors:"errors",relation:"relation",prefill:"prefill",purchasedProductReplacement:"purchasedProductReplacement",collectivity:"collectivity"},outputs:{submitted:"submitted",premiumFactorChanged:"premiumFactorChanged"},features:[e._Bn([],[{provide:s.gN,useExisting:s.sg}])],decls:61,vars:35,consts:[["novalidate","",3,"formGroup","ngSubmit"],["id","car",1,"salesfunnel-step"],["formGroupName","insurance"],["vehicleFormContainer","vehicleFormContainer"],["productId","AUTO",3,"years","brands","models","styles","vehicle","errors","resetUnknownLicensePlate","setStyleTrimId"],[1,"data-quoted","car-replace-data"],[1,"car-replace-data__item"],["data-hj-suppress",""],["class","car-replace-data__item",4,"ngIf"],[1,"car-replace-no-claims-years"],[1,"data-quoted","data-quoted--highlighted"],[4,"ngIf","ngIfElse"],["noClaimsYearsAmountMultiple",""],["formGroupName","insurance","e2e","mileage",1,"form-group",3,"ngClass"],["for","mileage_auto",1,"control-label"],[1,"control-label__inner"],[1,"control-input"],["formControlName","mileage_auto"],["selectbox-element-placeholder",""],[4,"ngIf"],["class","salesfunnel-step",4,"ngIf"],["id","bestuurder","class","salesfunnel-step",4,"ngIf"],[3,"errors"],[1,"salesfunnel-buttons"],[1,"salesfunnel-buttons__left"],[1,"salesfunnel-buttons__right"],["e2eLabel","step_submit"],["id","collectivity",1,"salesfunnel-step"],["for","partner_component_code",1,"control-label"],["formControlName","partner_component_code"],["component-code-placeholder",""],["formGroupName","insurance",1,"form-group"],["cynoInput","","type","text","id","external_reference_id","e2e","external_reference_id","name","external_reference_id","formControlName","external_reference_id"],[1,"salesfunnel-step"],[1,"salesfunnel-step__title"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13 0C5.82072 0 0 5.82072 0 13C0 20.1801 5.82072 26 13 26C20.1801 26 26 20.1809 26 13C26 5.82072 20.18 0 13 0ZM13 23.5625C7.16628 23.5625 2.43754 18.8337 2.43754 13C2.43754 7.16628 7.16628 2.43754 13 2.43754C18.8337 2.43754 23.5625 7.16628 23.5625 13C23.5625 18.8337 18.8337 23.5625 13 23.5625ZM13.0008 5.70129C12.0697 5.70129 11.3652 6.1872 11.3652 6.97205V14.1708C11.3652 14.9565 12.0696 15.4407 13.0008 15.4407C13.9092 15.4407 14.6364 14.9362 14.6364 14.1708V6.97205C14.6363 6.20583 13.9092 5.70129 13.0008 5.70129ZM13.0008 17.0625C12.1063 17.0625 11.3782 17.7906 11.3782 18.6858C11.3782 19.5796 12.1063 20.3076 13.0008 20.3076C13.8954 20.3076 14.6226 19.5796 14.6226 18.6858C14.6225 17.7905 13.8954 17.0625 13.0008 17.0625Z","fill","#FF9900"],[1,"data-quoted"],[1,"salesfunnel-prefilled-data"],[1,"salesfunnel-prefilled-data__row"],[1,"salesfunnel-prefilled-data__data"],["formGroupName","insurance",1,"form-group",3,"ngClass"],["for","non_regular_driver_transfer_indication-J",1,"control-label"],["cynoRadioNewGroup","","name","non_regular_driver_transfer_indication","formControlName","non_regular_driver_transfer_indication",1,"control-input"],[1,"radio-list","radio-list--full"],[1,"radio-list__item"],["cynoRadioNew","","type","radio","value","J","id","non_regular_driver_transfer_indication-J",1,"form-control"],["cynoLabelNew","","for","non_regular_driver_transfer_indication-J","e2e","non_regular_driver_transfer_indication-J"],["cynoRadioNew","","type","radio","value","N","id","non_regular_driver_transfer_indication-N",1,"form-control"],["cynoLabelNew","","for","non_regular_driver_transfer_indication-N","e2e","non_regular_driver_transfer_indication-N"],["class","alert alert--validation",4,"ngIf"],["class","alert alert--warning",4,"ngIf"],[3,"relation",4,"ngIf"],[1,"alert","alert--validation"],[1,"alert","alert--warning"],[3,"relation"],["id","bestuurder",1,"salesfunnel-step"]],template:function(r,o){if(1&r){const l=e.EpF();e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return o.ngSubmit$.next()}),e.TgZ(1,"div",1)(2,"h3"),e._uU(3,"jouw nieuwe auto"),e.qZA(),e.ynx(4,2),e.TgZ(5,"sf-vehicle-form-container",null,3)(7,"sf-vehicle-form",4),e.NdJ("resetUnknownLicensePlate",function(){e.CHM(l);const p=e.MAs(6);return e.KtG(p.onResetUnknownLicensePlate())})("setStyleTrimId",function(p){e.CHM(l);const M=e.MAs(6);return e.KtG(M.onSetStyleTrimId(p))}),e.ALo(8,"async"),e.ALo(9,"async"),e.ALo(10,"async"),e.ALo(11,"async"),e.ALo(12,"async"),e.qZA()(),e.BQk(),e.TgZ(13,"p"),e._uU(14," Om het vervangen van je vorige auto compleet te maken willen wij nog even door onderstaande gegevens lopen. "),e.qZA(),e.TgZ(15,"div",5)(16,"div",6)(17,"div"),e._uU(18,"naam"),e.qZA(),e.TgZ(19,"div",7),e._uU(20),e.qZA()(),e.TgZ(21,"div",6)(22,"div"),e._uU(23,"geboortedatum"),e.qZA(),e.TgZ(24,"div"),e._uU(25),e.ALo(26,"dateFormat"),e.qZA()(),e.YNc(27,cn,5,1,"div",8),e.qZA(),e.TgZ(28,"div",9)(29,"h4"),e._uU(30,"schadevrije jaren"),e.qZA(),e.TgZ(31,"p"),e._uU(32,"Met je vorige auto heb je;"),e.qZA(),e.TgZ(33,"div",10)(34,"p"),e._uU(35),e.YNc(36,mn,2,0,"ng-container",11),e.YNc(37,dn,1,0,"ng-template",null,12,e.W1O),e._uU(39," opgebouwd "),e.qZA()(),e.TgZ(40,"p"),e._uU(41,"Deze neem je uiteraard mee na
1ar jouw nieuwe auto!"),e.qZA()(),e.TgZ(42,"div",13)(43,"label",14)(44,"div",15),e._uU(45,"aantal kilometers per jaar"),e.qZA()(),e.TgZ(46,"div",16)(47,"hem-selectbox-element",17)(48,"span",18),e._uU(49,"kies de kilometers per jaar"),e.qZA()(),e.YNc(50,un,2,0,"cyno-error",19),e.qZA()()(),e.YNc(51,hn,18,7,"ng-container",19),e.YNc(52,On,34,13,"div",20),e.YNc(53,yn,4,1,"div",21),e._UZ(54,"sf-acceptance-errors",22),e.TgZ(55,"div",23)(56,"div",24),e._uU(57,"\xa0"),e.qZA(),e.TgZ(58,"div",25)(59,"sf-cta-button",26),e._uU(60,"bereken je premie"),e.qZA()()()()}if(2&r){const l=e.MAs(6),u=e.MAs(38);e.Q6J("formGroup",o.form),e.xp6(7),e.Q6J("years",l.buildYears)("brands",e.lcZ(8,19,l.brands$))("models",e.lcZ(9,21,l.models$))("styles",e.lcZ(10,23,l.styles$))("vehicle",e.lcZ(11,25,l.vehicle$))("errors",e.lcZ(12,27,l.errors$)),e.xp6(13),e.Oqu(o.relation.name),e.xp6(5),e.Oqu(e.lcZ(26,29,o.relation.birthdate)),e.xp6(2),e.Q6J("ngIf",o.relation.family_composition),e.xp6(8),e.hij(" ",o.noClaimsYearsAmount.value," "),e.xp6(1),e.Q6J("ngIf",o.noClaimsYearsAmount.value<2)("ngIfElse",u),e.xp6(6),e.Q6J("ngClass",e.kEZ(31,ue,o.mileageAuto.touched&&o.mileageAuto.invalid,o.mileageAuto.valid,o.mileageAuto.pending)),e.xp6(8),e.Q6J("ngIf",o.mileageAuto.touched&&o.mileageAuto.hasError("required")),e.xp6(1),e.Q6J("ngIf",o.collectivity),e.xp6(1),e.Q6J("ngIf",o.purchasedProductReplacement&&o.purchasedProductReplacement.non_regular_driver),e.xp6(1),e.Q6J("ngIf",o.purchasedProductReplacement&&!o.purchasedProductReplacement.non_regular_driver),e.xp6(1),e.Q6J("errors",o.errors)}},dependencies:[h.mk,h.O5,s._Y,s.Fj,s.JJ,s.JL,s.sg,s.u,s.x0,ee.QL,ne.b,te.N,oe.P,ln.U,de.X,de.j,re.X,ae.u,N.o,ie.$,le.i,se.r,ce.V,h.Ov,sn.E],styles:[".car-replace-no-claims-years[_ngcontent-%COMP%]{margin-top:3.2rem;margin-bottom:2.4rem}.car-replace-data[_ngcontent-%COMP%]{line-height:2}.car-replace-data__item[_ngcontent-%COMP%]{margin-bottom:.8rem;line-height:2}.car-replace-data__item[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child{font-family:HurmeHema-SemiBold,Arial,sans-serif}",'@media (max-width: 767px){h1[_ngcontent-%COMP%]{margin-left:1.6rem}}.salesfunnel[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.salesfunnel[_ngcontent-%COMP%]{margin-left:-2rem;margin-right:-2rem}}@media (max-width: 1199px){.salesfunnel[_ngcontent-%COMP%]{display:block}}@media (min-width: 991px){.salesfunnel[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{max-width:26rem}}.salesfunnel__content[_ngcontent-%COMP%]{flex:auto}@media (min-width: 1200px){.salesfunnel__content[_ngcontent-%COMP%]{margin-right:4rem}}@media (min-width: 1320px){.salesfunnel__content[_ngcontent-%COMP%]{max-width:81.3rem}}@media (max-width: 767px){.salesfunnel__steps[_ngcontent-%COMP%]{padding-top:.8rem;padding-bottom:.8rem}.salesfunnel__steps[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding-left:1.6rem;padding-right:1.6rem}}.salesfunnel__sidebar[_ngcontent-%COMP%]{width:38.7rem;flex-shrink:0}@media (max-width: 1199px){.salesfunnel__sidebar[_ngcontent-%COMP%]{width:100%}}.salesfunnel-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:1.6rem}.salesfunnel-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]:last-child{margin-bottom:0}@media (max-width: 1199px){.salesfunnel-header[_ngcontent-%COMP%]{flex-flow:column}}@media (min-width: 1200px){.salesfunnel-header[_ngcontent-%COMP%]{width:calc(100% - 42.7rem)}}.salesfunnel-header--full[_ngcontent-%COMP%]{width:100%}.salesfunnel-header__content[_ngcontent-%COMP%]{width:100%;margin-bottom:2.4rem;flex:auto}.salesfunnel-header__content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}@media (min-width: 768px){.salesfunnel-header__content[_ngcontent-%COMP%]{margin-right:12rem}}.salesfunnel-header__content--image[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}.salesfunnel-header__content--image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}@media (max-width: 767px){.salesfunnel-header__content--image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none}}@media (min-width: 768px){.salesfunnel-header__content--image[_ngcontent-%COMP%]{flex-direction:row;align-items:center}}@media (min-width: 1200px){.salesfunnel-header__content--image[_ngcontent-%COMP%]{width:100%}}.salesfunnel-header__animation[_ngcontent-%COMP%]{margin-bottom:1.6rem}@media (min-width: 768px){.salesfunnel-header__animation[_ngcontent-%COMP%]{margin-right:4rem;margin-bottom:0}}.salesfunnel-header__left[_ngcontent-%COMP%]{width:100%}.salesfunnel-header__receipt[_ngcontent-%COMP%]{width:42.7rem;flex-shrink:0;align-self:flex-end}.salesfunnel-header__functions[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.salesfunnel-header__functions[_ngcontent-%COMP%]{flex-flow:column}}.salesfunnel-step[_ngcontent-%COMP%]{margin:0 0 3rem;padding:3rem;position:relative;background-color:#5dc5e326}.salesfunnel-step[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{margin-bottom:3.2rem}.salesfunnel-step[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{border:none;height:1px;background-color:#ddd;margin:1.6rem 0 2.4rem}@media (max-width: 767px){.salesfunnel-step[_ngcontent-%COMP%]{padding:1.6rem;margin-bottom:1.6rem}.salesfunnel-step[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{margin-bottom:1.6rem}.salesfunnel-step[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%] + h3[_ngcontent-%COMP%]{margin-left:3.2rem}}.salesfunnel-step--open[_ngcontent-%COMP%]{border-bottom:0;border-radius:0;margin-bottom:0;padding-bottom:0}.salesfunnel-step--open[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:last-child{margin-bottom:0}@media (max-width: 767px){.salesfunnel-step--open[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:last-child{padding-bottom:1.6rem}}@media (max-width: 767px){.salesfunnel-step--open[_ngcontent-%COMP%]{margin-left:1.6rem;margin-right:1.6rem}}.salesfunnel-step--clear[_ngcontent-%COMP%]{margin:0 0 1.6rem;padding:0;position:relative;background-color:transparent}@media (max-width: 767px){.salesfunnel-step--clear[_ngcontent-%COMP%]{padding:1.6rem 1.6rem 0;margin-bottom:0}}.salesfunnel-title-info[_ngcontent-%COMP%]{float:right;clear:right}.salesfunnel-step__stepnumber[_ngcontent-%COMP%]{width:3rem;height:3rem;padding-top:.5rem;position:absolute;
1left:-6.4rem;top:-.6rem;background-color:#e5e3de;border-radius:50%;color:#fff;text-align:center;font-family:HurmeHema-Bold,Arial,sans-serif}.salesfunnel-step__stepnumber[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:1.8rem;fill:#fff}@media (max-width: 767px){.salesfunnel-step__stepnumber[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;padding-top:.2rem;left:-2.9rem;top:-.3rem}}.salesfunnel-step__substep[_ngcontent-%COMP%]{position:relative;margin-top:5.6rem}@media (max-width: 991px){.salesfunnel-step__substep[_ngcontent-%COMP%]{margin-top:3.2rem}}@media (max-width: 991px){.salesfunnel-step__substep--space[_ngcontent-%COMP%]{padding-left:1.6rem}}.salesfunnel-step__group[_ngcontent-%COMP%]{margin-bottom:2rem;padding-bottom:1rem;border-bottom:solid 1px #E5E3DE}.salesfunnel-step__group[_ngcontent-%COMP%]:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.salesfunnel-step__group[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:1.6rem}.salesfunnel-step__title[_ngcontent-%COMP%]{display:flex}.salesfunnel-step__title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:1rem}.salesfunnel-intro[_ngcontent-%COMP%]{position:relative;margin-bottom:3rem;font-weight:700;color:#222}.salesfunnel-intro[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.1rem;margin-bottom:3rem}.salesfunnel-intro[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:0}.salesfunnel-intro[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}@media (max-width: 991px){.salesfunnel-intro[_ngcontent-%COMP%]{margin-left:-1.5rem;margin-right:-1.5rem;padding:3.2rem 1.5rem}.salesfunnel-intro[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{display:block;margin-right:0;margin-bottom:.8rem}}.salesfunnel-coverages-vehicle[_ngcontent-%COMP%]{background-color:#fff;margin:1.6rem -1.5rem 1.6rem -3.2rem}@media (min-width: 768px){.salesfunnel-coverages-vehicle[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:6.5rem}}@media (min-width: 768px){.salesfunnel-content[_ngcontent-%COMP%]{padding:3.2rem}}.salesfunnel-buttons[_ngcontent-%COMP%]{margin-bottom:4rem;display:flex}@media (max-width: 767px){.salesfunnel-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}}.salesfunnel-buttons__left[_ngcontent-%COMP%]{flex:1;padding-top:1.5rem}@media (max-width: 767px){.salesfunnel-buttons__left[_ngcontent-%COMP%]{width:100%}}.salesfunnel-buttons__back[_ngcontent-%COMP%]{font-size:1.1rem;text-decoration:none;color:#9b9b9b}.salesfunnel-buttons__back[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:1rem;fill:#9b9b9b}@media (max-width: 767px){.salesfunnel-buttons__back[_ngcontent-%COMP%]{margin-top:2.5rem;padding:0 1.6rem}}.salesfunnel-buttons__right[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-column-gap:2rem;direction:rtl}@media (max-width: 767px){.salesfunnel-buttons__right[_ngcontent-%COMP%]{grid-template-columns:1fr;padding:0 1.6rem}.salesfunnel-buttons__right[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-bottom:1.6rem}}@media (max-width: 767px){.salesfunnel-buttons__send[_ngcontent-%COMP%]{display:block;margin-bottom:1.6rem}}.salesfunnel-balloon[_ngcontent-%COMP%]{position:relative;padding:3.2rem 8.8rem 3.2rem 2.4rem;border:2px solid #E5E3DE;border-radius:10px;background-color:#fff}.salesfunnel-balloon[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}@media (max-width: 767px){.salesfunnel-balloon[_ngcontent-%COMP%]{padding-right:2.4rem}}.salesfunnel-balloon--pull-left[_ngcontent-%COMP%]{margin-left:-8rem}@media (max-width: 991px){.salesfunnel-balloon--pull-left[_ngcontent-%COMP%]{margin-left:-4rem}}.salesfunnel-balloon--image[_ngcontent-%COMP%]{display:flex}@media (max-width: 991px){.salesfunnel-balloon--image[_ngcontent-%COMP%]{padding-top:8rem;margin-top:8rem}}.salesfunnel-balloon__image[_ngcontent-%COMP%]{flex-shrink:0;margin-right:3.2rem}@media (max-width: 991px){.salesfunnel-balloon__image[_ngcontent-%COMP%]{width:14rem;position:absolute;top:-5rem;left:1.6rem}}.salesfunnel-balloon__sticker[_ngcontent-%COMP%]{width:11rem;height:11rem;position:absolute;top:-4rem;right:-2rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:#e5e3de}.salesfunnel-balloon__sticker[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{transform:rotate(5deg);font-size:1.8rem;font-family:HurmeHema-Bold,Arial,sans-serif;color:#fff}@media (max-width: 767px){.salesfunnel-balloon__sticker[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.1rem}}@media (max-width: 1199px){.salesfunnel-balloon__sticker[_ngcontent-%COMP%]{right:-1rem}}@media (max-width: 767px){.salesfunnel-balloon__sticker[_ngcontent-%COMP%]{width:7.5rem;height:7.5rem;top:initial;bottom:-3rem;right:1.6rem}}.salesfunnel-cross-sell[_ngcontent-%COMP%]{padding-bottom:4rem}.salesfunnel-cross-sell[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-left:0}@media (min-width: 768px){.salesfunnel-cross-sell[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-left:3.2rem}}.salesfunnel-cross-sell__content[_ngcontent-%COMP%]{display:block}@media (min-width: 992px){.salesfunnel-cross-sell__content[_ngcontent-%COMP%]{display:flex}}.salesfunnel-cross-sell__item[_ngcontent-%COMP%]{display:block;flex:1;margin-left:0;margin-bottom:2.5rem}@media (min-width: 768px){.salesfunnel-cross-sell__item[_ngcontent-%COMP%]{margin-left:3.2rem}}@media (min-width: 992px){.salesfunnel-cross-sell__item[_ngcontent-%COMP%]{margin-bottom:0}}.salesfunnel-prefilled-data[_ngcontent-%COMP%]{margin-bottom:3.2rem}.salesfunnel-prefilled-data__row[_ngcontent-%COMP%]{margin-bottom:.8rem}.salesfunnel-prefilled-data__data[_ngcontent-%COMP%]{margin-left:.8rem;font-family:HurmeHema-SemiBold,Arial,sans-serif}.salesfunnel-additional-field-info[_ngcontent-%COMP%]{margin-top:1.6rem;padding:1.6rem;position:relative;background:#FFF}.salesfunnel-additional-field-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.salesfunnel-additional-field-info[_ngcontent-%COMP%]:before{content:"";width:0;height:0;position:absolute;top:-.8rem;
1border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #FFF}.salesfunnel-additional-field-info--left[_ngcontent-%COMP%]{max-width:55.2rem}.salesfunnel-additional-field-info--left[_ngcontent-%COMP%]:before{left:13rem}@media (max-width: 767px){.salesfunnel-additional-field-info--left[_ngcontent-%COMP%]:before{left:2.4rem}}.salesfunnel-additional-field-info--right[_ngcontent-%COMP%]{max-width:55.2rem}.salesfunnel-additional-field-info--right[_ngcontent-%COMP%]:before{left:40.4rem}@media (max-width: 767px){.salesfunnel-additional-field-info--right[_ngcontent-%COMP%]:before{left:13.4rem}}.salesfunnel-additional-field-info--highlighted[_ngcontent-%COMP%]{color:#9ac122}.salesfunnel-additional-field-info--solo[_ngcontent-%COMP%]{width:26.8rem}.salesfunnel-additional-field-info--solo[_ngcontent-%COMP%]:before{left:13rem}@media (max-width: 767px){.salesfunnel-additional-field-info--solo[_ngcontent-%COMP%]:before{left:calc(50% - .4rem)}}@media (max-width: 767px){.salesfunnel-additional-field-info--solo[_ngcontent-%COMP%]{width:100%}}']})}return t})();const Mn=["*"];let wn=(()=>{class t{constructor(n,r,o,l,u){this.salesfunnelStore=n,this.calculationService=r,this.carInsuranceService=o,this.router=l,this.authenticationDataService=u,this.errors$=this.calculationService.errors$,this.subscriptions=new j.w0,this.salesfunnelStore.dispatch(new Q.Yv)}ngOnInit(){this.subscriptions.add(this.authenticationDataService.isLoggedIn$().subscribe(n=>this.authenticated=n))}calculatePremium({insurance:n,customer:r}){this.carInsuranceService.addCollectivityData(n),this.calculationService.calculate$({url:"en-gb/insurance-coverage/calculate/coverage-premium-auto",data:{insurance:n,customer:r,authenticated:this.authenticated},mapper:$.Y}).subscribe({next:()=>this.router.navigateByUrl(`/${A.X.CarInsurance}/${A.X.CalculateCarInsurance}/${A.X.InsuranceCoverage}`)})}static#e=this.\u0275fac=function(r){return new(r||t)(e.Y36(Y.yh),e.Y36(v.HYc),e.Y36(L),e.Y36(I.F0),e.Y36(v.dc$))};static#n=this.\u0275cmp=e.Xpm({type:t,selectors:[["sf-car-replace-container"]],exportAs:["carReplaceContainer"],ngContentSelectors:Mn,decls:1,vars:0,template:function(r,o){1&r&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return t})();function Zn(t,a){if(1&t){const n=e.EpF();e.TgZ(0,"sf-car-replace",5),e.NdJ("premiumFactorChanged",function(o){e.CHM(n);const l=e.oxw(2);return e.KtG(l.onPremiumFactorChange(o))})("submitted",function(o){e.CHM(n),e.oxw();const l=e.MAs(2);return e.KtG(l.calculatePremium(o))}),e.ALo(1,"async"),e.qZA()}if(2&t){e.oxw();const n=e.MAs(2),r=e.oxw();e.Q6J("errors",e.lcZ(1,5,n.errors$))("relation",r.relation)("collectivity",r.collectivity)("prefill",r.prefill)("purchasedProductReplacement",r.purchasedProductReplacement)}}function An(t,a){if(1&t&&(e.ynx(0),e.TgZ(1,"sf-car-replace-container",null,3),e.YNc(3,Zn,2,7,"sf-car-replace",4),e.qZA(),e.BQk()),2&t){const n=e.oxw();e.xp6(3),e.Q6J("ngIf",n.relation)}}function Tn(t,a){if(1&t){const n=e.EpF();e.TgZ(0,"sf-car-details-container",null,6)(2,"sf-car-details",7),e.NdJ("vehicleValuesChanged",function(o){e.CHM(n);const l=e.MAs(1);return e.KtG(l.vehicleValuesChanged(o))})("premiumFactorChanged",function(o){e.CHM(n);const l=e.oxw();return e.KtG(l.onPremiumFactorChange(o))})("submitted",function(o){e.CHM(n);const l=e.MAs(1);return e.KtG(l.calculatePremium(o))}),e.ALo(3,"async"),e.ALo(4,"async"),e.qZA()()}if(2&t){const n=e.MAs(1),r=e.oxw();e.xp6(2),e.Q6J("errors",e.lcZ(3,4,n.errors$))("claimsYears",e.lcZ(4,6,n.claimsYears$))("relation",r.relation)("collectivity",r.collectivity)}}let In=(()=>{class t{constructor(n,r){this.elementValidator=n,this.ageValidator=r,this.premiumFactorChange=new e.vpe,this.createForm()}ngOnChanges(n){n.relation&&this.onRelationStateChange(n.relation.currentValue),n.purchasedProductReplacement&&this.onProductReplacement(n.purchasedProductReplacement.currentValue)}ngAfterViewInit(){this.prefill&&this.onPrefill(this.prefill||[])}onPremiumFactorChange(n){this.premiumFactorChange.emit(n)}createForm(){this.form=new s.nJ({insurance:new s.nJ({vehicle:new s.nJ({}),no_claims_years_amount:new s.p4("",{validators:[s.kI.required,s.kI.min(-2)]}),mileage_auto:new s.p4("",{validators:[s.kI.required]}),non_regular_driver_transfer_indication:new s.p4(""),non_regular_driver:new s.nJ({birthdate:new s.p4}),relation_code:new s.p4("IKZE",{validators:[s.kI.required]}),external_reference_id:new s.p4({value:null,disabled:!0},{updateOn:"blur"}),partner_component_code:new s.p4({value:null,disabled:!0},{updateOn:"blur"})}),customer:new s.nJ({postal_code:new s.p4("",{validators:[s.kI.required,s.kI.minLength(6),s.kI.maxLength(7)],asyncValidators:[this.elementValidator.validate("postcode",E.w.CreateNewRelationProductCar,"postal_code")],updateOn:"blur"}),family_composition_code:new s.p4("",{validators:[s.kI.required]}),birthdate:new s.p4("",{validators:[s.kI.required,this.ageValidator.minimum(18),this.ageValidator.maximum(120)],asyncValidators:[this.elementValidator.validate("birthdate",E.w.CreateNewRelationProductCar)],updateOn:"blur"})})})}onRelationStateChange(n){if(!n)return;const r=Z.prepareUserValues(n);this.form.patchValue(r)}onProductReplacement(n){n&&this.form.patchValue({insurance:{no_claims_years_amount:n.no_claims_years_amount,mileage_auto:n.mileage,relation_code:"IKZE"}},{onlySelf:!0,emitEvent:!1})}onPrefill([n,r]){if(!n&&!r)return;const o=Z.prePatch([n,r],this.relation);this.form.get("insurance").patchValue(o.insurance,{onlySelf:!0,emitEvent:!1}),this.form.get("customer").patchValue(o.customer,{onlySelf:!0}),o.insurance.vehicle.license_plate_unknown&&this.form.get("insurance.vehicle.license_plate").disable()}static#e=this.\u0275fac=function(r){return new(r||t)(e.Y36(v.e8Y),e.Y36(pe.X))};static#n=this.\u0275cmp=e.Xpm({type:t,selectors:[["sf-car-insurance"]],inputs:{isVehicleReplacement:"isVehicleReplacement",relation:"relation",purchasedProductReplacement:"purchasedProductReplacement",prefill:"prefill",collectivity:"collectivity"},outputs:{premiumFactorChange:"premiumFactorChange"},features:[e.TTD],decls:4,vars:3,consts:[[3,"formGroup"],[4,"ngIf","ngIfElse"],["default",""],["carReplaceContainer","carReplaceContainer"],[3,"errors","relation","collectivity","prefill","purchasedProductReplacement","premiumFactorChanged","submitted",4,"ngIf"],[3,"errors","relation","collectivity","prefill","purchasedProductReplacement","premiumFactorChanged","submitted"],["carDetailsContainer","carDetailsContainer"],[3,"errors","claimsYears","relation","collectivity","vehicleValuesChanged","premiumFactorChanged","submitted"]],template:function(r,o){if(1&r&&(e.ynx(0,0),e.YNc(1,An,4,1,"ng-container",1),e.YNc(2,Tn,5,8,"
1ng-template",null,2,e.W1O),e.BQk()),2&r){const l=e.MAs(3);e.Q6J("formGroup",o.form),e.xp6(1),e.Q6J("ngIf",o.isVehicleReplacement)("ngIfElse",l)}},dependencies:[h.O5,s.JL,s.sg,Me,rn,Pn,wn,h.Ov],encapsulation:2})}return t})();const jn=[{path:"",pathMatch:"full",component:(()=>{class t{constructor(n,r,o,l,u,p,M,R){this.vehicleReplaceAPI=n,this.salesfunnelStore$=r,this.relationDataService=o,this.salesService=l,this.calculationService=u,this.salesStore$=p,this.route=M,this.collectiviteitService=R,this.isVehicleReplacement$=this.vehicleReplaceAPI.userChoice$.pipe((0,f.U)(k=>k===v.Hv$.Yes)),this.relation$=this.relationDataService.getRelation$(),this.purchasedProductReplacement$=this.salesService.purchasedProductReplacement$,this.prefill$=this.route.data.pipe((0,f.U)(({prefill:k})=>k)),this.hasCollectivity$=this.collectiviteitService.hasCollectivity$,this.subscriptions=new j.w0}ngAfterViewInit(){this.salesfunnelStore$.dispatch(new _e.uw)}ngOnDestroy(){this.subscriptions.unsubscribe()}onPremiumFactorChange(n){const r=this.calculationService.hasCalculation$.subscribe(()=>{this.salesStore$.dispatch(new v.Me1(n))});this.subscriptions.add(r)}static#e=this.\u0275fac=function(r){return new(r||t)(e.Y36(v.e1D),e.Y36(Y.yh),e.Y36(v.bno),e.Y36(v.MDs),e.Y36(v.HYc),e.Y36(Y.yh),e.Y36(I.gz),e.Y36(J.D))};static#n=this.\u0275cmp=e.Xpm({type:t,selectors:[["sf-car-insurance-container"]],decls:6,vars:15,consts:[[3,"isVehicleReplacement","relation","purchasedProductReplacement","prefill","collectivity"]],template:function(r,o){1&r&&(e._UZ(0,"sf-car-insurance",0),e.ALo(1,"async"),e.ALo(2,"async"),e.ALo(3,"async"),e.ALo(4,"async"),e.ALo(5,"async")),2&r&&e.Q6J("isVehicleReplacement",e.lcZ(1,5,o.isVehicleReplacement$))("relation",e.lcZ(2,7,o.relation$))("purchasedProductReplacement",e.lcZ(3,9,o.purchasedProductReplacement$))("prefill",e.lcZ(4,11,o.prefill$))("collectivity",e.lcZ(5,13,o.hasCollectivity$))},dependencies:[In,h.Ov],encapsulation:2,changeDetection:0})}return t})()}];let Rn=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#n=this.\u0275mod=e.oAB({type:t});static#t=this.\u0275inj=e.cJS({imports:[I.Bz.forChild(jn)]})}return t})();var Un=i(79692),Yn=i(56850),Dn=i(4078),Sn=i(31298),Nn=i(2941);let kn=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#n=this.\u0275mod=e.oAB({type:t});static#t=this.\u0275inj=e.cJS({providers:[F,ge.F],imports:[d.m,x.N,Rn,Dn.G,y.N,m.A,g.N,w.x,c.n,O.Q,Un.u,Yn.$,Sn.b,C.L,Nn.p]})}return t})()},56756:(U,b,i)=>{i.d(b,{U:()=>x});var d=i(65879);let x=(()=>{class C{static#e=this.\u0275fac=function(y){return new(y||C)};static#n=this.\u0275dir=d.lG2({type:C,selectors:[["","cynoLabelNew",""]],hostVars:6,hostBindings:function(y,m){2&y&&d.ekj("active",m.active)("disabled",m.disabled)("focus",m.focused)}})}return C})()},85505:(U,b,i)=>{i.d(b,{X:()=>y,j:()=>g});var d=i(65879),x=i(56223),C=i(56756);let O=0,g=(()=>{class m{constructor(){this._radios=new Set,this._value=null,this.name="cyno-radio-new-"+O++,this.onChange=c=>{},this.onTouched=()=>{}}get disabled(){return this._disabled}set disabled(c){this.setDisabledState(c)}onRadioChange(c){this.writeValue(c.value),this.onChange(c.value)}onRadioValueUpdate(){this._updateRadiosValue()}register(c){this._radios.add(c)}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}setDisabledState(c){this._disabled=c,this._updateRadiosDisabled()}unregister(c){this._radios.delete(c)}writeValue(c){this._value=c,this._updateRadiosValue()}_updateRadiosValue(){this._radios.forEach(c=>c.updateValue(this._value))}_updateRadiosDisabled(){this._radios.forEach(c=>c.updateDisabled())}static#e=this.\u0275fac=function(_){return new(_||m)};static#n=this.\u0275dir=d.lG2({type:m,selectors:[["","cynoRadioNewGroup",""]],hostAttrs:["role","radiogroup"],inputs:{name:"name"},features:[d._Bn([{provide:x.JU,useExisting:(0,d.Gpc)(()=>m),multi:!0}])]})}return m})(),y=(()=>{class m{set value(c){this._value=c;const _=c?c.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",_),this._group.onRadioValueUpdate()}set disabled(c){this._disabled=!1!==c,this.updateDisabled()}set focused(c){this._label&&(this._label.focused=c),c||this._group.onTouched()}get checked(){return this._checked}get disabled(){return this._group.disabled||this._disabled}get value(){return this._value}get nameAttr(){return this.name||this._group.name}constructor(c,_,f,P,T){this._group=c,this._label=_,this._renderer=f,this._element=P,this._cd=T,this._value=null,this._group.register(this),this.updateDisabled()}ngOnDestroy(){this._group.unregister(this)}onChange(){this._group.onRadioChange(this)}updateValue(c){this.value!==c&&this._cd.markForCheck(),this._checked=this.value===c,this._label&&(this._label.active=this._checked)}updateDisabled(){this._label&&(this._label.disabled=this.disabled)}static#e=this.\u0275fac=function(_){return new(_||m)(d.Y36(g),d.Y36(C.U,8),d.Y36(d.Qsj),d.Y36(d.SBq),d.Y36(d.sBO))};static#n=this.\u0275dir=d.lG2({type:m,selectors:[["","cynoRadioNew","","type","radio"]],hostVars:3,hostBindings:function(_,f){1&_&&d.NdJ("change",function(){return f.onCh
1ange()})("focus",function(){return f.focused=!0})("blur",function(){return f.focused=!1}),2&_&&d.Ikx("checked",f.checked)("disabled",f.disabled)("name",f.nameAttr)},inputs:{name:"name",value:"value",disabled:"disabled"}})}return m})()},4078:(U,b,i)=>{i.d(b,{G:()=>C});var d=i(96814),x=i(65879);let C=(()=>{class O{static#e=this.\u0275fac=function(m){return new(m||O)};static#n=this.\u0275mod=x.oAB({type:O});static#t=this.\u0275inj=x.cJS({imports:[d.ez]})}return O})()},77442:(U,b,i)=>{i.d(b,{E:()=>O});var d=i(65879),C=i(43598);let O=(()=>{class g{constructor(m,w){this.locale=m,this.dateService=w}transform(m,w="DD-MM-YYYY",c="onbekend"){if(null==m||""===m||m!=m)return null;if("9999-12-31"===m)return c;try{return this.dateService.format(m,w,this.locale)}catch(_){throw function x(g,y){return Error(`InvalidPipeArgument: '${y}' for pipe '${(0,d.AaK)(g)}'`)}(g,_.message)}}static#e=this.\u0275fac=function(w){return new(w||g)(d.Y36(d.soG,16),d.Y36(C.RuG,16))};static#n=this.\u0275pipe=d.Yjl({name:"dateFormat",type:g,pure:!0})}return g})()}}]);

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.