1"use strict";(self.webpackChunkusgi=self.webpackChunkusgi||[]).push([[3494],{44626:(V,b,i)=>{i.d(b,{v:()=>M});var o=i(60177),u=i(89417),s=i(39331),f=i(5452),e=i(31555),C=i(14644),P=i(54438);let M=(()=>{class p{static{this.\u0275fac=function(D){return new(D||p)}}static{this.\u0275mod=P.$C({type:p})}static{this.\u0275inj=P.G2t({imports:[o.MD,u.YN,u.X1,s.CustomCommonModule,f.PluginsModule,e.WidgetsModule,C.e]})}}return p})()},79697:(V,b,i)=>{i.d(b,{W:()=>g});var o=i(18359),u=i(5964),s=i(54438),f=i(50779),e=i(71780),C=i(46359),P=i(60177);function M(_,D){1&_&&(s.j41(0,"figure"),s.nrm(1,"img",12),s.k0s())}function p(_,D){1&_&&(s.j41(0,"figure"),s.nrm(1,"img",13),s.k0s())}let g=(()=>{class _{constructor(h,O,v){this.modalService=h,this.motorJourneyRepository=O,this.router=v,this.subscriptions=new o.yU,this.refId=this.modalService.config.initialState}ngOnInit(){this.initJourneyName()}ngOnDestroy(){this.subscriptions.unsubscribe()}redirectToHomePage(){this.router.navigate(["/"]),this.closePopup()}initJourneyName(){this.subscriptions.add(this.motorJourneyRepository.quotationDialog$.pipe((0,u.p)(h=>!!h)).subscribe(h=>{this.journeyName=h.journeyName}))}closePopup(){this.router.navigate(["/"]),this.modalService.hide()}static{this.\u0275fac=function(O){return new(O||_)(s.rXU(f.I8),s.rXU(e.ml),s.rXU(C.Ix))}}static{this.\u0275cmp=s.VBU({type:_,selectors:[["app-breakin-thank-you-popup-content"]],decls:21,vars:3,consts:[[1,"thank-you-popup"],[1,"thank-you-popup-header"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","./assets/images/icons/close-btn.svg","alt","close-btn"],[1,"thank-you-popup-details","text-center"],[4,"ngIf"],[1,"fs-16","montserrat-semibold","text-semibold","text-black","mb-2"],[1,"fs-14","montserrat-medium","text-mediummontserrat-medium","text-black","mb-2"],[1,"fs-16","montserrat-medium","text-medium","pb-2","d-block"],["href","tel:1800180023",1,"fs-16","montserrat-medium","text-medium","d-block"],[1,"montserrat-semibold","text-semibold"],[1,"fs-14","montserrat-medium","text-mediummontserrat-medium","text-danger","pt-3"],["src","./assets/images/gif/brakin-bike-img.png","alt","breakin-thank-you-popup",1,"img-fluid","mx-auto"],["src","./assets/images/gif/breakin-thank-you-popup.png","alt","breakin-thank-you-popup",1,"img-fluid","mx-auto"]],template:function(O,v){1&O&&(s.j41(0,"div",0)(1,"div",1)(2,"a",2),s.bIt("click",function(){return v.closePopup()}),s.nrm(3,"img",3),s.k0s()(),s.j41(4,"div",4),s.DNE(5,M,2,0,"figure",5)(6,p,2,0,"figure",5),s.j41(7,"p",6),s.EFF(8,"Your Vehicle is break-in "),s.k0s(),s.j41(9,"p",6),s.EFF(10),s.k0s(),s.j41(11,"p",7),s.EFF(12,"A SMS & Email will be sent to respective register IDs with further instructions."),s.k0s(),s.j41(13,"a",8),s.EFF(14,"Or"),s.k0s(),s.j41(15,"a",9),s.EFF(16," Please Contact Us On "),s.j41(17,"span",10),s.EFF(18,"1800 1800 23"),s.k0s()(),s.j41(19,"p",11),s.EFF(20," Please login to My Transaction to complete your journey"),s.k0s()()()),2&O&&(s.R7$(5),s.Y8G("ngIf","MotorTwoWheeler"==v.journeyName||null==v.journeyName),s.R7$(),s.Y8G("ngIf","MotorPrivateCar"==v.journeyName),s.R7$(4),s.SpI("Reference Id: ",v.refId,""))},dependencies:[P.bT],styles:[".thank-you-popup[_ngcontent-%COMP%]{padding:32px 0}.thank-you-popup-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:32px;right:32px}.thank-you-popup-details[_ngcontent-%COMP%] .continue-cta[_ngcontent-%COMP%]{padding:12px 36px}.thank-you-popup-details[_ngcontent-%COMP%] p.fs-16[_ngcontent-%COMP%]{line-height:20px}@media (max-width: 768px) and (min-width: 576px){.thank-you-popup[_ngcontent-%COMP%]{padding:16px}}@media (max-width: 575px) and (min-width: 320px){.thank-you-popup[_ngcontent-%COMP%]{padding:16px}}"]})}}return _})()},19365:(V,b,i)=>{i.d(b,{w:()=>e});var o=i(54438),u=i(89417),s=i(94982),f=i(50779);let e=(()=>{class C{constructor(M,p){this.fb=M,this.modalService=p,this.submitted=!1,this.fieldDisabled=!0,this.previousPolicy="No",this.newItemEvent=new o.bkB,this.newVehicleQustForm=this.fb.group({liability:["",u.k0.required]})}ngOnInit(){}closePopup(){this.modalService.hide()}proceed(){this.newItemEvent.emit("Yes"),this.closePopup()}openErrorPopup(M){this.bsmodelRef=this.modalService.show(s.u,Object.assign({error:M}
1,{class:"thankyou-popup modal-xl",initialState:{error:M}}))}static{this.\u0275fac=function(p){return new(p||C)(o.rXU(u.ze),o.rXU(f.I8))}}static{this.\u0275cmp=o.VBU({type:C,selectors:[["app-choose-plan-new-vehicle"]],outputs:{newItemEvent:"newItemEvent"},decls:13,vars:1,consts:[[1,"popup-wrapper","position-relative"],[1,"popup-body"],[1,"new-vehicle-content","text-center"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","./assets/images/icons/close-btn.svg","alt","close-btn"],[1,"mb-3"],["src","./assets/images/usgi-icons/pink-doc-80-icon.svg","alt","pink-doc-80-icon",1,"mx-auto"],[1,"new-vehicle-form",3,"formGroup"],[1,"text-center","mb-5"],[1,"h6","montserrat-bold","text-bold","text-primary","w-75"],[1,"btn","btn-danger",3,"click"]],template:function(p,g){1&p&&(o.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"a",3),o.bIt("click",function(){return g.closePopup()}),o.nrm(4,"img",4),o.k0s(),o.j41(5,"div",5),o.nrm(6,"img",6),o.k0s(),o.j41(7,"form",7)(8,"div",8)(9,"label",9),o.EFF(10," Nil Depreciation Waiver cover "),o.k0s()(),o.j41(11,"button",10),o.bIt("click",function(){return g.proceed()}),o.EFF(12,"Proceed"),o.k0s()()()()()),2&p&&(o.R7$(7),o.Y8G("formGroup",g.newVehicleQustForm))},dependencies:[u.qT,u.cb,u.j4],styles:[".new-vehicle-content[_ngcontent-%COMP%]{padding:32px 0}.new-vehicle-content[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:32px;right:32px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%]{padding:0 52px 0 32px}.new-vehicle-form[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{top:2px;height:15px;width:15px}.new-vehicle-form[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{top:calc(50% - 5px);left:calc(50% - 5px);width:10px;height:10px}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{position:absolute;opacity:0}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:93px;height:32px;background:#fff;color:#707070;border:1px solid #D8D8D8;box-sizing:border-box;border-radius:40px;display:flex;justify-content:center;align-items:center;margin-bottom:16px;margin-right:44px;cursor:pointer} bs-datepicker-container{z-index:9999} .new-vehicle-form .form-control[readonly], .new-vehicle-form input[disabled]{pointer-events:none!important;cursor:none} .new-vehicle-form input[disabled]+label{background-color:#e9ecef!important;border-color:#d8d8d8!important;color:#707070!important;opacity:1}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{color:#c02;border-color:#c02}.new-vehicle-form[_ngcontent-%COMP%] .datepicker[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;top:33px;z-index:1;right:7%;pointer-events:none}.vertical-align-middle[_ngcontent-%COMP%]{vertical-align:middle}@media (max-width: 768px) and (min-width: 576px){.new-vehicle-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{width:230px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%]{padding:0 16px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;line-height:17px;margin-bottom:21px}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:16px}}@media (max-width: 575px) and (min-width: 320px){.new-vehicle-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{width:230px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%]{padding:0 16px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;line-height:17px;margin-bottom:21px}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:16px}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:80px}}"]})}}return C})()},99809:(V,b,i)=>{i.d(b,{r:()=>C});var o=i(54438),u=i(89417),s=i(94982),f=i(50779),e=i(63620);let C=(()=>{class P{constructor(p,g){this.fb=p,this.modalService=g,this.submitted=!1,this.fieldDisabled=!0,this.previousPolicy="No",this.newItemEvent=ne
1w o.bkB,this.newVehicleQustForm=this.fb.group({liability:["",u.k0.required]})}ngOnInit(){}closePopup(){this.modalService.hide()}proceed(){this.newItemEvent.emit(this.newVehicleQustForm.get("liability")),this.closePopup()}openErrorPopup(p){this.bsmodelRef=this.modalService.show(s.u,Object.assign({error:p},{class:"thankyou-popup modal-xl",initialState:{error:p}}))}static{this.\u0275fac=function(g){return new(g||P)(o.rXU(u.ze),o.rXU(f.I8))}}static{this.\u0275cmp=o.VBU({type:P,selectors:[["app-choose-plan-old-vehicle"]],outputs:{newItemEvent:"newItemEvent"},decls:22,vars:1,consts:[[1,"popup-wrapper","position-relative"],[1,"popup-body"],[1,"new-vehicle-content","text-center"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","./assets/images/icons/close-btn.svg","alt","close-btn"],[1,"mb-3"],["src","./assets/images/usgi-icons/pink-doc-80-icon.svg","alt","pink-doc-80-icon",1,"mx-auto"],[1,"new-vehicle-form",3,"formGroup"],[1,"text-center","mb-5"],[1,"h6","montserrat-bold","text-bold","text-primary","w-75"],[1,"radio-data","d-flex","justify-content-center","mb-5"],[1,"montserrat-bold","text-bold","text-primary","pl-4","mr-3","mr-md-4"],["type","radio","formControlName","liability","value","Yes","checked",""],[1,"checkmark"],[1,"montserrat-bold","text-bold","text-primary","pl-4"],["type","radio","formControlName","liability","value","No"],[1,"btn","btn-danger",3,"click"]],template:function(g,_){1&g&&(o.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"a",3),o.bIt("click",function(){return _.closePopup()}),o.nrm(4,"img",4),o.k0s(),o.j41(5,"div",5),o.nrm(6,"img",6),o.k0s(),o.j41(7,"form",7)(8,"div",8)(9,"label",9),o.EFF(10,"Was this cover available on your previous year Policy ? "),o.k0s()(),o.j41(11,"div",10)(12,"label",11),o.EFF(13," Yes "),o.nrm(14,"input",12)(15,"span",13),o.k0s(),o.j41(16,"label",14),o.EFF(17," No "),o.nrm(18,"input",15)(19,"span",13),o.k0s()(),o.j41(20,"button",16),o.bIt("click",function(){return _.proceed()}),o.EFF(21,"Proceed"),o.k0s()()()()()),2&g&&(o.R7$(7),o.Y8G("formGroup",_.newVehicleQustForm))},dependencies:[e.ZP,u.qT,u.me,u.Fm,u.BC,u.cb,u.j4,u.JD],styles:[".new-vehicle-content[_ngcontent-%COMP%]{padding:32px 0}.new-vehicle-content[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:32px;right:32px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%]{padding:0 52px 0 32px}.new-vehicle-form[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{top:2px;height:15px;width:15px}.new-vehicle-form[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{top:calc(50% - 5px);left:calc(50% - 5px);width:10px;height:10px}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{position:absolute;opacity:0}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:93px;height:32px;background:#fff;color:#707070;border:1px solid #D8D8D8;box-sizing:border-box;border-radius:40px;display:flex;justify-content:center;align-items:center;margin-bottom:16px;margin-right:44px;cursor:pointer} bs-datepicker-container{z-index:9999} .new-vehicle-form .form-control[readonly], .new-vehicle-form input[disabled]{pointer-events:none!important;cursor:none} .new-vehicle-form input[disabled]+label{background-color:#e9ecef!important;border-color:#d8d8d8!important;color:#707070!important;opacity:1}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{color:#c02;border-color:#c02}.new-vehicle-form[_ngcontent-%COMP%] .datepicker[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;top:33px;z-index:1;right:7%;pointer-events:none}.vertical-align-middle[_ngcontent-%COMP%]{vertical-align:middle}@media (max-width: 768px) and (min-width: 576px){.new-vehicle-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{width:230px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%]{padding:0 16px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;line-height:17px;margin-bottom:21px}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:16px}}@media (max-width: 575px) and (min-width: 320px){.new-vehicle-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{width:230px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%]{padding:0 16px}.new-vehicle-content[_ngcontent-%COMP%] .new-vehicle-form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;line-height:17px;margin-bottom:21px}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:16px}.new-vehicle-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:80px}}"]})}}return P})()},67747:(V,b,i)=>{i.d(b,{m:()=>g});var o=i(89417),u=i(18359),s=i(5964),f=i(59233),e=i(54438),C=i(50779),P=i(71780),M=i(54005),p=i(63620);let g=(()=>{class _{constructor(h,O,v,k,A){this.fb=h,this.modalService=O,this.modalRef=v,this.motorJourneyRepository=k,this.journeyHomeService=A,this.submitted=!1,this.fieldDisabled=!0,this.subscriptions=new u.yU,this.policyType=!0,this.previousPolicy=!0,this.editrenewPolicyForm=this.fb.group({claimBonus:["",o.k0.required]})}ngOnInit(){this.initNcbDetails()}initNcbDetails(){this.subscriptions.add(this.motorJourneyRepository.previousPolicyDialog$.pipe((0,s.p)(h=>!!h)).subscribe(h=>{this.ncbDetails=h,this.editrenewPolicyForm.controls.claimBonus.setValue(h.previousPolicyyNoClaimBonus)}))}disabledFields(){this.fieldDisabled=!0,this.previousPolicy=!0}enabledFields(){this.fieldDisabled=!1,this.previousPolicy=!1}proceed(){let h=["0","20","25","35","45","50"];this.motorJourneyRepository.savePreviousPolicyDetails({previousPolicyPresent:this.previousPolicy?"Yes":"No",previousPolicyyNoClaimBonus:this.editrenewPolicyForm.value.claimBonus?this.editrenewPolicyForm.value.claimBonus:"--",futurePolicyNoClaimBonus:""!==this.editrenewPolicyForm.value.claimBonus?h[h.indexOf(String(this.editrenewPolicyForm.value.claimBonus?.split("%")[0]))+1]:void 0}),1==this.editrenewPolicyForm.dirty?(this.openPreviousPolicyPopup(),this.journeyHomeService.planChanged.next(!0)):0==this.editrenewPolicyForm.dirty&&this.closePopup()}openPreviousPolicyPopup(){this.modalService.show(f.K,Object.assign({class:"login-process-popup modal
1-lg bottom-slide",backdrop:"static"})),this.closePopup()}onClickClaimBonus(h){this.claimBonus=h}closePopup(){this.modalRef.hide()}static{this.\u0275fac=function(O){return new(O||_)(e.rXU(o.ze),e.rXU(C.I8),e.rXU(C.Y$),e.rXU(P.ml),e.rXU(M.L))}}static{this.\u0275cmp=e.VBU({type:_,selectors:[["app-edit-claim-popup"]],decls:42,vars:1,consts:[[1,"popup-wrapper","position-relative"],[1,"popup-body"],[1,"edit-claim-content","text-center"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","./assets/images/icons/close-btn.svg","alt","close-btn"],[1,"montserrat-bold","text-bold","text-black","mb-4"],[1,"edit-claim-form",3,"formGroup"],[1,"row","m-0"],[1,"col-12","col-md-5","p-0","text-left"],[1,"fs-16","montserrat-bold","text-bold","text-primary"],[1,"cust-select-btn","d-flex","flex-wrap","mb-0","mb-md-3","col-12","p-0","col-md-7","pl-xl-5"],[1,"position-relative"],["type","radio","id","bouns-0","name","claimBonus","value","0%"],["for","bouns-0",1,"montserrat-bold","text-bold"],["type","radio","id","bouns-20","name","claimBonus","formControlName","claimBonus","value","20%"],["for","bouns-20",1,"montserrat-bold","text-bold"],["type","radio","id","bouns-25","name","claimBonus","formControlName","claimBonus","value","25%"],["for","bouns-25",1,"montserrat-bold","text-bold","mr-md-0"],["type","radio","id","bouns-35","name","claimBonus","formControlName","claimBonus","value","35%"],["for","bouns-35",1,"montserrat-bold","text-bold"],["type","radio","id","bouns-45","name","claimBonus","formControlName","claimBonus","value","45%"],["for","bouns-45",1,"montserrat-bold","text-bold"],["type","radio","id","bouns-50","name","claimBonus","formControlName","claimBonus","value","50%"],["for","bouns-50",1,"montserrat-bold","text-bold","mr-0"],[1,"btn","btn-danger","mt-3",3,"click"]],template:function(O,v){1&O&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"a",3),e.bIt("click",function(){return v.closePopup()}),e.nrm(4,"img",4),e.k0s(),e.j41(5,"h5",5),e.EFF(6," Just some more details to make sure we're on the same page "),e.k0s(),e.j41(7,"form",6)(8,"div",7),e.nrm(9,"div",8),e.k0s(),e.j41(10,"div",7)(11,"div",8)(12,"label",9),e.EFF(13," Select previous policy no claim bonus?"),e.k0s()(),e.j41(14,"div",10)(15,"div",11),e.nrm(16,"input",12),e.j41(17,"label",13),e.EFF(18,"0%"),e.k0s()(),e.j41(19,"div",11),e.nrm(20,"input",14),e.j41(21,"label",15),e.EFF(22,"20%"),e.k0s()(),e.j41(23,"div",11),e.nrm(24,"input",16),e.j41(25,"label",17),e.EFF(26,"25%"),e.k0s()(),e.j41(27,"div",11),e.nrm(28,"input",18),e.j41(29,"label",19),e.EFF(30,"35%"),e.k0s()(),e.j41(31,"div",11),e.nrm(32,"input",20),e.j41(33,"label",21),e.EFF(34,"45%"),e.k0s()(),e.j41(35,"div",11),e.nrm(36,"input",22),e.j41(37,"label",23),e.EFF(38,"50%"),e.k0s()()()(),e.j41(39,"div")(40,"button",24),e.bIt("click",function(){return v.proceed()}),e.EFF(41,"Proceed"),e.k0s()()()()()()),2&O&&(e.R7$(7),e.Y8G("formGroup",v.editrenewPolicyForm))},dependencies:[p.ZP,o.qT,o.me,o.Fm,o.BC,o.cb,o.j4,o.JD],styles:[".edit-claim-content[_ngcontent-%COMP%]{padding:32px 0}.edit-claim-content[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:32px;right:32px}.edit-claim-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{max-width:511px;margin:0 auto}.edit-claim-content[_ngcontent-%COMP%] .edit-claim-form[_ngcontent-%COMP%]{padding:0 52px 0 32px}.edit-claim-form[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{top:2px;height:15px;width:15px}.edit-claim-form[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{top:calc(50% - 5px);left:calc(50% - 5px);width:10px;height:10px}.edit-claim-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{position:absolute;opacity:0}.edit-claim-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:93px;height:32px;background:#fff;color:#707070;border:1px solid #D8D8D8;box-sizing:border-box;border-radius:40px;display:flex;justify-content:center;align-items:center;margin-bottom:16px;margin-right:44px;
1cursor:pointer} bs-datepicker-container{z-index:9999} .edit-claim-form .form-control[readonly], .edit-claim-form input[disabled]{pointer-events:none!important;cursor:none} .edit-claim-form input[disabled]+label{background-color:#e9ecef!important;border-color:#d8d8d8!important;color:#707070!important;opacity:1}.edit-claim-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{color:#c02;border-color:#c02}.edit-claim-form[_ngcontent-%COMP%] .datepicker[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;top:33px;z-index:1;right:7%;pointer-events:none}@media (max-width: 768px) and (min-width: 576px){.edit-claim-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{width:230px}.edit-claim-content[_ngcontent-%COMP%] .edit-claim-form[_ngcontent-%COMP%]{padding:0 16px}.edit-claim-content[_ngcontent-%COMP%] .edit-claim-form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;line-height:17px;margin-bottom:21px}.edit-claim-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:16px}}@media (max-width: 575px) and (min-width: 320px){.edit-claim-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{width:230px}.edit-claim-content[_ngcontent-%COMP%] .edit-claim-form[_ngcontent-%COMP%]{padding:0 16px}.edit-claim-content[_ngcontent-%COMP%] .edit-claim-form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;line-height:17px;margin-bottom:21px}.edit-claim-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:16px}.edit-claim-form[_ngcontent-%COMP%] .cust-select-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:80px}}"]})}}return _})()},17039:(V,b,i)=>{i.d(b,{Y:()=>U});var o=i(18359),u=i(1807),s=i(96697),f=i(5964),e=i(54438),C=i(89417),P=i(50779),M=i(71780),p=i(91484),g=i(60040),_=i(54005),D=i(32374),h=i(60177),O=i(5553),v=i(90439),k=i(81779);const A=m=>({active:m}),R=m=>[m];function j(m,T){if(1&m){const n=e.RV6();e.j41(0,"input",46),e.bIt("keyup",function(r){e.eBV(n);const d=e.XpG().$implicit,c=e.XpG();return e.Njj(c.setCoverAmount(r,d))}),e.k0s()}if(2&m){const n=e.XpG(),t=n.$implicit,r=n.index,d=e.XpG();e.Mz_("id","inputfield",r,""),e.Y8G("disabled",1!=(null==t?null:t.selected))("value",d.convertToNum(t.SumInsured.$.Value))}}function S(m,T){if(1&m&&(e.j41(0,"p",47),e.EFF(1),e.k0s()),2&m){const n=e.XpG(2);e.R7$(),e.JRh(n.errorMes)}}function N(m,T){if(1&m){const n=e.RV6();e.j41(0,"ngx-select",48),e.bIt("select",function(r){e.eBV(n);const d=e.XpG().$implicit,c=e.XpG();return e.Njj(c.setCoverAmount(r,d))}),e.k0s()}if(2&m){const n=e.XpG().$implicit,t=e.XpG();e.Y8G("disabled",1!=(null==n?null:n.selected))("items",t.sumInsuredDropdown)("defaultValue",e.eq3(3,R,t.convertToNum(n.SumInsured.$.Value)))}}function F(m,T){if(1&m){const n=e.RV6();e.j41(0,"ngx-select",49),e.bIt("select",function(r){e.eBV(n);const d=e.XpG().$implicit,c=e.XpG();return e.Njj(c.countryDropDown(r,d))}),e.k0s()}if(2&m){const n=e.XpG().$implicit,t=e.XpG();e.Y8G("disabled",1!=(null==n?null:n.selected))("items",t.countryDropdown)("defaultValue",e.eq3(3,R,t.countryname))}}function B(m,T){if(1&m&&(e.j41(0,"p",47),e.EFF(1),e.k0s()),2&m){const n=e.XpG(2);e.R7$(),e.JRh(n.errorOd)}}function L(m,T){if(1&m){const n=e.RV6();e.j41(0,"div")(1,"div",22)(2,"div",23)(3,"div",24)(4,"div",25)(5,"input",26),e.bIt("change",function(r){const d=e.eBV(n),c=d.$implicit,l=d.index,I=e.XpG();return e.Njj(I.handleDiscountSelection(r,c,l))}),e.k0s(),e.nrm(6,"label",27),e.k0s(),e.j41(7,"div",28)(8,"p",29)(9,"span",30),e.nrm(10,"img",31),e.k0s(),e.EFF(11),e.k0s()()(),e.j41(12,"div",32)(13,"div",33)(14,"div",34)(15,"p",35),e.EFF(16,"Sum Insured"),e.k0s()(),e.j41(17,"div",36),e.DNE(18,j,1,4,"input",37)(19,S,2,1,"p",38),e.j41(20,"div",39),e.DNE(21,N,1,5,"ngx-select",40)(22,F,1,5,"ngx-select",41)(23,B,2,1,"p",38),e.k0s()()(),e.j41(24,"div",42)(25,"p",43),e.EFF(26,"Premium"),e.k0s(),e.j41(27,"p",44),e.EFF(28),e.nI1(29,"customIndianCurrency"),e.j41(30,"span",45),e.EFF(31,"pa"),e.k0s()()()()()()()}if(2&m){const n=T.$implicit,t=T.index,r=e.XpG();e.R7$(),e.AVh("mb-zero","UNNAMED PA COVER TO PASSENGERS"==n.CoverGroups.$.Value),e.Y8G("ngClass",e.eq3(18,A,r.isdiscountItemSelected(n))),e.R7$(4),e.FS9("id","discountItemm"+t),e.Y8G("checked",1==(null==n?null:n.selected))("disabled",n.CoverGroups.$.Value.includes("Built in CNG Kit")),e.R7$(),e.FS9("for","discountItemm"+t),e.R7$(5),e.SpI(" ",n.CoverGroups.$.Value," "),e.R7$(7),e.Y8G("ngIf",n.CoverGroups.$.Value.includes("ELECTRICAL ")||"CNG Kit - OD"==n.CoverGroups.$.Value),e.R7$(),e.Y8G("ngIf",r.ItemName===n.CoverGroups.$.Value),e.R7$(),e.AVh("up-dropdown","UNNAMED PA COVER TO PASSENGERS"==n.CoverGroups.$.Value),e.R7$(),e.Y8G("ngIf",n.CoverGroups.$.Value.includes("PA ")),e.R7$(),e.Y8G("ngIf",n.CoverGroups.$.Value.includes("GEOGRAPHICAL EXTENSION - OD")),e.R7$(),e.Y8G("ngIf",r.errorOd&&n.CoverGroups.$.Value.includes("GEOGRAPHICAL EXTENSION - OD")),e.R7$(5),e.SpI(" ",n.Premium.$.Value?e.bMT(29,16,n.Premium.$.Value):"--"," ")}}let U=(()=>{class m{constructor(n,t,r,d,c,l,I){this.fb=n,this.modalService=t,this.motorJourneyRepository=r,this.motorJourneyProductPlanRepository=d,this.motorJourneyVehicalDetailsRepository=c,this.jouneryHomeService=l,this._message=I,this.fieldDisabled1=!0,this.fieldDisabled2=!0,this.errorOd="",this.selectedDiscount={},this.totalPremium=0,this.selectedValue=[],this.countryDropdown=["Bangladesh","Bhutan","Nepal","Pakistan","Sri Lanka","Maldives"],this.sumInsuredDropdown=["50000","100000","150000","200000"],this.subscription=new o.yU,this.countryname=sessionStorage.getItem("countryname"),this.paCovers=["50,000","1,00,000","1,50,000","2,00,000"],this.coversSlideConfig={infinite:!1,autoplay:!1,autoplaySpeed:3e3,slidesToShow:3,slidesToScroll:3,dots:!0,arrows:!0,responsive:[{breakpoint:9999,settings:"unslick"},{breakpoint:575,settings:{slidesToShow:1.1,slidesToScroll:1,arrows:!1,infinite:!1,autoplay:!1}}]}}ngOnInit(){this.motorJourneyRepository.quotationDialog$.pipe((0,s.s)(1)).subscribe(n=>{this.journeyName=n.journeyName}),this.jouneryHomeService.addPre.subscribe(n=>{!0===n&&this.initSelectedAddonAndCoverageFromStore()}),this.initVehicleDetails(),this.initSelectedAddonAndCoverageFromStore()}ngOnDestroy(){this.subscription.unsubscribe(),this.addon$.unsubscribe()}coverChangeSelect1(){this.fieldDisabled1=!this.fieldDisabled1}coverChangeSelect2(){this.fieldDisabled2=!this.fieldDisabled2}initVehicleDetails(){this.selectedValue=[];let t,n=[];this.coverDiscounts=[],this.subscription.add(this.motorJourneyProductPlanRepository.selectActiveProductPlan$.pipe((0,f.p)(r=>!!r)).subscribe(r=>{if(this.idvValue=r.idvDefaultValue,r&&JSON.stringify(r)==JSON.stringify(t))return;t=r,this.coverDiscounts=[],n=[];let d=[];d=r.coverDiscountsPremium.filter(c=>"Basic TP"!=c.CoverGroups.$.Value&&"Basic OD"!=c.CoverGroups.$.Value&&"PA COVER TO OWNER DRIVER"!=c.CoverGroups.$.Value),this.motorJourneyRepository.vehicleDetailsDialog$.pipe((0,s.s)(1)).subscribe(c=>{let l=c.selectFuelType;d.map(a=>{a.Premium.$.Value&&(0!=parseFloat(a.Premium.$.Value)||"MotorPrivateCar"==this.journeyName&&(l.toUpperCase().includes("PETROL")||l.toUpperCase().includes("DIESEL"))&&("CNG Kit - OD"===a.CoverGroups.$.Value||"CNG Kit - TP"===a.CoverGroups.$.Value)||a.CoverGroups.$.Value.includes("ELECTRICAL ACCESSORY OD")||a.CoverGroups.$.Value.includes("PA "))&&n.push(a)}),n.sort((a,x)=>a.CoverGroups.$.Value.localeCompare(x.CoverGroups.$.Value));let I=JSON.parse(JSON.stringify(n)),y=[];"2311"==r.id||"2367"==r.id||"2369"==r.id||"2312"==r.id||"2398"==r.id||"2397"==r.id?y="MotorTwoWheeler"==this.journeyName&&"2312"==r.id||"2369"==r.id||"2397"==r.id?JSON.parse(JSON.stringify(I)).filter(a=>a?.CoverGroups?.$?.Value.includes("PA ")||a?.CoverGroups?.$?.Value.includes("ELECTRICAL ")||a?.CoverGroups?.$?.Value.includes("GEOGRAPHICAL")||"FIBERTANK OD"==a?.CoverGroups?.$?.Value||"LEGAL LIABILITY TO PAID DRIVER"==a?.CoverGroups?.$?.Value):JSON.parse(JSON.stringify(I)):("2319"==r.id||"2320"==r.id)&&
1(y=JSON.parse(JSON.stringify(I)).filter(a=>a?.CoverGroups?.$?.Value.includes("PA ")||a?.CoverGroups?.$?.Value.includes("GEOGRAPHICAL EXTENSION - TP")||"LEGAL LIABILITY TO PAID DRIVER"==a?.CoverGroups?.$?.Value));let w,$,G=new Array;if(2398!=r?.id&&2397!=r?.id)if("CNG"==l){G=y;let a=G.filter(E=>E.CoverGroups.$.Value.includes("LPG Kit - TP"));const x=G.indexOf(a[0]);x>-1&&G.splice(x,1)}else if("LPG"==l){G=y;let a=G.filter(E=>E.CoverGroups.$.Value.includes("CNG Kit - TP"));const x=G.indexOf(a[0]);x>-1&&G.splice(x,1)}else{w=y;let a=w.filter(E=>E.CoverGroups.$.Value.includes("LPG Kit - TP"));const x=w.indexOf(a[0]);x>-1&&w.splice(x,1)}else $=y.filter(a=>a.CoverGroups.$.Value.includes(" OD"));this.coverDiscounts=2398!=r?.id&&2397!=r?.id?w||G:$,setTimeout(()=>{this.coverDiscounts&&(this.selectedDiscount.forEach(a=>{let x=this.coverDiscounts.find(E=>E.CoverGroups.$.Value.includes("ELECTRICAL")&&a.name.includes(E.CoverGroups.$.Value)||"CNG Kit - OD"==E.CoverGroups.$.Value&&a.name==E.CoverGroups.$.Value||E.CoverGroups.$.Value.includes("PA ")&&a.name.includes(E.CoverGroups.$.Value));x&&(a.value=x?.Premium?.$?.Value)}),this.initSelectedAddonAndCoverageFromStore())},1e3)})}))}convertToNum(n){return 0==n?"":parseInt(n).toString()}initSelectedAddonAndCoverageFromStore(){this.addon$&&this.addon$.unsubscribe(),this.addon$=this.motorJourneyRepository.selectedAdditionalCoverAndDiscount$.pipe((0,f.p)(n=>!!n)).subscribe(n=>{this.selectedDiscount=n,this.totalPremium=0,this.coverDiscounts.forEach(t=>{t.selected=!1}),n.forEach(t=>{this.coverDiscounts.forEach(r=>{t.name==r.CoverGroups.$.Value&&(r.selected=!0,t.value=r.Premium.$.Value)})}),this.selectedDiscount.forEach(t=>{this.totalPremium+=Math.round(t.value)})})}handleDiscountSelection(n,t,r){if("CNG Kit - OD"===t.CoverGroups.$.Value){t.selected=!0;let c=this.coverDiscounts.find(l=>"CNG Kit - TP"===l.CoverGroups.$.Value);c&&(c.selected=n.target.checked,n.target.checked?this.selectedDiscount.push(c.Premium.$.Value):(delete this.selectedDiscount[c.Premium.$.Value],this.errorMes="",this.setCoverAmount(0,t)))}else if("CNG Kit - TP"===t.CoverGroups.$.Value){t.selected=!0;let c=this.coverDiscounts.find(l=>"CNG Kit - OD"===l.CoverGroups.$.Value);c&&(c.selected=n.target.checked,n.target.checked?this.selectedDiscount.push(c.Premium.$.Value):(t.selected=!1,delete this.selectedDiscount[c.Premium.$.Value],this.errorMes="",this.setCoverAmount(0,t)))}else if("ELECTRICAL ACCESSORY OD"===t.CoverGroups.$.Value)n.target.checked?(this.selectedDiscount[t.Premium.$.Value]={},t.selected=!0):(delete this.selectedDiscount[t.Premium.$.Value],t.selected=!1,this.setCoverAmount(0,t));else if("GEOGRAPHICAL EXTENSION - OD"===t.CoverGroups.$.Value){t.selected=!0;let c=this.coverDiscounts.find(l=>"GEOGRAPHICAL EXTENSION - TP"===l.CoverGroups.$.Value);c&&(c.selected=n.target.checked,n.target.checked?this.selectedDiscount.push(c.Premium.$.Value):delete this.selectedDiscount[c.Premium.$.Value])}else if("GEOGRAPHICAL EXTENSION - TP"===t.CoverGroups.$.Value){t.selected=!0;let c=this.coverDiscounts.find(l=>"GEOGRAPHICAL EXTENSION - OD"===l.CoverGroups.$.Value);c&&(c.selected=n.target.checked,n.target.checked?this.selectedDiscount.push(c.Premium.$.Value):(delete this.selectedDiscount[c.Premium.$.Value],t.selected=!1))}n.target.checked?(setTimeout(()=>{document.getElementById("inputfield"+r)?.focus()},1e3),this.selectedDiscount[t.Premium.$.Value]={},t.selected=!0,("FIBERTANK OD"==t.CoverGroups.$.Value||"LEGAL LIABILITY TO PAID DRIVER"==t.CoverGroups.$.Value||"NAMED PA COVER TO PASSENGERS"==t.CoverGroups.$.Value||"PA COVER TO PAID DRIVER"==t.CoverGroups.$.Value||"UNNAMED PA COVER TO PASSENGERS"==t.CoverGroups.$.Value||"Built in LPG Kit - OD"==t.CoverGroups.$.Value||"LPG Kit - TP"==t.CoverGroups.$.Value||"CNG Kit - TP"==t.CoverGroups.$.Value||"Built in CNG Kit - OD"==t.CoverGroups.$.Value||"Built in CNG Kit - TP"==t.CoverGroups.$.Value)&&this.setCoverAmount(0,t)):(delete this.selectedDiscount[t.Premium.$.Value],t.selected=!1,this.setCoverAmount(0,t),("GEOGRAPHICAL EXTENSION - OD"==t.CoverGroups.$.Value||"GEOGRAPHICAL EXTENSION - TP"==t.CoverGroups.$.Value)&&(this.countryname=sessionStorage.removeItem("countryname"),this.errorOd=""),"CNG Kit - TP"==t.CoverGroups.$.Value?this.coverDiscounts.map(l
1=>{l.CoverGroups.$.Value.includes("CNG Kit - OD")&&(l.SumInsured.$.Value=l.SumInsured.$.Value.replace(l.SumInsured.$.Value,"0"))}):"GEOGRAPHICAL EXTENSION - TP"==t.CoverGroups.$.Value&&this.coverDiscounts.map(l=>{l.CoverGroups.$.Value.includes("GEOGRAPHICAL EXTENSION - OD")&&(l.SumInsured.$.Value=l.SumInsured.$.Value.replace(l.SumInsured.$.Value,"0"))})),this.selectedDiscount={...this.selectedDiscount};let d=this.coverDiscounts.filter(c=>c?.selected);this.motorJourneyRepository.saveSelectedAdditionalCoverAndDiscount(d.map(c=>({name:c.CoverGroups.$.Value,value:c.Premium.$.Value})))}setCoverAmount(n,t){let r,d=n?.target?.value?n.target.value:n,c="";if(t.CoverGroups.$.Value.includes("ELECTRICAL")||t.CoverGroups.$.Value.includes("CNG Kit - OD")?(r=.4*parseFloat(this.idvValue),c="Please put Sum Insured value less than 40% of IDV."):r=d,this.errorMes="",(t.CoverGroups.$.Value.includes("CNG Kit - OD")||t.CoverGroups.$.Value.includes("ELECTRICAL"))&&!(parseFloat(d)<=r&&parseFloat(d)>=0))return this.ItemName=t.CoverGroups.$.Value,this.errorMes=c,void(this.amountTimer&&this.amountTimer.unsubscribe());this.amountTimer&&this.amountTimer.unsubscribe(),this.amountTimer=(0,u.O)(2e3).subscribe(l=>{t.SumInsured.$.Value=d,this.motorJourneyRepository.saveSelectedOtherAddonData(this.coverDiscounts.map(y=>({name:y.CoverGroups.$.Value,sumInsured:y.SumInsured.$.Value,premium:y.Premium.$.Value})))})}countryDropDown(n,t){let r=n?.target?.value?n.target.value:n;r&&(this.errorOd="",this.amountTimer&&this.amountTimer.unsubscribe(),this.amountTimer=(0,u.O)(2e3).subscribe(d=>{t.SumInsured.$.Value=1e3;let c=this.coverDiscounts.filter(l=>l.CoverGroups.$.Value.includes("ELECTRICAL")||l.CoverGroups.$.Value.includes("CNG Kit - OD")||l.CoverGroups.$.Value.includes("PA COVER TO")||l.CoverGroups.$.Value.includes("UNNAMED PA COVER TO PASSENGERS")||l.CoverGroups.$.Value.includes("GEOGRAPHICAL EXTENSION - TP"));this.motorJourneyRepository.saveSelectedOtherAddonData(c.map(l=>({name:l.CoverGroups.$.Value,sumInsured:l.SumInsured.$.Value,premium:l.Premium.$.Value})))})),this.countryname=r,sessionStorage.setItem("countryname",this.countryname)}isdiscountItemSelected(n){return this.selectedDiscount.hasOwnProperty(n.CoverGroups.$.Value)}imtCoversPopup(){this.modalService.show(m,Object.assign({class:"edit-claim-popup modal-lg"}))}closePopup(){this.modalService.hide(),this._message.changeMessage(this.totalPremium)}proceedPopup(){let r,d,n=this.coverDiscounts.filter(l=>l?.selected),t="";n.forEach(l=>{t=l.CoverGroups.$.Value,"GEOGRAPHICAL EXTENSION - OD"==t&&1==l.selected&&(r=l.selected),"CNG Kit - OD"==t&&1==l.selected&&(d=l.SumInsured.$.Value)}),this.countryname||"GEOGRAPHICAL EXTENSION - OD"!=t&&!r?"0.00"==d?(this.ItemName="CNG Kit - OD",this.errorMes="Please put Sum Insured value less than 40% of IDV."):this.countryname?(this.modalService.hide(),this._message.changeMessage(this.totalPremium),this.errorOd=""):(this.modalService.hide(),this._message.changeMessage(this.totalPremium)):this.errorOd="Country name is mandatory"}static{this.\u0275fac=function(t){return new(t||m)(e.rXU(C.ze),e.rXU(P.I8),e.rXU(M.ml),e.rXU(p.CH),e.rXU(g.Mq),e.rXU(_.L),e.rXU(D.h))}}static{this.\u0275cmp=e.VBU({type:m,selectors:[["app-imt-covers-popup"]],decls:30,vars:4,consts:[[1,"popup-wrapper","position-relative"],[1,"popup-body"],[1,"imt-covers-popup"],[1,"imt-covers-header","d-flex","justify-content-center","align-items-center","mb-4","mb-md-5"],[1,"montserrat-semibold","text-semibold","text-black"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","./assets/images/icons/close-btn.svg","alt","close-btn"],[1,"imt-covers-details"],[1,"row","d-none","d-md-flex","pl-4","mb-2"],[1,"col-6"],[1,"fs-16","montserrat-medium","text-medium","text-primary","pl-5"],[1,"col-3","px-0"],[1,"fs-16","montserrat-medium","text-medium","text-primary"],[1,"col-3"],[1,"fs-16","montserrat-medium","text-medium","text-primar"],[1,"scroll-container",2,"max-width","100%"],[4,"ngFor","ngForOf"],[1,"d-flex","flex-column","flex-md-row","align-items-center","justify-content-between","bottom-blk","px-4","mt-3","mt-md-4"],[1,"d-flex","align-items-center","justify-content-between","justify-content-md-start","w-md-100"],[1,"montserrat-bolder","text-bolder","text-orange","mb-1","mr-3"],[1,"montserrat-extrabold","text-extrabold","text-orange"],[1,"btn","btn-danger","mt-3","mt-md-0",3,"click"],[1,"imt-cards","p-3","pb-4","pb-md-3","mb-3",3,"ngClass"],[1,"imt-card-header","row","
1justify-content-between","mb-1"],[1,"d-flex","col-12","col-md-6","align-items-center","position-static"],[1,"form-check-sm"],["type","checkbox",1,"form-check-input",3,"change","id","checked","disabled"],[3,"for"],[1,"d-flex","align-items-md-center","justify-content-md-between"],[1,"fs-16","montserrat-semibold","text-semibold","text-dark","d-flex","align-items-center"],[1,"d-none","d-md-block"],["src","./assets/images/usgi-icons/blue-car-32-icon.svg","alt","blue-car-32-icon",1,"mx-md-2"],[1,"col-12","col-md-6","d-flex","flex-md-row","flex-column","align-items-md-center","justify-content-between","pl-5","pl-md-0"],[1,"d-flex","col-12","col-md-7","align-items-center","w-100","pt-1","pt-md-0","px-0","pl-md-2"],[1,"w-md-56","d-md-none"],[1,"fs-14","montserrat-medium","text-medium","text-primary"],[1,"w-100","ml-4","ml-md-0"],["type","number","class","montserrat-semibold text-extrabold mr-2 form-control ",3,"disabled","id","value","keyup",4,"ngIf"],["class","text-danger",4,"ngIf"],[1,"form-group","form-select"],["class","select-control","placeholder","Select Sum Insured","required","",3,"disabled","items","defaultValue","select",4,"ngIf"],["class","select-control","placeholder","Select Country","required","",3,"disabled","items","defaultValue","select",4,"ngIf"],[1,"d-flex","col-12","col-md-4","px-0"],[1,"fs-14","montserrat-medium","text-medium","text-primary","d-md-none"],[1,"fs-18","montserrat-extrabold","text-extrabold","text-primary","price","ml-5","ml-md-0"],[1,"fs-12","montserrat-medium","text-memontserrat-medium"],["type","number",1,"montserrat-semibold","text-extrabold","mr-2","form-control",3,"keyup","disabled","id","value"],[1,"text-danger"],["placeholder","Select Sum Insured","required","",1,"select-control",3,"select","disabled","items","defaultValue"],["placeholder","Select Country","required","",1,"select-control",3,"select","disabled","items","defaultValue"]],template:function(t,r){1&t&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h5",4),e.EFF(5,"Additional Covers "),e.k0s(),e.j41(6,"a",5),e.bIt("click",function(){return r.proceedPopup()}),e.nrm(7,"img",6),e.k0s()(),e.j41(8,"form",7)(9,"div",8)(10,"div",9)(11,"p",10),e.EFF(12,"Cover Name"),e.k0s()(),e.j41(13,"div",11)(14,"p",12),e.EFF(15,"Sum Insured"),e.k0s()(),e.j41(16,"div",13)(17,"p",14),e.EFF(18,"Premium"),e.k0s()()(),e.j41(19,"ng-scrollbar",15),e.DNE(20,L,32,20,"div",16),e.k0s()(),e.j41(21,"div",17)(22,"div",18)(23,"h6",19),e.EFF(24,"Total Amount :"),e.k0s(),e.j41(25,"h6",20),e.EFF(26),e.nI1(27,"customIndianCurrency"),e.k0s()(),e.j41(28,"button",21),e.bIt("click",function(){return r.proceedPopup()}),e.EFF(29,"Proceed"),e.k0s()()()()()),2&t&&(e.R7$(20),e.Y8G("ngForOf",r.coverDiscounts),e.R7$(6),e.SpI("",r.totalPremium?e.bMT(27,2,r.totalPremium):0," "))},dependencies:[h.YU,h.Sq,h.bT,O.RM,v.Yh,C.qT,C.cb,C.cV,k.G],styles:[".w-52[_ngcontent-%COMP%]{width:58%}.imt-covers-popup[_ngcontent-%COMP%]{padding:32px 0;position:relative}.imt-covers-popup[_ngcontent-%COMP%] .imt-covers-header[_ngcontent-%COMP%]{padding:0 54px 0 32px}.imt-covers-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:30spx;right:16px}.imt-covers-header[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:10px 36px}.imt-covers-popup[_ngcontent-%COMP%] .imt-covers-details[_ngcontent-%COMP%]{padding:0 21px} .imt-covers-details .scroll-container .ps{padding:12px 32px 0 12px;height:375px}.imt-covers-details[_ngcontent-%COMP%] .imt-cards[_ngcontent-%COMP%]{padding:20px 10px 20x 18px;background:#fff;box-shadow:0 2px 32px #a7a7a740;border-radius:7px;position:relative}.imt-covers-details[_ngcontent-%COMP%] .imt-cards[_ngcontent-%COMP%] .imt-card-body[_ngcontent-%COMP%]{padding-left:80px}.imt-covers-details[_ngcontent-%COMP%] .imt-cards[_ngcontent-%COMP%] .form-check-sm[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]:before{top:-5px;width:24px;height:24px}.imt-covers-details[_ngcontent-%COMP%] .imt-cards[_ngcontent-%COMP%] .form-check-sm[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before{background:#c02;border:1px solid #DCDCDC;border-radius:2px}.imt-covers-details[_ngcontent-%COMP%] .imt-cards[_ngcontent-%COMP%] .form-check-sm[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{top:0;left:4px;width:14px;
1height:14px;background:url(checkbox-white-tick.86b37431c39beeef.svg)}.imt-covers-details[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{top:2px;height:15px;width:15px}.imt-covers-details[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{top:calc(50% - 5px);left:calc(50% - 5.5px);width:10.5px;height:10px}.imt-covers-details[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#838383;font-weight:600;margin-bottom:8px;display:block;font-family:montserrat-semibold}@media (max-width: 1200px) and (min-width: 992px){.imt-cards[_ngcontent-%COMP%] .imt-card-body[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:16px}}@media (max-width:991px) and (min-width: 769px){.bottom-blk[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:20px}.imt-covers-popup[_ngcontent-%COMP%] .imt-covers-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:20px;line-height:23px}.imt-cards[_ngcontent-%COMP%] .imt-card-header[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:14px;line-height:16px}.imt-cards[_ngcontent-%COMP%] .imt-card-header[_ngcontent-%COMP%] .price[_ngcontent-%COMP%], .imt-covers-header[_ngcontent-%COMP%] .bottom-blk[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:18px;line-height:21px}.imt-cards[_ngcontent-%COMP%] .imt-card-body[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px!important}.w-52[_ngcontent-%COMP%]{width:100%}}@media (max-width: 768px) and (min-width: 320px){.imt-card-header[_ngcontent-%COMP%] .fs-16[_ngcontent-%COMP%]{font-size:14px}.w-md-100[_ngcontent-%COMP%]{width:100%}.bottom-blk[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:20px}.imt-covers-popup[_ngcontent-%COMP%]{padding:16px 0 32px}.imt-covers-popup[_ngcontent-%COMP%] .imt-covers-header[_ngcontent-%COMP%]{padding:0 16px}.imt-covers-popup[_ngcontent-%COMP%] .imt-covers-details[_ngcontent-%COMP%]{padding:0} .imt-covers-details .scroll-container .ps{padding:12px 24px 0 16px}.imt-covers-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:12px}.imt-covers-popup[_ngcontent-%COMP%] .imt-covers-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:20px;line-height:23px}.imt-covers-popup[_ngcontent-%COMP%] .imt-covers-header[_ngcontent-%COMP%] .bottom-blk[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;right:0;justify-content:space-between;background:#fff;border:.0780952px solid #C4C4C4;box-shadow:0 1.5619px 24.9905px #a7a7a740;border-radius:6px;padding:16px;z-index:1}.imt-cards[_ngcontent-%COMP%] .imt-card-header[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:14px;line-height:16px}.imt-cards[_ngcontent-%COMP%] .imt-card-header[_ngcontent-%COMP%] .price[_ngcontent-%COMP%], .imt-covers-header[_ngcontent-%COMP%] .bottom-blk[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:16px;line-height:21px}.imt-cards[_ngcontent-%COMP%] .imt-card-body[_ngcontent-%COMP%]{padding-left:35px!important}.imt-cards[_ngcontent-%COMP%] .imt-card-body[_ngcontent-%COMP%] .fs-14[_ngcontent-%COMP%]{font-size:10px}.imt-cards[_ngcontent-%COMP%] .imt-card-body[_ngcontent-%COMP%] .fs-16[_ngcontent-%COMP%]{font-size:12px}.imt-cards[_ngcontent-%COMP%] .imt-card-body[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px!important;margin-top:8px}.form-control.w-50[_ngcontent-%COMP%]{width:100%!important}}@media (max-width: 575px) and (min-width: 320px){.w-md-56[_ngcontent-%COMP%]{width:56%}.w-md-100[_ngcontent-%COMP%]{width:100%}}"]})}}return m})()},20901:(V,b,i)=>{i.d(b,{a:()=>C});var o=i(54438),u=i(50779),s=i(71780),f=i(18703),e=i(54005);let C=(()=>{class P{constructor(p,g,_,D){this.modalService=p,this.motorJourneyRepository=g,this.journeyRestService=_,this.journeyHomeService=D,this.error=""}ngOnInit(){this.input=this.modalService.config.initialState,this.error=this.input.error}closePopup(){this.modalService.hide()}callApi(){this.journeyHomeService.obsoluteVehicle.next(!1),this.modalService.hide()}static{this.\u0275fac=function(g){return new(g||P)(o.rXU(u.I8),o.rXU(s.ml),o.rXU(f.I),o.rXU(e.L))}}static{this.\u0275cmp=o.VBU({type:P,selectors:[["app-quotation-error-popup"]],decls:8,vars:0,consts:[[1,"popup-wrapper"],[1,"popup-body"],[1,"popup-head"],[1,"thankyou-popup-main","px-0"],[1,"montserrat-regular","text-regular","text-black"],[1,"btn","btn-danger",3,"click"]],template:function(g,_){1&g&&(o.j41(0,"div",0)(1,"div",1),o.nrm(2,"div",2),o.j41(3,"div",3)(4,"p",4),o.EFF(5,"RTI Add On is not available for this model"),o.k0s(),o.j41(6,"button",5),o.bIt("click",function(){return _.callApi()}),o.EFF(7,"Continue"),o.k0s()()()())},styles:[".quatation-error-popup{max-width:600px}"]})}}return P})()}}]);
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.