1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[218,2599,2985,3605,4980,7200,7837,8229,8660,9742],{1084:e=>{e.exports={field:"HBTextField_field__VtuUz",fieldDate:"HBTextField_fieldDate__pqf1t",underlineField:"HBTextField_underlineField__unpSy"}},5849:(e,t,r)=>{"use strict";r.d(t,{Kd:()=>o,Kt:()=>n});let n="searchPage",o="buildersPage"},8712:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(68464),o=r(64210),a=r(4387);let i=e=>async t=>{try{t({type:n.F5,meta:{reducer:"enquiryFormReducer"},payload:!0});let r=await o.A.post(ENQUIRY_FORM_SUBMIT_API,(0,a.A)(e));t({type:n.mT,meta:{reducer:"enquiryFormReducer"},payload:r.data.data}),t({type:n.F5,meta:{reducer:"enquiryFormReducer"},payload:!1})}catch(e){t({type:n.F5,meta:{reducer:"enquiryFormReducer"},payload:!1}),t({type:n.ff,meta:{reducer:"enquiryFormReducer"},payload:e})}}},11349:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(21942),o=r(14232);let a=()=>{let[e,t]=(0,o.useState)(null),[r,a]=(0,o.useState)(!1),[i,s]=(0,o.useState)(null);return{ipAddress:e,fetchIpAddress:async()=>{let e=localStorage.getItem("clientIpAddress");if(e)return t(e),e;a(!0),s(null);try{let e=await fetch("https://geolocation-db.com/json/"),r=await e.json();if(r?.IPv4)return t(r.IPv4),(0,n.nB)({clientIp:r.IPv4}),r.IPv4;throw Error("IP address not found in response")}catch(e){return console.error("Error fetching IP:",e),s(e),null}finally{a(!1)}},isFetching:r,error:i}}},17195:e=>{e.exports={primaryColor:"#0056b2",secondaryColor:"#ee6a2a",darkColor:"#171717",colorlightGray:"#f3f3ff",colorWhite:"#fff",colorlightText:"#6f6f6f",darkorangeColor:"#cd4b0d",root:"leadotp_root___dG0J",formSubmit:"leadotp_formSubmit__9woCl",spinner:"leadotp_spinner__kMvNz",leadOtpSpin:"leadotp_leadOtpSpin__cfHgh",spinnerSm:"leadotp_spinnerSm__uUqD1",spinnerWrap:"leadotp_spinnerWrap__Izjh_",inputStyle:"leadotp_inputStyle__FH5Mq",specialText:"leadotp_specialText__okJvi",specialText1:"leadotp_specialText1__QwM5A",yesBtn:"leadotp_yesBtn__ruwH7",noBtn:"leadotp_noBtn__VEjmE",noBtnActive:"leadotp_noBtnActive__3Qlzl"}},21065:e=>{e.exports={primaryColor:"#0056b2",secondaryColor:"#ee6a2a",darkColor:"#171717",colorlightGray:"#f3f3ff",colorWhite:"#fff",colorlightText:"#6f6f6f",darkorangeColor:"#cd4b0d",spinner:"enquiryForm_spinner__hvCdm",enquirySpin:"enquiryForm_enquirySpin__WMat4",otpText:"enquiryForm_otpText__ZdguD",thankYouMessage:"enquiryForm_thankYouMessage__A_d2M",root:"enquiryForm_root__NqoGg",formSubmit:"enquiryForm_formSubmit__nBPqk",pdmain:"enquiryForm_pdmain__wN8Zl",noRightBorderRadius:"enquiryForm_noRightBorderRadius__4GQFM",noLeftBorder:"enquiryForm_noLeftBorder__QkSD9",selectHeight:"enquiryForm_selectHeight__sHLt4",headingtitle:"enquiryForm_headingtitle__CKOSJ",textInputSelect:"enquiryForm_textInputSelect__K2Sv7",pherror:"enquiryForm_pherror__i2Vw8",formWarpper:"enquiryForm_formWarpper__D3_28",formWarpperdev:"enquiryForm_formWarpperdev___3sXy",formNoWarpperdev:"enquiryForm_formNoWarpperdev__YgMMF",homeLoanCheckBox:"enquiryForm_homeLoanCheckBox__1LebF",phoneRow:"enquiryForm_phoneRow__RS_S6",phoneCountry:"enquiryForm_phoneCountry__2JRN0",phoneNumber:"enquiryForm_phoneNumber__no_h2",whatsappTextarea:"enquiryForm_whatsappTextarea__Ob6dd",spinnerWrap:"enquiryForm_spinnerWrap__DYjBT"}},23520:(e,t,r)=>{"use strict";var n=r(68128),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,d=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=m(r);o&&o!==h&&e(t,o,n)}var i=d(r);p&&(i=i.concat(p(r)));for(var s=l(t),f=l(r),g=0;g<i.length;++g){var y=i[g];if(!a[y]&&!(n&&n[y])&&!(f&&f[y])&&!(s&&s[y])){var x=u(r,y);try{c(t,y,x)}catch(e){}}}}return t}},23605:(e,t,r)=>{"use strict";r.d(t,{B:()=>s,clearWishlistIndexedDbOnLogout:()=>i});var n=r(61107);let o=n.kH.getInstance(),a=e=>e.some(e=>e.networkStatus===n.Gb.PENDING);async function i(){await o.clearAll()}async function s(){let[e,t]=await Promise.all([o.findAllByType(n.KJ.FAVORITE),o.findAllByType(n.KJ.SEEN)]);return a(e)||a(t)}},26279:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(37876),o=r(14232),a=r(41116),i=r.n(a),s=r(15039),l=r.n(s),c=r(89099),d=r(79311),p=r.n(d);let u=e=>{let{modal_content:t,children:r,open:a,close:s,text:d,root_class:u,root_style:m,style:h,page:f}=e,g="/home-selling-guide#"===(0,c.useRouter)().asPath?p().CloseButtonGuide:p().
1CloseButton,y={...m||{},...h||{},content:{overflow:"visible",...m?.content||{},...h?.content||{}}};return(0,o.useEffect)(()=>(a?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[a]),(0,n.jsxs)(i(),{isOpen:a,onRequestClose:s,className:l()(p().ModalRoot,u),overlayClassName:p().ModalOverlay,contentLabel:"Modal",ariaHideApp:!1,style:y,children:[d&&(0,n.jsx)("div",{className:p().HeaderContainer,children:(0,n.jsxs)("div",{className:p().HeaderColumn,children:[(0,n.jsx)("h5",{className:p().HeaderTitleText,children:d}),(0,n.jsx)("button",{type:"button",className:p().HeaderCloseButton,onClick:s,children:(0,n.jsx)("span",{className:p().HeaderCloseIcon,"aria-hidden":"true"})})]})}),"sign-up"!==f&&s&&(0,n.jsx)("div",{className:g,children:(0,n.jsx)("button",{type:"button",className:p().CancelButton,onClick:s,"aria-label":"Close modal",children:(0,n.jsx)("span",{className:p().CloseIcon,"aria-hidden":"true"})})}),t??r??null]})}},29044:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,u=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,f=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,x=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case d:case p:case a:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case u:case g:case f:case l:return e;default:return t}}case o:return t}}}function S(e){return v(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=u,t.Fragment=a,t.Lazy=g,t.Memo=f,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return S(e)||v(e)===d},t.isConcurrentMode=S,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===u},t.isFragment=function(e){return v(e)===a},t.isLazy=function(e){return v(e)===g},t.isMemo=function(e){return v(e)===f},t.isPortal=function(e){return v(e)===o},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===i},t.isSuspense=function(e){return v(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===s||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===u||e.$$typeof===x||e.$$typeof===_||e.$$typeof===b||e.$$typeof===y)},t.typeOf=v},38514:(e,t,r)=>{"use strict";r.d(t,{n:()=>n.n});var n=r(68211)},43485:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(37876),o=r(26279),a=r(17195),i=r.n(a);let s=({open:e,onClose:t,showWishlistSyncUi:r,onYes:a,onNo:s,zIndex:l=9999})=>(0,n.jsx)(o.default,{root_class:"custom-modal",style:{position:"fixed",zIndex:String(l)},open:e,close:t,modal_content:(0,n.jsxs)("div",{style:{textAlign:"center",padding:"20px",background:"#fff"},children:[(0,n.jsx)("p",{style:{fontSize:"18px"},children:"Do you want to save your shortlisted properties to your account?"}),r?(0,n.jsxs)("div",{style:{marginTop:"20px"},children:[(0,n.jsx)("span",{className:`${i().spinner} ${i().spinnerSm}`}),(0,n.jsx)("p",{style:{marginTop:"12px",fontSize:"16px"},children:"Syncing your wishlist..."})]}):(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"center",gap:"20px",marginTop:"10px"},children:[(0,n.jsx)("button",{type:"button",className:i().yesBtn,disabled:r,onClick:a,children:"Yes"}),(0,n.jsx)("button",{type:"button",className:i().noBtn,disabled:r,onClick:s,children:"No"})]})]})})},68128:(e,t,r)=>{"use strict";e.exports=r(29044)},78229:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n,o,a=r(14232),i=r(95062),s=r.n(i),l=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(d(t)),t.handleErrored=t.handleErrored.bind(d(t)),t.handleChange=t.handleChange.bind(d(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(d(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p(t,e);var r=t.prototype;return r.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},r.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},r.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},r.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},r.executeAsync=function(){var e=this;return new Promise(function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()})},r.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},r.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},r.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},r.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},r.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},r.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},r.componentDidMount=function(){this.explicitRender()},r.componentDidUpdate=function(){this.explicitRender()},r.handleRecaptchaRef=function(e){this.captcha=e},r.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,l));return a.createElement("div",c({},t,{ref:this.handleRecaptchaRef}))},t}(a.Component);u.displayName="ReCAPTCHA",u.propTypes={sitekey:s().string.isRequired,onChange:s().func,grecaptcha:s().object,theme:s().oneOf(["dark","light"]),type:s().oneOf(["image","audio"]),tabindex:s().number,onExpired:s().func,onErrored:s().func,size:s().oneOf(["compact","normal","invisible"]),stoken:s().string,hl:s().string,badge:s().oneOf(["bottomright","bottomleft","inline"]),isolated:s().bool},u.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var m=r(23520),h=r.n(m);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var g={},y=0,x="onloadcallback";function _(){return"u">typeof window&&window.recaptchaOptions||{}}let b=(n=function(){var e=_(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+x+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+x+"&render=explicit"},o=o={callbackName:x,globalName:"grecaptcha",attributes:_().nonce?{nonce:_().nonce}:{}}
1,function(e){var t=e.displayName||e.name||"Component",r=function(t){function r(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.__proto__=t;var i=r.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+y++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof n?n():n,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=g[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[o.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=o,a=n.globalName,i=n.callbackName,s=n.scriptId;if(a&&void 0!==window[a]&&(g[t]={loaded:!0,observers:{}}),g[t]){var l=g[t];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},g[t]={loaded:!1,observers:c};var d=document.createElement("script");for(var p in d.src=t,d.async=!0,o.attributes)d.setAttribute(p,o.attributes[p]);s&&(d.id=s);var u=function(e){if(g[t]){var r=g[t].observers;for(var n in r)e(r[n])&&delete r[n]}};i&&"u">typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),d.onload=function(){var e=g[t];e&&(e.loaded=!0,u(function(t){return!i&&(t(e),!0)}))},d.onerror=function(){var e=g[t];e&&(e.errored=!0,u(function(t){return t(e),!0}))},document.body.appendChild(d)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===o.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=g[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===o.removeOnUnmount&&delete g[e])},i.render=function(){var t=o.globalName,r=this.props,n=(r.asyncScriptOnLoad,r.forwardedRef),i=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"u">typeof window&&(i[t]=void 0!==window[t]?window[t]:void 0),i.ref=n,(0,a.createElement)(e,i)},r}(a.Component),i=(0,a.forwardRef)(function(e,t){return(0,a.createElement)(r,f({},e,{forwardedRef:t}))});return i.displayName="AsyncScriptLoader("+t+")",i.propTypes={asyncScriptOnLoad:s().func},h()(i,e)})(u)},79311:e=>{e.exports={ModalOverlay:"popupDialog_ModalOverlay__bR4cO",ModalRoot:"popupDialog_ModalRoot__cXBsN",fullScreen:"popupDialog_fullScreen__98JbB",HeaderContainer:"popupDialog_HeaderContainer__lFxhW",HeaderColumn:"popupDialog_HeaderColumn__XUAgl",HeaderTitleText:"popupDialog_HeaderTitleText__N_g0j",HeaderCloseButton:"popupDialog_HeaderCloseButton__UUa4z",HeaderCloseIcon:"popupDialog_HeaderCloseIcon__Dt4z_",CloseButtonGuide:"popupDialog_CloseButtonGuide__2uWGz",CloseButton:"popupDialog_CloseButton__qAXxK",CancelButton:"popupDialog_CancelButton__KprjR",CloseIcon:"popupDialog_CloseIcon__CQ79P"}},79351:(e,t,r)=>{"use strict";r.d(t,{m:()=>o}),r(37876);var n=r(14232);
1function o(e,t=!1,r){let[a,i]=(0,n.useState)(e),[s,l]=(0,n.useState)({}),[c,d]=n.useState(!1);return{values:a,setValues:i,errors:s,setErrors:l,handleInputChange:e=>{e.preventDefault(),d(e.target.checked);let{name:n,value:o}=e.target;i({...a,[n]:o}),t&&r({[n]:o})},resetForm:()=>{i(e),l({})},resetOtpInput:()=>{i(e=>({...e,otp:""})),l({})},checked:c}}},80218:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>$});var n=r(37876),o=r(14232),a=r(15039),i=r.n(a),s=r(79351),l=r(31777),c=r(97747),d=r(8712),p=r(16225),u=r(60371),m=r(50046),h=r.n(m),f=r(82508),g=r(11349),y=r(26054),x=r(80327),_=r(18847),b=r.n(_),v=r(4783),S=r(83614),C=r(14438),j=r(91421),w=r(5849),R=r(48230),N=r.n(R),k=r(38514),I=r(47651),F=r(90337),O=r(43485),P=r(21065),T=r.n(P);let B=b()(()=>r.e(7296).then(r.bind(r,67296)),{loadableGenerated:{webpack:()=>[67296]},ssr:!1}),E=b()(()=>Promise.resolve().then(r.bind(r,26279)),{loadableGenerated:{webpack:()=>[26279]},ssr:!1}),L=T(),A={getCountries:c.X6,enquiryFormSubmit:d.C},$=(0,l.Ng)(e=>({countriesApiData:e.countriesReducer,enquiryApiData:e.enquiryFormReducer}),A)(e=>{let{projects:t=[],root_style:r,root_class:a,heading:l,buttonHeading:d,property_id:m,is_whatsapp:_,hideHomeLoanCheck:b,module_type:R="buy",useCaseType:P}=e,[A,$]=(0,o.useState)("India|+91"),[q,D]=(0,o.useState)("+91"),[W,M]=(0,o.useState)({msg:"",class:""}),[z,H]=(0,o.useState)(""),{fetchIpAddress:U}=(0,g.A)(),[G,Y]=(0,o.useState)(!1),[K,V]=(0,f.A)(),[J,Q]=(0,o.useState)(""),[X,Z]=(0,o.useState)(!1),[ee,et]=(0,o.useState)(!1),[er,en]=(0,o.useState)(!1),[eo,ea]=(0,o.useState)(!1),[ei,es]=(0,o.useState)(!1),el=(0,o.useRef)(null),[ec,ed]=(0,o.useState)(!1),[ep,eu]=(0,o.useState)(0),[em,eh]=(0,o.useState)(!1),[ef]=(0,C.A)(),eg=!!ef,{addWishlistProperty:ey}=(0,k.n)(),{isWishlistPopupOpen:ex,showWishlistSyncUi:e_,runAfterAuthWishlistCheck:eb,handleWishlistSyncYes:ev,handleWishlistSyncNo:eS}=(0,F.N)();(0,o.useEffect)(()=>{{eu(Number(localStorage.getItem("resendCount"))||0);let e=localStorage.getItem("lastResendTimestamp");e&&Date.now()-parseInt(e,10)>36e5&&(eu(0),localStorage.setItem("resendCount",0),localStorage.removeItem("lastResendTimestamp"))}},[]),(0,o.useEffect)(()=>{let e=null!=K&&0!=Object.values(K).length;es(e),e&&eI({name:K?.name??"",phone:K?.phone??"",email:K?.email??""})},[K]);let eC={WebkitBoxShadow:"0 0 0 1000px white inset"},ej=!ei&&!eg,ew=(0,y.A)(),eR=(e=ek)=>{let r={...eF};if("name"in e&&(e.name?e.name.length<=25?/^[a-zA-Z ]*$/.test(e.name)?r.name="":r.name=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"}),"Please enter a valid name."]}):r.name=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"}),"The name must be 25 characters or less."]}):r.name=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"}),"Please enter a name."]})),"phone"in e&&("+91"===q?e.phone?r.phone=/^\d*$/.test(e.phone)&&10===e.phone.length?"":(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"})," ","Please enter a valid phone number."]}):r.phone=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"})," ","Please enter a phone number."]}):"+91"!==q&&(e.phone?r.phone=e.phone.length>0?"":(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"})," ","Please enter a phone number."]}):r.phone=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"})," ","Please enter a phone number."]}))),"project_id"in e&&t.length&&(r.project_id=e.project_id?"":(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"})," ","Please select a project."]})),eO({...r}),e==ek)return Object.values(r).every(e=>""==e)},eN=(e={})=>{u.A.get(`${p.MYACCOUNT_HOMEBAZAAR}ajax_login?goTopage=${btoa(e.email)}&comeFrompage=${btoa(e.phone)}`,{withCredentials:!0})},{values:ek,setValues:eI,errors:eF,setErrors:eO,handleInputChange:eP}=(0,s.m)({name:"",phone:"",email:"",country_code:"",country:"",module_type:"",userInputCaptcha:""},!0,eR),eT=async e=>{if(e.preventDefault(),!eR())return;let t=await U(),r=Number(localStorage.getItem("resendCount"))+1;if(eu(r),localStorage.setItem("resendCount",r.toString()),1===r&&localStorage.setItem("lastResendTimestamp",Date.now().toString()),ed(!0),!eg&&r>3)return;let n=A.split("|")||["91","India"];if(h()(ek,{url:J}),h()(ek,{type:0}),m&&h()(ek,{project_id:m}),h()(ek,{country:n[0]}),h()(ek,{country_code:n[1]}),h()(ek,{gclid:ew.gclid??""}),h()(ek,{email:""}),h()(ek,{fbclid:ew.fbclid??""}),h()(ek,{utm_source:ew.utm_source??""}),h()(ek,{utm_medium:ew.utm_medium??""}),h()(ek,{utm_campaign:ew.utm_campaign??""}),h()(ek,{utm_term:ew.utm_term??""}),h()(ek,{logged_in:!ej||em}),h()(ek,{ip:t}),h()(ek,{applied_homeloan:+(!0===er)}
1),h()(ek,{enquiredfor:"Contact Us"}),h()(ek,{module_type:R}),h()(ek,{otp:null}),eR()){let e;try{e=await el.current?.executeAsync()}catch(e){el.current?.reset(),H("Captcha verification failed");return}if(!e)return void H("Captcha verification failed");h()(ek,{recaptcha_token:e}),Y(!0),H(""),M({msg:"",class:""}),await (0,c.aC)({data:ek,onSuccess:e=>{if(200===e.status){ej?M({msg:e.data.message,class:T().otpText}):M({msg:e.data.message,class:`${T().thankYouMessage} thankyou-text`}),e?.data?.access_token&&(0,v.Vu)("access_token",e?.data?.access_token||""),e?.data?.user&&V(e?.data?.user||{}),"+91"!==n[1]&&eN(e?.data?.user||ek),ej&&Z(!0);let t=m||ek.project_id;t&&ey((0,I.Yn)({propertyId:t,propertyName:l||String(t)})),ej?Y(!1):eb({onComplete:()=>Y(!1)})}else 202===e.status&&(H(e.data.message),Y(!1))},onError:e=>{H(e?.data?.message||"Something went wrong..."),Y(!1)},isOtp:!1}),el.current?.reset()}},{countries:eB}=e.countriesApiData;return(0,o.useEffect)(()=>{Q(window.location.href),eB?.length==0&&e.getCountries()},[]),(0,o.useEffect)(()=>{if(K){let e={...ek};e.name=K.name||"",e.phone=K.phone||"",e.country_code=K.country_code||"+91",e.email="",e.country=K.country||"",e.module_type=R,eI(e),D(e.country_code);let t=eB.find(t=>t.countryCodelabel===e.country_code);t||(t={countryCodelabel:e.country_code,countryCodevalue:e.country_code,countryName:"India",countryIsoCode:"IN"}),$(`${t.countryName}|${t.countryCodelabel}`)}},[K]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:i()([L.root,a]),style:r,children:[(0,n.jsx)("h5",{className:L.headingtitle,children:l??"Get Instant Call Back Now"}),(0,n.jsx)("form",{className:P===w.Kd?0===t.length?L.formNoWarpperdev:L.formWarpperdev:L.formWarpper,onSubmit:e=>{(e.preventDefault(),ee)?(ea(!1),eT(e)):ea(!0)},children:(0,n.jsxs)("div",{className:L.pdmain,children:[(0,n.jsx)(S.A,{"data-cy":"name-input",name:"name",id:"name",label:"Name",isDisabled:!!(K&&K?.name),variant:"filled",style:{width:"100%"},value:ek.name,onChange:eP,helperText:eF.name,inputProps:{style:eC,maxLength:25}}),(0,n.jsx)("span",{className:L.pherror,children:eF.name}),(0,n.jsxs)("div",{className:L.phoneRow,children:[(0,n.jsx)("div",{className:L.phoneCountry,children:(0,n.jsxs)(S.A,{className:L.noRightBorderRadius,noRightBorderRadius:!0,"data-cy":"country-input",disabled:!!(K&&K?.name),id:"country",name:"country",label:"Country Code",InputLabelProps:{shrink:!!A},style:{width:"101%",fontWeight:"400",fontSize:"16px"},select:!0,value:q,onChange:e=>{let t=e.target.value;$(t),D(t.split("|")[1])},variant:"filled",children:[eB?.map(e=>(0,n.jsx)("option",{value:e.countryCodelabel,hidden:!0,children:K&&K?.country_code||e.countryCodelabel},e.countryCodelabel)),eB?.map(e=>(0,n.jsxs)("option",{value:`${e.countryName}|${e.countryCodelabel}`,children:[e.countryName,"|(",e.countryCodelabel,")"]},e.countryCodelabel))]})}),(0,n.jsx)("div",{className:L.phoneNumber,children:(0,n.jsx)(S.A,{className:L.noLeftBorder,"data-cy":"phone-input",name:"phone",isDisabled:ei,id:"phone",type:"number",label:"Phone",variant:"filled",style:{width:"100%"},value:ek.phone,onChange:eP,inputProps:{style:eC},onInput:e=>{"+91"===q&&(e.target.value=Math.max(0,parseInt(e.target.value)).toString().slice(0,10))},noLeftBorder:!0})}),(0,n.jsx)("span",{className:L.pherror,children:eF.phone})]}),t.length?(0,n.jsxs)("div",{className:L.textInputSelect,children:[(0,n.jsxs)(S.A,{style:{width:"100%",marginTop:"10px",height:"60px"},select:!0,value:ek.project_id,className:L.selectHeight,variant:"filled",name:"project_id",label:"Project",onChange:eP,children:[(0,n.jsx)("option",{value:"",children:"Select Project"}),t.map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id))]}),(0,n.jsx)("span",{className:L.pherror,children:eF.project_id})]}):"",_&&(0,n.jsx)("div",{className:L.textInput,children:(0,n.jsx)("textarea",{className:L.whatsappTextarea,rows:3,disabled:!0,placeholder:`Hi! I'm Interested in ${l}. Please Share Details.`})}),(0,n.jsx)(x.A,{}),(0,n.jsx)("div",{className:L.textInput,children:(0,n.jsxs)("div",{style:{color:"#171717",font:"normal normal normal 14px/19px Open Sans",marginLeft:"2px",marginBottom:"-5px",display:"flex",marginTop:"0.7rem"},children:[!ee&&(0,n.jsx)("img",{style:{width:"21px",height:"32px",objectFit:"none",objectPosition:"-844px 1px"},src:p.COMMON_ICONS_SPRITE_URL,alt:"checkbox",onClick:()=>{et(!0),ea(!1)}}),ee&&(0,n.jsx)("img",{style:{width:"21px",height:"32px",objectFit:"none",objectPosition:"-872px 1px"},src:p.COMMON_ICONS_SPRITE_URL,alt:"icon-feather-check-square",onClick:()=>et(!1),required:!0}),(0,n.jsxs)("div",{style:{marginLeft:"10px",display:"flex"},children:["I accept"," ",(0,n.jsxs)(N(),{href:"/privacy-policy",target:"_blank",style:{color:"#0056b2"},children:[" ","\xa0T&C and Privacy Policy"," "]})]})]})}),b||"buy"===R&&(0,n.jsxs)("div",{className:L.homeLoanCheckBox,children:[(0,n.jsx)("img",{style:{width:"21px",height:"32px",objectFit:"none",objectPosition:er?"-872px 1px":"-844px 1px"},src:p.COMMON_ICONS_SPRITE_URL,title:"Favourite",alt:"Favourite",onClick:()=>en(!er)}),(0,n.jsx)("div",{style:{marginLeft:"10px",display:"flex",fontWeight:"400",fontSize:"14px"},children:"I am interested in Home Loans"})]}),""!=W.msg&&(ep<=3||eg)&&(0,n.jsx)("h5",{className:W.class,children:W.msg}),""!=z&&(0,n.jsx)("h5",{className:"error-text-upd",children:z}),""!=eo&&(0,n.jsxs)("h5",{className:"error-text-upd",children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"})," ","Please select the T&C and Privacy Policy"]}),(0,n.jsx)(j.A,{ref:el}),!eg&&ep>3&&ec&&(0,n.jsxs)("h5",{className:"error-text-upd",children:[(0,n.jsx)("img",{src:"/static/images/error-form.svg",alt:"error-form"})," Resend otp limit reached. try again after an hour."]}),G&&(0,n.jsx)("div",{className:L.spinnerWrap,children:(0,n.jsx)("span",{className:L.spinner})}),(0,n.jsx)("button",{"data-cy":"request-info-btn",type:"submit",className:i()(["enquiry_class",L.formSubmit]),disabled:!eg&&ep>3&&ec||eg&&(G||""!==W.msg),style:{backgroundColor:!eg&&ep>3&&ec||eg&&(G||""!==W.msg)?"#B0B0B0":"",color:!eg&&ep>
13&&ec||eg&&(G||""!==W.msg)?"#FFFFFF":"",cursor:!eg&&ep>3&&ec||eg&&(G||""!==W.msg)?"not-allowed":""},children:d??"Get Instant Call Back"})]})})]}),(0,n.jsx)(O.A,{open:ex,onClose:()=>{},showWishlistSyncUi:e_,onYes:ev,onNo:eS}),"OTP created Successfully"===W.msg&&(0,n.jsx)(E,{root_class:"custom-modal",open:X,close:function(){Z(!X)},modal_content:(0,n.jsx)(B,{setMyToken:eN,header:l,Country:A,values:ek,url:J,property_id:m,enquiredFor:"Contact Us",parentCallback:e=>{M({msg:e,class:`${T().thankYouMessage} thankyou-text`}),"OTP created Successfully"!==e&&eh(!0)},setOpenPopup:Z})})]})})},80327:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(37876),o=r(26054);let a=function(){let e=(0,o.A)();return(0,n.jsxs)(n.Fragment,{children:[e.gclid&&(0,n.jsx)("input",{type:"hidden",name:"gclid",id:"gclid",value:e.gclid,readOnly:!0}),e.utm_source&&(0,n.jsx)("input",{type:"hidden",name:"utm_source",id:"utm_source",value:e.utm_source,readOnly:!0}),e.utm_medium&&(0,n.jsx)("input",{type:"hidden",name:"utm_medium",id:"utm_medium",value:e.utm_medium,readOnly:!0}),e.utm_campaign&&(0,n.jsx)("input",{type:"hidden",name:"utm_campaign",id:"utm_campaign",value:e.utm_campaign,readOnly:!0}),e.utm_term&&(0,n.jsx)("input",{type:"hidden",name:"utm_term",id:"utm_term",value:e.utm_term,readOnly:!0}),e.fbclid&&(0,n.jsx)("input",{type:"hidden",name:"fbclid",id:"fbclid",value:e.fbclid,readOnly:!0})]})}},83614:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var n=r(37876),o=r(14232),a=r(15039),i=r.n(a),s=r(1084),l=r.n(s);let c="HBTextField",d={root:`${c}-root`,noLeftBorder:`${c}-noLeftBorder`,noRightBorderRadius:`${c}-noRightBorderRadius`,textInput:`${c}-textInput`,textInput1:`${c}-textInput1`,textInputN:`${c}-textInputN`,field:`${c}-field`,label:`${c}-label`,labelShrink:`${c}-labelShrink`,helper:`${c}-helper`},p="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23C5C9CE'/%3E%3C/svg%3E\")",u={margin:"0 0 8px 0",backgroundColor:"#fff",position:"relative"},m={width:"100%",boxSizing:"border-box",backgroundColor:"#fff",border:"1px solid #99a2ac",borderRadius:7,padding:"28px 12px 8px",fontSize:16,fontWeight:700,color:"#171717",fontFamily:"Open Sans, sans-serif",outline:"none",appearance:"none",WebkitAppearance:"none"},h={cursor:"pointer",paddingRight:28,backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E\")",backgroundRepeat:"no-repeat",backgroundPosition:"right 12px center"},f={cursor:"pointer",paddingRight:26,backgroundImage:p,backgroundRepeat:"no-repeat",backgroundPosition:"right 10px center",backgroundSize:"10px 6px"},g={color:"#171717",WebkitTextFillColor:"#171717",fontWeight:"bold",cursor:"pointer"},y={width:"100%",boxSizing:"border-box",backgroundColor:"#fff",border:"1px solid #99a2ac",borderRadius:8,padding:"8px 12px",height:42,fontSize:16,fontWeight:700,color:"#171717",fontFamily:"Open Sans, sans-serif",outline:"none",appearance:"none",WebkitAppearance:"none"},x={width:"100%",boxSizing:"border-box",backgroundColor:"#fff",border:"none",borderBottom:"1px solid #d3e0ed",borderRadius:0,padding:"8px 0 10px",fontSize:16,fontWeight:700,color:"#171717",fontFamily:"Open Sans, sans-serif",outline:"none"},_={position:"absolute",left:12,top:"50%",transform:"translateY(-50%)",fontSize:14,lineHeight:"24px",fontWeight:700,color:"#333333",fontFamily:"Open Sans, sans-serif",pointerEvents:"none",transition:"top 0.15s ease, font-size 0.15s ease, transform 0.15s ease",background:"transparent"},b={top:6,transform:"none",fontSize:12,fontWeight:500},v={position:"absolute",left:12,top:0,fontSize:14,lineHeight:"24px",fontWeight:700,color:"#333333",fontFamily:"Open Sans, sans-serif",pointerEvents:"none"},S={fontSize:12,fontWeight:500},C={position:"absolute",left:0,top:5,fontSize:18,lineHeight:"24px",fontWeight:700,color:"#333333",fontFamily:"Open Sans, sans-serif",pointerEvents:"none"},j={top:0,fontSize:12,fontWeight:500},w={borderBottomLeftRadius:0,borderTopLeftRadius:0},R={borderBottomRightRadius:0,borderTopRightRadius:0,borderRight:"none"},N={marginLeft:0,fontSize:13,color:"#f44336",display:"flex",alignItems:"center"};function k(e){let{name:t,id:r,label:a,isDisabled:s,disabled:c,varient:k,variant:I,className:F,size:O,value:P,onChange:T,error:B,placeholder:E,helperText:L,style:A,noLeftBorder:$,noRightBorderRadius:q,isDesktopPdp:D,select:W,SelectProps:M,InputLabelProps:z,slotProps:H,inputProps:U={},inputRef:G,type:Y="text",children:K,onInput:V,onFocus:J,onBlur:Q,...X}=e,[Z,ee]=(0,o.useState)(!1),et=!!W,er=!!(s||c),en=null!=P&&String(P).length>0,eo=z?.shrink===!0||en||!!E||Z,ea=r||t,{style:ei,className:es,...el}=U||{},ec=F&&String(F).includes(d.textInput1),ed=i()(d.textInput,D&&d.textInputN,$&&d.noLeftBorder,q&&d.noRightBorderRadius,F),ep=i()(d.label,eo&&d.labelShrink),eu=m,em=_,eh=b;D?(eu=y,em=v,eh=S):ec&&(eu=x,em=C,eh=j);let ef={...eu,...et&&!q?h:null,...et&&!q&&D?{backgroundImage:p,backgroundSize:"10px 6px",backgroundPosition:"right 12px center"}:null,...et&&q?f:null,..."date"===Y?g:null,...$?w:null,...q?R:null,...er?{WebkitTextFillColor:"#131313",color:"#131313",opacity:1,backgroundColor:"#fff"}:null,...A||{},...ei||{},...et?{fontWeight:700}:null},eg={...em,...eo?eh:null},ey={name:t,id:ea,disabled:er,value:P??"",onChange:T,onInput:V,placeholder:E,className:i()(d.field,l().field,"date"===Y&&l().fieldDate,ec&&l().underlineField,es),autoComplete:"on","aria-invalid":!!B,style:ef,onFocus:e=>{ee(!0),J&&J(e)},onBlur:e=>{ee(!1),Q&&Q(e)},...el,...X};return(0,n.jsx)("div",{className:d.root,children:(0,n.jsxs)("div",{className:ed,style:u,children:[a?(0,n.jsx)("label",{htmlFor:ea,className:ep,style:eg,children:a}):null,et?(0,n.jsx)("select",{ref:G,...ey,children:K}):(0,n.jsx)("input",{ref:G,...ey,type:Y}),B?(0,n.jsx)("div",{className:d.helper,style:N,children:B}):null]})})}},90337:(e,t,r)=>{"use strict";r.d(t,{N:()=>d});var n=r(14232),o=r(31777),a=r(23605),i=r(91593);async function s({token:e,userId:t,dispatch:r}){if(!r)throw Error("dispatch is required to sync wishlist.");return(0,i.xr)({dispatch:r,token:e,userId:t})}async function l({token:e,userId:t,dispatch:r}){if(!r)throw Error("dispatch is required to sync wishlist.");return(0,i.Ue)({dispatch:r,token:e,userId:t})}var c=r(25536);
1function d(){let e=(0,o.wA)(),t=(0,o.d4)(c.nO),[r,i]=(0,n.useState)(!1),[d,p]=(0,n.useState)(!1),u=(0,n.useRef)(null),m=(0,n.useCallback)(()=>{i(!1);let e=u.current;u.current=null,e?.()},[]),h=(0,n.useCallback)(async({onComplete:e}={})=>{u.current=e??null;let t=!1;try{t=await (0,a.B)()}catch(e){console.error("Wishlist IDB read failed:",e)}t?i(!0):m()},[m]);return{isWishlistPopupOpen:r,showWishlistSyncUi:t||d,runAfterAuthWishlistCheck:h,handleWishlistSyncYes:(0,n.useCallback)(async()=>{p(!0);try{await s({dispatch:e})}catch(e){console.error("Wishlist sync failed:",e)}finally{p(!1),m()}},[e,m]),handleWishlistSyncNo:(0,n.useCallback)(async()=>{p(!0);try{await l({dispatch:e})}catch(e){console.error("Wishlist server-only sync failed:",e)}finally{p(!1),m()}},[e,m])}}},91421:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(37876),o=r(14232),a=r(78229),i=r(16225);let s=()=>(0,n.jsxs)("p",{className:"recaptcha-notice",children:["This site is protected by reCAPTCHA and the Google"," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"})," ","and"," ",(0,n.jsx)("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",children:"Terms of Service"})," ","apply."]}),l=(0,o.forwardRef)(function(e,t){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{ref:t,sitekey:i.RECAPTCHA_V3_SITE_KEY,size:"invisible",badge:"bottomright"}),(0,n.jsx)(s,{})]})})}}]);
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.