PageSourceSearch

https://jioinsure.in/_next/static/chunks/6434-fe576558a3c4b672.js

js jioinsure.in collected 2026-09-29 15:07:43 UTC 27,651 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6434],{3511:(e,t,r)=>{"use strict";r.d(t,{MU:()=>a,Um:()=>n,dV:()=>o,m4:()=>i});let a=async e=>{try{console.warn("\uD83C\uDFCD️ Bike Product Details Event Triggered:",e);let{fireJioPushEvent:t,registerLeadIdWithJioPush:a}=await r.e(4006).then(r.bind(r,24006)),n=e?.eventN||"BikeInsurance_ProductDetails",{eventN:i,...o}=e,s=Object.entries(o).filter(([e,t])=>null!=t&&""!==t).map(([e,t])=>({propertyName:"screenname"===e.toLowerCase()?"Screen name":"createddatetime"===e.toLowerCase()?"Created Date & Time":"previouspolicyexpired"===e.toLowerCase()?"Previous Policy Expired?":"madeaclaiminpreviouspolicy"===e.toLowerCase()?"Made a claim in previous policy":"isbikeusedfor"===e.toLowerCase()?"Is bike used for":e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase()).trim(),propertyValue:String(t).trim()}));s.push({propertyName:"insuranceType",propertyValue:["Bike Insurance"]},{propertyName:"Timestamp",propertyValue:new Date().toISOString()},{propertyName:"Source",propertyValue:"web_application"});let l=null,p=s.findIndex(e=>e.propertyName.toLowerCase().includes("lead"));return -1!==p&&(l=s[p].propertyValue,s[p]={propertyName:"leadID",propertyValue:[l]}),await t(n,s),l&&(console.warn(`🔑 Registering Lead ID after Bike Product Details event: ${l}`),await a(l)),console.warn(`✅ Bike Product Details event tracked: ${n}`),!0}catch(t){return console.error("❌ Failed to track bike product details:",t),console.warn(`📊 [FALLBACK] Bike Product Details:`,{eventName:e?.eventN||"BikeInsurance_ProductDetails",data:e,error:t instanceof Error?t.message:"Unknown error",timestamp:new Date().toISOString()}),!0}},n=(e,t,r)=>({leadID:t?.leadId,createdDateTime:e?.createdDateTime||e?.["Created Date & Time"]||new Date().toLocaleString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).replace(/(\d{2})\/(\d{2})\/(\d{4}), (\d{2}):(\d{2}):(\d{2})/,"$1/$2/$3 $4:$5:$6"),screenname:e?.ADD_FORM?.PAGE_STATUS===1?"Home Page":e?.ADD_FORM?.PAGE_STATUS===6||e?.ADD_FORM?.PAGE_STATUS===7||e?.ADD_FORM?.PAGE_STATUS===2?"Get Bike Insurance":"Bike Insurance Product Details",insuranceType:"Bike",mobileNumber:r?.mobile?.value||e?.ADD_FORM?.mobile?.value,registrationNumber:r?.reg_no?.value||e?.ADD_FORM?.reg_no?.value}),i=(e,t,r)=>({leadID:t?.leadId,createdDateTime:e?.createdDateTime||e?.["Created Date & Time"]||new Date().toLocaleString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).replace(/(\d{2})\/(\d{2})\/(\d{4}), (\d{2}):(\d{2}):(\d{2})/,"$1/$2/$3 $4:$5:$6"),screenname:e?.ADD_FORM?.PAGE_STATUS===1?"Home Page":e?.ADD_FORM?.PAGE_STATUS===6||e?.ADD_FORM?.PAGE_STATUS===7||e?.ADD_FORM?.PAGE_STATUS===2?"Get Bike Insurance":"Bike Insurance Product Details",insuranceType:"Bike",mobileNumber:r?.mobile?.value||e?.ADD_FORM?.mobile?.value,registrationNumber:r?.reg_no?.value||e?.ADD_FORM?.reg_no?.value,previousPolicyType:e?.ADD_FORM?.pre_policy_type,previousPolicyExpired:e?.ADD_FORM?.policy_expiry_status===!1?"No":"Yes",PolicyExpiry:e?.ADD_FORM?.policy_expiry_date?.value,madeAClaimInPreviousPolicy:e?.ADD_FORM?.claimed,Brand:e?.ADD_FORM?.make?.value,SelectModel:e?.ADD_FORM?.model?.value,SelectVariant:e?.ADD_FORM?.variant_cc?.value,BusinessType:e?.ADD_FORM?.business_type,SelectFuelType:e?.ADD_FORM?.fuel_type?.value,RegistrationDate:e?.ADD_FORM?.reg_date?.value,IsBikeUsedFor:e?.ADD_FORM?.tw_used_for}),o=async e=>{try{let{fireJioPushEvent:t}=await r.e(4006).then(r.bind(r,24006)),a=[{propertyName:"leadID",propertyValue:e.leadID||""},{propertyName:"createdDateTime",propertyValue:e.createdDateTime||new Date().toLocaleString("en-GB").replace(/(\d{2})\/(\d{2})\/(\d{4}), (\d{2}):(\d{2}):(\d{2})/,"$1/$2/$3 $4:$5:$6")},{propertyName:"screenname",propertyValue:e.screenname||"Get Bike Insurance"},{propertyName:"insuranceType",propertyValue:e.insuranceType||"Bike"},{propertyName:"mobileNumber",propertyValue:e.mobileNumber},{propertyName:"registrationNumber",propertyValue:e.registrationNumber}];return e.comprehensive&&a.push({propertyName:"comprehensive",propertyValue:e.comprehensive}),e.previousPolicyExpired&&a.push({propertyName:"previousPolicyExpired",propertyValue:e.previousPolicyExpired}),e.policyExpiry&&a.push({propertyName:"PolicyExpiry",propertyValue:e.policyExpiry}),e.madeAClaimInPreviousPolicy&&a.push({propertyName:"madeAClaimInPreviousPolicy",propertyValue:e.madeAClaimInPreviousPolicy}),e.brand&&a.push({propertyName:"Brand",propertyValue:e.brand}),e.selectModel&&a.push({propertyName:"SelectModel",propertyValue:e.selectModel}),e.selectVariant&&a.push({propertyName:"SelectVariant",propertyValue:e.selectVariant}),e.businessType&&a.push({propertyName:"BusinessType",propertyValue:e.businessType}),e.selectFuelType&&a.push({propertyName:"SelectFuelType",propertyValue:e.selectFuelType}),e.registrationDate&&a.push({propertyName:"RegistrationDate",propertyValue:e.registrationDate}),e.isBikeUsedFor&&a.push({propertyName:"IsBikeUsedFor",propertyValue:e.isBikeUsedFor}),await t("Call Me",a),console.warn("✅ Get Bike Insurance event tracked successfully"),!0}catch(e){return console.error("❌ Failed to track Get Bike Insurance event:",e),!1}}},22736:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,Bc:()=>d,xq:()=>u});var a=r(61766),n=r(59993),i=r(33603),o=r(77991),s=r(96056);async function l(e,t,r,n,l){let p=s.A.GENERATE_TOKEN;try{let s=`Basic ${btoa("WEBPORTAL:tcuvtz_^HU76tcuvtz_^HU76")}`,c=(0,o.Hd)(10),_=(await a.A.post(p,null,{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json, text/plain, */*",Authorization:s,UserSessionId:c}})).data.results.response;_&&c?(sessionStorage.setItem(i.b.ACCESS_TOKEN,_),sessionStorage.setItem(i.b.SESSION_ID,c),"POST"===e?u.call(r,t,n,l):d.call(r,t,n,l)):console.warn("Access token or session ID not retrieved properly")}catch(e){console.error("Error generating access token:",e)}}let{CancelToken:p}=a.A;class c{constructor(){const e=sessionStorage.getItem(i.b.ACCESS_TOKEN),t=sessionStorage.getItem(i.b.SESSION_ID);e&&t||console.warn("Access token or session ID not retrieved properly");const r=p.source();this.api=a.A.create({timeout:12e4,cancelToken:r.token,headers:{"Content-Type":"application/json",Accept:"application/json",AccessToken:`${e}`,UserSessionId:t}}
1),this.api.interceptors.request.use(e=>(e.headers.Accept||(e.headers.Accept="application/json"),e),e=>Promise.reject(e)),this.api.interceptors.response.use(e=>e,e=>{let t=e.config;return e.response&&401===e.response.status&&t&&!t._retry&&(t._retry=!0),Promise.reject(e)}),this.cancelApi=r.cancel}}class u{static call(e,t,r=()=>{},a=()=>{},n=()=>{}){let i=new c;return i.api.post(e,t).then(n=>{let i=n?.data?.results?.error,o=n?.data?.results?.message;i&&("AccessToken Expired"===o||"UserSessionId required"===o)?l("POST",t,e,r,a):r(n)}).catch(e=>{e.response?.data?._message,a(e)}).finally(()=>{n()}),i.cancelApi}}class d{static call(e,t,r=()=>{},i=()=>{},o=()=>{}){return a.A.get(e,t).then(a=>{let n=a?.data?.results?.error,o=a?.data?.results?.message;n&&("AccessToken Expired"===o||"UserSessionId required"===o)?l("GET",t,e,r,i):r(a)}).catch(e=>{i(e),n.oR.error(e.response?.data?.message??e.message)}).finally(()=>{o()}),a.A.CancelToken.source().cancel}}},23091:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var a=r(9339);let n=(0,a.createServerReference)("409faf1f0336fde051ada2d1c0211ed3f597d36e9e",a.callServer,void 0,a.findSourceMapURL,"executeVehiclePrefill");var i=r(77991),o=r(35587),s=r(39790);async function l(e,t){let r=await n({r:e.registrationNumber,m:e.mobileNumber??"",v:"TW"===e.vehicleType?"TW":"CAR"});if("mismatch"===r.status)return(0,o.rQ)({journeyType:r.journeyType,handoff:r.handoff}),r;if("validation_error"===r.status)return r;let a=(0,s.Ne)((0,i.cn)(t)??t,{prefill_pending:"1",rc_data_fetch:r.rcDataFetch});return window.location.assign(a),r}},27421:(e,t,r)=>{"use strict";r.d(t,{Bc:()=>o,tH:()=>s});var a=r(61766);r(59993);var n=r(33603);class i{constructor(){this.ongoingRequests=new Set,sessionStorage.getItem(n.b.ACCESS_TOKEN),sessionStorage.getItem(n.b.SESSION_ID),this.api=a.A.create({timeout:12e4,headers:{"Content-Type":"application/json",Accept:"application/json"}}),this.api.interceptors.request.use(e=>{let{url:t}=e;return t&&this.ongoingRequests.has(t)?Promise.reject({canceled:!0}):(t&&this.ongoingRequests.add(t),e.headers.Accept||(e.headers.Accept="application/json"),e)},e=>Promise.reject(e)),this.api.interceptors.response.use(e=>{let{url:t}=e.config;return t&&this.ongoingRequests.delete(t),e},e=>{let{url:t}=e.config??{};return t&&this.ongoingRequests.delete(t),Promise.reject(e)}),this.cancelApi=()=>{this.ongoingRequests.clear()}}}class o{static call(e,t=()=>{},r={},a=()=>{},n=()=>{}){let o=new i;return o.api.get(e,r).then(e=>{t(e)}).catch(e=>{a(e)}).finally(()=>{n()}),o.cancelApi}}class s{static call(e,t,r=()=>{},a={},n=()=>{},o=()=>{}){let s=new i;return s.api.patch(e,t,a).then(e=>{r(e)}).catch(e=>{n(e)}).finally(()=>{o()}),s.cancelApi}}},35587:(e,t,r)=>{"use strict";r.d(t,{N4:()=>T,cw:()=>m,JS:()=>A,rQ:()=>y,j6:()=>D,Ji:()=>S,tM:()=>_});var a=r(10151),n=r(87248),i=r(94754);let o=new Set,s=null,l=!1,p={open:!1,journeyType:"TW"},c=p,u=()=>{let e={open:l,journeyType:s?.journeyType??"TW"};return c.open===e.open&&c.journeyType===e.journeyType?c:c=e},d=()=>{u(),o.forEach(e=>e())};function _(e){return o.add(e),()=>o.delete(e)}function A(){return u()}function m(){return p}function y(e){s=e,l=!0,function(e,t=i.M.dispatch){let{registrationNumber:r,mobileNumber:o,journeyType:s}=e.handoff,l={value:r,warning:!1},p={value:o,warning:!1},{Car:c,TW:u}=i.M.getState();if("CAR"===s){t(a.N.actions.BULK_UPDATE({...c,ADD_FORM:{...c.ADD_FORM,reg_no:l,mobile:p,business_type:"Rollover",PAGE_STATUS:2}})),t(n.U.actions.BULK_UPDATE({...u,ADD_FORM:{...u.ADD_FORM,reg_no:l,mobile:p,business_type:"Rollover",PAGE_STATUS:2},OPEN_TW_PREFILLED_DATA:!1}));return}t(n.U.actions.BULK_UPDATE({...u,ADD_FORM:{...u.ADD_FORM,reg_no:l,mobile:p,business_type:"Rollover",PAGE_STATUS:2},OPEN_TW_PREFILLED_DATA:!1})),t(a.N.actions.BULK_UPDATE({...c,ADD_FORM:{...c.ADD_FORM,reg_no:l,mobile:p,business_type:"Rollover",PAGE_STATUS:2},OPEN_CAR_PREFILLED_DATA:!1}))}(e),d()}function S(){return l}function D(){return s}function T(){s=null,l=!1,d()}},39790:(e,t,r)=>{"use strict";r.d(t,{K2:()=>A,Ne:()=>i,Ns:()=>p,SY:()=>n,Zh:()=>_,d5:()=>l,hP:()=>s,l5:()=>d,td:()=>o});var a=r(49304).hp;let n="vph";function i(e,t){let[r,a=""]=e.split("?"),n=new URLSearchParams(a);Object.entries(t).forEach(([e,t])=>n.set(e,t));let i=n.toString();return i?`${r}?${i}`:r}function o(e){var t;return t=JSON.stringify(e),(void 0!==a?a.from(t,"utf8").toString("base64"):btoa(t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function s(e){try{let t,r,n=JSON.parse((r=(t=e.replace(/-/g,"+").replace(/_/g,"/"))+"=".repeat((4-t.length%4)%4),void 0!==a?a.from(r,"base64").toString("utf8"):atob(r)));if(!n.registrationNumber||!n.journeyType)return null;return n}catch{return null}}let l=e=>{"u">typeof document&&(document.cookie=`${e}=; path=/; max-age=0; SameSite=Lax`)};function p(){let e=(e=>{if("u"<typeof document)return null;let t=document.cookie.match(RegExp(`(?:^|; )${e}=([^;]*)`));return t?decodeURIComponent(t[1]):null})(n);return e?s(e):null}let c="vle_landing",u=null;function d(e){u=e;try{sessionStorage.setItem(c,JSON.stringify(e))}catch{}}function _(){if(u)return u;if("u"<typeof sessionStorage)return null;try{let e=sessionStorage.getItem(c);return e?(e=>{try{let t=JSON.parse(e);if("400"!==t.code&&"600"!==t.code||"CAR"!==t.vehicleType&&"TW"!==t.vehicleType||!t.registrationNumber)return null;return t}catch{return null}})(e):null}catch{return null}}function A(){let e=_();u=null;try{sessionStorage.removeItem(c)}catch{}return e}},59993:(e,t,r)=>{"use strict";r.d(t,{oR:()=>a.toast});var a=r(97697)},66362:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(95155);r(67832);var n=r(30090),i=r(96684),o=r(18398),s=r(72728),l=r(88061),p=r(12115),c=r(19792);let u=({title:e="",value:t="",attrName:r="",value_update:u=()=>{},warn_status:d=!1,info_status:_=!1,alphabet_only:A=!1,class_name:m="",error_message:y="Enter value",info_message:S="Info. message",disabled:D,max_length:T,required:g,validation_type:E,placeholder:h,title_note:f})=>{let[I,R]=(0,p.useState)(!0),[N,C]=(0,p.useState)("");return(0,p.useEffect)(()=>{C(String(t))},[t]),(0,a.jsxs)(i.default,{className:`inputFields ${m}`,sx:{".MuiInputBase-root":{borderColor:d?"#F50031":""}},children:[(0,a.jsxs)("p",{style:{color:D?c.l.lightgrey:c.l.black,textAlign:"left",marginBottom:"6px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:[e,f&&(0,a.jsx)("span",{style:{color:c.l.lightgrey,fontSize:"12px",fontWeight:400,marginLeft:"4px"},children:f})]}),(0,a.jsx)(o.A,{id:`${e}`,fullWidth:!0,type:"PASSWORD"===E&&I?"password":"NUMBER"===E?"tel":"text",value:N,placeholder:h,inputProps:{maxLength:T,inputMode:"search"},onChange:e=>{(e=>{if(A){let t=e.toUpperCase();(t.match(/^[A-Z0-9]*$/)||""===t)&&u(r,t);return}if("NAME"==E){let t=e.replace(/(^\s+|[^a-zA-Z\s])/g,"").split(/\s+/);for(let e=0;e<t.length;e++)t[e]=t[e].charAt(0).toUpperCase()+t[e].slice(1);let a=t.join(" ");C(a),u(r,a)}else if("NUMBER"==E){let t=e.replace(/\D/g,"");"0"===t.charAt(0)&&(t=t.substr(1)),C(t),u(r,t)}else if("ALPHANUMERIC"==E){let t=e.replace(/[^A-Za-z0-9]/g,"");C(`${t}`.toUpperCase()),u(r,`${t}`.toUpperCase())}else if("ALL_CAPS"===E)C(e.toUpperCase()),u(r,e.toUpperCase());else if("ALPHANUMERIC_ALL"===E){let t=e.replace(/[^A-Za-z0-9!@#$%^&*()_+\-=\[\]{}|;:'",.<>?/]/g,"");C(`${t}`.toUpperCase()),u(r,`${t}`.toUpperCase())}else if("NUMBER_WITH_DECIMAL"===E){let t=e.replace(/[^0-9.]/g,"");C(t),u(r,t)}else if("POLICY_NUMBER"===E){let t=e.replace(/[^A-Za-z0-9/\\|-]/g,"").toUpperCase();C(t),u(r,t)}else if("PLAIN_TEXT"===E){let t=e.replace(/[^A-Za-z0-9 .]/g,"");C(t),u(r,t)}else C(e),u(r,e)})(e.target.value)},required:g,disabled:D}),"PASSWORD"===E?(0,a.jsx)(s.default,{onClick:()=>{R(!I)},className:"passwordView"}):null,_?(0,a.jsx)(l.A,{title:S??"",children:(0,a.jsx)("span",{className:"infoMessage",children:(0,a.jsx)(n.A,{})})}):null,d?(0,a.jsx)("span",{className:"error",children:y}):null]})}},67301:(e,t,r)=>{"use strict";r.d(t,{DK:()=>O,F3:()=>_,pt:()=>N,uN:()=>P,xE:()=>v});var a=r(77991);let n="erp_journey_link_",i={"":0,"Pre-quote":10,Quote:20,"Owner Details":30,"Vehicle Details":56,"Address Details":45,"Nominee Details":55,"Summary Details":75,Review:80,"Payment Attempted":85,"Payment c
1onfirmation":90},o={hdfc:"Bank Details",care:"Bank Details",star:"Bank Details",cigna:"Bank Details","niva bhupa":"Bank Details","niva bhupa aspire":"Medical Details","aditya birla":"Bank Details","review details":"Review"};function s(e){let t={"":0};return e.forEach((e,r)=>{t[e]=(r+1)*10}),t}let l={term:s(["Pre-quote","Quote","Proposal","Rider","Upgrade Plan","Proposal Details","What You Do","Review","Payment Attempted"]),health:s(["Pre-quote","Quote","Insured Member Details","Medical Details","Personal Details","Nominee Details","Bank Details","Review","Ckyc Verification","Payment Attempted"]),car:i,tw:i};function p(e){let t=(e??"").trim().toLowerCase();return t.includes("health")?"health":t.includes("term")?"term":t.includes("car")?"car":t.includes("tw")||t.includes("two wheeler")||t.includes("bike")?"tw":null}function c(e,t,r=null){let a,n=(a=e.trim(),"health"!==t?a:o[a.toLowerCase()]??a);if(("car"===t||"tw"===t)&&"KYC"===n)return r&&r.rank>=55?78:30;let i=l[t];if(void 0!==i[n])return i[n];let s=Object.entries(i).find(([e])=>e.toLowerCase()===n.toLowerCase());return s?.[1]??0}function u(e){return e||(0,a.Jo)("quote_no")||"default"}function d(e,t){return`erp_best_stage_${e}_${t}`}function _(e,t){if(e&&t&&e!==t)try{localStorage.setItem(`${n}${e}`,t),localStorage.setItem(`${n}${t}`,e)}catch{}}function A(e){try{return localStorage.getItem(`${n}${e}`)}catch{return null}}function m(e){let t=new Set,r=(0,a.Jo)("quote_no");if(r&&t.add(r),e?.trim()){let r=e.trim();t.add(r);let a=A(r);a&&t.add(a)}return Array.from(t)}function y(e,t){let r=g();for(let a of m(t))r=h(r,f(d(e,a))),r=h(r,I(R(e,a)));var a=r=function(e,t,r){if(!function(e,t){let r=c("Quote",e),a=g();if(a&&a.rank>=r)return!0;for(let a of m(t)){let t=f(d(e,a)),n=I(R(e,a));if(t&&t.rank>=r||n&&n.rank>=r)return!0}return!1}(t,r))return e;let a=c("Quote",t);return!e||e.rank<a?{stage:"Quote",rank:a}:e}(r,e,t),n=e;if(!a)return null;if(a.stage)return a;let i=D(a.rank,n);return i?{stage:i,rank:a.rank}:a}function S(e){return(37*e^1443).toString(36)}function D(e,t){if(("car"===t||"tw"===t)&&(78===e||30===e))return"KYC";let r=Object.entries(l[t]).find(([,t])=>t===e);return r?.[0]??""}function T(e){let t=e.trim();if(!t)return null;let r=function(e){let t=parseInt(e.toLowerCase(),36);if(!Number.isFinite(t))return null;let r=(1443^t)/37;return!Number.isInteger(r)||r<=0?null:r}(t);if(null!==r)return{stage:"",rank:r};if(/^\d+$/.test(t)){let e=Number(t);if(Number.isFinite(e)&&e>0)return{stage:"",rank:e}}try{let t=JSON.parse(decodeURIComponent(atob(e)));if("string"==typeof t?.s&&"number"==typeof t?.r)return{stage:t.s,rank:t.r}}catch{}return null}function g(){let e=new URLSearchParams(window.location.search).get("bs");return e?T(e):null}function E(e){let t=g();if(t&&t.rank>=e)return;let r=new URL(window.location.href);r.searchParams.set("bs",S(e)),window.history.replaceState(window.history.state,"",r.toString())}function h(e,t){return e?t?e.rank>=t.rank?e:t:e:t}function f(e){try{let t=localStorage.getItem(e);if(!t)return null;let r=JSON.parse(t);if("string"==typeof r?.stage&&"number"==typeof r?.rank)return r}catch{}return null}function I(e){try{let t=sessionStorage.getItem(e);if(!t)return null;let r=JSON.parse(t);if("string"==typeof r?.stage&&"number"==typeof r?.rank)return r}catch{}return null}function R(e,t){return`erp_best_stage_session_${e}_${t}`}function N(e,t){let r=(0,a.Jo)("quote_no")?.trim();if(r)return r;let n=t?.trim();if(n)return n;let i=e?.trim();return i?A(i)||i:u()}function C(e,t,r,a){let n=m(t);for(let t of n.length>0?n:[u()]){var i=d(e,t);try{localStorage.setItem(i,JSON.stringify(r))}catch{}try{sessionStorage.setItem(R(e,t),JSON.stringify(r))}catch{}}a&&E(r.rank)}function v(e,t,r){let n=p(e);if(!n)return;let i=r?.trim()||(0,a.Jo)("quote_no")?.trim(),o=t?.trim();o&&i&&_(o,i);let s=i||o||u(),l=c("Quote",n);C(n,s,{stage:"Quote",rank:l},!0)}function P(e,t,r,a){return v(t,r,a),function(e,t,r){let a,n=(a=t?p(t):null)?y(a,r):g();if(!n)return e;let i=new URL(e,window.location.origin),o=i.searchParams.get("bs"),s=o?T(o):null;return s&&s.rank>n.rank||s?.rank===n.rank?e:(i.searchParams.set("bs",S(n.rank)),e.startsWith("http://")||e.startsWith("https://")?i.toString():`${i.pathname}${i.search}${i.hash}`)}(e,t,a||r)}function O(e,t){let r=e.stage??"",a=e.insurance_type??"",n=function(e,t){if(t?.trim())return t.trim();let r=e.Quotation?.trim()||e.quote_no?.trim();if(r)return r;let a=e.lead_id?.trim();if(a)return A(a)||a}(e,t);return{...e,best_stage:function(e,t,r){let a=e?.trim()??"",n=p(t);if(!n)return a;let i=y(n,r),o=c(a,n,i);return i&&o>0&&o<i.rank?(C(n,r,i,!1),E(i.rank),i.stage||D(i.rank,n)||a):!i&&o>0||i&&o>=i.rank&&o>0?(C(n,r,{stage:a,rank:o},!0),a):i?(C(n,r,i,!1),E(i.rank),i.stage||D(i.rank,n)||a):a}(r,a,n)}}},67832:()=>{},74002:(e,t,r)=>{"use strict";r.d(t,{Bi:()=>o,Um:()=>n,m4:()=>i,wW:()=>s});let a=()=>
1new Date().toLocaleString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).replace(/(\d{2})\/(\d{2})\/(\d{4}), (\d{2}):(\d{2}):(\d{2})/,"$1/$2/$3 $4:$5:$6"),n=(e,t,r)=>({leadID:t?.leadId||t?.data?.id||"",createdDateTime:a(),screenname:e?.ADD_FORM?.PAGE_STATUS===1?"Home Page":"Get Car Insurance",insuranceType:"Car",mobileNumber:r?.mobile?.value||e?.ADD_FORM?.mobile?.value||"",registrationNumber:r?.reg_no?.value||e?.ADD_FORM?.reg_no?.value||""}),i=(e,t,r)=>(console.warn(e),{leadID:t?.leadId||t?.data?.id||"",createdDateTime:a(),screenname:e?.ADD_FORM?.PAGE_STATUS===1?"Home Page":e?.ADD_FORM?.PAGE_STATUS===7?"View Quotes":"Get Car Insurance",insuranceType:"Car",mobileNumber:r?.mobile?.value||e?.ADD_FORM?.mobile?.value||"",registrationNumber:r?.reg_no?.value||e?.ADD_FORM?.reg_no?.value||"",previousPolicyType:e?.ADD_FORM?.pre_policy_type||"",previousPolicyExpired:e?.ADD_FORM?.policy_expiry_status===!1?"No":"Yes",PolicyExpiry:e?.ADD_FORM?.policy_expiry_date?.value||"",madeAClaimInPreviousPolicy:e?.ADD_FORM?.claimed||"",Brand:e?.ADD_FORM?.make?.value||"",SelectModel:e?.ADD_FORM?.model?.value||"",SelectVariant:e?.ADD_FORM?.variant_cc?.value||"",BusinessType:e?.ADD_FORM?.business_type||"",SelectFuelType:e?.ADD_FORM?.fuel_type?.value||"",RegistrationDate:e?.ADD_FORM?.reg_date?.value||"",RegisterationDate:e?.ADD_FORM?.reg_date?.value||"",IsCarUsedFor:e?.ADD_FORM?.car_used_for||""}),o=async e=>{try{let{fireJioPushEvent:t}=await r.e(4006).then(r.bind(r,24006)),a=e?.eventN||"CarInsurance_ProductDetails",{eventN:n,...i}=e,o=Object.entries(i).filter(([,e])=>null!=e&&""!==e).map(([e,t])=>({propertyName:e,propertyValue:String(t).trim()}));return o.push({propertyName:"insuranceType",propertyValue:["Car"]},{propertyName:"Timestamp",propertyValue:new Date().toISOString()}),await t(a,o),!0}catch{return!0}},s=async e=>{try{let{fireJioPushEvent:t}=await r.e(4006).then(r.bind(r,24006)),n=[{propertyName:"leadID",propertyValue:e.leadID||""},{propertyName:"createdDateTime",propertyValue:e.createdDateTime||a()},{propertyName:"screenname",propertyValue:e.screenname||"Get Car Insurance"},{propertyName:"insuranceType",propertyValue:e.insuranceType||"Car"},{propertyName:"mobileNumber",propertyValue:e.mobileNumber},{propertyName:"registrationNumber",propertyValue:e.registrationNumber}];return e.previousPolicyType&&n.push({propertyName:"previousPolicyType",propertyValue:e.previousPolicyType}),e.previousPolicyExpired&&n.push({propertyName:"previousPolicyExpired",propertyValue:e.previousPolicyExpired}),e.policyExpiry&&n.push({propertyName:"PolicyExpiry",propertyValue:e.policyExpiry}),e.madeAClaimInPreviousPolicy&&n.push({propertyName:"madeAClaimInPreviousPolicy",propertyValue:e.madeAClaimInPreviousPolicy}),e.brand&&n.push({propertyName:"Brand",propertyValue:e.brand}),e.selectModel&&n.push({propertyName:"SelectModel",propertyValue:e.selectModel}),e.selectVariant&&n.push({propertyName:"SelectVariant",propertyValue:e.selectVariant}),e.businessType&&n.push({propertyName:"BusinessType",propertyValue:e.businessType}),e.selectFuelType&&n.push({propertyName:"SelectFuelType",propertyValue:e.selectFuelType}),e.registrationDate&&(n.push({propertyName:"RegistrationDate",propertyValue:e.registrationDate}),n.push({propertyName:"RegisterationDate",propertyValue:e.registrationDate})),e.isCarUsedFor&&n.push({propertyName:"IsCarUsedFor",propertyValue:e.isCarUsedFor}),await t("Call_Me_Car_Insurance",n),!0}catch{return!1}}},94904:(e,t,r)=>{"use strict";r.d(t,{r:()=>p});var a=r(27421),n=r(22736),i=r(77991),o=r(96056),s=r(67301);let l=e=>t=>{e(t.data)},p={EVENT_TRACKER:(e,t,r)=>{n.xq.call(o.A.EVENT_TRACKER,r,t=>e(t.data),t)},EXIT_INTENT:(e,t,r)=>{n.xq.call(o.A.EXIT_INTENT,r,t=>e(t.data),t)},CLICK_TO_CALL:(e,t,r)=>{n.xq.call(o.A.CLICK_TO_CALL,r,t=>e(t.data),t)},SCHEDULE:(e,t,r)=>{n.xq.call(o.A.SCHEDULE,r,t=>e(t.data),t)},COMMON_ADD_DATA:(e,t,r)=>{n.xq.call(o.A.ADD_DATA,r,t=>e(t.data),t)},ERP_ADD_DATA_V2:(e,t,r,a)=>{n.xq.call(o.A.ERP_ADD_DATA_V2,(0,s.DK)({lead_id:a,insurance_type:"Term Insurance",pre_quote_json_data:r,stage:"Pre-quote"},a),t=>e(t.data),t)},EVENT_S2S_TRACKER:(e,t,r)=>{n.xq.call(o.A.EVENT_S2S_TRACKER_URL,r,t=>e(t.data),t)},ERP_MOTOR_URL_ADD_DATA_V2:(e,t,r,a,l,p,c)=>{let u=(0,i.xX)(p);n.xq.call(o.A.ERP_MOTOR_URL_ADD_DATA,(0,s.DK)({lead_id:r,insurance_type:a,stage:"Pre-quote",json_data:{rc_data_fetched:(0,i.Jo)("rc_data_fetch")?"cached"===(0,i.Jo)("rc_data_fetch")?"Cac
1he":"Yes":"No",policy_expiry_date_lite:(0,i.Jo)("rc_data_fetch")?l:"",...u?{registration_date:u}:{},..."thirdparty"===c?{pre_policy_type:"thirdparty"}:{pre_policy_type:"comprehensive"}}},(0,s.pt)(r)),t=>e(t.data),t)},ASK_QUESTIONS_CHATBOT:(e,t,r)=>{n.xq.call(o.A.ASK_QUESTIONS,r,t=>e(t.data),t)},ADD_BUSINESS_LEAD:(e,t,r)=>{n.xq.call(o.A.ADD_BUSINESS_LEAD,r,t=>e(t.data),t)},BUSINESS_EMAIL:(e,t,r)=>{n.xq.call(o.A.BUSINESS_EMAIL,r,t=>e(t.data),t)},HEALTH_ERP_ADD_DATA_V2:(e,t,r,a)=>{n.xq.call(o.A.ERP_ADD_DATA_V2,(0,s.DK)({lead_id:a,insurance_type:"Health Insurance",pre_quote_json_data:r,stage:"Pre-quote"},a),t=>e(t.data),t)},RAISE_CLAIM:(e,t,r)=>{n.xq.call(o.A.RAISE_CLAIM,r,t=>e(t),t)},NETWORK_HOSPITALS_LIST:(e,t,r,n,i=1,s=100,p="")=>{a.Bc.call(o.A.CASHLESS_HOSPITALS_LIST(r,n,i,s,p),l(e),{},t)},NETWORK_HOSPITALS_STATE:(e,t)=>{a.Bc.call(o.A.CASHLESS_HOSPITALS_STATE,l(e),{},t)},NETWORK_HOSPITALS_CITY:(e,t,r)=>{a.Bc.call(o.A.CASHLESS_HOSPITALS_CITY(r),l(e),{},t)},NETWORK_HOSPITALS_INSURER:(e,t)=>{a.Bc.call(o.A.COMPANY_MASTERS,l(e),{},t)},CASHLESS_GARAGES_LIST:(e,t,r,n,i=1,s=100,p="")=>{a.Bc.call(o.A.CASHLESS_GARAGES_LIST(r,n,i,s,p),l(e),{},t)},CASHLESS_GARAGES_STATE:(e,t)=>{a.Bc.call(o.A.CASHLESS_GARAGES_STATE,l(e),{},t)},CASHLESS_GARAGES_CITY:(e,t,r)=>{a.Bc.call(o.A.CASHLESS_GARAGES_CITY(r),l(e),{},t)},CASHLESS_GARAGES_INSURER:(e,t)=>{a.Bc.call(o.A.COMPANY_MASTERS,l(e),{},t)},UPLOAD_CLAIM_FILE:(e,t,r)=>{let a=new FormData;a.append("file",r),new n.Ay().api.post(o.A.CLAIM_UPLOAD_FILE,a,{transformRequest:[e=>e],headers:{"Content-Type":!1}}).then(t=>e(t)).catch(e=>t(e))},GET_LEAD_DETAILS:(e,t,r,a)=>{n.Bc.call(o.A.LEAD_DETAILS(r,a),{},t=>e(t.data),t)}}},96056:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5533);let n={GENERATE_TOKEN:`${a.Ej}/api/users/generate-token.json`,LOAD_HOMEPAGE_DATA:`${a.LP}/api/home-page?populate=deep`,CMS_DATA:`${a.LP}/api/cms-page?populate=deep`,PRODUCT_PAGE_DATA:`${a.LP}/api/prod-page?populate=deep`,SUBMIT_CLAIM:`${a.Ej}/api/users/send-claim-page-email.json`,CONTACT_US:`${a.SB}/api/v1/premium/contact-us/email`,PREMIUM_CONFIRMATION:`${a.Ej}/api/policies/payment-confirmation.json`,EVENT_TRACKER:`${a.SB}/api/v1/premium/add-form-jio`,EXIT_INTENT:`${a.SB}/api/v1/premium/common-addform`,CLICK_TO_CALL:`${a.SB}/api/v1/third-party/ctc`,SCHEDULE:`${a.SB}/api/v1/third-party/callback`,ADD_DATA:`${a.SB}/api/v1/csv/add-data`,EVENT_S2S_TRACKER_URL:`${a.SB}/api/v1/third-party/add-event`,ERP_ADD_DATA_V2:`${a.SB}/api/v1/csv/add-data-V2`,ERP_MOTOR_URL_ADD_DATA:`${a.SB}/api/v1/csv/add-data`,ASK_QUESTIONS:`${a.SB}/api/v1/third-party/ask-question`,ADD_BUSINESS_LEAD:`${a.SB}/api/v1/third-party/add-business-lead`,BUSINESS_EMAIL:`${a.SB}/api/v1/third-party/business-email`,RAISE_CLAIM:`${a.SB}/api/v1/third-party/raise-claim`,CASHLESS_HOSPITALS_LIST:(e,t,r=1,n=100,i="")=>`${a.SB}/api/masters/hospitals?insurerCode=${encodeURIComponent(e)}&cityName=${encodeURIComponent(t)}&limit=${n}&page=${r}&search=${encodeURIComponent(i)}`,CASHLESS_HOSPITALS_STATE:`${a.SB}/api/masters/geography/state`,CASHLESS_HOSPITALS_CITY:e=>`${a.SB}/api/masters/geography/city?state_id=${encodeURIComponent(e)}&limit=200&includeAliases=true`,COMPANY_MASTERS:`${a.SB}/api/masters/company-masters`,CASHLESS_GARAGES_LIST:(e,t,r=1,n=100,i="")=>`${a.SB}/api/masters/garages?insurerCode=${encodeURIComponent(e)}&cityName=${encodeURIComponent(t)}&limit=${n}&page=${r}&search=${encodeURIComponent(i)}`,CASHLESS_GARAGES_STATE:`${a.SB}/api/masters/geography/state`,CASHLESS_GARAGES_CITY:e=>`${a.SB}/api/masters/geography/city?state_id=${encodeURIComponent(e)}&limit=200&includeAliases=true`,CLAIM_UPLOAD_FILE:`${a.SB}/api/v1/third-party/claim/upload-file`,LEAD_DETAILS:(e,t)=>`${a.SB}/api/v1/premium/lead-details?insurance_type=${encodeURIComponent(e)}&lead_id=${encodeURIComponent(t)}`}}}]);

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.