PageSourceSearch

https://www.universalsompo.com/5655.ce9d1087d11dc0a0.js

js universalsompo.com collected 2026-10-03 21:38:23 UTC 12,993 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkusgi=self.webpackChunkusgi||[]).push([[5655],{5655:(O,d,o)=>{o.d(d,{p:()=>S});var m=o(18359),u=o(5964),l=o(96697),t=o(54438),C=o(50779),_=o(71780),g=o(91484),c=o(60177),D=o(81779);function v(a,i){if(1&a&&(t.j41(0,"div",9)(1,"p",10),t.EFF(2," NCB Discount "),t.k0s(),t.j41(3,"p",11),t.EFF(4),t.nI1(5,"customIndianCurrency"),t.k0s()()),2&a){const n=t.XpG();t.R7$(4),t.SpI(" - ",t.bMT(5,1,null==n.pageDataCS?null:n.pageDataCS.ncbDiscount)," ")}}function P(a,i){if(1&a&&(t.j41(0,"div",9)(1,"p",10),t.EFF(2," NCB Discount "),t.k0s(),t.j41(3,"p",11),t.EFF(4),t.nI1(5,"customIndianCurrency"),t.k0s()()),2&a){const n=t.XpG();t.R7$(4),t.SpI(" - ",t.bMT(5,1,null==n.pageDataCS?null:n.pageDataCS.ncbDiscount)," ")}}function h(a,i){if(1&a&&(t.j41(0,"div",9)(1,"p",10),t.EFF(2),t.k0s(),t.j41(3,"p",11),t.EFF(4),t.nI1(5,"customIndianCurrency"),t.k0s()()),2&a){const n=i.$implicit;t.R7$(2),t.JRh(n.name.toUpperCase()),t.R7$(2),t.SpI("",t.bMT(5,2,n.value)," ")}}function y(a,i){if(1&a&&(t.j41(0,"div",8)(1,"p",16),t.EFF(2,"Addons"),t.k0s(),t.DNE(3,h,6,4,"div",19),t.k0s()),2&a){const n=t.XpG();t.R7$(3),t.Y8G("ngForOf",n.addonData)}}function F(a,i){if(1&a&&(t.j41(0,"div",9)(1,"p",10),t.EFF(2),t.k0s(),t.j41(3,"p",11),t.EFF(4),t.nI1(5,"customIndianCurrency"),t.k0s()()),2&a){const n=i.$implicit;t.R7$(2),t.SpI(" ",n.name.toUpperCase()," "),t.R7$(2),t.JRh(t.bMT(5,2,n.value))}}function E(a,i){if(1&a&&(t.j41(0,"div",9)(1,"p",10),t.EFF(2),t.k0s(),t.j41(3,"p",11),t.EFF(4),t.nI1(5,"customIndianCurrency"),t.k0s()()),2&a){const n=t.XpG(2);t.R7$(2),t.JRh(n.personalAccidentCover.name),t.R7$(2),t.SpI("",t.bMT(5,2,n.personalAccidentCover.value)," ")}}function I(a,i){if(1&a&&(t.j41(0,"div",8)(1,"p",16),t.EFF(2,"Additional Covers"),t.k0s(),t.DNE(3,F,6,4,"div",19)(4,E,6,4,"div",12),t.k0s()),2&a){const n=t.XpG();t.R7$(3),t.Y8G("ngForOf",n.pageDataAddonCoverDiscount),t.R7$(),t.Y8G("ngIf",n.personalAccidentCover.value>1)}}function b(a,i){if(1&a&&(t.j41(0,"div",9)(1,"p",10),t.EFF(2),t.k0s(),t.j41(3,"p",11),t.EFF(4),t.nI1(5,"customIndianCurrency"),t.k0s()()),2&a){const n=i.$implicit;t.R7$(2),t.SpI(" ",n.value.toUpperCase()," "),t.R7$(2),t.SpI(" ",t.bMT(5,2,n.amount)," ")}}function f(a,i){if(1&a&&(t.j41(0,"div",8)(1,"p",16),t.EFF(2,"Discount"),t.k0s(),t.DNE(3,b,6,4,"div",19),t.k0s()),2&a){const n=t.XpG();t.R7$(3),t.Y8G("ngForOf",n.pageDataDiscount)}}let S=(()=>{class a{constructor(n,s,e){this.modalService=n,this.motorJourneyRepository=s,this.motorJourneyProduct=e,this.subscriptions=new m.yU,this.pageDataDiscount=[],this.costSummary=!0,this.breakupData=!1,this.personalAccidentCover={name:"PERSONAL ACCIDENT COVER (OWNER DRIVER)",value:0},this.addonData=[]}ngOnInit(){this.initVehicleDetails(),this.initVehicleDetails2(),this.idvValue()}ngOnDestroy(){this.subscriptions.unsubscribe(),this.pageDataDiscount=[]}idvValue(){this.motorJourneyProduct.selectActiveProductPlan$.pipe((0,u.p)(n=>!!n)).subscribe(n=>{this.IdvValue=n.idvDefaultValue;let s=n.coverDiscountsPremium.find(e=>"PA COVER TO OWNER DRIVER"==e?.CoverGroups.$.Value)||"";s&&this.motorJourneyRepository.personalAccidentCover$.pipe((0,l.s)(1)).subscribe(e=>{"Individual"==e.selectedCoverageType&&"Yes"==e.isActiveDrivingLicensePresent&&"No"==e.isAlternateGPACoverPresent&&"No"==e.isAlternatePAC
1overPresent&&s?.Premium.$.Value>0&&this.pageDataAddonCoverDiscount.push({name:s?.CoverGroups.$.Value,value:s?.Premium.$.Value})})})}initVehicleDetails(){this.subscriptions.add(this.motorJourneyRepository.costSummaryData$.pipe((0,u.p)(n=>!!n)).subscribe(n=>{this.pageDataCS=n})),this.subscriptions.add(this.motorJourneyRepository.selectedAddonsAndCoverageCoversAndDiscount$.pipe((0,u.p)(n=>!!n)).subscribe(n=>{this.pageDataAddonsAndCoverage=n.addonCoverage,this.pageDataAddonCoverDiscount=n.coversDiscount.filter(e=>"0.00"!=e.value),this.pageDataDiscount=JSON.parse(JSON.stringify(n.discountPackage)),this.motorJourneyProduct.selectActiveProductPlan$.pipe((0,l.s)(1)).subscribe(e=>{this.pageDataDiscount?.forEach(p=>{e?.discountswithPremium?.forEach(r=>{p.value==r.Description.$.Value&&(p.amount=r.Premium.$.Value||"0.00")})})});let s=0;this.pageDataAddonCoverDiscount.forEach(e=>{s+=parseFloat(e.value)})})),this.subscriptions.add(this.motorJourneyProduct.selectActiveProductPlan$.pipe((0,u.p)(n=>!!n),(0,l.s)(1)).subscribe(n=>{let s=n?.deTariffDiscount;if("0.00"!=s?.Premium?.$.Value){let e=this.pageDataDiscount.find(r=>"Voluntary deductable"==r.value)?.amount||"0",p=(this.pageDataCS.basic_OD-e)*(parseFloat(s.Rate.$.Value||"0.00")/100);this.pageDataDiscount.push({value:s?.Description.$.Value,amount:p})}}))}initVehicleDetails2(){this.subscriptions.add(this.motorJourneyProduct.selectActiveProductPlan$.pipe((0,u.p)(n=>!!n)).subscribe(n=>{this.addOnCoverages=n?.addOnCoverageswithPremium.filter(s=>"0.00"!=s.Premium.$.Value&&""!=s.Premium.$.Value),this.discountPackage=n?.discountswithPremium,this.addOnCoverages.forEach(s=>{this.pageDataAddonsAndCoverage.forEach(e=>{s.AddonCoverGroups.$.Value===e.value&&this.addonData.push({name:s.AddonCoverGroups.$.Value,value:s.Premium.$.Value})})})}).unsubscribe())}closePopup(){this.modalService.hide()}showBreakupData(){this.costSummary=!1,this.breakupData=!0}showCostSummary(){this.costSummary=!0,this.breakupData=!1}static{this.\u0275fac=function(s){return new(s||a)(t.rXU(C.I8),t.rXU(_.ml),t.rXU(g.CH))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-cost-summary-details-popup"]],decls:111,vars:48,consts:[[1,"popup-wrapper","position-relative","d-none","d-block","d-lg-none"],[1,"popup-body","cost-summery-details"],[1,"popup-head","mb-5"],[1,"montserrat-semibold","text-semibold","text-black","text-center"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","./assets/images/icons/close-btn.svg","alt","close-btn"],[1,"popup-details"],[1,"d-flex","flex-wrap","justify-content-between","details-wrp"],[1,"details-blk","mb-4","px-sm-3","px-xl-4"],[1,"d-flex","py-2","justify-content-between"],[1,"fs-12","montserrat-regular","text-primary","text-regular"],[1,"fs-12","text-primary","text-regular","montserrat-regular","info"],["class","d-flex py-2 justify-content-between",4,"ngIf"],[1,"text-center"],["href","javascript:void(0);",3,"click"],[1,"popup-wrapper","position-relative","d-none","d-lg-block"],[1,"fs-18","montserrat-bolder","text-bolder","text-black","mb-2","mb-xl-3"],["class","details-blk mb-4 px-sm-3 px-xl-4",4,"ngIf"],[1,"text-center","d-block","d-lg-none"],["class","d-flex py-2 justify-content-between",4,"ngFor","ngForOf"]],template:function(s,e){1&s&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h5",3),t.EFF(4,"Cost Summary"),t.k0s(),t.j41(5,"a",4),t.bIt("click",function(){return e.closePopup()}),t.nrm(6,"img",5),t.k0s()(),t.j41(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"p",10),t.EFF(12," IDV"),t.k0s(),t.j41(13,"p",11),t.EFF(14),t.nI1(15,"customIndianCurrency"),t.k0s()(),t.j41(16,"div",9)(17,"p",10),t.EFF(18," Basic TP"),t.k0s(),t.j41(19,"p",11),t.EFF(20),t.nI1(21,"customIndianCurrency"),t.k0s()(),t.j41(22,"div",9)(23,"p",10),t.EFF(24," Basic OD"),t.k0s(),t.j41(25,"p",11),t.EFF(26),t.nI1(27,"customIndianCurrency"),t.k0s()(),t.j41(28,"div",9)(29,"p",10),t.EFF(30," Discount "),t.k0s(),t.j41(31,"p",11),t.EFF(32),t.nI1(33,"customIndianCurrency"),t.k0s()(),t.j41(34,"div",9)(35,"p",10),t.EFF(36," Addon Total "),t.k0s(),t.j41(37,"p",11),t.EFF(38),t.nI1(39,"customIndianCurrency"),t.k0s()(),t.j41(40,"div",9)(41,"p",10),t.EFF(42," Additional Cover Total "),t.k0s(),t.j41(43,"p",11),t.EFF(44),t.nI1(45,"customIndianCurrency"),t.k0s()(),t.DNE(46,v,6,3,"div",12),t.j41(47,"div",9)(48,"p",10),t.EFF(49," Net Premium "),t.k0s(),t.j41(50,"p",11),t.EFF(51),t.nI1(52,"customIndianCurrency"),t.k0s()(),t.j41(53,"div",9)(54,"p",10),t.EFF(55," GST In (18%) "),t.k0s(),t.j41(56,"p",11),t.EFF(57),t.nI1(58,"customIndianCurrency"),t.k0s()(),t.j41(59,"div",9)(60,"p",10),t.EFF(61," Total Premium: "),t.k0s(),t.j41(62,"p",11),t.EFF(63),t.nI1(64,"customIndianCurrency"),t.k0s()()()(),t.j41(65,"div",13)(66,"a",14),t.bIt("click",function(){return e.showBreakupData()}),t.EFF(67,"View Premium Break-up"),t.k0s()()()()(),t.j41(68,"div",15)(69,"div",1)(70,"div",2)(71,"h5",3),t.EFF(72,"Premium Break-up"),t.k0s(),t.j41(73,"a",4),t.bIt("click",function(){return e.closePopup()}),t.nrm(74,"img",5),t.k0s()(),t.j41(75,"div",6)(76,"div",7)(77,"div",8)(78,"p",16),t.EFF(79,"Cost Summary"),t.k0s(),t.j41(80,"div",9)(81,"p",10),t.EFF(82," Basic OD"),t.k0s(),t.j41(83,"p",11),t.EFF(84),t.nI1(85,"customIndianCurrency"),t.k0s()(),t.j41(86,"div",9)(87,"p",10),t.EFF(88," Basic TP"),t.k0s(),t.j41(89,"p",11),t.EFF(90),t.nI1(91,"customIndianCurrency"),t.k0s()(),t.DNE(92,P,6,3,"div",12),t.j41(93,"div",9)(94,"p",10),t.EFF(95," Net Premium "),t.k0s(),t.j41(96,"p",11),t.EFF(97),t.nI1(98,"customIndianCurrency"),t.k0s()(),t.j41(99,"div",9)(100,"p",10),t.EFF(101," GST In (18%) "),t.k0s(),t.j41(102,"p",11),t.EFF(103),t.nI1(104,"customIndianCurrency"),t.k0s()()(),t.DNE(105,y,4,1,"div",17)(106,I,5,2,"div",17)(107,f,4,1,"div",17),t.k0s(),t.j41(108,"div",18)(109,"a",14),t.bIt("click",function(){return e.showCostSummary()}),t.EFF(110,"View Cost Summary"),t.k0s()()()()()),2&s&&(t.AVh("d-block",e.costSummary),t.R7$(14),t.SpI(" ",t.bMT(15,22,e.IdvValue)," "),t.R7$(6),t.SpI(" ",t.bMT(21,24,null==e.pageDataCS?null:e.pageDataCS.basic_TP)," "),t.R7$(6),t.SpI(" ",t.bMT(27,26,null==e.pageDataCS?null:e.pageDataCS.basic_OD)," "),t.R7$(6),t.SpI(" - ",t.bMT(33,28,null==e.pageDataCS?null:e.pageDataCS.other_discount)," "),t.R7$(6),t.SpI(" ",t.bMT(39,30,null==e.pageDataCS?null:e.pageDataCS.addon_Total)," "),t.R7$(6),t.SpI(" ",t.bMT(45,32,null==e.pageDataCS?null:e.pageDataCS.additional_Cover_Total)," "),t.R7$(2),t.Y8G("ngIf",0!=(null==e.pageDataCS?null:e.pageDataCS.ncbDiscount)),t.R7$(5),t.SpI(" ",t.bMT(52,34,null==e.pageDataCS?null:e.pageDataCS.netPremium)," "),t.R7$(6),t.SpI(" ",t.bMT(58,36,null==e.pageDataCS?null:e.pageDataCS.gstIn)," "),t.R7$(6),t.SpI(" ",t.bMT(64,38,null==e.pageDataCS?null:e.pageDataCS.totalPremium)," "),t.R7$(5),t.AVh("d-block",e.breakupData),t.R7$(16),t.SpI("",t.bMT(85,40,null==e.pageDataCS?null:e.pageDataCS.basic_OD)," "),t.R7$(6),t.SpI("",t.bMT(91,42,null==e.pageDataCS?null:e.pageDataCS.basic_TP)," "),t.R7$(2),t.Y8G("ngIf",0!=(null==e.pageDataCS?null:e.pageDataCS.ncbDiscount)),t.R7$(5),t.SpI("",t.bMT(98,44,null==e.pageDataCS?null:e.pageDataCS.netPremium)," "),t.R7$(6),t.SpI("",t.bMT(104,46,null==e.pageDataCS?null:e.pageDataCS.gstIn)," "),t.R7$(2),t.Y8G("ngIf",e.addonData.length>0),t.R7$(),t.Y8G("ngIf",e.pageDataAddonCoverDiscount.length>0||e.personalAccidentCover.value>0),t.R7$(),t.Y8G("ngIf",e.pageDataDiscount.length>0))},dependencies:[c.Sq,c.bT,D.G],styles:[".cost-summary-popup.modal-dialog{max-width:max-content}.cost-summery-details[_ngcontent-%COMP%]{padding:32px}
1.cost-summery-details[_ngcontent-%COMP%]   .popup-head[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:32px;right:32px;opacity:1}.cost-summery-details[_ngcontent-%COMP%]   .popup-details[_ngcontent-%COMP%]   .details-blk[_ngcontent-%COMP%]   .fs-16[_ngcontent-%COMP%]{line-height:20px}.cost-summery-details[_ngcontent-%COMP%]   .popup-details[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{padding:12px 32px}.cost-summery-details[_ngcontent-%COMP%]   .popup-details[_ngcontent-%COMP%]   .details-wrp[_ngcontent-%COMP%]{max-width:800px}.cost-summery-details[_ngcontent-%COMP%]   .popup-details[_ngcontent-%COMP%]   .details-blk[_ngcontent-%COMP%]{min-width:400px}@media (max-width:991px) and (min-width: 769px){.cost-summery-details[_ngcontent-%COMP%]   .popup-details[_ngcontent-%COMP%]   .details-blk[_ngcontent-%COMP%]{min-width:350px}  .cost-summary-popup.modal-dialog{padding:0 16px}.cost-summery-details[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:18px}.cost-summery-details[_ngcontent-%COMP%]   .fs-18[_ngcontent-%COMP%]{font-size:16px}}@media (max-width: 768px) and (min-width: 650px){  .cost-summary-popup.modal-dialog{padding:0 16px}.cost-summery-details[_ngcontent-%COMP%]   .popup-details[_ngcontent-%COMP%]   .details-blk[_ngcontent-%COMP%]{min-width:275px}.cost-summery-details[_ngcontent-%COMP%]{padding:32px 24px}.cost-summery-details[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:18px}.cost-summery-details[_ngcontent-%COMP%]   .fs-18[_ngcontent-%COMP%]{font-size:16px}}@media (max-width: 650px) and (min-width: 320px){.cost-summery-details[_ngcontent-%COMP%]   .popup-head[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{right:16px}.cost-summery-details[_ngcontent-%COMP%]   .popup-details[_ngcontent-%COMP%]   .details-wrp[_ngcontent-%COMP%]{max-width:100%}.cost-summery-details[_ngcontent-%COMP%]   .popup-details[_ngcontent-%COMP%]   .details-blk[_ngcontent-%COMP%]{min-width:100%}.cost-summery-details[_ngcontent-%COMP%]{padding:32px 16px}  .cost-summary-popup.modal-dialog{max-width:inherit}.cost-summery-details[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:18px}.cost-summery-details[_ngcontent-%COMP%]   .fs-18[_ngcontent-%COMP%]{font-size:16px}}"]})}}return a})()}}]);

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.