1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5289,3027,388],{60388:function(e,t,r){"use strict";r.d(t,{C8:function(){return registrationApi},D8:function(){return signUpApi},GE:function(){return loginLeadDropApi},HO:function(){return AccountsApi},qT:function(){return verifyLoginOtpApi},sW:function(){return authenticateApi},sv:function(){return sendLoginOtpApi},tB:function(){return resendOtpApi}});var n=r(71064),i=r(78274),o=r(23921),a=r(29061),s=r(31955);let{utm_campaign:u,utm_content:c,utm_source:d,utm_medium:l,utm_term:p}=(0,i.We)(),h={utm_campaign:u||"",utm_content:"",utm_source:d||"",utm_medium:l||"",utm_term:p||""},requestMiddleWare=e=>{let t={headers:{"auth-token":(0,o.$1)(n.gE)||"",sessionId:(0,o.$1)(n.Yd)||"",client:"web","Content-Type":"application/json",Accept:"application/json",...h}};window.gaClientId&&t.headers&&(t.headers["client-id"]=window.gaClientId),document&&document.referrer&&t.headers&&(t.headers.referer=document.referrer);let r={...t.headers,...e.headers};return{...t,...e,headers:r}},responseMiddleWare=e=>((null==e?void 0:e.headers["auth-token"])&&document&&s.Z.set(n.gE,e.headers["auth-token"],{domain:n.JP}),e.data),errorHandlerMiddleWare=e=>{var t;let r=(null==e?void 0:null===(t=e.response)||void 0===t?void 0:t.status)||0;return 401===r&&deleteCookie([n.gE,n.Yd]),Promise.reject(e)},axiosServiceFactory=e=>{let t=a.Z.create({baseURL:e||"",timeout:0});return t.interceptors.request.use(requestMiddleWare),t.interceptors.response.use(responseMiddleWare,errorHandlerMiddleWare),t},g=n.ZP.UGAuthUrl,v=axiosServiceFactory(g),sendLoginOtpApi=async(e,t)=>{let r;let{isEmailFlow:n,...i}=e,o="/phone";n&&(o="/email");try{r=await v.post("/apis/auth/v5/registration".concat(o),i,{headers:t})}catch(e){r=null==e?void 0:e.response}return r},resendOtpApi=async(e,t)=>{let r;let{isEmailFlow:n,...i}=e;try{r=await v.post("/apis/auth/v5/otp/resend",i,{headers:t})}catch(e){r=null==e?void 0:e.response}return r},verifyLoginOtpApi=async(e,t)=>{let r;let{isEmailFlow:n,...i}=e;try{r=await v.post("/apis/auth/v5/otp/validate",i,{headers:t})}catch(e){r=null==e?void 0:e.response}return r},registrationApi=async e=>{let t;let{isEmailFlow:r,...n}=e;try{t=await v.put("/apis/auth/v5/registration",n)}catch(e){t=null==e?void 0:e.response}return t},signUpApi=async e=>{let t;let{isEmailFlow:r,...n}=e;try{t=await v.post("/apis/auth/v5/registration/signup",n)}catch(e){t=null==e?void 0:e.response}return t},AccountsApi=async()=>{let e;try{e=await v.get("/apis/user/accounts/")}catch(t){e=null==t?void 0:t.response}return e},y=n.ZP.UGLeadUrl,C=axiosServiceFactory(y),loginLeadDropApi=async e=>{let t;try{t=await C.post("/apis/v6/drop-lead",e,{})}catch(e){t=null==e?void 0:e.response}return t},authenticateApi=async()=>{let e;try{e=await C.get("/apis/v2/authenticate/")}catch(t){e=null==t?void 0:t.response}return e}},78778:function(e,t,r){"use strict";r.d(t,{E:function(){return isIndianViewerCode},R:function(){return useEffectiveUgBlogViewerCode}});var n=r(67294);let i={isCountryUrlMismatch:!1,urlMismatchCountryCode:"",viewerCountryCode:"IN",viewerCountryClientResolved:!1,organicGoogleEntryCode:null,showUpdatePreferredLocationTooltip:!1},o={...i},a=new Set,s={...i};function getUgCountryMismatchState(){return o}function getUgCountryMismatchServerSnapshot(){return s}function subscribeUgCountryMismatch(e){return a.add(e),()=>a.delete(e)}function isIndianViewerCode(e){return"IN"===(e||"").toUpperCase()}function useEffectiveUgBlogViewerCode(e){let{viewerCountryCode:t,viewerCountryClientResolved:r,organicGoogleEntryCode:i}=(0,n.useSyncExternalStore)(subscribeUgCountryMismatch,getUgCountryMismatchState,getUgCountryMismatchServerSnapshot);return(0,n.useMemo)(()=>{if(!(null==e?void 0:e.enabled))return(t||"IN").toUpperCase();let n=(e.countryCode||"IN").toUpperCase(),o=String(i||"").trim().toUpperCase();return o&&/^[A-Z]{2}$/.test(o)?o:r?(t||"IN").toUpperCase():n},[null==e?void 0:e.enabled,null==e?void 0:e.countryCode,t,r,i])}},11163:function(e,t,r){e.exports=r(59974)}}]);
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.