PageSourceSearch

https://compare.vaninsurance.co.uk/chunk-A552GQRR.js

js vaninsurance.co.uk collected 2026-10-08 19:26:28 UTC 45,555 bytes, 1 lines download raw bytes

1import{a as ye,b as Oe,c as we}from"./chunk-WRLGQWIA.js";import{$a as re,Ab as he,C as X,Cb as g,D as z,Ea as ie,Eb as me,Ga as K,Ha as ne,J as Q,Kb as ge,M as h,Ma as ae,Mb as fe,Nb as ve,Ob as M,P as x,Pb as _,Q as Z,Qb as F,R,Sa as se,Tb as Se,U as I,Ua as oe,Vb as be,X as y,Y,da as o,ea as r,fa as O,ga as $,ha as ee,la as D,m as U,nb as le,pb as de,rb as J,sc as Ce,ta as te,tc as De,ua as d,v as H,va as k,w as P,wa as A,xb as ce,yb as ue,zb as pe}from"./chunk-XJSIXJ3W.js";var Te=(()=>{class n{constructor(){this.constant={quote:{quoteId:15489,reference:"55208517",panel:"broker",refreshed:!1,questionSet:{registrationNumberKnown:!1,registrationNumber:null,vehicleMake:1,vehicleModel:1,year:2018,vehicleEdition:"90309972",vehicleRegistrationDate:"2018-01-01",registeredKeeperLegalOwner:!0,registeredKeeperLegalOwnerInFuture:null,registeredKeeper:null,vehicleOwner:null,datePurchased:"2018-02",notYetPurchased:!1,vehicleValue:123,numberOfSeats:3,immobiliser:"None",trackingDevice:"NONE",postcodeWhereKept:"PO188AF",parkedOvernight:"G",racking:!0,signWritten:!0,badDriverHotline:!0,title:"Mr",forename:"hhhhh",surname:"aa",maritalStatus:"S",dateOfBirth:"2000-01-01",ukResidentSinceBirth:!0,ukResidentYears:null,fullTimeOccupation:{status:"SelfEmployed",studentStatus:null,occupation:"001",employersBusiness:"188"},partTimeOccupation:{status:"None",studentStatus:null,occupation:"",employersBusiness:""},anyClaims:!1,claims:[],anyConvictions:!1,convictions:[],accessToOtherVehicles:"Naov",licenceType:"F",iamMember:!0,yearsLicenceHeld:0,numberOfTests:null,noClaimsBonus:0,protectNoClaimsBonus:!1,mirrorBonus:null,numberOfVehiclesInHousehold:1,insureOthers:!1,additionalDrivers:[],memberOfTradeBody:!0,hazardousSubstances:!1,hasOwnBusiness:!0,yearsBusinessEstablished:0,publicLiabilityDue:"None",coverType:"C",classOfUse:"O",annualMileage:1e3,voluntaryExcess:0,inceptionDate:"2018-02-08",paymentMethod:"InFull",useOfVehicle:{proposer:"M",drivers:[]},abode:"H",homeOwner:!0,homeInsuranceDue:"None",address:{address1:"1 Lynchmere Cottages",address2:"Broadbridge Mill, Old Bridge Road",address3:"Bosham",postTown:"Chichester",county:null,postcode:"PO18 8AF",key:null},telephone:null,mobile:"07777777777",email:"[email protected]",agreedToTermsAndConditions:!1},quotes:[{logo:"policyshop.gif",brokerName:"policyshopgv",brokerTag:"policyshopgv",brokerTelephoneNumber:"0800 123 4567",brokerOpeningHours:{mon:"9am - 8pm",tue:"9am - 8pm",wed:"9am - 8pm",thu:"9am - 8pm",fri:"9am - 8pm",sat:"9am - 5pm",sun:"CLOSED"},brokerAlternativeTelephoneNumber:null,webReference:"55208517",premium:"9999.00",instalments:null,excesses:{compulsory:100,grantedVoluntary:0,total:100},coverType:"C",optionalExtras:[{description:"Legal Protection",included:"no",promotionalText:"Invaluable in helping to recover uninsured losses from a negligent party."},{description:"Breakdown Cover",included:"no",promotionalText:"We can keep you motoring with our range of breakdown products. "},{description:"Courtesy Vehicle",included:"no",promotionalText:"Provides courtesy vehicle for up to 7 days following an accident or theft"},{description:"Tools Cover",included:"no",promotionalText:"N/A"},{description:"Windscreen Cover",included:"yes",promotionalText:"Included as standard (Excess may apply)"},{description:"Driving Abroad",included:"no",promotionalText:"Not included"}],clickThrough:{url:"https://iconstestgrp17.ssp-uk.com/MotorAggregator/MotorRedirect.aspx",verb:"POST",postData:{quoteRef:"55208517",lineOfBusiness:"3",scidRef:"A03440"}}}],recall:{vehicles:[{registrationNumber:"",abiCode:"90309972",registrationDate:"2018-01-01",edition:{gvw:.68,netVw:275,insGroupOld:0,vanLength:"short",shortDisplayFormat:"AIXAM MEGA ",abiCode:"90309972",makeId:1,make:"AIXAM",modelId:1,model:"MEGA ",edition:"MEGA 400",engineCcValue:"0400",engineCC:400,startYear:2005,endYear:null,bodyStyle:"Van",fuel:"D",security:"G",thatcham:"",immobiliserType:""},type:"Van"},{registrationNumber:"",abiCode:"90309973",registrationDate:"2018-01-01",edition:{gvw:.9,netVw:460,insGroupOld:0,vanLength:"short",shortDisplayFormat:"AIXAM MEGA ",abiCode:"90309973",makeId:1,make:"AIXAM",modelId:1,model:"MEGA ",edition:"MEGA 500",engineCcValue:"0479",engineCC:479,startYear:2005,endYear:null,bodyStyle:"Van",fuel:"D",security:" ",thatcham:"",immobiliserType:""},type:"Van"},{registrationNumber:"",abiCode:"90311537",registrationDate:"2018-01-01",edition:{gvw:.95,netVw:450,insGroupOld:0,vanLength:"short",shortDisplayFormat:"AIXAM MEGA ",abiCode:"90311537",makeId:1,make:"AIXAM",modelId:1,model:"MEGA ",edition:"MEGA 500",engineCcValue:"0600",engineCC:600,startYear:2010,endYear:null,bodyStyle:"Van",fuel:"D",security:" ",thatcham:"",immobiliserType:""},type:"Van"},{registrationNumber:"",abiCode:"90311538",registrationDate:"2018-01-01",edition:{gvw:.95,netVw:445,insGroupOld:0,vanLength:"short",shortDisplayFormat:"AIXAM MEGA ",abiCode:"90311538",makeId:1,make:"AIXAM",modelId:1,model:"MEGA ",edition:"MEGA 500",engineCcValue:"0600",engineCC:600,startYear:2010,endYear:null,bodyStyle:"Van",fuel:"D",security:" ",thatcham:"",immobiliserType:""},type:"Van"},{registrationNumber:"",abiCode:"90311539",registrationDate:"2018-01-01",edition:{gvw:.95,netVw:412,insGroupOld:0,vanLength:"short",shortDisplayFormat:"AIXAM MEGA ",abiCode:"90311539",makeId:1,make:"AIXAM",modelId:1,model:"MEGA ",edition:"MEGA 500",engineCcValue:"0600",engineCC:600,startYear:2010,endYear:null,bodyStyle:"Van",fuel:"D",security:" ",thatcham:"",immobiliserType:""},type:"Van"},{registrationNumber:"",abiCode:"90311540",registrationDate:"2018-01-01",edition:{gvw:.95,netVw:450,insGroupOld:0,vanLength:"short",shortDisplayFormat:"AIXAM MEGA ",abiCode:"90311540",makeId:1,make:"AIXAM",modelId:1,model:"MEGA ",edition:"MEGA 500",engineCcValue:"0600",engineCC:600,startYear:2010,endYear:null,bodyStyle:"Van",fuel:"D",security:" ",thatcham:"",immobiliserType:""},type:"Van"},{registrationNumber:"",abiCode:"90311541",registrationDate:"2018-01-01",edition:{gvw:.95,netVw:450,insGroupOld:0,vanLength:"short",shortDisplayFormat:"AIXAM MEGA ",abiCode:"90311541",makeId:1,make:"AIXAM",modelId:1,model:"MEGA ",edition:"MEGA 600",engineCcValue:"0600",engineCC:600,startYear:2010,endYear:null,bodyStyle:"Van",fuel:"D",security:" ",thatcham:"",immobiliserType:""},type:"Van"}],vehicleMakes:[{id:1,name:"Aixam",popular:!1},{id:2,name:"Asia",popular:!1},{id:3,name:"Austin",popular:!1},{id:4,name:"Austin Morris",popular:!1},{id:5,name:"Bedford",popular:!1},{id:6,name:"Chevrolet ",popular:!1},{id:7,name:"Citroen",popular:!0},{id:8,name:"Dacia ",popular:!1},{id:9,name:"Daihatsu",popular:!1},{id:10,name:"Dodge",popular:!1},{id:11,name:"Ebro",popular:!1},{id:12,name:"Fiat",popular:!0},{id:13,name:"Ford",popular:!0},{id:14,name:"Freight Rover",popular:!1},{id:15,name:"FSO",popular:!1},{id:16,name:"GEM",popular:!1},{id:17,name:"Honda",popular:!1},{id:18,name:"Hyundai",popular:!1},{id:19,name:"Isuzu",popular:!1},{id:20,name:"Iveco",popular:!0},{id:21,name:"Jeep",popular:!1},{id:22,name:"Kia",popular:!1},{id:23,name:"Lada",popular:!1},{id:24,name:"Land Rover",popular:!1}
1,{id:25,name:"LDV",popular:!0},{id:26,name:"Leyland Daf",popular:!1},{id:27,name:"Mazda",popular:!1},{id:28,name:"Mercedes",popular:!0},{id:29,name:"MG",popular:!1},{id:30,name:"Mitsubishi",popular:!1},{id:31,name:"Nissan",popular:!1},{id:32,name:"Peugeot",popular:!0},{id:33,name:"Piaggio",popular:!1},{id:34,name:"Proton",popular:!1},{id:35,name:"Reliant",popular:!1},{id:36,name:"Renault",popular:!0},{id:37,name:"Rover",popular:!1},{id:38,name:"Santana",popular:!1},{id:39,name:"Seat",popular:!1},{id:40,name:"Skoda",popular:!1},{id:41,name:"Ssangyong",popular:!1},{id:42,name:"Stevens",popular:!1},{id:43,name:"Subaru",popular:!1},{id:44,name:"Suzuki",popular:!1},{id:45,name:"Talbot",popular:!1},{id:46,name:"Tata",popular:!1},{id:47,name:"Toyota",popular:!1},{id:48,name:"Vauxhall",popular:!0},{id:49,name:"Volkswagen",popular:!0},{id:50,name:"Yuejin",popular:!1},{id:51,name:"Yugo",popular:!1},{id:52,name:"DFSK",popular:!1},{id:53,name:"Great Wall",popular:!1},{id:54,name:"MIA",popular:!1},{id:55,name:"Mini",popular:!1}],vehicleModels:[{id:1,makeId:0,description:"MEGA "}],years:[{registration:"2018 (67, 18, 68)",year:2018},{registration:"2017 (66, 17, 67)",year:2017},{registration:"2016 (65, 16, 66)",year:2016},{registration:"2015 (64, 15, 65)",year:2015},{registration:"2014 (63, 14, 64)",year:2014},{registration:"2013 (62, 13, 63)",year:2013},{registration:"2012 (61, 12, 62)",year:2012},{registration:"2011 (60, 11, 61)",year:2011},{registration:"2010 (59, 10, 60)",year:2010},{registration:"2009 (58, 09, 59)",year:2009},{registration:"2008 (57, 08, 58)",year:2008},{registration:"2007 (56, 07, 57)",year:2007},{registration:"2006 (55, 06, 56)",year:2006},{registration:"2005 (54, 05, 55)",year:2005}],proposer:{jobTitle:{code:"001",description:"Abattoir Worker"},business:{code:"188",description:"Abattoir"},partTimeJobTitle:null,partTimeBusiness:null,claims:[],convictions:[]},additionalDrivers:[],addresses:[{address1:"1 Lynchmere Cottages",address2:"Broadbridge Mill, Old Bridge Road",address3:"Bosham",postTown:"Chichester",county:"West Sussex",postcode:"PO18 8AF",key:"PO18 8AF1001~20171220"},{address1:"2 Lynchmere Cottages",address2:"Broadbridge Mill, Old Bridge Road",address3:"Bosham",postTown:"Chichester",county:"West Sussex",postcode:"PO18 8AF",key:"PO18 8AF1002~20171220"},{address1:"3 Lynchmere Cottages",address2:"Broadbridge Mill, Old Bridge Road",address3:"Bosham",postTown:"Chichester",county:"West Sussex",postcode:"PO18 8AF",key:"PO18 8AF1003~20171220"},{address1:"4 Lynchmere Cottages",address2:"Broadbridge Mill, Old Bridge Road",address3:"Bosham",postTown:"Chichester",county:"West Sussex",postcode:"PO18 8AF",key:"PO18 8AF1004~20171220"},{address1:"5 Lynchmere Cottages",address2:"Broadbridge Mill, Old Bridge Road",address3:"Bosham",postTown:"Chichester",county:"West Sussex",postcode:"PO18 8AF",key:"PO18 8AF1005~20171220"}]}},edition:[{code:"90309972",type:"Van",date:"2018-01-01",name1:"AIXAM MEGA 400 Van, ",name2:"400cc diesel, 0.68 tonnes, 2005 to date",from:2005,to:"date"},{code:"90309973",type:"Van",date:"2018-01-01",name1:"AIXAM MEGA 500 Van, ",name2:"479cc diesel, 0.9 tonnes, 2005 to date",from:2005,to:"date"},{code:"90311537",type:"Van",date:"2018-01-01",name1:"AIXAM MEGA 500 Van, ",name2:"600cc diesel, 0.95 tonnes, 2010 to date",from:2010,to:"date"},{code:"90311538",type:"Van",date:"2018-01-01",name1:"AIXAM MEGA 500 Van, ",name2:"600cc diesel, 0.95 tonnes, 2010 to date",from:2010,to:"date"},{code:"90311539",type:"Van",date:"2018-01-01",name1:"AIXAM MEGA 500 Van, ",name2:"600cc diesel, 0.95 tonnes, 2010 to date",from:2010,to:"date"},{code:"90311540",type:"Van",date:"2018-01-01",name1:"AIXAM MEGA 500 Van, ",name2:"600cc diesel, 0.95 tonnes, 2010 to date",from:2010,to:"date"},{code:"90311541",type:"Van",date:"2018-01-01",name1:"AIXAM MEGA 600 Van, ",name2:"600cc diesel, 0.95 tonnes, 2010 to date",from:2010,to:"date"}]}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=H({token:n,factory:n.\u0275fac})}}return n})();var Ne=(n,w)=>({"just-center":n,"just-even":w}),Ie=n=>({"margin-bottom-30":n});function qe(n,w){if(n&1&&(o(0,"div",16)(1,"div",17),O(2,"div",18),o(3,"div",19)(4,"div",20)(5,"div",21)(6,"div",22),X(),o(7,"svg",23),O(8,"circle",24),r()()(),z(),o(9,"div",25),O(10,"div")(11,"div")(12,"div")(13,"div"),r(),o(14,"div",26)(15,"h3",27),d(16),r(),o(17,"p",28),d(18),r(),o(19,"div",29),O(20,"span",30),o(21,"span",31),d(22),r()()()()()()()),n&2){let e=D(2);h(16),k(e.loaderTitle),h(2),A(" ",e.loaderText," "),h(2),Y("width",e.progressLoading,"%"),h(),Y("left",e.progressLoading-4,"%"),h(),A("",e.progressLoading,"%")}}function Ve(n,w){if(n&1&&($(0),o(1,"div"),O(2,"app-header"),r(),o(3,"div",2),O(4,"
1span",3)(5,"span",4)(6,"span",5)(7,"span",6)(8,"span",7)(9,"span",8)(10,"span",9)(11,"span",10)(12,"span",11)(13,"span",12),I(14,qe,23,7,"div",13),o(15,"div",14)(16,"p",15),d(17,"Quotes displayed will be provided & administered by UK Insurance Broker \u2018Business Insurance Solutions Limited\u2019, authorised and regulated by the Financial Conduct Authority. Registered in England and Wales (06837377), registered office: 1st Floor, 2 Bishops Wharf, Walnut Tree Close, Guildford, GU1 4UP."),r()()(),ee()),n&2){let e=D();h(14),y("ngIf",e.loading)}}function Pe(n,w){if(n&1&&(o(0,"span")(1,"strong"),d(2),r(),d(3,","),r()),n&2){let e=D(2);h(2),k(e.transitionInfo==null?null:e.transitionInfo.firstname)}}function Re(n,w){if(n&1&&(o(0,"div",57)(1,"span",58),d(2),r(),o(3,"span",59),d(4),r()()),n&2){let e=D(2);h(2),k(e.firstDigit),h(2),k(e.secondDigit)}}function _e(n,w){if(n&1&&O(0,"img",60),n&2){let e=D(2);y("src",e.insurerLogoImgurl,Q)}}function Le(n,w){n&1&&O(0,"img",61)}function Be(n,w){if(n&1&&(o(0,"div",69)(1,"span",64),d(2),r(),o(3,"span",65),d(4),r()()),n&2){let e=D(3);h(2),A("",e.transitionInfo==null||e.transitionInfo.instalments==null?null:e.transitionInfo.instalments.number," Monthly Instalments"),h(2),A("\xA3",e.thousandSeparator(e.transitionInfo==null||e.transitionInfo.instalments==null||e.transitionInfo.instalments.amount==null?null:e.transitionInfo.instalments.amount.toFixed(2)),"")}}function Ge(n,w){if(n&1&&(o(0,"div",62)(1,"div",63)(2,"span",64),d(3,"One Time Payment"),r(),o(4,"span",65),d(5),r()(),I(6,Be,5,2,"div",66),o(7,"div",67)(8,"span",64),d(9,"Cover Type"),r(),o(10,"span",68),d(11),r()()()),n&2){let e=D(2);h(5),A("\xA3",e.transitionInfo!=null&&e.transitionInfo.showMonthly?e.thousandSeparator(e.transitionInfo==null||e.transitionInfo.instalments==null||e.transitionInfo.instalments.deposit==null?null:e.transitionInfo.instalments.deposit.toFixed(2)):e.thousandSeparator(e.transitionInfo==null||e.transitionInfo.premium==null?null:e.transitionInfo.premium.toFixed(2)),""),h(),y("ngIf",e.transitionInfo==null?null:e.transitionInfo.showMonthly),h(5),k(e.coverTypeLabel)}}function je(n,w){if(n&1&&(o(0,"div",32)(1,"div",33)(2,"div",34)(3,"div",35),O(4,"img",36),r(),o(5,"h2")(6,"span",37),d(7,"Thanks"),r(),d(8," for comparing with us "),I(9,Pe,4,1,"span",38),r(),o(10,"p"),d(11," We're "),o(12,"strong"),d(13,"handing you over to Van Insurance.co.uk"),r(),d(14,", your broker, where you can add extras to your policy and pay for your cover. It\u2019ll only take a second "),r(),o(15,"div",39)(16,"div",40)(17,"div",41),I(18,Re,5,2,"div",42),O(19,"div",43)(20,"div",44),r()()()()(),o(21,"div",45)(22,"div",46)(23,"div",47),I(24,_e,1,1,"img",48)(25,Le,1,0,"img",49),O(26,"img",50),r(),o(27,"div",51)(28,"div",52),d(29," REFERENCE: "),o(30,"span"),d(31),r()()(),I(32,Ge,12,3,"div",53),o(33,"div",54)(34,"h3"),d(35,"We\u2019re here to "),o(36,"span",37),d(37,"help"),r(),d(38,"\u{1F469}\u200D\u{1F4BC}"),r(),o(39,"ul")(40,"li",55),d(41,"\u{1F64B}\u200D\u2642\uFE0F \xA0We know van insurance can be confusing at times. Got a question about your cover?"),r(),o(42,"li"),d(43,"\u2705 \xA0We\u2019ll get your insurance sorted."),r(),o(44,"li"),d(45,"\u{1F4A1} \xA0Our UK-based expert are just a call away."),r()(),o(46,"a",56),d(47,"\u{1F4DE} 0333 009 1979"),r()()()()()),n&2){let e=D();h(9),y("ngIf",e.isNotExternalAgg()&&e.transitionInfo),h(9),y("ngIf",!e.countdownComplete),h(4),y("ngClass",ne(9,Ne,!e.transitionInfo,e.transitionInfo)),h(),y("ngClass",K(12,Ie,!e.transitionInfo)),h(),y("ngIf",e.insurerLogoImgurl),h(),y("ngIf",e.insurerLogoImgurl),h(2),y("ngClass",K(14,Ie,!e.transitionInfo)),h(4),A("\xA0",(e.transitionInfo==null?null:e.transitionInfo.quoteReference)||e.quoteReference,""),h(),y("ngIf",e.isNotExternalAgg()&&e.transitionInfo)}}var xe=(()=>{class n{constructor(e,t,s,c,u,i){this.localStorageService=e,this.serviceCalls=t,this.router=s,this.activatedRoute=c,this.hideShowNumber=u,this.appImage=i,this.loaderTitle="Recalling your Quotes",this.loaderText="Please be patient, this may take some time",this.recallAggPrecisReady=!1,this.firstDigit=0,this.secondDigit=10,this.countdownComplete=!0,this.transitionInfo=null,this.showTransition=!1,this.vanConstant=new ye().constant,this.aboutConstant=JSON.stringify(new we().constant),this.coverConstant=new Oe().constant,this.recallConstant=new Te().constant,this.quoteID=null,this.email=null,this.risk=!1,this.quotePhNum="0333 200 1464",this.insurerLogos=Se,this.mobile=null,this.quoteReference=null,this.abiCode=null,this.postcode=null,this.landline=null,this.schemeCode=null,this.clickThroughId=null,this.titleOptions=JSON.parse(this.aboutConstant).title,this.maritalStatusOptions=JSON.parse(this.aboutConstant).maritalStatus,this.relationOptions=JSON.parse(this.aboutConstant).relationToProposer,this.dobDatesData=he(),this.dobDayOptions=this.dobDatesData.dates,this.dobMonthOptions=this.dobDatesData.months,this.dobYearOptions=this.dobDatesData.years,this.datesData=pe(),this.yearsUkResidentOptions=JSON.parse(this.aboutConstant).yearsUkResident,this.jobFullTimeOptions=JSON.parse(this.aboutConstant).jobFullTime,this.jobFullTimeOptionsToSend=JSON.parse(this.aboutConstant).jobFullTimeValues,this.jobPartTimeOptions=JSON.parse(this.aboutConstant).jobPartTime,this.jobPartTimeOptionsToSend=JSON.parse(this.aboutConstant).jobPartTimeValues,this.studentDetailsOptions=JSON.parse(this.aboutConstant).studentType,this.studentDetailsOptionsToSend=JSON.parse(this.aboutConstant).studentTypeValues,this.claimsDayOptions=this.datesData.dates,this.claimsMonthOptions=this.datesData.months,this.claimsYearOptions=this.datesData.years,this.claimsTypeOptions=JSON.parse(this.aboutConstant).claimType,this.costIncurredOptions=JSON.parse(this.aboutConstant).costIncurred,this.convictionsDayOptions=this.datesData.dates,this.convictionsMonthOptions=this.datesData.months,this.convictionsYearOptions=this.datesData.years,this.banLengthOptions=JSON.parse(this.aboutConstant).banLength,this.readingTypeOptions=JSON.parse(this.aboutConstant).readingType,this.pointsOptions=JSON.parse(this.aboutConstant).points,this.claimBonusOptions=JSON.parse(this.aboutConstant).claimBonus,this.totalVehilcesOptions=JSON.parse(this.aboutConstant).totalVehicles,this.otherVehiclesOptions=JSON.parse(this.aboutConstant).otherVehicles,this.otherVehiclesClaimBonusOptions=JSON.parse(this.aboutConstant).claimBonus,this.licenseTypeOptions=JSON.parse(this.aboutConstant).licenseType,this.licenseYearsOptions=JSON.parse(this.aboutConstant).yearsLicense,this.progressLoading=0,this.loading=!1,this.slideConfig={infinite:!0,autoplay:!0,autoplaySpeed:0,speed:4e3,arrows:!1,centerMode:!0,cssEase:"linear",slidesToShow:6,slidesToScroll:1,dots:!1,pauseOnHover:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]},this.slideConfig2={infinite:!0,autoplay:!0,autoplaySpeed:0,speed:4e3,arrows:!1,centerMode:!0,cssEase:"linear",slidesToShow:6,slidesToScroll:1,dots:!1,pauseOnHover:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:767,settings:{slidesToShow:3.5,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:2.5,slidesToScroll:1}},{breakpoint:500,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:400,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:375,settings:{slidesToShow:1.3,slidesToScroll:1}}]},this.percent=0,this.externalAggsArr=["AGVANINSCGV","AGMEERKATGV","AGCONFUSEGV","AGGOCOMPAGV","AGMONEYSUGV","AGQUOTEZOGV","AGTHEVANIGV"],this.appImage.getImage().subscribe(a=>{a&&(this.insurerLogoImgurl="/assets/img/redirect/"+a)}),this.activatedRoute.queryParams.subscribe(a=>{a.id&&a.e?(this.quoteID=a.id,this.email=a.e,this.risk=a.risk=="true"):a.quoteReference&&a.abiCode&&a.postcode&&(this.quoteReference=a.quoteReference,this.email=a.e,this.abiCode=a.abiCode,this.postcode=a.postcode,this.mobile=a.mobile,this.landline=a.landline,this.schemeCode=a.schemeCode,this.clickThroughId=a.clickThroughId,this.loaderTitle="Taking you to VanInsurance.co.uk",this.loaderText="Please be patient, this will only take a second",this.showTransition=!0),this.showTransition&&(this.clickThroughId=a.clickThroughId,this.clickThroughId&&this.clickThroughId in this.insurerLogos&&this.appImage.setImage(this.insurerLogos[this.clickThroughId]),document.body.classList.remove("header-space"),this.isNotExternalAgg()&&this.serviceCalls.getTransitionPageData().subscribe({next:S=>{this.transitionInfo=S.transitionInfo},error:S=>{}}));let f=["Legal","CourtesyCar","PersonalAccident","Breakdown","Tools","Exce
1ssReimbursement","KeyProtection","Gadget","LicenceDefence"],v=[];for(let S in a)f.includes(S)&&v.push(S);v.length>0&&this.localStorageService.set("_pgADDONS",v),this.checkUserConsent(this.email)})}getDriverIndex(e){switch(e){case 0:return"Second";case 1:return"Third";case 2:return"Fourth";case 3:return"Fifth"}}addBgClass(){var e,t,s;e=document.body,t="blueGradBg",s=e.className.split(" "),s.indexOf(t)==-1&&(e.className+=" "+t)}ngOnInit(){if(this.addBgClass(),setTimeout(()=>{this.loading=!0},1e3),this.interval2=setInterval(()=>{this.progressLoading<95&&(this.progressLoading+=1)},100),window.SITE_CONFIG.meta&&window.SITE_CONFIG.meta.brandDetails&&(this.siteData=window.SITE_CONFIG.meta.brandDetails.brandName),this.insurerLogos[this.clickThroughId]&&this.appImage.setImage(this.insurerLogos[this.clickThroughId]),this.localStorageService.get(btoa("_pgOptionalDATA"))&&this.localStorageService.remove(btoa("_pgOptionalDATA")),this.quoteID!=null&&this.email!=null&&this.quoteID!=""&&this.email!=""){let e=this.localStorageService.get(btoa("token"));this.serviceCalls.recallQuotes(this.quoteID,this.email,this.risk&&e?e:null).then(t=>{this.restorePage1(t),this.restorePage2(t),this.restorePage3(t),this.restoreQuotes(t),t.quote.telephoneNumber!=null?this.quotePhNum=t.quote.telephoneNumber:this.quotePhNum="0333 200 1464",t.agentDetails&&(window.DATA_CONFIG={telephone:t.agentDetails}),this.hideShowNumber.changeTelnum(this.quotePhNum)}).catch(t=>{this.progressLoading=95,clearInterval(this.interval2),setTimeout(()=>{this.router.navigate(["session-wrong"])},500)})}else if(this.quoteReference!=null&&this.abiCode!=null&&this.quoteReference!=""&&this.abiCode!=""){let e=this.localStorageService.get(btoa("token"));this.serviceCalls.recallAggQuotes(this.quoteReference,this.abiCode,this.postcode,this.email,this.mobile,this.landline,this.siteData).then(t=>{console.log(),this.insurerLogos[t.quote.referrerCode]&&this.appImage.setImage(this.insurerLogos[t.quote.referrerCode]),this.restorePage1(t),this.restorePage2(t),this.restorePage3(t),this.restoreQuotes(t),t.quote.telephoneNumber!=null?this.quotePhNum=t.quote.telephoneNumber:this.quotePhNum="0333 200 1464",this.hideShowNumber.changeTelnum(this.quotePhNum)}).catch(t=>{this.progressLoading=95,clearInterval(this.interval2),setTimeout(()=>{this.router.navigate(["session-wrong"])},500)})}else this.progressLoading=95,clearInterval(this.interval2),setTimeout(()=>{this.router.navigate(["session-wrong"])},500);window.scrollTo(0,0)}restorePage1(e){let t=e.quote,s=t.recall.vehicleMakes,c=t.recall.vehicleModels,u=t.recall.years,i=e.edition;var a={regNo:null,regDate:null,edition:null,make:null,model:null,year:null};t.answerSet.registrationNumberKnown?a.regNo=t.answerSet.registrationNumber:(a.make=s.findIndex(p=>p.id==t.answerSet.vehicleMake),a.model=c.findIndex(p=>p.id==t.answerSet.vehicleModel),a.year=u.findIndex(p=>p.year==t.answerSet.year)),a.edition=i.findIndex(p=>p.code==t.answerSet.vehicleEdition),a.regDate=t.answerSet.vehicleRegistrationDate;let f=this.vanConstant.registeredKeeper,v=this.vanConstant.owner,S=this.vanConstant.noOfSeats,C=this.vanConstant.datePurchased.month,L=ce(i[a.edition].from,new Date().getFullYear());var b={registeredKeeper:null,futureRegisteredKeeper:null,registeredKeeperName:null,owner:null,currentValue:null,rackingShelves:null,noOfSeats:null,purchaseDate:{month:null,year:null},notPurchased:!1};b.registeredKeeper=t.answerSet.registeredKeeperLegalOwner?1:0,b.futureRegisteredKeeper=t.answerSet.registeredKeeperLegalOwnerInFuture==null?null:t.answerSet.registeredKeeperLegalOwnerInFuture?1:0,b.registeredKeeperName=t.answerSet.registeredKeeper==null?null:f.value.findIndex(p=>p==t.answerSet.registeredKeeper),b.owner=t.answerSet.vehicleOwner==null?null:v.value.findIndex(p=>p==t.answerSet.vehicleOwner),b.currentValue=t.answerSet.vehicleValue,b.rackingShelves=t.answerSet.racking==null?null:t.answerSet.racking?1:0,b.noOfSeats=S.findIndex(p=>p==t.answerSet.numberOfSeats),b.notPurchased=t.answerSet.notYetPurchased,b.purchaseDate.month=t.answerSet.notYetPurchased?null:C.value.findIndex(p=>p==t.answerSet.datePurchased.substr(5,2)),b.purchaseDate.year=t.answerSet.notYetPurchased?null:L.findIndex(p=>p==t.answerSet.datePurchased.substr(0,4));let E=this.vanConstant.immobiliser,N=this.vanConstant.trackingDevice,q=this.vanConstant.parkedOvernight;
1var T={immobiliser:null,postalcode:null,trackingDevice:null,parkedOvernight:null,vanSignWritten:null,badDriverHotline:null};T.immobiliser=E.value.findIndex(p=>p==(t.answerSet.immobiliser=="None"?t.answerSet.immobiliser:t.answerSet.immobiliser.toUpperCase())),T.postalcode=t.answerSet.postcodeWhereKept,T.trackingDevice=N.value.findIndex(p=>p==t.answerSet.trackingDevice),T.parkedOvernight=q.value.findIndex(p=>p==t.answerSet.parkedOvernight),T.vanSignWritten=t.answerSet.signWritten==!0?1:0;let l={isRegNoAvailable:t.answerSet.registrationNumberKnown,isVan:t.answerSet.racking!=null,regValid:!0,postValid:!0,showButton:!0,vehicle:!0,sec1:a,sec2:b,sec3:T},B={registrationNumberKnown:e.quote.answerSet.registrationNumberKnown,registrationNumber:e.quote.answerSet.registrationNumber,vehicleMake:e.quote.answerSet.vehicleMake,vehicleModel:e.quote.answerSet.vehicleModel,year:e.quote.answerSet.year,vehicleEdition:e.quote.answerSet.vehicleEdition,vehicleRegistrationDate:e.quote.answerSet.vehicleRegistrationDate,registeredKeeperLegalOwner:e.quote.answerSet.registeredKeeperLegalOwner,registeredKeeperLegalOwnerInFuture:e.quote.answerSet.registeredKeeperLegalOwnerInFuture,registeredKeeper:e.quote.answerSet.registeredKeeper,vehicleOwner:e.quote.answerSet.vehicleOwner,notYetPurchased:e.quote.answerSet.notYetPurchased,datePurchased:e.quote.answerSet.datePurchased,vehicleValue:e.quote.answerSet.vehicleValue,numberOfSeats:e.quote.answerSet.numberOfSeats,immobiliser:e.quote.answerSet.immobiliser,trackingDevice:e.quote.answerSet.trackingDevice,postcodeWhereKept:e.quote.answerSet.postcodeWhereKept,parkedOvernight:e.quote.answerSet.parkedOvernight,racking:e.quote.answerSet.racking,signWritten:e.quote.answerSet.signWritten};this.localStorageService.set(btoa("_pg1DATA"),g(l)),this.localStorageService.set(btoa("make"),g(s)),this.localStorageService.set(btoa("model"),g(c)),this.localStorageService.set(btoa("modelYear"),g(u)),this.localStorageService.set(btoa("edition"),g(i)),this.localStorageService.set(btoa("_pg1FFFFFFDDDDD"),g(B))}restorePage2(e){let t=e.quote;console.log("allowPurchase",t?.allowPurchase);var s=[];s.push(this.getDriverInfo(t.answerSet,t)),t.answerSet.additionalDrivers.forEach((a,f)=>{s.push(this.getDriverInfo(a,t,!0,f))});let c={showDriverForm:!1,allDrivers:s,isDriverEditing:!1,showClaimForm:!1,isClaimEditing:!1,showConvictionForm:!1,isConvictionEditing:!1},u=e.quote.answerSet.ukResidentYears>10?10:e.quote.answerSet.ukResidentYears;var i={title:e.quote.answerSet.title,maritalStatus:e.quote.answerSet.maritalStatus,forename:e.quote.answerSet.forename,surname:e.quote.answerSet.surname,dateOfBirth:e.quote.answerSet.dateOfBirth,ukResidentSinceBirth:e.quote.answerSet.ukResidentSinceBirth,ukResidentYears:e.quote.answerSet.ukResidentYears==null?null:u,fullTimeOccupation:e.quote.answerSet.fullTimeOccupation,partTimeOccupation:e.quote.answerSet.partTimeOccupation,accessToOtherVehicles:e.quote.answerSet.accessToOtherVehicles,licenceType:e.quote.answerSet.licenceType,iamMember:e.quote.answerSet.iamMember,memberOfTradeBody:e.quote.answerSet.memberOfTradeBody,hasOwnBusiness:e.quote.answerSet.hasOwnBusiness,yearsLicenceHeld:e.quote.answerSet.yearsLicenceHeld,numberOfTests:e.quote.answerSet.numberOfTests,noClaimsBonus:e.quote.answerSet.noClaimsBonus,protectNoClaimsBonus:e.quote.answerSet.protectNoClaimsBonus,mirrorBonus:e.quote.answerSet.mirrorBonus,numberOfVehiclesInHousehold:e.quote.answerSet.numberOfVehiclesInHousehold,claims:e.quote.answerSet.claims,anyClaims:e.quote.answerSet.anyClaims,convictions:e.quote.answerSet.convictions,anyConvictions:e.quote.answerSet.anyConvictions,additionalDrivers:e.quote.answerSet.additionalDrivers};this.localStorageService.set(btoa("_pg2DATA"),g(c)),this.localStorageService.set(btoa("_pg2FFFFFFDDDDD"),g(i))}getDriverInfo(e,t,s=!1,c=0){function u(C){return C==1||C==2||C==3}var i={personalInfo:{title:null,relationToProposer:null,maritalStatus:null,firstName:null,lastName:null,birthDate:{day:null,month:null,year:null},isUkCitizen:null,yearsUkResident:null,didCalim:null,didConviction:null},occupation:{fullTime:{jobStatus:null,jobTitle:null,jobNature:null,studentStatus:null},partTime:{jobStatus:null,jobTitle:null,jobNature:null},isTradeMember:null,isPartTimeJob:null},claims:[],convictions:[],drivingDetails:{claimBonus:null,otherVehilcleClaimBonus:null,protectClaimBonus:null,driverTestTaken:null,totalVehicles:null,accessToOtherVehicles:null,licenceType:null,yearsLicenceHeld:null},isAdditionalDriver:s}
1;i.personalInfo.title=this.titleOptions.value.indexOf(e.title),i.personalInfo.maritalStatus=this.maritalStatusOptions.value.indexOf(e.maritalStatus),i.personalInfo.firstName=e.forename,i.personalInfo.lastName=e.surname;let a=e.dateOfBirth.substring(5,e.dateOfBirth.length-3),f=e.dateOfBirth.substring(8,e.dateOfBirth.length);s&&(i.personalInfo.relationToProposer=this.relationOptions.value.indexOf(e.relationshipToProposer)),i.personalInfo.birthDate.day=f.substring(0,1)=="0"?this.dobDayOptions.indexOf(parseInt(f.substring(1,2))):this.dobDayOptions.indexOf(parseInt(f)),i.personalInfo.birthDate.month=a.substring(0,1)=="0"?this.dobMonthOptions.indexOf(parseInt(a.substring(1,2))-1):this.dobMonthOptions.indexOf(parseInt(a)-1),i.personalInfo.birthDate.year=this.dobYearOptions.indexOf(parseInt(e.dateOfBirth.substring(0,4))),i.personalInfo.isUkCitizen=e.ukResidentSinceBirth;let v=e.ukResidentYears>10?10:e.ukResidentYears;i.personalInfo.yearsUkResident=e.ukResidentYears==null?null:this.yearsUkResidentOptions.value.indexOf(v),i.occupation.fullTime.jobStatus=this.jobFullTimeOptions.value.indexOf(e.fullTimeOccupation.status),i.occupation.fullTime.jobTitle=s?t.recall.additionalDrivers[c].jobTitle:t.recall.proposer.jobTitle,i.occupation.fullTime.jobNature=s?t.recall.additionalDrivers[c].business:t.recall.proposer.business,i.occupation.fullTime.studentStatus=e.fullTimeOccupation.studentStatus,i.occupation.partTime.jobStatus=this.jobPartTimeOptions.value.indexOf(e.partTimeOccupation.status),i.occupation.partTime.jobTitle=s?t.recall.additionalDrivers[c].partTimeJobTitle:t.recall.proposer.partTimeJobTitle,i.occupation.partTime.jobNature=s?t.recall.additionalDrivers[c].partTimeBusiness:t.recall.proposer.partTimeBusiness,i.occupation.isPartTimeJob=i.occupation.partTime.jobStatus!="None",s||(i.occupation.isTradeMember=e.memberOfTradeBody),i.drivingDetails.accessToOtherVehicles=this.otherVehiclesOptions.value.findIndex(C=>C==e.accessToOtherVehicles.toUpperCase());let S=this.licenseTypeOptions.value.indexOf(e.licenceType);return i.drivingDetails.licenceType=(S==0||S==2)&&e.iamMember?S+1:S,i.drivingDetails.yearsLicenceHeld=e.yearsLicenceHeld,i.drivingDetails.driverTestTaken=e.numberOfTests,s||(i.drivingDetails.claimBonus=this.claimBonusOptions.value.indexOf(e.noClaimsBonus),i.drivingDetails.protectClaimBonus=e.protectNoClaimsBonus,i.drivingDetails.otherVehilcleClaimBonus=e.mirrorBonus==null?null:this.otherVehiclesClaimBonusOptions.value.indexOf(e.mirrorBonus),i.drivingDetails.totalVehicles=e.numberOfVehiclesInHousehold>5?this.totalVehilcesOptions.value.indexOf(5):this.totalVehilcesOptions.value.indexOf(e.numberOfVehiclesInHousehold),i.drivingDetails.totalVehicles=u(i.drivingDetails.accessToOtherVehicles)?i.drivingDetails.totalVehicles-1:i.drivingDetails.totalVehicles),i.personalInfo.didCalim=e.anyClaims,i.claims=this.getClaimForRestore(e.claims,t,s,c),i.personalInfo.didConviction=e.anyConvictions,i.convictions=this.getConvictionForRestore(e.convictions,t,s,c),i}getClaimForRestore(e,t,s,c){var u=[];return e.forEach((i,a)=>{let f=i.date.substring(5,i.date.length-3),v=i.date.substring(8,i.date.length);u.push({claimDate:{day:v.substring(0,1)=="0"?this.claimsDayOptions.indexOf(parseInt(v.substring(1,2))):this.claimsDayOptions.indexOf(parseInt(v)),month:f.substring(0,1)=="0"?this.claimsMonthOptions.indexOf(parseInt(f.substring(1,2))-1):this.claimsMonthOptions.indexOf(parseInt(f)-1),year:this.claimsYearOptions.indexOf(parseInt(i.date.substring(0,4)))},type:i.category,claimDescription:this.claimDescriptionForClaimRestore(i.claimCode,s?t.recall.additionalDrivers[c].claims[a]:t.recall.proposer.claims[a]),description:0,costIncurred:this.costIncurredOptions.indexOf(i.costsIncurred),costAmount:i.costAmount==null?null:JSON.parse(JSON.stringify(Math.round(parseInt(i.costAmount)).toString())),faultClaim:i.fault,personalInjury:i.personalInjury==null?null:i.personalInjury,occuredUnder:i.thisPolicy})}),u}claimDescriptionForClaimRestore(e,t){var s=[];return t&&t.claimTypes.forEach((c,u)=>{c.id==e&&s.push(c)}),s.length>0?s[0]:{id:"",description:"",personalInjury:!1}}getConvictionForRestore(e,t,s,c){var u=[];return e.forEach((i,a)=>{let f=i.date.substring(5,i.date.length-3),v=i.date.substring(8,i.date.length);
1u.push({type:s?t.recall.additionalDrivers[c].convictions[a].convictionType:t.recall.proposer.convictions[a].convictionType,readingType:i.readingType!=null?this.readingTypeOptions.value.indexOf(i.readingType.toUpperCase()):null,readingLevel:i.readingLevel,points:this.pointsOptions.value.indexOf(i.points),fine:i.fine,banLength:this.banLengthOptions.value.indexOf(i.banLength),convictionDate:{day:v.substring(0,1)=="0"?this.convictionsDayOptions.indexOf(parseInt(v.substring(1,2))):this.convictionsDayOptions.indexOf(parseInt(v)),month:f.substring(0,1)=="0"?this.convictionsMonthOptions.indexOf(parseInt(f.substring(1,2))-1):this.convictionsMonthOptions.indexOf(parseInt(f)-1),year:this.convictionsYearOptions.indexOf(parseInt(i.date.substring(0,4)))}})}),u}restorePage3(e){let t=e.quote,s=this.coverConstant.cover,c=this.coverConstant.used,u=this.coverConstant.pay,i=this.coverConstant.useofvan,a=this.coverConstant.established,f=this.coverConstant.liability,v=this.coverConstant.property,S=this.coverConstant.insurance,C=this.coverConstant.mileage,L=this.coverConstant.voluntary,b=t.recall.addresses,E=ue(),N=E.dates,q=E.months,T=E.years;var l={cover:null,annualMileage:null,used:null,voluntaryExcess:null,hazardous:null,renewal:null,directmail:0,reciveemail:0,recivesms:0,recivecall:0,policyDate:{day:null,month:null,year:0},pay:null,useofvan:{proposer:null},established:null,liability:null,property:null,insurance:null,houseName:null,postCode:null,mainPhone:null,landline:null,email:null,mobile:null,addressLine:null,address:{address1:null,address2:null,address3:null,postTown:null,county:null,postcode:null,key:null},quoteReference:"",privacyPolicy:!1};l.cover=s.value.findIndex(m=>m==t.answerSet.coverType),l.annualMileage=C.value.findIndex(m=>m==t.answerSet.annualMileage),l.used=c.value.findIndex(m=>m==t.answerSet.classOfUse),l.voluntaryExcess=L.value.findIndex(m=>m==t.answerSet.voluntaryExcess),l.hazardous=t.answerSet.hazardousSubstances==!0?1:0;let B=new Date,p=new Date(t.answerSet.inceptionDate);var ke=this.validateInceptionDate(B,p),V=ke.toISOString().split("T")[0];let G=V.substring(5,V.length-3),j=V.substring(8,V.length);l.policyDate.day=j.substring(0,1)=="0"?N.indexOf(parseInt(j.substring(1,2))):N.indexOf(parseInt(j)),l.policyDate.month=G.substring(0,1)=="0"?q.indexOf(parseInt(G.substring(1,2))-1):q.indexOf(parseInt(G)-1),l.policyDate.year=T.indexOf(parseInt(t.answerSet.inceptionDate.substring(0,4))),l.pay=u.value.findIndex(m=>m==t.answerSet.paymentMethod),l.property=v.valueSend.findIndex(m=>m==t.answerSet.abode),l.insurance=t.answerSet.homeInsuranceDue==null?null:S.value.findIndex(m=>m==t.answerSet.homeInsuranceDue),l.established=t.answerSet.yearsBusinessEstablished==null?null:t.answerSet.yearsBusinessEstablished>10?a.value.findIndex(m=>m==10):a.value.findIndex(m=>m==t.answerSet.yearsBusinessEstablished),l.liability=t.answerSet.publicLiabilityDue==null?null:f.value.findIndex(m=>m==t.answerSet.publicLiabilityDue),l.addressLine=t.answerSet.address.address1,l.postCode=t.answerSet.address.postcode,l.address=t.answerSet.address,l.useofvan.proposer=i.value.indexOf(t.answerSet.useOfVehicle.proposer),t.answerSet.useOfVehicle.drivers.forEach((m,Ee)=>{l.useofvan[this.getDriverIndex(Ee)]=i.value.indexOf(m)}),t.answerSet.mobile!=null?l.mainPhone=parseInt(t.answerSet.mobile):l.mainPhone=parseInt(t.answerSet.telephone),l.email=t.answerSet.email,l.privacyPolicy=!1,l.renewal=t.contactPreference.renewal,l.directmail=t.contactPreference.directMail,l.recivecall=t.contactPreference.phone,l.reciveemail=t.contactPreference.email,l.recivesms=t.contactPreference.sms,l.quoteReference=t.quoteReference;let Me={sec1:l,findButtonClicked:!0};var Fe={coverType:e.quote.answerSet.coverType,classOfUse:e.quote.answerSet.classOfUse,annualMileage:e.quote.answerSet.annualMileage,voluntaryExcess:e.quote.answerSet.voluntaryExcess,inceptionDate:e.quote.answerSet.inceptionDate,paymentMethod:e.quote.answerSet.paymentMethod,useOfVehicle:e.quote.answerSet.useOfVehicle,hazardousSubstances:e.quote.answerSet.hazardousSubstances,abode:e.quote.answerSet.abode,homeOwner:e.quote.answerSet.homeOwner,homeInsuranceDue:e.quote.answerSet.homeInsuranceDue,hasOwnBusiness:e.quote.answerSet.hasOwnBusiness,yearsBusinessEstablished:e.quote.answerSet.yearsBusinessEstablished,publicLiabilityDue:e.quote.answerSet.publicLiabilityDue,address:e.quote.answerSet.address,telephone:e.quote.answerSet.telephone,mobile:e.quote.answerSet.mobile,email:e.quote.answerSet.email,contactPreference:{directMail:e.quote.contactPreference.directMail==!0?1:0,phone:e.quote.contactPreference.ph
1one==!0?1:0,email:e.quote.contactPreference.email==!0?1:0,sms:e.quote.contactPreference.sms==!0?1:0,renewal:e.quote.contactPreference.renewal==!0?1:0},quoteReference:e.quote.quoteReference,agreedToTermsAndConditions:!0,referrerCode:e.quote.referrerCode};this.localStorageService.set(btoa("_pg3DATA"),g(Me)),this.localStorageService.set(btoa("addressLine"),g(b)),this.localStorageService.set(btoa("_pg3FFFFFFDDDDD"),g(Fe))}validateInceptionDate(e,t){return t<e?e:t}restoreQuotes(e){let t=e.quote,s=null;this.localStorageService.set(btoa("_result"),g(t)),sessionStorage.setItem("__referrerCode",e.quote.referrerCode),t.quotes?t.quotes.length>0&&(this.localStorageService.set(btoa("_quotes"),g(t)),s={data1:this.localStorageService.get(btoa("_pg1FFFFFFDDDDD")),data2:this.localStorageService.get(btoa("_pg2FFFFFFDDDDD")),data3:this.localStorageService.get(btoa("_pg3FFFFFFDDDDD"))},this.localStorageService.set(btoa("_pageObject"),g(s)),this.getSchemePrecis(t.quotes)):this.router.navigate(["van-insurance/about-your-van"])}getSchemePrecis(e){let t=null;e.length==1?t=e[0]:(t=e.filter(u=>u.schemeCode==this.schemeCode),t.length==0&&(t=e.sort(function(i,a){return i.premium-a.premium})),t=t[0]),this.localStorageService.set(btoa("_quoteInfo"),g(t));let s={schemeCode:t.schemeCode,reference:t.reference},c={data1:this.localStorageService.get(btoa("_pg1FFFFFFDDDDD")),data2:this.localStorageService.get(btoa("_pg2FFFFFFDDDDD")),data3:this.localStorageService.get(btoa("_pg3FFFFFFDDDDD")),data4:s,brandName:this.siteData};c.replacementVehicle=t.replacementVehicle,this.serviceCalls.getPrecis(c).then(u=>{u!=null?(this.localStorageService.set(btoa("_schemePrecis"),g(u[0])),this.localStorageService.set(btoa("_paymentSchemes"),g(u[1])),this.localStorageService.set(btoa("_optionalExtras"),g(u[2])),this.recallAggPrecisReady=!0,this.showTransition?this.navigateWhenReady():(this.progressLoading=100,clearInterval(this.interval2),setTimeout(()=>{this.router.navigate(["van-insurance/addons"])},500))):(this.progressLoading=95,clearInterval(this.interval2),setTimeout(()=>{this.router.navigate(["session-wrong"])},500))}).catch(u=>{this.progressLoading=95,clearInterval(this.interval2),setTimeout(()=>{this.router.navigate(["session-wrong"])},500)})}slickInit(e){}checkUserConsent(e){this.email&&U(this.serviceCalls.getUserConsent(e)).then(t=>{console.log("GET user-consent",t),this.localStorageService.set(btoa("user_consent"),g({hasConsented:t?.Data.HasConsented||!1,email:this.email}))}).catch(t=>{console.log("GET user-consent error",t)})}get coverTypeLabel(){switch(this.transitionInfo?.coverType){case"C":return"Fully comprehensive";case"TPFT":return"Third party, fire and theft";case"TPO":return"Third party only";default:return"Fully comprehensive"}}startCountdown(){this.countdownComplete=!1,this.intervalId=setInterval(()=>{if(this.firstDigit===0&&this.secondDigit===0){this.countdownComplete=!0,this.navigateWhenReady(),clearInterval(this.intervalId);return}this.secondDigit===0?this.firstDigit>0&&(this.firstDigit--,this.secondDigit=6):this.secondDigit--},1e3)}LoadComplete(){console.log("LoadComplete"),clearInterval(this.interval),this.percent=100,this.updateVisuals(this.percent)}updateVisuals(e){let t=100-e;this.water.style.top=t+"%"}showLoader(){this.percent=0,clearInterval(this.interval),this.interval=setInterval(()=>{this.percent<85&&(this.updateVisuals(this.percent),this.percent++)},50)}ngAfterViewInit(){this.water=document.querySelector(".progressCircle .water"),this.showTransition&&(this.startCountdown(),console.log("API started"),this.showLoader())}navigateWhenReady(){this.showTransition&&this.countdownComplete&&this.recallAggPrecisReady&&(this.LoadComplete(),this.progressLoading=100,clearInterval(this.interval2),setTimeout(()=>{this.router.navigate(["van-insurance/addons"])},500))}ngOnDestroy(){document.body.classList.add("header-space")}thousandSeparator(e){return e==null?0:me(e)}isNotExternalAgg(){return!this.externalAggsArr.includes(this.clickThroughId)}static{this.\u0275fac=function(t){return new(t||n)(x(ge),x(_),x(de),x(le),x(M),x(F))}}static{this.\u0275cmp=Z({type:n,selectors:[["app-recall"]],standalone:!1,features:[ie([_,M,F])],decls:3,vars:2,consts:[["transitionTemplate",""],[4,"ngIf","ngIfElse"],[1,"main-div-container"],[1,"reg-no-loader"],[1,"reg-no-checked"],[1,"reg-no-canceled"],[1,"n
1ormal-loader"],[1,"normal-checked"],[1,"normal-cancel"],[1,"loader-normal"],[1,"loader-cancel"],[1,"loader-checked"],[1,"tick-load"],["class","recall-loader new-shiny-loader no-loader-bg hide-loader showloader ",4,"ngIf"],[1,"innerLoaderText","innerLoaderText--spacer","innerLoaderText--spacing-footer"],[1,"color-fff"],[1,"recall-loader","new-shiny-loader","no-loader-bg","hide-loader","showloader"],[1,"vanLoader"],[1,"clear-float"],[1,"innerLoaderText"],[1,"pre-loader","border-grey"],[1,"showbox"],[1,"preloader-new"],["viewBox","25 25 50 50",1,"circular"],["cx","50","cy","50","r","20","stroke-width","5","fill","none","stroke-miterlimit","10",1,"path","path--stroke-blue"],[1,"lds-ring","lds-ring--margin","loader-gif","lds-ring-white"],[1,"pre-loader__text"],[1,"mr-b-0","bold-text"],[1,"sub-text"],[1,"progress-wrap"],[1,"progress-fill"],[1,"progress-fill--per"],[1,"transition-page-loader"],[1,"left"],[1,"max-height-900-left"],[1,"avatar"],["width","141","height","141","src","/assets/img/load/emoji.png","alt","Avatar"],[1,"blue"],[4,"ngIf"],[1,"green"],[1,"progressCircle"],[1,"inner"],["class","percent",4,"ngIf"],[1,"water"],[1,"glare"],[1,"right"],[1,"max-height-900-right",3,"ngClass"],[1,"header-logos",3,"ngClass"],["class","agg-img","width","200px","height","34","alt","agg logo",3,"src",4,"ngIf"],["class","arrow-img","width","49px","height","15","src","/assets/img/load/arrow.png","alt","VanCompare Logos",4,"ngIf"],["width","200px","height","43","src","/assets/img/redirect/vaninsuancelogo.svg","alt","vaninsuance.co.uk",1,"direct-logo"],[1,"reference-wrap",3,"ngClass"],[1,"reference"],["class","quote-box",4,"ngIf"],[1,"help-box"],[1,"bold-txt"],["href","tel:03330091979",1,"call-btn"],[1,"percent"],[1,"first"],[1,"second"],["width","200px","height","34","alt","agg logo",1,"agg-img",3,"src"],["width","49px","height","15","src","/assets/img/load/arrow.png","alt","VanCompare Logos",1,"arrow-img"],[1,"quote-box"],[1,"drow","dashed-border"],[1,"details-label"],[1,"amount"],["class","drow solid-border",4,"ngIf"],[1,"drow","no-padding-bottom"],[1,"tag"],[1,"drow","solid-border"]],template:function(t,s){if(t&1&&I(0,Ve,18,1,"ng-container",1)(1,je,48,16,"ng-template",null,0,ae),t&2){let c=te(2);y("ngIf",!s.showTransition)("ngIfElse",c)}},dependencies:[se,oe,be],styles:[".innerLoaderText--spacer[_ngcontent-%COMP%]{margin-top:60px}.lds-ring--margin[_ngcontent-%COMP%]{margin:auto}.loader-logos--desk-margin-top[_ngcontent-%COMP%]{margin-top:48px}.margin-bottom-30[_ngcontent-%COMP%]{margin-bottom:30px}.just-even[_ngcontent-%COMP%]{justify-content:space-evenly!important}.just-center[_ngcontent-%COMP%]{justify-content:center!important}"]})}}return n})();var Ye=[{path:"",component:xe}],Ae=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275mod=R({type:n})}static{this.\u0275inj=P({imports:[J.forChild(Ye),J]})}}return n})();var bt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275mod=R({type:n})}static{this.\u0275inj=P({providers:[fe,ve,M,F],imports:[re,Ae,Ce,De]})}}return n})();export{bt as RecallModule};

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.