PageSourceSearch

https://rentok.com/_next/static/chunks/pages/_sites/[site]-c40270561ac6f466.js

js rentok.com collected 2026-09-24 13:20:59 UTC 323,115 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c4947f21-370c-4acf-bbf1-8132d7602f66",e._sentryDebugIdIdentifier="sentry-dbid-c4947f21-370c-4acf-bbf1-8132d7602f66")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2378,592,4975,4350,9141,8196],{38706:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSiteRaw=resolveSiteRaw,t.getProperty=getProperty,t.getAvailability=getAvailability,t.getAccount=getAccount,t.getSiteCustomization=getSiteCustomization,t.resolveSite=resolveSite,t.getPublishedSite=getPublishedSite,t.getSitePreview=getSitePreview;let n={retry:!0};function isAccountPayload(e){return"properties"in e&&Array.isArray(e.properties)&&"brand_data"in e&&!!e.brand_data}function dedupeLocations(e){let t=new Set,n=[];for(let r of e){let e=`${r.city}|${r.state}`;r.city&&!t.has(e)&&(t.add(e),n.push({city:r.city,state:r.state}))}return n}async function resolveSiteRaw(e,t){return e.post(e.paths.resolve,{microsite_url:t},n)}async function getProperty(e,t){let r=await e.post(e.paths.property,{microsite_url:t},n);return r.property}async function getAvailability(e,t){let r=await e.post(e.paths.availability,{prop_id:t},n);return r.data}async function getAccount(e,t){let r=await e.post(e.paths.resolve,{microsite_url:t},n);if(!isAccountPayload(r))throw Error(`resolve('${t}') did not return a type-2 account payload`);return{account:r.brand_data,properties:r.properties,locations:dedupeLocations(r.properties),amenities:{common:r.common_amenities??[],services:r.services_amenities??[],food:r.food_amenities??[]}}}async function getSiteCustomization(e,t,r){try{return await e.post(e.paths.customization,{slug:t,...r?{pg_id:r}:{}},n)}catch{return{sections:[],theme:null}}}async function resolveSite(e,t){let r=await e.post(e.paths.resolve,{microsite_url:t},n),o=await getSiteCustomization(e,t).catch(()=>void 0);if(isAccountPayload(r))return{kind:"account",account:r.brand_data,properties:r.properties,locations:dedupeLocations(r.properties),amenities:{common:r.common_amenities??[],services:r.services_amenities??[],food:r.food_amenities??[]},customization:o};let[a,i]=await Promise.all([getProperty(e,t),getAvailability(e,t)]);return{kind:"property",property:a,availability:i,customization:o}}async function getPublishedSite(e,t,r){return e.post(e.paths.sitePublished,{host_or_slug:t,path:r},n)}async function getSitePreview(e,t){return e.post(e.paths.sitePreview,{path:t.path},{...n,token:t.token})}},32449:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendBookingOtp=sendBookingOtp,t.verifyBookingOtp=verifyBookingOtp,t.getCheckinDetails=getCheckinDetails,t.updateCheckinDetails=updateCheckinDetails,t.getApprovalStatus=getApprovalStatus,t.computeSharingAvailability=computeSharingAvailability,t.getBookableRooms=getBookableRooms,t.createPaymentSession=createPaymentSession,t.confirmPayment=confirmPayment,t.getBookingStatus=getBookingStatus;let r=n(40258);function isRecord(e){return"object"==typeof e&&null!==e}async function sendBookingOtp(e,t){return e.post(e.paths.sendOtp,{phone_number:t.phone_number,country_code:t.country_code??"91"})}async function verifyBookingOtp(e,t){let n=await e.post(e.paths.verifyOtp,{phone_number:t.phone_number,otp:t.otp,country_code:t.country_code??"91",eazypg_id:t.eazypg_id,pg_id:t.pg_id,pg_number:t.pg_number}),o=isRecord(n.data)&&isRecord(n.data.verifyResponse)?n.data.verifyResponse:n.data;if(!isRecord(o)||"string"!=typeof o.jwt_token||"string"!=typeof o.tenant_uuid)throw new r.TransportError("verify-otp response missing jwt_token/tenant_uuid",500,n);return{token:o.jwt_token,tenant_uuid:o.tenant_uuid,firebase_id:"string"==typeof o.firebase_id?o.firebase_id:null,status:"number"==typeof o.status?o.status:0,checkin_url:"string"==typeof o.checkin_url?o.checkin_url:null}}async function getCheckinDetails(e,t){let n=await e.get(`${e.paths.checkinDetails}?eazypg_id=${encodeURIComponent(t.eazypg_id)}`,{token:t.token});return{tenant:n.data,invoice:n.invoice??null,checkin_start_days:n.checkin_start_days}}async function updateCheckinDetails(e,t){let{token:n,...r}=t;return e.post(e.paths.checkinDetails,r,{token:n})}async function getApprovalStatus(e,t){let n=await e.get(`${e.paths.approvalStatus}/${t.tenant_uuid}`,{token:t.token});return{is_confirmed:n.data?.is_confirmed===!0}}function computeSharingAvailability(e,t,n=new Date){return t.map(t=>{let r=e.filter(e=>e.sharingType===t).length,o=0;for(let r of e){if(r.sharingType!==t||r.rentDisableFlag||!(null===r.publishOnWebsite||!0===r.publishOnWebsite))continue;let e=0;for(let t of r.Tenant??[])t.underNotice&&t.dateOfEvictionEpoch?n.getTime()<t.dateOfEvictionEpoch&&e++:e++;t>e&&o++}return{sharingType:t,totalRoomCount:r,availableRoomCount:o}})}async function getBookableRooms(e,t,n){let r=await e.post(e.paths.flowAvailability,{prop_id:t}),o=void 0!==n?new Date(n):new Date;return{rooms:r.data.rooms,sharing:computeSharingAvailability(r.data.rooms,r.data.available_sharing_type,o),available_sharing_type:r.data.available_sharing_type}}async function createPaymentSession(e,t){let{token:n,...o}=t,a=await e.post(e.paths.paymentSession,o,{token:n}),i=isRecord(a.data)&&"string"==typeof a.data.payment_session_id?a.data.payment_session_id:void 0;if(!i)throw new r.TransportError("payment session response missing payment_session_id",500,a);return{payment_session_id:i}}async function confirmPayment(e,t){return e.post(e.paths.paymentConfirm,{order_id:t.order_id})}async function getBookingStatus(e,t){let n=t.room?`${e.paths.bookingStatus}/room`:e.paths.bookingStatus,r=t.room?{user_id:t.user_id,property_id:t.property_id,room:t.room}:{user_id:t.user_id,property_id:t.property_id},o=await e.post(n,r);return{leads:Array.isArray(o.leads)?o.leads:[]}}},49021:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);
1(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||(r=function(e){return(r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.capabilitiesFor=t.computeSharingAvailability=t.TransportError=void 0,t.createSdk=function(e={}){let t=(0,l.createTransport)(e);return{data:{resolveSite:e=>s.resolveSite(t,e),resolveSiteRaw:e=>s.resolveSiteRaw(t,e),getProperty:e=>s.getProperty(t,e),getAvailability:e=>s.getAvailability(t,e),getAccount:e=>s.getAccount(t,e),getSiteCustomization:(e,n)=>s.getSiteCustomization(t,e,n),getPublishedSite:(e,n)=>s.getPublishedSite(t,e,n),getSitePreview:e=>s.getSitePreview(t,e)},flow:{sendBookingOtp:e=>c.sendBookingOtp(t,e),verifyBookingOtp:e=>c.verifyBookingOtp(t,e),getCheckinDetails:e=>c.getCheckinDetails(t,e),updateCheckinDetails:e=>c.updateCheckinDetails(t,e),getApprovalStatus:e=>c.getApprovalStatus(t,e),getBookableRooms:(e,n)=>c.getBookableRooms(t,e,n),createPaymentSession:e=>c.createPaymentSession(t,e),confirmPayment:e=>c.confirmPayment(t,e),getBookingStatus:e=>c.getBookingStatus(t,e)},tenant:{sendOtp:e=>d.sendOtp(t,e),verifyOtp:e=>d.verifyOtp(t,e),fromBooking:e=>d.fromBooking(t,e),me:e=>d.me(t,e),switchProperty:e=>d.switchProperty(t,e),bookings:e=>d.bookings(t,e),payments:e=>d.payments(t,e),payment:e=>d.payment(t,e),passbook:e=>d.passbook(t,e),bookAgain:e=>d.bookAgain(t,e)}}};let l=n(40258),s=i(n(38706)),c=i(n(32449)),d=i(n(29163));var p=n(40258);Object.defineProperty(t,"TransportError",{enumerable:!0,get:function(){return p.TransportError}});var u=n(32449);Object.defineProperty(t,"computeSharingAvailability",{enumerable:!0,get:function(){return u.computeSharingAvailability}});var x=n(29163);Object.defineProperty(t,"capabilitiesFor",{enumerable:!0,get:function(){return x.capabilitiesFor}})},29163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendOtp=sendOtp,t.verifyOtp=verifyOtp,t.fromBooking=fromBooking,t.me=me,t.switchProperty=switchProperty,t.bookings=bookings,t.payments=payments,t.payment=payment,t.passbook=passbook,t.bookAgain=bookAgain,t.capabilitiesFor=function(e){return e&&Object.prototype.hasOwnProperty.call(o,e)?[...o[e]]:[]};let r=n(40258),q=e=>`?slug=${encodeURIComponent(e)}`;function data(e,t){if(!e||void 0===e.data)throw new r.TransportError(`Response from ${t} had no data`,500,e);return e.data}async function sendOtp(e,t){return e.post(e.paths.tenantSendOtp,{slug:t.slug,phone:t.phone})}async function verifyOtp(e,t){let n=e.paths.tenantVerifyOtp;return data(await e.post(n,{slug:t.slug,phone:t.phone,otp:t.otp}),n)}async function fromBooking(e,t){let n=e.paths.tenantFromBooking;return data(await e.post(n,{slug:t.slug,token:t.token}),n)}async function me(e,t){let n=e.paths.tenantMe+q(t.slug);return data(await e.get(n,{token:t.token}),n)}async function switchProperty(e,t){let n=e.paths.tenantSwitch;return data(await e.post(n,{slug:t.slug,property_id:t.property_id},{token:t.token}),n)}async function bookings(e,t){let n=e.paths.tenantBookings+q(t.slug);return data(await e.get(n,{token:t.token}),n)}async function payments(e,t){let n=e.paths.tenantPayments+q(t.slug);return data(await e.get(n,{token:t.token}),n)}async function payment(e,t){let n=`${e.paths.tenantPayments}/${encodeURIComponent(t.order_id)}${q(t.slug)}`;return data(await e.get(n,{token:t.token}),n)}async function passbook(e,t){let n=e.paths.tenantPassbook+q(t.slug),r=await e.get(n,{token:t.token});return r?.data??null}async function bookAgain(e,t){let n=e.paths.tenantBookAgain;return data(await e.post(n,{slug:t.slug,property_id:t.property_id},{token:t.token}),n)}let o={tenant:["viewBooking","viewPayments","payDues"],booking:["viewBooking","viewPayments","payDues"],former:["viewPayments","payDues","bookAgain"],lead:["reserve","bookVisit","viewPayments"],invite:["viewJoiningStatus"],interested:["reserve","viewPayments"]}},40258:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.TransportError=void 0,t.createTransport=function(e={}){let t=e.baseUrl??"https://apiv2.rentok.com",r=e.fetch??fetch,o={...n,...e.paths},a=e.timeoutMs??8e3;return{paths:o,async post(e,n,o){let i={"content-type":"application/json"};o?.token&&(i.Authorization=`Bearer ${o.token}`);let l=await requestWithRetry(r,t+e,{method:"POST",headers:i,body:JSON.stringify(n)},a,o?.retry===!0);return handleResponse(l,e)},async get(e,n){let o={};n?.token&&(o.Authorization=`Bearer ${n.token}`);let i=await requestWithRetry(r,t+e,{method:"GET",headers:o},a,n?.retry!==!1);return handleResponse(i,e)}}};let n={resolve:"/site/public/resolve",property:"/site/public/property",availability:"/site/public/availability",customization:"/site/public/customization",sendOtp:"/site/flow/send-otp",verifyOtp:"/site/flow/verify-otp",checkinDetails:"/site/flow/checkin-details",approvalStatus:"/site/flow/approval-status",flowAvailability:"/site/flow/availability",paymentSession:"/site/flow/payment/session",paymentConfirm:"/site/flow/payment/confirm",bookingStatus:"/site/flow/booking-status",sitePublished:"/site/public/published",sitePreview:"/site/public/preview",tenantSendOtp:"/site/tenant/send-otp",tenantVerifyOtp:"/site/tenant/verify-otp",tenantFromBooking:"/site/tenant/from-booking",tenantMe:"/site/tenant/me",tenantSwitch:"/site/tenant/switch",tenantBookings:"/site/tenant/bookings",tenantPayments:"/site/tenant/payments",tenantPassbook:"/site/tenant/passbook",tenantBookAgain:"/site/tenant/book-again"};let TransportError=class TransportError extends Error{constructor(e,t,n){super(e),this.name="TransportError",this.status=t,this.body=n}};function isRecord(e){return"object"==typeof e&&null!==e}t.TransportError=TransportError;let r=new Set([502,503,504]);function sleep(e){return new Promise(t=>setTimeout(t,e))}function jitteredRetryDelayMs(){return 200+Math.floor(300*Math.random())}async function attempt(e,t,n,r){let o;let a=new AbortController,i=new Promise((e,n)=>{o=setTimeout(()=>{a.abort();let e=Error(`Request to ${t} timed out after ${r}ms`);e.name="AbortError",n(e)},r)});try{return await Promise.race([e(t,{...n,signal:a.signal}),i])}finally{clearTimeout(o)}}async function requestWithRetry(e,t,n,o,a){try{let i=await attempt(e,t,n,o);if(a&&r.has(i.status))return await sleep(jitteredRetryDelayMs()),attempt(e,t,n,o);return i}catch(r){var i;if(a&&(i=r)instanceof Error&&"AbortError"!==i.name)return await sleep(jitteredRetryDelayMs()),attempt(e,t,n,o);throw r}}async function handleResponse(e,t){let n=await e.json().catch(()=>null),r=isRecord(n)&&"number"==typeof n.status?n.status:void 0;if(!e.ok||void 0!==r&&r>=400){let o=isRecord(n)&&"string"==typeof n.message?n.message:`Request to ${t} failed`;throw new TransportError(o,r??e.status,n)}return n}},17577:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_sites/[site]",function(){return n(52850)}])},79778:function(e,t,n){"use strict";n.d(t,{Z:function(){return BrandPageHeader}});var r=n(85893),o=n(48204),a=n(12439),i=n(38491),l=n(3712),s=n(90608),c=n(12095),d=n(46572),p=n(34302),u=n(437),x=n(8186),m=n(71856),h=n(68029),g=n(88329),f=n(37945),v=n(73636),b=n(50232),y=n(14114),k=n(12519),j=n(14930),w=n(11163),_=n(67294),S=n(8193),C=n(51649),N=n(95653);function BrandPageHeader(e){let{logoUrl:t,brandName:n,user:A,propertyScrollFunction:D,amenitiesScrollFunction:z,featuresScrollFunction:R,brandPhone:E,brandColor:P,brandAccentColor:F,textColor:T,primaryTextColor:I="#2C3032",accentTextColor:B="#616161"}=e,{scrollY:M}=(0,j.M)();(0,_.useEffect)(()=>M.onChange(()=>U(M.get())),[M]);let L=(0,w.useRouter)(),W=(0,a.q)(),O=(0,_.useRef)(),[G,U]=(0,_.useState)(0);O.current&&O.current.getBoundingClientRect();let callButtonUi=e=>(0,r.jsx)(i.z,{fontWeight:"700",border:"2px solid ".concat(P),bg:"#FFFFFF",color:P,fontSize:"18px",leftIcon:(0,r.jsx)(C.tkl,{}),onClick:()=>window.open("tel:".concat(e),"_blank"),children:"Call us"}),loginButtonUi=e=>e&&e.phone?(0,r.jsx)(l.K,{children:(0,r.jsx)(s.v,{children:e=>{let{isOpen:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.j,{bg:"#fff",isActive:t,as:i.z,rightIcon:(0,r.jsx)(o.v,{}),children:(0,r.jsx)(d.q,{src:"",boxSize:"40px"})}),(0,r.jsxs)(p.q,{children:[(0,r.jsx)(u.s,{onClick:e=>window.open("/dashboard","_self"),children:"Profile"}),(0,r.jsx)(u.s,{onClick:e=>window.open("/dashboard?index=1","_self"),children:"My bookings"}),(0,r.jsx)(u.s,{onClick:e=>window.open("/dashboard?index=2","_self"),children:"My wishlist"}),(0,r.jsx)(u.s,{onClick:e=>handleLogoutClick(e),children:"Logout"})]})]})}})}):(0,r.jsx)(N.Z,{style:{backgroundColor:P,color:"#FFFFFF"},brandColor:P}),headerButtonFunctions=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.z,{variant:"ghost",color:I,onClick:()=>{L.push("/about"),W.onClose()},children:"About Us"}),(0,r.jsx)(i.z,{variant:"ghost",color:I,onClick:()=>{L.push("/rental"),W.onClose()},children:"Properties"}),(0,r.jsx)(i.z,{variant:"ghost",color:I,onClick:()=>{L.push("/brandGallery"),W.onClose()},children:"Gallery"})]}),H=(0,r.jsxs)(x.g,{pos:"absolute",top:0,left:0,right:0,display:W.isOpen?"flex":"none",flexDirection:"column",p:2,pb:4,bg:P,spacing:3,rounded:"sm",shadow:"sm",children:[(0,r.jsx)(m.P,{"aria-label":"Close menu",justifySelf:"self-start",onClick:W.onClose,color:"gray.700"}),headerButtonFunctions(),callButtonUi(E),loginButtonUi(A)]});return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(h.x,{position:"sticky",top:"0",bg:"#fff",zIndex:5,py:"10px",px:["10px","10px"],align:"center",children:(0,r.jsxs)(g.k,{direction:"row",mx:"auto",maxW:"1400px",align:"center",children:[(0,r.jsxs)(g.k,{align:"center",marginEnd:{base:"0px",md:"20px"},cursor:"pointer",onClick:()=>{console.log("Routing to home"),L.push("/")},children:[(0,r.jsx)(g.k,{align:"center",marginEnd:["0px","10px"],children:(0,r.jsx)(f.E,{src:t||"",maxBlockSize:"44px"})}),(0,r.jsx)(g.k,{align:"start",direction:"column",children:(0,r.jsx)(v.U,{pl:["5px","0px","0px","0px"],children:(0,r.jsx)(b.X,{fontSize:["16px","24px"],children:n})})})]}),(0,r.jsx)(g.k,{display:{base:"none",md:"flex"},children:headerButtonFunctions()}),(0,r.jsx)(y.L,{}),(0,r.jsxs)(g.k,{align:"center",pl:["20px","0px","0px","0px"],display:{base:"flex",md:"none"},children:[(0,r.jsx)(k.h,{"aria-label":"Call us",color:"white",bg:P,borderRadius:"full",_dark:{color:"inherit"},variant:"ghost",icon:(0,r.jsx)(C.tkl,{}),onClick:()=>window.open("tel:+91".concat(E),"_blank")}),(0,r.jsx)(k.h,{"aria-label":"Open menu",color:"gray.800",_dark:{color:"inherit"},variant:"ghost",icon:(0,r.jsx)(S.qTj,{}),onClick:W.onOpen})]}),(0,r.jsxs)(g.k,{align:"center",pl:["20px","0px","0px","0px"],display:{base:"none",md:"flex"},gap:"10px",children:[callButtonUi(E),loginButtonUi(A)]}),H]})})})}},71436:function(e,t,n){"use strict";n.d(t,{Z:function(){return BrandTestimonialCard}});var r=n(85893),o=n(68029),a=n(88329),i=n(46572),l=n(14114),s=n(90092),c=n(97873),d=n(63750),p=n(89583);function BrandTestimonialCard(e){let{review:t}=e;return(0,r.jsxs)(o.x,{bg:"white",p:6,boxShadow:"lg",borderRadius:"lg",children:[(0,r.jsxs)(a.k,{children:[(0,r.jsx)(i.q,{src:t.tenantImage,name:t.tenantName,objectFit:"cover",boxSize:"150px"}),(0,r.jsx)(l.L,{}),(0,r.jsx)(p.FaQuoteRight,{size:"48px"})]}),(0,r.jsxs)(a.k,{direction:"row",align:"center",justify:"space-between",my:"20px",children:[(0,r.jsx)(s.x,{fontWeight:"semibold",children:t.tenantName}),(0,r.jsx)(l.L,{}),(0,r.jsxs)(c.Vp,{fontSize:"sm",children:["Room : ",t.tenantRoom]})]}),(0,r.jsxs)(a.k,{my:"20px",gap:"5px",children:[(0,r.jsx)(d.kum,{color:"orange"}),(0,r.jsx)(d.kum,{color:"orange"}),(0,r.jsx)(d.kum,{color:"orange"}),(0,r.jsx)(d.kum,{color:"orange"}),(0,r.jsx)(d.kum,{color:"orange"})]}),(0,r.jsx)(o.x,{mb:2,children:t.reviewText})]})}},15049:function(e,t,n){"use strict";n.d(t,{Z:function(){return Faq}});var r=n(85893),o=n(86561),a=n(21502),i=n(75133),l=n(68029),s=n(19109),c=n(28645);function Faq(e){let{faqData:t,questionProps:n,answerProps:d}=e;return(0,r.jsx)(r.Fragment,{children:null==t?void 0:t.map((e,t)=>(0,r.jsx)(o.U,{allowMultiple:!0,children:(0,r.jsxs)(a.Q,{children:[(0,r.jsx)("h2",{children:(0,r.jsxs)(i.K,{children:[(0,r.jsx)(l.x,{fontWeight:"700",flex:"1",textAlign:"left",...n,children:e.question?e.question:e.q}),(0,r.jsx)(s.X,{})]})}),(0,r.jsx)(c.H,{pb:4,...d,children:e.answer?e.answer:e.a})]})},t))})}},60698:function(e,t,n){"use strict";n.d(t,{Z:function(){return MicrositeFooter}});var r=n(85893),o=n(88329),a=n(31046),i=n(96254),l=n(3712),s=n(16610),c=n(59099),d=n(68029),p=n(90092),u=n(18118),x=n(37945),m=n(43321),h=n(57879),g=n(8186),f=n(38491);n(63648);var v=n(53854),b=n(5434);function MicrositeFooter(e){let{pgName:t="",aboutProperty:n="",address:y="",fbUrl:k,igUrl:j,twtUrl:w,ytUrl:_,linkedInUrl:S,email:C="",phone:N,whatsappPhone:A="",isLanding:D=!0,brandColor:z,brandAccentColor:R,showRentOkBranding:E=!0,playStoreLink:P,appStoreLink:F}=e,T=window.location.hostname.includes("eazypg.in")||window.location.hostname.includes("rentok.com")||window.location.hostname.includes("localhost");return(0,r.jsx)(o.k,{bg:"#EDF1FE",color:(0,a.ff)("gray.700","gray.200"),bgColor:R||"#0036F60D",children:(0,r.jsx)(i.W,{as:l.K,maxW:"full",py:10,px:["10px","20px","20px","100px"],children:(0,r.jsxs)(s.r,{templateColumns:{sm:"1fr 1fr",md:"1.8fr 0.2fr 1fr"},spacing:"20px",children:[(0,r.jsxs)(c.P,{align:"flex-start",display:"flex",flexDirection:"column",justifyContent:"space-between",gap:"10px",children:[(0,r.jsx)(o.k,{mb:"10px",gap:["0px","10px"],w:"100%",children:(0,r.jsxs)(d.x,{w:["100%","calc(100% - 100px)"],children:[(0,r.jsx)(p.x,{fontSize:["16px","24px"],fontWeight:"700",children:t}),(0,r.jsx)(p.x,{fontSize:["12px","16px"],whiteSpace:"pre-wrap",children:n})]})}
1),(0,r.jsxs)(u.E,{direction:["row"],align:"start",gap:"10px",mb:"10px",children:[(0,r.jsx)(x.E,{h:["40px","40px","60px"],minW:["133px","133px","140px"],src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/owner-landing/google-play-final.webp",cursor:"pointer",onClick:()=>{window.open(P||"https://play.google.com/store/apps/details?id=net.eazypg.eazypgtenant","_blank")}}),(0,r.jsx)(x.E,{h:["40px","40px","60px"],minW:["133px","133px","140px"],src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/app-store.webp",cursor:"pointer",onClick:()=>{window.open(F||"https://apps.apple.com/in/app/eazypg-tenant/id1498355410","_blank")}})]}),(0,r.jsxs)(o.k,{gap:"10px",align:"center",display:k||j||w||_||S?"flex":"none",children:[(0,r.jsx)(p.x,{my:"auto",fontSize:["16px","24px"],fontWeight:"700",children:"Follow us"}),k&&(0,r.jsx)(x.E,{borderRadius:"full",boxSize:["32px","48px"],src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/fb-vector.webp",cursor:"pointer",onClick:()=>{window.open(k,"_blank")}}),j&&(0,r.jsx)(x.E,{borderRadius:"full",boxSize:["32px","48px"],src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/ig-vector.webp",cursor:"pointer",onClick:()=>{window.open(j,"_blank")}}),w&&(0,r.jsx)(x.E,{borderRadius:"full",boxSize:["32px","48px"],src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/twt-vector.webp",cursor:"pointer",onClick:()=>{window.open(w,"_blank")}}),_&&(0,r.jsx)(x.E,{borderRadius:"full",boxSize:["32px","48px"],src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/yt-vector.webp",cursor:"pointer",onClick:()=>{window.open(_,"_blank")}}),S&&(0,r.jsx)(x.E,{borderRadius:"full",boxSize:["32px","48px"],src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/linkedin-logo.png",cursor:"pointer",onClick:()=>{window.open(S,"_blank")}})]})]}),(0,r.jsx)(c.P,{align:"flex-start",display:{base:"none",md:"inherit"}}),(0,r.jsxs)(c.P,{align:"flex-start",mt:["20px",""],children:[(0,r.jsxs)(d.x,{display:D?"inherit":"none",pb:"20px",children:[(0,r.jsx)(p.x,{fontSize:["16px","24px"],fontWeight:"700",children:"Useful Links"}),(0,r.jsxs)(m.M,{columns:"2",rows:"3",spacing:"10px",children:[(0,r.jsx)(h.r,{href:"/about",children:"About us"}),(0,r.jsx)(h.r,{href:"/brandGallery",children:"Gallery"}),(0,r.jsx)(h.r,{href:"/rental",children:"Properties"}),(0,r.jsx)(h.r,{href:"/contact",children:"Contact Us"}),(0,r.jsx)(h.r,{href:T?"https://rentok.com/privacy-policy":"/privacy-policy",children:"Privacy Policy"}),(0,r.jsx)(h.r,{href:T?"https://rentok.com/terms-conditions":"/terms-conditions",children:"Terms & Conditions"})]})]}),(0,r.jsxs)(d.x,{mb:"20px",children:[(0,r.jsx)(p.x,{fontSize:["16px","24px"],fontWeight:"700",children:"Contact Us"}),(0,r.jsxs)(o.k,{align:"start",gap:"10px",children:[(0,r.jsx)(d.x,{as:v.k9l,flexShrink:0,boxSize:["16px","20px"],mt:"2px"}),(0,r.jsx)(p.x,{fontSize:["12px","16px"],children:y})]}),(0,r.jsxs)(o.k,{align:"start",gap:"10px",children:[(0,r.jsx)(d.x,{as:v.Zuw,flexShrink:0,boxSize:["16px","20px"],mt:"2px"}),(0,r.jsx)(p.x,{fontSize:["12px","16px"],children:C})]}),N&&(0,r.jsxs)(o.k,{align:"start",gap:"10px",children:[(0,r.jsx)(d.x,{as:v.PES,flexShrink:0,boxSize:["16px","20px"],mt:"2px"}),(0,r.jsx)(p.x,{cursor:"pointer",_hover:{color:"electricBlue.500",textDecoration:"underline"},onClick:()=>{window.open("tel:".concat(N),"_blank")},fontSize:["12px","16px"],children:N})]}),A&&(0,r.jsxs)(o.k,{align:"start",gap:"10px",children:[(0,r.jsx)(d.x,{as:b.TlC,flexShrink:0,boxSize:["16px","20px"],mt:"2px"}),(0,r.jsx)(p.x,{cursor:"pointer",_hover:{color:"electricBlue.500",textDecoration:"underline"},onClick:()=>{window.open("https://wa.me/91".concat((null==A?void 0:A.startsWith("91"))?A.substring(2):A,"?text=Hello ").concat(t,", I want to know more about the property."),"_blank")},fontSize:["12px","16px"],children:A})]})]}),(0,r.jsxs)(d.x,{display:E?"inherit":"none",mb:"20px",children:[(0,r.jsx)(p.x,{fontSize:["16px","24px"],mb:"10px",fontWeight:"700",children:"Powered by RentOk ⚡️"}),(0,r.jsxs)(o.k,{mb:"20px",gap:"20px",children:[(0,r.jsx)(x.E,{boxSize:["60px","100px"],src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/eazypg-logo-blue.webp"}),(0,r.jsxs)(g.g,{align:"start",children:[(0,r.jsx)(p.x,{fontSize:["12px","16px"],children:"India’s largest network of app-enabled properties"}),(0,r.jsx)(f.z,{size:["sm","lg"],variant:"outline",colorScheme:"electricBlue",onClick:()=>window.open("https://rentok.com","_blank"),children:"Go to RentOk"})]})]})]})]})]})})})}},24350:function(e,t,n){"use strict";n.d(t,{Z:function(){return OwnerLandingFooter}});var r=n(85893),o=n(6459),a=n(88329),i=n(31046),l=n(96254),s=n(3712),c=n(16610),d=n(59099),p=n(68029),u=n(90092),x=n(57879),m=n(43321),h=n(37945),g=n(8186),f=n(64831),v=n(14114);n(63648);var b=n(53854),y=n(51649);function OwnerLandingFooter(e){let{pgName:t="",aboutProperty:n="",address:k="",fbUrl:j,igUrl:w,twtUrl:_,ytUrl:S,email:C="",brandName:N="RentOk"}=e;return(0,o.p)(),(0,r.jsx)(a.k,{bg:"#EDF1FE",color:(0,i.ff)("gray.700","gray.200"),pb:"100px",children:(0,r.jsxs)(l.W,{as:s.K,maxW:"full",py:10,px:["10px","20px","100px"],children:[(0,r.jsxs)(c.r,{templateColumns:{md:"1fr 1fr",lg:"2fr 1fr"},spacing:"20px",mb:"100px",children:[(0,r.jsxs)(d.P,{align:"flex-start",display:"flex",flexDirection:"column",justifyContent:"space-between",children:[(0,r.jsxs)(p.x,{mb:"10px",children:[(0,r.jsx)(u.x,{fontSize:["24px","30px"],fontWeight:"700",children:N}),(0,r.jsx)(u.x,{fontSize:["18px","24px"],noOfLines:2,children:"The easiest way to rent and manage your PGs and hostels."})]}),(0,r.jsxs)(a.k,{gap:"30px",mb:"50px",children:[(0,r.jsx)(x.r,{target:"_blank",href:"https://rentok.com/privacy-policy",fontSize:["14px","20px"],children:"Privacy policy"}),(0,r.jsx)(x.r,{target:"_blank",href:"https://rentok.com/terms-and-conditions",fontSize:["14px","20px"],children:"Terms & Conditions"}),(0,r.jsx)(x.r,{target:"_blank",href:"https://rentok.com/refund-policy",fontSize:["14px","20px"],children:"Refund policy"}),(0,r.jsx)(x.r,{href:"https://app.dover.com/jobs/rentok-0ef01d90",target:"_blank",fontSize:["14px","20px"],fontWeight:"600",color:"#0038FF",children:"We're hiring"})]})]}),(0,r.jsx)(d.P,{align:"flex-start",mt:["20px",""],children:(0,r.jsxs)(m.M,{columns:2,children:[(0,r.jsxs)(a.k,{direction:"column",gap:"20px",children:[(0,r.jsx)(u.x,{children:"Get the app"}),(0,r.jsx)(h.E,{onClick:()=>window.open("https://play.google.com/store/apps/details?id=net.eazypg.eazypgmanager","_blank"),src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/owner-landing/google-play-final.webp",maxW:"135px",alt:"RentOk Manager on Google Play Store",title:"RentOk Manager on Google Play Store"}),(0,r.jsx)(h.E,{onClick:()=>window.open("https://apps.apple.com/app/rentok-manager/id6553993616","_blank"),src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/owner-landing/app-store-final.webp",maxW:"135px",alt:"RentOk Manager on Apple App Store",title:"RentOk Manager on Apple App Store"})]}),(0,r.jsxs)(a.k,{direction:"column",gap:"20px",children:[(0,r.jsx)(u.x,{children:"Contact us"}),(0,r.jsxs)(a.k,{align:"center",gap:"5px",children:[(0,r.jsx)(b.Zuw,{size:"20px",flex:1}),(0,r.jsx)(u.x,{flex:9,children:"[email protected]"})]}),(0,r.jsxs)(a.k,{align:"center",gap:"5px",children:[(0,r.jsx)(y.tkl,{size:"20px",flex:1}),(0,r.jsx)(x.r,{flex:9,as:"a",href:"tel:919131815467",children:"North : 9131815467"})]}),(0,r.jsxs)(a.k,{align:"center",gap:"5px",children:[(0,r.jsx)(y.tkl,{size:"20px",flex:1}),(0,r.jsx)(x.r,{flex:9,as:"a",href:"tel:919391721373",children:"South : 9391721373"})]}),(0,r.jsxs)(a.k,{align:"center",gap:"5px",children:[(0,r.jsx)(y.ff9,{size:"20px",flex:1}),(0,r.jsx)(x.r,{flex:9,target:"_blank",as:"a",href:"https://api.whatsapp.com/se
1nd?phone=917827697197&text=Hey%20%20I%20found%20this%20number%20from%20https://eazypg.in%20website%20and%20need%20some%20help.",children:"+91 7827697197"})]}),(0,r.jsxs)(a.k,{align:"flex-start",gap:"5px",children:[(0,r.jsx)(b.k9l,{size:"20px",flex:1,mt:"2px"}),(0,r.jsxs)(g.g,{flex:9,align:"flex-start",gap:"15px",children:[(0,r.jsxs)(p.x,{children:[(0,r.jsx)(u.x,{fontWeight:"600",fontSize:"14px",color:"gray.600",children:"HQ Office"}),(0,r.jsxs)(u.x,{fontSize:"13px",children:["COGROW, BASEMENT F-12/8A",(0,r.jsx)("br",{}),"BESIDE HOUSE OF STYLE SALON, SECTOR 28, DLF PHASE 1",(0,r.jsx)("br",{}),"GURUGRAM, HARYANA - 122002"]})]}),(0,r.jsxs)(p.x,{children:[(0,r.jsx)(u.x,{fontWeight:"600",fontSize:"14px",color:"gray.600",children:"South India Office"}),(0,r.jsxs)(u.x,{fontSize:"13px",children:["LUMIODESK COWORKING, 2ND FLOOR, 40, 14TH MAIN RD",(0,r.jsx)("br",{}),"BESIDE MC DONALD, 7TH SECTOR, HSR LAYOUT",(0,r.jsx)("br",{}),"BENGALURU, KARNATAKA - 560102"]})]})]})]})]})]})})]}),(0,r.jsx)(f.i,{color:"#475467"}),(0,r.jsxs)(a.k,{direction:["column","row","row","row"],gap:"10px",children:[(0,r.jsxs)(u.x,{children:["\xa9️ ",new Date().getFullYear()," EazyApp Tech Pvt Ltd. All rights reserved"]}),(0,r.jsx)(v.L,{}),(0,r.jsxs)(a.k,{gap:"10px",children:[(0,r.jsx)(x.r,{href:"https://www.facebook.com/rentokofficial",target:"_blank",children:(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/fb-vector.webp",alt:"RentOk on Facebook",title:"RentOk on Facebook",boxSize:"20px"})}),(0,r.jsx)(x.r,{href:"https://www.instagram.com/rentokofficial/",target:"_blank",children:(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/ig-vector.webp",alt:"RentOk on Instagram",title:"RentOk on Instagram",boxSize:"20px"})}),(0,r.jsx)(x.r,{href:"https://twitter.com/rentokofficial",target:"_blank",children:(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/twt-vector.webp",alt:"RentOk on Twitter",title:"RentOk on Twitter",boxSize:"20px"})}),(0,r.jsx)(x.r,{href:"https://www.youtube.com/@RentOkofficial",target:"_blank",children:(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/yt-vector.webp",alt:"RentOk on Youtube",title:"RentOk on Youtube",boxSize:"20px"})})]})]})]})})}},72468:function(e,t,n){"use strict";n.d(t,{Z:function(){return PropertyPage}});var r=n(85893),o=n(48204),a=n(68029),i=n(95478),l=n(59342),s=n(90573),c=n(90092),d=n(33229),p=n(8387),u=n(88329),x=n(38491),m=n(43321),h=n(37945),g=n(6459),f=n(12439),v=n(73636),b=n(50232),y=n(14114),k=n(90608),j=n(12095),w=n(46572),_=n(34302),S=n(437),C=n(12519),N=n(38258),A=n(61914),D=n(8186),z=n(64831),R=n(83401),E=n(3712),P=n(16610),F=n(59099),T=n(4296),I=n(89342),B=n(82206),M=n(2821),L=n(5490),W=n(89865),O=n(62158),G=n(57391),U=n(21360),H=n(70010),V=n(37054),Z=n(9669),K=n.n(Z),Y=n(9008),X=n.n(Y),Q=n(11163),J=n(53854),$=n(45155),ee=n(63750),et=n(8193),en=n(67294);function ManagerProfileCard(e){let{ownerData:t,brandColor:n,brandAccentColor:o}=e;(0,Q.useRouter)();let[i,l]=(0,en.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u.k,{bgGradient:o?void 0:"linear(to-r, #ccd7ff, #e2ccff)",p:"20px",borderRadius:"5px 5px 0px 0px",bgColor:o||void 0,children:[(0,r.jsx)(w.q,{marginEnd:"14px",src:null==t?void 0:t.profileImg}),(0,r.jsxs)(u.k,{direction:"column",w:"100%",children:[(0,r.jsxs)(v.U,{children:[(0,r.jsx)(c.x,{children:"Property Owner"}),(0,r.jsx)(y.L,{}),(0,r.jsxs)(v.U,{align:"end",mb:"10px",children:[t.facebookUrl&&(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/fb-vector.webp",cursor:"pointer",onClick:()=>{window.open(t.facebookUrl,"_blank")},size:"24px"}),t.twitterUrl&&(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/twt-vector.webp",cursor:"pointer",onClick:()=>{window.open(t.twitterUrl,"_blank")},size:"24px"}),t.instagramUrl&&(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/ig-vector.webp",cursor:"pointer",onClick:()=>{window.open(t.instagramUrl,"_blank")},size:"24px"}),t.googleMyBusinessUrl&&(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/yt-vector.webp",cursor:"pointer",onClick:()=>{window.open(t.googleMyBusinessUrl,"_blank")},size:"24px"})]})]}),(0,r.jsx)(c.x,{fontWeight:"semibold",children:null==t?void 0:t.name})]})]}),(0,r.jsxs)(u.k,{p:"20px",borderRadius:"0px 0px 5px 5px",bgColor:"white",direction:"column",children:[(0,r.jsx)(A.U,{startingHeight:"54px",in:i,children:(0,r.jsx)(c.x,{mb:"10px",children:null==t?void 0:t.description})}),(0,r.jsx)(a.x,{size:"sm",variant:"link",fontWeight:"700",colorScheme:"slate",textDecoration:"underline",onClick:()=>l(!i),w:"auto",children:i?(0,r.jsx)(c.x,{w:"-webkit-max-content",fontSize:"12px",children:"View less"}):(0,r.jsx)(c.x,{w:"-webkit-max-content",fontSize:"12px",children:"View more"})})]})]})}var er=n(15049),eo=n(5434),ea=n(10615);n(23659);var ei=n(8100),el=n(34860);n(12005);var es=n(97034),ec=n(49856),ed=n(14030),ep=n(55971),eu=n(97119),ex=n(95653),em=n(60698),eh=n(27604),eg=n(20843),ef=n(28667),ev=n(81614),eb=n(32572),ey=n(88196),ek=n(99141
1),ej=n(4298),ew=n.n(ej),e_=n(35587),eS=n(7106),eC=n(49466);let LazyCardWrapper=e=>{let{children:t,index:n}=e,[o,i]=(0,en.useState)(!1),[l,s]=(0,en.useState)(!1),c=(0,en.useRef)(null);return(0,en.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e,n=t.isIntersecting;i(n),n&&!l&&s(!0)},{threshold:.1,rootMargin:"50px"}),t=c.current;return t&&e.observe(t),()=>{t&&e.unobserve(t)}},[l]),(0,r.jsx)(a.x,{ref:c,minH:"200px",children:l?t:(0,r.jsx)(N.O,{h:"200px",w:"100%",borderRadius:"8px"})})};function SimilarPropertiesSection(e){let{similarPropertiesData:t,user:n,showAll:o=!1,brandColor:i,brandAccentColor:l}=e,s=(0,en.useCallback)(e=>{let t=o?e.length:3;return null==e?void 0:e.map((e,n)=>n<t?(0,r.jsx)(LazyCardWrapper,{index:n,children:(0,r.jsx)(eS.Z,{imageUrls:null==e?void 0:e.images_urls,price:null==e?void 0:e.room_rent,originalPrice:null==e?void 0:e.original_rent,propertyName:null==e?void 0:e.flat_name,rating:(null==e?void 0:e.property_rating)||"4.5",reviewCount:(null==e?void 0:e.review_count)||"0",propId:null==e?void 0:e.prop_id,brandColor:i,brandAccentColor:l,textColor:"#FFFFFF",typeCards:(null==e?void 0:e.type_cards)||[],roomTypeTags:(null==e?void 0:e.room_type_tags)||[],plusSymbolCount:(null==e?void 0:e.plus_symbol_count)||0})},n):null)},[i,l,o]),c=(0,en.useCallback)(e=>{let t=o?null==e?void 0:e.length:2;return null==e?void 0:e.map((e,o)=>{if(o<t){var a,i;return(0,r.jsx)(LazyCardWrapper,{index:o,children:(0,r.jsx)(eC.Z,{imageArray:null==e?void 0:e.images,pgName:null==e?void 0:e.pg_name,rating:"4.5",isWishlisted:!1,address:"".concat((null==e?void 0:e.address_line_1)?null==e?void 0:e.address_line_1:""," ").concat((null==e?void 0:e.address_line_2)?null==e?void 0:e.address_line_2:""),propId:(null==e?void 0:e.microsite_url)?null==e?void 0:null===(i=e.microsite_url)||void 0===i?void 0:null===(a=i.find(e=>(null==e?void 0:e.type)===1))||void 0===a?void 0:a.prop_id:"",genderPreferred:null==e?void 0:e.pg_available_for,tenantTypePreferred:null==e?void 0:e.tenants_preferred,listingFlag:!1,user:n,rentStartsFrom:null==e?void 0:e.rent_starts_from,sharingTypeArray:null==e?void 0:e.available_sharing_type})},o)}return null})},[i,l,o,n]),d=(0,en.useCallback)(()=>{var e,n;return t?(null==t?void 0:t.flat_array)&&(null==t?void 0:null===(e=t.flat_array)||void 0===e?void 0:e.length)>0?s(null==t?void 0:t.flat_array):(null==t?void 0:t.property)&&(null==t?void 0:null===(n=t.property)||void 0===n?void 0:n.length)>0?c(null==t?void 0:t.property):null:(0,r.jsx)(a.x,{marginEnd:"20px",children:(0,r.jsx)(N.O,{h:"200px",borderRadius:"10px"})})},[t,s,c]);return(0,r.jsx)(m.M,{columns:[1,1,3,3],p:"20px",gap:"25px",children:d()})}var eN=n(51649),components_ChatWidget=e=>{let{brandColor:t="#25D366",propertyName:n="Property Support",phoneNumber:o="919310016146",autoOpenDelay:i=1e4,expandButtonDelay:l=2e3,scrollCollapseDelay:s=5e3,mobileBottomOffset:d="80px",desktopBottomOffset:p="20px"}=e,m=(0,g.p)(),[h,f]=(0,en.useState)(!1),[b,y]=(0,en.useState)({name:"",phone:""}),[k,j]=(0,en.useState)(!1),[w,_]=(0,en.useState)(null),[S,N]=(0,en.useState)(!1),[A,z]=(0,en.useState)(!1),[R,E]=(0,en.useState)(!1),playNotificationSound=()=>{try{let e=new Audio("/assets/notification.mp3");e.volume=.3,e.play().catch(()=>{console.log("Audio play failed")})}catch(e){console.log("Audio not available")}};(0,en.useEffect)(()=>{let e=setTimeout(()=>{h||S||N(!0)},l);return()=>clearTimeout(e)},[h,S,l]),(0,en.useEffect)(()=>{let e;let handleScroll=()=>{E(!0),e&&clearTimeout(e),e=setTimeout(()=>{E(!1)},s)};return window.addEventListener("scroll",handleScroll),()=>{window.removeEventListener("scroll",handleScroll),e&&clearTimeout(e)}},[s]),(0,en.useEffect)(()=>{if(A)return;let e=setTimeout(()=>{h||(playNotificationSound(),f(!0),z(!0))},i);return()=>clearTimeout(e)},[h,A,i]),(0,en.useEffect)(()=>{if(h){let e=setTimeout(()=>{let e=document.querySelector('input[placeholder=""]');e&&e.focus()},100);return()=>clearTimeout(e)}},[h]);let handleChatSubmit=async()=>{if(!b.name||!b.phone){m({title:"Please fill in all fields",status:"warning",duration:3e3});return}let e=b.phone.replace(/\s/g,"");if(!/^\d{10}$/.test(e)){m({title:"Invalid phone number",description:"Please enter exactly 10 digits (numbers only)",status:"error",duration:3e3});return}if(!/^[6-9]/.test(e)){m({title:"Invalid phone number",description:"Please enter a valid Indian mobile number starting with 6, 7, 8, or 9",status:"error",duration:3e3});return}j(!0);try{let e=window.location.href,t="Hi! Please connect me with the property owner of ".concat(e),r=window.location.href;
1(null==r?void 0:r.includes("oxotel.in/"))&&(t="Hi! Please connect me with the property owner of ".concat(n));let a="https://api.whatsapp.com/send?phone=".concat(o,"&text=").concat(encodeURIComponent(t));window.open(a,"_blank"),f(!1),y({name:"",phone:""}),m({title:"Redirecting to WhatsApp",description:"You will be redirected to WhatsApp to continue the conversation",status:"success",duration:3e3})}catch(e){m({title:"Error occurred",description:"Please try again",status:"error",duration:3e3})}finally{j(!1)}};return(0,r.jsxs)(a.x,{position:"fixed",bottom:{base:d,md:p},right:"20px",zIndex:10,children:[(0,r.jsx)("style",{children:"\n                .spinner {\n                    width: 20px;\n                    height: 20px;\n                    border: 2px solid rgba(255, 255, 255, 0.3);\n                    border-top: 2px solid white;\n                    border-radius: 50%;\n                    animation: spin 1s linear infinite;\n                }\n                @keyframes spin {\n                    0% { transform: rotate(0deg); }\n                    100% { transform: rotate(360deg); }\n                }\n                .chat-widget-enter {\n                    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);\n                }\n                @keyframes slideInUp {\n                    from {\n                        opacity: 0;\n                        transform: translateY(30px);\n                    }\n                    to {\n                        opacity: 1;\n                        transform: translateY(0);\n                    }\n                }\n                .chat-widget-exit {\n                    animation: slideOutDown 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);\n                }\n                @keyframes slideOutDown {\n                    from {\n                        opacity: 1;\n                        transform: translateY(0);\n                    }\n                    to {\n                        opacity: 0;\n                        transform: translateY(30px);\n                    }\n                }\n                .button-pulse {\n                    animation: buttonPulse 2s ease-in-out infinite;\n                }\n                @keyframes buttonPulse {\n                    0%, 100% { transform: scale(1); }\n                    50% { transform: scale(1.05); }\n                }\n            "}),(0,r.jsxs)(a.x,{position:"relative",display:h?"block":"none",mb:"16px",w:"380px",h:"480px",bg:"white",borderRadius:"16px",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)",border:"1px solid #e2e8f0",overflow:"hidden",className:h?"chat-widget-enter":"",_before:{content:'""',position:"absolute",bottom:"-8px",right:"20px",w:"0",h:"0",borderLeft:"8px solid transparent",borderRight:"8px solid transparent",borderTop:"8px solid white"},children:[(0,r.jsxs)(u.k,{bg:t,color:"white",p:"16px",align:"center",justify:"space-between",borderBottom:"1px solid rgba(255, 255, 255, 0.1)",children:[(0,r.jsxs)(u.k,{align:"center",gap:"12px",children:[(0,r.jsx)(a.x,{w:"32px",h:"32px",borderRadius:"full",bg:"rgba(255, 255, 255, 0.2)",display:"flex",align:"center",justify:"center",position:"relative",children:(0,r.jsx)(eN.ff9,{size:"20px",color:"white",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})}),(0,r.jsxs)(D.g,{align:"start",spacing:"0",children:[(0,r.jsx)(c.x,{fontSize:"14px",fontWeight:"600",children:n}),(0,r.jsx)(c.x,{fontSize:"12px",opacity:"0.8",children:"Usually responds in minutes"})]})]}),(0,r.jsx)(C.h,{icon:(0,r.jsx)(et.SV5,{}),variant:"ghost",color:"white",size:"sm",onClick:()=>f(!1),_hover:{bg:"rgba(255, 255, 255, 0.1)"}})]}),(0,r.jsx)(a.x,{flex:"1",p:"20px",overflowY:"auto",h:"400px",children:(0,r.jsxs)(D.g,{align:"start",spacing:"16px",children:[(0,r.jsx)(a.x,{bg:"gray.50",p:"12px 16px",borderRadius:"16px",maxW:"80%",borderBottomLeftRadius:"4px",children:(0,r.jsx)(c.x,{fontSize:"14px",color:"gray.700",children:"\uD83D\uDC4B Hi! I'm here to help you with ".concat(n,". Let me connect you with the property owner.")})}),(0,r.jsx)(a.x,{w:"100%",mt:"20px",children:(0,r.jsxs)(D.g,{spacing:"24px",align:"stretch",children:[(0,r.jsxs)(a.x,{position:"relative",children:[(0,r.jsx)(B.I,{placeholder:"",value:b.name,onChange:e=>y({...b,name:e.target.value}),size:"md",h:"56px",borderRadius:"8px",border:"1px solid #e2e8f0",borderColor:"name"===w?t:"#e2e8f0",bg:"white",_focus:{borderColor:t,boxShadow:"0 0 0 1px ".concat(t),bg:"white"},_hover:{borderColor:t},onFocus:()=>_("name"),onBlur:()=>_(null),pl:"16px",pr:"16px",pt:"name"===w||b.name?"20px":"16px",pb:"name"===w||b.name?"8px":"16px"}),(0,r.jsx)(c.x,{position:"absolute",left:"16px",top:"name"===w||b.name?"8px":"18px",fontSize:"name"===w||b.name?"12px":"16px",color:"name"===w||b.name?t:"#718096",fontWeight:"name"===w||b.name?"600":"400",transition:"all 0.2s ease",pointerEvents:"none",zIndex:"1",children:"Your Name *"})]}),(0,r.jsxs)(a.x,{position:"relative",children:[(0,r.jsx)(B.I,{placeholder:"",value:b.phone,onChange:e=>{let t=e.target.value.replace(/\D/g,"");t.length<=10&&y({...b,phone:t})},size:"md",h:"56px",borderRadius:"8px",border:"1px solid #e2e8f0",borderColor:"phone"===w?t:"#e2e8f0",bg:"white",_focus:{borderColor:t,boxShadow:"0 0 0 1px ".concat(t),bg:"white"},_hover:{borderColor:t},onFocus:()=>_("phone"),onBlur:()=>_(null),pl:"16px",pr:"16px",pt:"phone"===w||b.phone?"20px":"16px",pb:"phone"===w||b.phone?"8px":"16px",type:"tel",maxLength:10}),(0,r.jsx)(c.x,{position:"absolute",left:"16px",top:"phone"===w||b.phone?"8px":"18px",fontSize:"phone"===w||b.phone?"12px":"16px",color:"phone"===w||b.phone?t:"#718096",fontWeight:"phone"===w||b.phone?"600":"400",transition:"all 0.2s ease",pointerEvents:"none",zIndex:"1",children:"Phone Number *"})]}),(0,r.jsx)(x.z,{bg:t,color:"white",size:"md",h:"56px",borderRadius:"8px",fontWeight:"600",_hover:{bg:t,opacity:.9},_active:{transform:"scale(0.98)"},onClick:handleChatSubmit,leftIcon:k?(0,r.jsx)(a.x,{className:"spinner"}):(0,r.jsx)(eN.ff9,{size:"20px"}),isLoading:k,loadingText:"Connecting...",children:k?"Connecting...":"Tell me more!"})]})})]})})]}),(0,r.jsxs)(a.x,{w:h||!S||R?"64px":"auto",h:"64px",bg:t,borderRadius:h||!S||R?"full":"32px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",boxShadow:"0 4px 16px rgba(0, 0, 0, 0.15)",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",_hover:{transform:"scale(1.05)",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.2)"},_active:{transform:"scale(0.95)"},onClick:()=>{h?f(!1):(playNotificationSound(),f(!0))},position:"relative",className:h||!S||R?"":"button-pulse",px:h||!S||R?"0":"20px",minW:h||!S||R?"64px":"200px",children:[(0,r.jsx)(v.U,{spacing:"12px",alignItems:"center",justify:"center",w:"100%",children:h?(0,r.jsx)(et.SV5,{size:"24px",color:"white"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eN.ff9,{size:"24px",color:"white"}),S&&!R&&(0,r.jsx)(c.x,{color:"white",fontSize:"16px",fontWeight:"600",whiteSpace:"nowrap",o
1pacity:S&&!R?1:0,transition:"opacity 0.3s ease",children:"Tell me more!"})]})}),(0,r.jsx)(a.x,{position:"absolute",top:"-6px",right:"-6px",w:"24px",h:"24px",bg:"red.500",borderRadius:"full",display:"flex",alignItems:"center",justifyContent:"center",border:"2px solid white",opacity:h?0:1,transition:"opacity 0.3s ease",pointerEvents:"none",children:(0,r.jsx)(c.x,{fontSize:"12px",color:"white",fontWeight:"600",children:"1"})})]})]})};let eA=[{elementType:"geometry",stylers:[{color:"#E8F5E8"}]},{elementType:"labels.icon",stylers:[{visibility:"simplified"}]},{elementType:"labels.text.fill",stylers:[{color:"#4A5568"}]},{elementType:"labels.text.stroke",stylers:[{color:"#ffffff",weight:2}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#2D3748"}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#C8E6C9"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#A5D6A7"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#E8F5E8"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#718096"}]},{featureType:"poi.business",stylers:[{visibility:"on"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#A5D6A7"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#E2E8F0",weight:1}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#4A5568"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#FED7D7"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#FC8181",weight:1}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#2D3748"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"geometry.stroke",stylers:[{color:"#CBD5E0",weight:1}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#4A5568"}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.local",elementType:"geometry.stroke",stylers:[{color:"#E2E8F0",weight:.5}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#718096"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#E2E8F0"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#CBD5E0"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#90CDF4"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#2B6CB0"}]}],createCustomPropertyMarker=()=>({url:"data:image/svg+xml;charset=UTF-8,".concat(encodeURIComponent('\n    <svg width="40" height="48" viewBox="0 0 40 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n      <!-- Outer glow -->\n      <circle cx="20" cy="20" r="18" fill="rgba(229, 62, 62, 0.2)" />\n      \n      <!-- Main marker body -->\n      <path d="M20 2C11.163 2 4 9.163 4 18c0 13.5 16 26 16 26s16-12.5 16-26c0-8.837-7.163-16-16-16z" \n            fill="#E53E3E" stroke="#ffffff" stroke-width="2"/>\n      \n      <!-- Inner circle -->\n      <circle cx="20" cy="18" r="6" fill="#ffffff"/>\n      \n      <!-- House icon -->\n      <path d="M20 12l-4 4v6h2v-4h4v4h2v-6l-4-4z" fill="#E53E3E"/>\n    </svg>\n  ')),scaledSize:new google.maps.Size(40,48),anchor:new google.maps.Point(20,48)}),renderBookingInterface=e=>{var t,n,o,g,f,v,b,y,k,j,w,_,S,C,N;let{similarPropertiesData:A,basicPgData:D,brandAccentColor:z,brandColor:R,bookingSuccessful:E,leadBookingData:P,convertDateToString:F,setBookingFragment:T,setBookingModalOpen:I,paymentSuccessful:B,leadPaymentData:M,roomData:L,propId:W,SharingTypeTabs:O}=e;return(null==A?void 0:null===(t=A.flat_array)||void 0===t?void 0:t.length)?(0,r.jsxs)(a.x,{sx:{position:"-webkit-sticky",position:"sticky",top:"140px"},children:[(0,r.jsxs)(i.m,{bgGradient:(null==D?void 0:D.brand_color)?void 0:"linear(to-b , #CA2E280D, #001AFF0D)",variant:"unstyled",py:"20px",borderRadius:"30px",align:"center",mb:"20px",bgColor:(null==D?void 0:D.brand_accent_color)?z:void 0,children:[(0,r.jsxs)(l.t,{bg:"#fff",zIndex:2,mx:"20px",p:"13px",borderRadius:"30px",w:"-webkit-max-content",children:[(0,r.jsx)(s.O,{_selected:{color:"#E5EBFF",bg:R},h:"40px",borderRadius:"30px",color:"#2E3337",px:"20px",children:(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:700,children:"I'm interested"})}),(0,r.jsx)(s.O,{h:"40px",_selected:{color:"#E5EBFF",bg:R},borderRadius:"30px",color:"#2E3337",px:"20px",children:(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:700,children:"Reserve Bed"})})]}),(0,r.jsxs)(d.n,{children:[(0,r.jsx)(p.x,{overflow:"scroll",overflowX:"scroll",children:E?(0,r.jsxs)(u.k,{px:"40p
1x",direction:"column",align:"start",gap:"10px",children:[(0,r.jsx)(c.x,{align:"start",children:"✅  ".concat(null==P?void 0:P.visit_type," scheduled on ").concat(F(null==P?void 0:P.visit_date)," ").concat(null==P?void 0:P.visit_time)}),(null==P?void 0:P.room)&&(0,r.jsx)(c.x,{align:"start",children:"✅  Preferred Room : ".concat(null==P?void 0:P.room)}),(0,r.jsx)(c.x,{align:"start",children:"\uD83D\uDC49  You will receive a call from management soon."}),(0,r.jsx)(x.z,{mt:"15px",mx:"auto",px:"20px",w:"-webkit-max-content",onClick:()=>{T(1),I(!0)},variant:"outline",colorScheme:"electricBlue",bg:"#fff",children:"View confirmation"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.x,{mb:"25px",align:"center",children:"\uD83D\uDC49 Real time or Reel time; you choose"}),(0,r.jsxs)(m.M,{columns:{base:1,md:3},gap:"20px",children:[(0,r.jsx)(a.x,{p:"10px",bgColor:"#fff",boxShadow:"12px 12px 24px rgba(12, 12, 12, 0.05)",borderRadius:"10px",cursor:"pointer",onClick:()=>{T(1),I(!0)},children:(0,r.jsxs)(u.k,{align:"center",direction:"column",children:[(0,r.jsx)(h.E,{boxSize:"30px",borderRadius:"full",src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/video-tour-property.png",marginEnd:"8px",alt:"Video Tour",title:"Video Tour"}),(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"500",children:"Live video tour"})]})}),(0,r.jsx)(a.x,{p:"10px",bgColor:"#fff",boxShadow:"12px 12px 24px rgba(12, 12, 12, 0.05)",borderRadius:"10px",cursor:"pointer",onClick:()=>{T(1),I(!0)},children:(0,r.jsxs)(u.k,{align:"center",direction:"column",children:[(0,r.jsx)(h.E,{boxSize:"30px",borderRadius:"full",src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/visit-property.png",marginEnd:"8px",alt:"Visit Property",title:"Visit Property"}),(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"500",children:"Visit Property"})]})}),(0,r.jsx)(a.x,{p:"10px",bgColor:"#fff",boxShadow:"12px 12px 24px rgba(12, 12, 12, 0.05)",borderRadius:"10px",cursor:"pointer",onClick:()=>{T(1),I(!0)},children:(0,r.jsxs)(u.k,{align:"center",direction:"column",children:[(0,r.jsx)(h.E,{boxSize:"30px",borderRadius:"full",src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/phone.png",marginEnd:"8px",alt:"Phone Call",title:"Phone Call"}),(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"500",children:"Phone Call"})]})})]})]})}),(0,r.jsx)(p.x,{children:B?(0,r.jsxs)(u.k,{px:"40px",direction:"column",align:"start",gap:"10px",children:[(0,r.jsx)(c.x,{align:"start",children:"✅  ".concat(null==M?void 0:M.amount," paid as token on ").concat(F(null==P?void 0:P.paid_date))}),(null==P?void 0:P.room)&&(0,r.jsx)(c.x,{align:"start",children:"✅  Preferred Room : ".concat(null==P?void 0:P.room)}),(0,r.jsx)(c.x,{align:"start",children:"\uD83D\uDC49  You will receive a call from management soon."}),(0,r.jsx)(x.z,{mt:"15px",mx:"auto",px:"20px",w:"-webkit-max-content",onClick:()=>{T(2),I(!0)},variant:"outline",colorScheme:R||"eazypgBlue",bg:"#fff",children:"View confirmation"})]}):(0,r.jsxs)(u.k,{direction:"column",px:"40px",gap:"10px",children:[(0,r.jsxs)(u.k,{align:"center",gap:"10px",children:[(0,r.jsx)(et.mny,{size:"24px",flex:1,color:"green"}),(0,r.jsx)(c.x,{flex:10,textAlign:"start",fontWeight:"700",children:"Loved the property? Now reserve only by paying ₹".concat((null==D?void 0:null===(n=D.microsite_data)||void 0===n?void 0:n.min_token_amount)?null==D?void 0:null===(o=D.microsite_data)||void 0===o?void 0:o.min_token_amount:1e3," as token")})]}),(0,r.jsxs)(u.k,{align:"center",gap:"10px",children:[(0,r.jsx)(et.mny,{size:"24px",flex:1,color:"green"}),(0,r.jsx)(c.x,{flex:10,textAlign:"start",fontWeight:"700",children:"Under cancellation, refund of the amount will not be processed. For more info please contact the property supervisor for the same"})]}),(0,r.jsx)(x.z,{mt:"15px",mx:"auto",px:"20px",w:"-webkit-max-content",onClick:()=>{T(2),I(!0)},variant:"outline",colorScheme:R||"eazypgBlue",bg:"#fff",children:"Pay now"})]})})]})]}),!(null==A?void 0:null===(g=A.flat_array)||void 0===g?void 0:g.length)>0&&(0,r.jsxs)(a.x,{maxH:"90vh",h:"fit-content",w:"100%",borderRadius:"5px",bgColor:"#0036F60D",p:"20px",children:[(0,r.jsx)(a.x,{pt:"10px",pb:"10px",bg:"#fff",borderBottom:"1px solid #EBEBEB",borderRadius:"8px 8px 0px 0px",children:(0,r.jsx)(c.x,{pl:"20px",pt:"6px",pb:"6px",lineHeight:"150%",fontSize:["16px","20px"],letterSpacing:"wider",fontWeight:700,color:"#2E3337",children:"Available Rooms"})}),L?(0,r.jsx)(O,{roomData:L,propId:W,sharingTypes:null==L?void 0:null===(v=L.result)||void 0===v?void 0:null===(f=v.data)||void 0===f?void 0:f.sharingTypes,onReserveAction:()=>{T(1),I(!0)},showRooms:null==D?void 0:null===(b=D.microsite_data)||void 0===b?void 0:b.show_rooms}):(0,r.jsx)(O,{roomData:L,propId:W,sharingTypes:[1,2,3],onReserveAction:()=>{T(1),I(!0)},showRooms:null==D?void 0:null===(y=D.microsite_data)||void 0===y?void 0:y.show_rooms})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.m,{bgGradient:(null==D?void 0:D.brand_color)?void 0:"linear(to-b , #CA2E280D, #001AFF0D)",variant:"unstyled",py:"20px",borderRadius:"30px",align:"center",mb:"20px",bgColor:(null==D?void 0:D.brand_accent_color)?z:void 0,children:[(0,r.jsxs)(l.t,{bg:"#fff",zIndex:2,mx:"20px",p:"13px",borderRadius:"30px",w:"-webkit-max-content",children:[(0,r.jsx)(s.O,{_selected:{color:"#E5EBFF",bg:R},h:"40px",borderRadius:"30px",color:"#2E3337",px:"20px",children:(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:700,children:"I'm interested"})}),(0,r.jsx)(s.O,{h:"40px",_selected:{color:"#E5EBFF",bg:R},borderRadius:"30px",color:"#2E3337",px:"20px",children:(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:700,children:"Reserve Bed"})})]}),(0,r.jsxs)(d.n,{children:[(0,r.jsx)(p.x,{overflow:"scroll",overflowX:"scroll",children:E?(0,r.jsxs)(u.k,{px:"40p
1x",direction:"column",align:"start",gap:"10px",children:[(0,r.jsx)(c.x,{align:"start",children:"✅  ".concat(null==P?void 0:P.visit_type," scheduled on ").concat(F(null==P?void 0:P.visit_date)," ").concat(null==P?void 0:P.visit_time)}),(null==P?void 0:P.room)&&(0,r.jsx)(c.x,{align:"start",children:"✅  Preferred Room : ".concat(null==P?void 0:P.room)}),(0,r.jsx)(c.x,{align:"start",children:"\uD83D\uDC49  You will receive a call from management soon."}),(0,r.jsx)(x.z,{mt:"15px",mx:"auto",px:"20px",w:"-webkit-max-content",onClick:()=>{T(1),I(!0)},variant:"outline",colorScheme:"electricBlue",bg:"#fff",children:"View confirmation"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.x,{mb:"25px",align:"center",children:"\uD83D\uDC49 Real time or Reel time; you choose"}),(0,r.jsxs)(m.M,{columns:{base:1,md:3},gap:"20px",children:[(0,r.jsx)(a.x,{p:"10px",bgColor:"#fff",boxShadow:"12px 12px 24px rgba(12, 12, 12, 0.05)",borderRadius:"10px",cursor:"pointer",onClick:()=>{T(1),I(!0)},children:(0,r.jsxs)(u.k,{align:"center",direction:"column",children:[(0,r.jsx)(h.E,{boxSize:"30px",borderRadius:"full",src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/video-tour-property.png",marginEnd:"8px",alt:"Video Tour",title:"Video Tour"}),(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"500",children:"Live video tour"})]})}),(0,r.jsx)(a.x,{p:"10px",bgColor:"#fff",boxShadow:"12px 12px 24px rgba(12, 12, 12, 0.05)",borderRadius:"10px",cursor:"pointer",onClick:()=>{T(1),I(!0)},children:(0,r.jsxs)(u.k,{align:"center",direction:"column",children:[(0,r.jsx)(h.E,{boxSize:"30px",borderRadius:"full",src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/visit-property.png",marginEnd:"8px",alt:"Visit Property",title:"Visit Property"}),(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"500",children:"Visit Property"})]})}),(0,r.jsx)(a.x,{p:"10px",bgColor:"#fff",boxShadow:"12px 12px 24px rgba(12, 12, 12, 0.05)",borderRadius:"10px",cursor:"pointer",onClick:()=>{T(1),I(!0)},children:(0,r.jsxs)(u.k,{align:"center",direction:"column",children:[(0,r.jsx)(h.E,{boxSize:"30px",borderRadius:"full",src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/phone.png",marginEnd:"8px",alt:"Phone Call",title:"Phone Call"}),(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"500",children:"Phone Call"})]})})]})]})}),(0,r.jsx)(p.x,{children:B?(0,r.jsxs)(u.k,{px:"40px",direction:"column",align:"start",gap:"10px",children:[(0,r.jsx)(c.x,{align:"start",children:"✅  ".concat(null==M?void 0:M.amount," paid as token on ").concat(F(null==P?void 0:P.paid_date))}),(null==P?void 0:P.room)&&(0,r.jsx)(c.x,{align:"start",children:"✅  Preferred Room : ".concat(null==P?void 0:P.room)}),(0,r.jsx)(c.x,{align:"start",children:"\uD83D\uDC49  You will receive a call from management soon."}),(0,r.jsx)(x.z,{mt:"15px",mx:"auto",px:"20px",w:"-webkit-max-content",onClick:()=>{T(2),I(!0)},variant:"outline",colorScheme:R||"eazypgBlue",bg:"#fff",children:"View confirmation"})]}):(0,r.jsxs)(u.k,{direction:"column",px:"40px",gap:"10px",children:[(0,r.jsxs)(u.k,{align:"center",gap:"10px",children:[(0,r.jsx)(et.mny,{size:"24px",flex:1,color:"green"}),(0,r.jsx)(c.x,{flex:10,textAlign:"start",fontWeight:"700",children:"Loved the property? Now reserve only by paying ₹".concat((null==D?void 0:null===(k=D.microsite_data)||void 0===k?void 0:k.min_token_amount)?null==D?void 0:null===(j=D.microsite_data)||void 0===j?void 0:j.min_token_amount:1e3," as token")})]}),(0,r.jsxs)(u.k,{align:"center",gap:"10px",children:[(0,r.jsx)(et.mny,{size:"24px",flex:1,color:"green"}),(0,r.jsx)(c.x,{flex:10,textAlign:"start",fontWeight:"700",children:"Under cancellation, refund of the amount will not be processed. For more info please contact the property supervisor for the same"})]}),(0,r.jsx)(x.z,{mt:"15px",mx:"auto",px:"20px",w:"-webkit-max-content",onClick:()=>{T(2),I(!0)},variant:"outline",colorScheme:R||"eazypgBlue",bg:"#fff",children:"Pay now"})]})})]})]}),!(null==A?void 0:null===(w=A.flat_array)||void 0===w?void 0:w.length)>0&&(0,r.jsxs)(a.x,{sx:{position:"-webkit-sticky",position:"sticky",top:"120px"},maxH:"90vh",h:"fit-content",w:"100%",borderRadius:"5px",bgColor:"#0036F60D",p:"20px",children:[(0,r.jsx)(a.x,{pt:"10px",pb:"10px",bg:"#fff",borderBottom:"1px solid #EBEBEB",borderRadius:"8px 8px 0px 0px",children:(0,r.jsx)(c.x,{pl:"20px",pt:"6px",pb:"6px",lineHeight:"150%",fontSize:["16px","20px"],letterSpacing:"wider",fontWeight:700,color:"#2E3337",children:"Available Rooms"})}),L?(0,r.jsx)(O,{roomData:L,propId:W,sharingTypes:null==L?void 0:null===(S=L.result)||void 0===S?void 0:null===(_=S.data)||void 0===_?void 0:_.sharingTypes,onReserveAction:()=>{T(1),I(!0)},showRooms:null==D?void 0:null===(C=D.microsite_data)||void 0===C?void 0:C.show_rooms}):(0,r.jsx)(O,{roomData:L,propId:W,sharingTypes:[1,2,3],onReserveAction:()=>{T(1),I(!0)},showRooms:null==D?void 0:null===(N=D.microsite_data)||void 0===N?void 0:N.show_rooms})]})]})};function PropertyPage(e){let{user:t,basicPgData:n,reqAgentData:Z,propId:Y}=e,ej=(0,Q.useRouter)(),eS=(0,g.p)();Y=Y||ej.query.site;let eC=ej.asPath,eD=(null==n?void 0:n.brand_color)||"#0038FF",ez=(null==n?void 0:n.brand_accent_color)||"#0038FF1A";(null==Y?void 0:Y.length)!==11||isNaN(Y.substring(0,10))||(Y=Y.toUpperCase());let{isLoaded:eR}=(0,V.Ji)({googleMapsApiKey:(0,el.k)(),libraries:el.D}),eE=String(Z).includes("Mobile"),{isOpen:eP,onOpen:eF,onClose:eT}=(0,f.q)(),[eI,eB]=(0,en.useState)(null),[eM,eL]=(0,en.useState)(null),[eW,eO]=(0,en.useState)(""),[eq,eG]=(0,en.useState)(""),[eU,eH]=(0,en.useState)(!1),[eV,eZ]=(0,en.useState)(2),[eK,eY]=(0,en.useState)(!1),[eX,eQ]=(0,en.useState)(!1),[eJ,e$]=(0,en.useState)(!1),[e0,e1]=(0,en.useState)(!1),[e2,e5]=(0,en.useState)(1),[e4,e3]=(0,en.useState)(),[e6,e8]=(0,en.useState)(),[e7,e9]=(0,en.useState)(!1),[te,tt]=(0,en.useState)(!1),[tn,tr]=(0,en.useState)(null),[to,ta]=(0,en.useState)((null==n?void 0:null===(t6=n.microsite_data)||void 0===t6?void 0:t6.faqs)?null==n?void 0:null===(t8=n.microsite_data)||void 0===t8?void 0:t8.faqs:[]),[ti,tl]=(0,en.useState)(!1),[ts,tc]=(0,en.useState)(null),[td,tp]=(0,en.useState)(),[tu,tx]=(0,en.useState)(),[tm,th]=(0,en.useState)(!1),[tg,tf]=(0,en.useState)(!1),[tv,tb]=(0,en.useState)(!1),[ty,tk]=(0,en.useState)(!1),[tj,tw]=(0,en.useState)(!1),[t_,tS]=(0,en.useState)(null),[tC,tN]=(0,en.useState)(!1),[tA,tD]=(0,en.useState)(0),[tz,tR]=(0,en.useState)([]),[tE,tP]=(0,en.useState)(null),[tF,tT]=(0,en.useState)(null),tI=(0,en.useRef)(null),tB=(0,en.useRef)(null),tM=(0,en.useRef)(null),tL=(0,en.useRef)(null),tW=(0,en.useRef)(null),tO=(0,en.useRef)(null),tq=(0,en.useRef)(null),tG=(0,en.useRef)(null),[tU,tH]=(0,en.useState)(0),tV=(0,en.useRef)(),[tZ,tK]=(0,en.useState)([]),fetchPropertyDetails=async()=>{let e=await eb.siteSdk.data.getProperty(Y);return{data:{property:e,updated_at:null}}},{data:tY,error:tX}=(0,ei.ZP)(Y?"propertyDetails":null,fetchPropertyDetails),[tQ,tJ]=(0,en.useState)(null),[t$,t0]=(0,en.useState)(null);(0,en.useEffect)(()=>{let fetchNearbyLocationData=async()=>
1{if(tZ.length<=0&&(null==n?void 0:n.id))try{var e,t,r,o,a,i;let l=await K().post("".concat("https://apiv2.rentok.com","/property/getNearByData"),{property_id:null==n?void 0:n.id}),s=[];if((null==l?void 0:null===(e=l.data)||void 0===e?void 0:e.status)===200){for(let e of["utilities","transit","food","shopping"])if(null==l?void 0:null===(r=l.data)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t[e]){let t=[];null==l||null===(i=l.data)||void 0===i||null===(a=i.data)||void 0===a||null===(o=a[e])||void 0===o||o.map(e=>{e.name&&e.user_ratings_total&&e.user_ratings_total>20&&t.push({name:e.name,icon:e.icon,distance:"".concat((e.distance/1e3).toFixed(2)," km away"),location:e.geometry.location})}),(null==t?void 0:t.length)>0&&s.push({header:e.charAt(0).toUpperCase()+e.slice(1),values:t})}tK(s),tJ(null==l?void 0:l.data),t0(null)}}catch(e){console.error("Error fetching nearby location data:",e),t0(e)}};fetchNearbyLocationData()},[null==n?void 0:n.id,tZ.length]),(0,en.useEffect)(()=>{let fetchRoomData=async()=>{let e;try{e=await eb.siteSdk.flow.getBookableRooms(Y)}catch(e){eS({title:"Error fetching room data",description:"Error fetching room data",status:"error"});return}tc({result:{data:{rooms:e.rooms,sharingTypes:e.available_sharing_type}}});try{let e=null==n?void 0:n.pg_name;to.length<=0&&ta([{question:"Is ".concat(e," available for rent in ").concat(null==n?void 0:n.city,"? "),answer:"Yes, ".concat(e,' is available to rent. You can also check out other property options from the "Similar Properties" section above.')},{question:"Is ".concat(e," the cheapest stay for students?"),answer:"".concat(e," is one of the cheapest and most affordable stays for students. It also has a wide variety of amenities and services included.")},{question:"Is ".concat(e," safe for ").concat((0,ek.rF)(null==n?void 0:n.pg_available_for)," and ").concat(Number(null==n?void 0:n.rent_ends_to)>=1e3?" under the price of Rs ".concat(Number(null==n?void 0:n.rent_ends_to).toLocaleString("en-IN"),"/-"):" at an affordable price","?"),answer:"Yes, ".concat(e," is very safe for ").concat((0,ek.rF)(null==n?void 0:n.pg_available_for)," and is also very affordable. Our multi-tier security systems, even though they vary from property to property, usually include CCTV networks with facial recognition, biometric access, a 24X7 security crew at each residence, and other security measures. ")},{question:"Will food be provided at this PG?",answer:"Food plans across different residencies may differ. You can check the particulars in the 'Food Menu' section. Yes, you don't have to cook yourself if food is included in the property!"},{question:"Will I have to do my own laundry in  ".concat(e,"?"),answer:"Even though, laundry facility varies from property to property, it is available in most of our properties. To be super sure, make sure to check the amenities section of the property above."},{question:"What does the rental agreement look like?",answer:"You have to pay the monthly property rent to confirm your booking and move in. Other specifics vary from property to property."},{question:"Is ".concat(e," furnished?"),answer:"Yes, most of our rooms in ".concat(e," are furnished. To check for a specific room, please check in the amenities section of that specific room page.")},{question:"Is there an attached bathroom provided on the property?",answer:"Even though, attach washroom facility varies from room to room, it is available in most of our properties. To be super sure, make sure to check the amenities section of the property above."},{question:"Is there a kitchen and balcony on the property?",answer:"Even though, kitchen and balcony availability varies from room to room, it is available in most of our properties. To be super sure, make sure to check the amenities section of the property above."},{question:"Is two and four-wheeler parking available in ".concat(e,"?"),answer:"Even though parking facilities vary from residence to residence, most of them offer parking spaces for two-wheelers and four-wheelers and you shouldn't face an issue with it. Please check the amenities section to further check the availability. "}])}catch(e){console.log("error generating faq"),console.log(e)}};fetchRoomData()},[Y]);let fetchWishlistedProperty=async()=>await K().post("".concat("https://apiv2.rentok.com","/micrositeUsers/checkPropertyWishlistStatus"),{property_id:null==n?void 0:n.id,user_id:t.uid}),{data:t1,error:t2}=(0,ei.ZP)(t?["/micrositeUsers/checkPropertyWishlistStatus"]:null,fetchWishlistedProperty);(null==t1?void 0:null===(t7=t1.data)||void 0===t7?void 0:t7.status)!==200||eJ||e$(!0),(0,en.useEffect)(()=>
1{let fetchFoodData=async()=>{tk(!0);try{let e=await K().post("".concat("https://apiv2.rentok.com","/property/fetchFoodData"),{pg_id:null==n?void 0:n.pg_id,pg_number:Number(null==n?void 0:n.pg_number)});tp(null==e?void 0:e.data),tk(!1)}catch(e){tp(null),tk(!1)}};n&&(null==n?void 0:n.pg_id)&&(null==n?void 0:n.pg_number)&&fetchFoodData()},[n]),(0,en.useEffect)(()=>{let fetchRentPackages=async()=>{var e;let t=await K().post("".concat("https://apiv2.rentok.com","/dueType/fetchPropertyDueTypesForCF"),{pg_id:null==n?void 0:n.pg_id,pg_number:Number(null==n?void 0:n.pg_number)});(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.status)===200&&tx(null==t?void 0:t.data)};(null==n?void 0:n.pg_id)&&(null==n?void 0:n.pg_number)&&fetchRentPackages()},[null==n?void 0:n.pg_id,null==n?void 0:n.pg_number]);let fetchSimilarProperties=async()=>{let e=await K().request({method:"POST",url:"".concat("https://apiv2.rentok.com","/property/fetchSimilarProperties"),data:{pg_id:null==n?void 0:n.pg_id,property_id:null==n?void 0:n.id},headers:{"Content-Type":"application/json"}});return null==e?void 0:e.data},{data:t5,error:t4}=(0,ei.ZP)(Y?"fetchSimilarProperties":null,fetchSimilarProperties),t3=(null==t5?void 0:t5.flat_array)&&(null==t5?void 0:null===(t9=t5.flat_array)||void 0===t9?void 0:t9.length)>0,fetchUserBookingData=async e=>await eb.siteSdk.flow.getBookingStatus({user_id:t.uid,property_id:null==n?void 0:n.id});var t6,t8,t7,t9,ne,nt,nn,nr,no,na,ni,nl,ns,nc,nd,np,nu,nx,nm,nh,ng,nf,nv,nb,ny,nk,nj,nw,n_,nS,nC,nN,nA,nD,nz,nR,nE,nP,nF,nT,nI,nB,nM,nL,nW,nO,nq,nG,nU,nH,nV,nZ,nK,nY,nX,nQ,nJ,n$,n0,n1,n2,n5,n4,n3,n6,n8,n7,n9,re,rt,rn,rr,ro,ra,ri,rl,rs,rc,rd,rp,ru,rx,rm,rh,rg,rf,rv,rb,ry,rk,rj,rw,r_,rS,rC,rN,rA,rD,rz,rR,rE,rP,rF,rT,rI,rB,rM,rL,rW,rO,rq,rG,rU,{data:rH,error:rV}=(0,ei.ZP)((null==t?void 0:t.uid)&&(null==n?void 0:n.id)?"fetchUserBookingData":null,fetchUserBookingData);rH&&rH.leads&&rH.leads.length>0&&rH.leads.map(e=>{e.amount&&e.payment_key&&e.paid_date&&!e7&&(e9(!0),(e.amount!=(null==e6?void 0:e6.amount)||e.payment_key!=(null==e6?void 0:e6.payment_key)||e.paid_date!=(null==e6?void 0:e6.paid_date))&&e8({amount:e.amount,payment_key:e.payment_key,paid_date:e.paid_date,room:e.room,...e})),e.visit_date&&e.visit_time&&e.visit_type&&!te&&(tt(!0),(e.visit_date!=(null==e4?void 0:e4.visit_date)||e.visit_time!=(null==e4?void 0:e4.visit_time)||e.visit_type!=(null==e4?void 0:e4.visit_type))&&e3({visit_date:e.visit_date,visit_time:e.visit_time,visit_type:e.visit_type,room:e.room,...e}))});let rZ=(null==tu?void 0:null===(nt=tu.billArray)||void 0===nt?void 0:null===(ne=nt.filter(e=>101===e.billingType&&e.isEnabled))||void 0===ne?void 0:ne.sort((e,t)=>String(e.name).toLocaleLowerCase().includes("rent ")?-1:1))||[],rK=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],{amenitiesOccuerenceArray:rY}=(0,ek.jY)(null==ts?void 0:null===(nr=ts.result)||void 0===nr?void 0:null===(nn=nr.data)||void 0===nn?void 0:nn.rooms),rX=null==rY?void 0:rY.map(e=>e.amenity),rQ=[{header:"Common",values:null==tY?void 0:null===(nl=tY.data)||void 0===nl?void 0:null===(ni=nl.property)||void 0===ni?void 0:null===(na=ni.microsite_data)||void 0===na?void 0:null===(no=na.common_amenities)||void 0===no?void 0:no.split(",")},{header:"Room",values:rX},{header:"Services",values:null==tY?void 0:null===(np=tY.data)||void 0===np?void 0:null===(nd=np.property)||void 0===nd?void 0:null===(nc=nd.microsite_data)||void 0===nc?void 0:null===(ns=nc.services_amenities)||void 0===ns?void 0:ns.split(",")},{header:"Food",values:null==tY?void 0:null===(nh=tY.data)||void 0===nh?void 0:null===(nm=nh.property)||void 0===nm?void 0:null===(nx=nm.microsite_data)||void 0===nx?void 0:null===(nu=nx.food_amenities)||void 0===nu?void 0:nu.split(",")}];n&&(ey.kL.name=(null==n?void 0:n.owner_name)||"Owner Name",ey.kL.profileImg=(null==n?void 0:null===(rG=n.microsite_data)||void 0===rG?void 0:rG.owner_img)||"",ey.kL.description=(null==n?void 0:null===(rU=n.microsite_data)||void 0===rU?void 0:rU.owner_description)||"");let rJ=(null==n?void 0:n.lat)&&(null==n?void 0:n.long)?{lat:Number(null==n?void 0:n.lat),lng:Number(null==n?void 0:n.long)}:{};async function calculateRoute(){if(""===tV.current.value)return;let e=new google.maps.DirectionsService;try{let t=await e.route({origin:"".concat(rJ.lat,",").concat(rJ.lng),destination:tV.current.value,travelMode:google.maps.TravelMode.DRIVING});t&&(eL(t),eO(t.routes[0].legs[0].distance.text),eG(t.routes[0].legs[0].duration.text))}catch(e){}}let onShareButtonClick=e=>{var t,n;e.preventDefault(),(null===(t=navigator)||void 0===t?void 0:t.share)&&(null===(n=navigator)||void 0===n||n.share({url:"".concat(ej.asPath)}))};(0,en.useEffect)(()=>{let e=ej.asPath.split("#")[1];switch(e){case"rules":scrollDown(tO);break;case"food":scrollDown(tM);break;case"amenities":scrollDown(tB);break;case"about":scrollDown(tI);break;case"renting-terms":scrollDown(tL);break;case"rent-packages":scrollDown(tW);break;case"location":scrollDown(tq);break;case"similar-properties":scrollDown(tG);break;default:console.log("Default case caught for routingIndex ",e)}},[ej.asPath,ts,tu]);let onWishlistClick=async e=>{e.preventDefault();let r=!eJ;e$(r),await K().post("".concat("https://apiv2.rentok.com","/micrositeUsers/wishlistProperty"),{property_id:null==n?void 0:n.id,user_id:t.uid,flag:r}).then(e=>{var t;null==e||null===(t=e.data)||void 0===t||t.status}).catch(e=>{e$(!r),console.warn(e)})},updateBookingSuccessfulState=e=>{te!==e&&tt(e)},handleLogoutClick=async e=>{e.preventDefault(),t&&(await K().request({url:"/api/logout",method:"POST",data:{user:t},headers:{"Content-Type":"application/json"}}),ej.reload())},getMenuBox=(e,t,n,o)=>{let i=null!=n&&!!n.from_time&&null!=n&&!!n.to_time,l="",s=Number(n.from_time.split(":")[0]);l=12===s?"".concat(n.from_time," PM"):s<12?"".concat(n.from_time," AM"):"".concat(s-12,":").concat(n.from_time.split(":")[1]," PM");let d="",p=Number(n.to_time.split(":")[0]);return d=12===p?"".concat(n.to_time," PM"):p<12?"".concat(n.to_time," AM"):"".concat(p-12,":").concat(n.to_time.split(":")[1]," PM"),(0,r.jsx)(a.x,{p:["5px","20px"],children:(0,r.jsxs)(a.x,{bgColor:"#fff",boxShadow:"12px 12px 24px rgba(12, 12, 12, 0.05)",borderRadius:"8px",p:"5px",h:"100%",pb:"30px",opacity:i?1:.5,children:[(0,r.jsxs)(u.k,{direction:"row",align:"center",children:[(0,r.jsx)(h.E,{src:o,boxSize:["48px","64px"],marginEnd:["5px","10px"],alt:e,title:e}),(0,r.jsxs)(u.k,{direction:"column",children:[(0,r.jsx)(c.x,{fontSize:["14px","16px"],fontWeight:500,children:e}),(0,r.jsx)(c.x,{fontSize:["10px","12px"],fontWeight:400,children:i?"".concat(l," - ").concat(d):"Mess closed"})]})]}),(0,r.jsx)(a.x,{borderRadius:"20px",mt:"10px",align:"center",children:(0,r.jsx)(c.x,{fontSize:["14px","16px"],children:(0,r.jsx)("b",{children:i?t||"N/A":"Mess closed"})})})]})})},r$={position:"absolute",zIndex:2,top:"calc(50% - 15px)",width:30,height:30,cursor:"pointer"},scrollDown=e=>{try{window.scrollTo({top:e.current.offsetTop-120,behavior:"smooth"}),"aboutPropertyRef"===e&&eY(!0)}catch(e){console.log("Error while scrolling down")}};(0,en.useEffect)(()=>{let handleScroll=()=>{window.scrollY>280&&window.scrollY<1e3&&!ti&&tl(!0),window.scrollY<=280&&tl(!1)};return handleScroll(),window.addEventListener("scroll",handleScroll),()=>{window.removeEventListener("scroll",handleScroll)}},[]),(0,en.useEffect)(()=>{let e=new IntersectionObserver((e,t)=>
1{for(let t of e)t.isIntersecting&&tl(!1)});e.observe(tG.current)},[]),(0,en.useEffect)(()=>{let e=new IntersectionObserver((e,t)=>{for(let t of e)t.isIntersecting&&tl(!0)});e.observe(tq.current)},[]),(0,en.useEffect)(()=>{let handleKeyPress=e=>{tC&&("ArrowLeft"===e.key&&tA>0?tD(tA-1):"ArrowRight"===e.key&&tA<tz.length-1?tD(tA+1):"Escape"===e.key&&tN(!1))};return tC&&window.addEventListener("keydown",handleKeyPress),()=>{window.removeEventListener("keydown",handleKeyPress)}},[tC,tA,tz.length]),(0,en.useEffect)(()=>{let e;return tm?(tb(!1),e=setTimeout(()=>{tb(!0)},100)):(tb(!1),tf(!1)),()=>{e&&clearTimeout(e)}},[tm]),(0,en.useEffect)(()=>{let checkPathNameOnPageLoad=async()=>{if(String(eC).includes("?")){var e;let t=null===(e=eC.split("?")[1])||void 0===e?void 0:e.split("&"),n={};for(let e of t)if(e.includes("=")){let t=e.split("=");n[t[0]]=t[1]}else break;if(n&&Object.keys(n).includes("orderId"))try{await eb.siteSdk.flow.confirmPayment({order_id:n.orderId}),eS({title:"Amount paid and lead saved successfully",status:"success",duration:2e3})}catch(e){}let r=window.location.protocol+"//"+window.location.host+window.location.pathname.split("?")[0];window.history.pushState({path:r},"",r)}};checkPathNameOnPageLoad()},[eC]);let r0={"@context":"http://schema.org","@type":"LocalBusiness",name:"Rental Properties".concat((null==n?void 0:n.city)?" in ".concat(null==n?void 0:n.city):""),image:null==n?void 0:null===(ng=n.images[0])||void 0===ng?void 0:ng.url,url:"https://rentok.com/property/".concat(Y),address:{"@type":"PostalAddress",addressLocality:"".concat((null==n?void 0:n.address_line_1)?null==n?void 0:n.address_line_1:""," ").concat((null==n?void 0:n.address_line_2)?null==n?void 0:n.address_line_2:""," ").concat(null==n?void 0:n.city)},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.5",ratingCount:"57",bestRating:"5"}};return(0,r.jsxs)("div",{children:[(0,r.jsxs)(X(),{children:[(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,r.jsx)("title",{children:(null==n?void 0:null===(nf=n.microsite_data)||void 0===nf?void 0:nf.meta_title)?null==n?void 0:null===(nv=n.microsite_data)||void 0===nv?void 0:nv.meta_title:(null==n?void 0:n.pg_name)?null==n?void 0:n.pg_name:"Rentok Rental Property"}),(0,r.jsx)("link",{rel:"shortcut icon",href:null==n?void 0:null===(nb=n.microsite_data)||void 0===nb?void 0:nb.logo_url}),(0,r.jsx)("link",{rel:"icon",href:null==n?void 0:null===(ny=n.microsite_data)||void 0===ny?void 0:ny.logo_url}),(0,r.jsx)("meta",{name:"theme-color",content:eD}),(null==n?void 0:n.images)&&(0,r.jsx)("meta",{property:"og:image",content:(null==n?void 0:null===(nk=n.microsite_data)||void 0===nk?void 0:nk.meta_image_url)?null==n?void 0:null===(nj=n.microsite_data)||void 0===nj?void 0:nj.meta_image_url:null==n?void 0:null===(nw=n.images[0])||void 0===nw?void 0:nw.url}),(0,r.jsx)("meta",{property:"title",content:(null==n?void 0:null===(n_=n.microsite_data)||void 0===n_?void 0:n_.meta_title)?null==n?void 0:null===(nS=n.microsite_data)||void 0===nS?void 0:nS.meta_title:(null==n?void 0:n.pg_name)?null==n?void 0:n.pg_name:"Rentok Rental Property"}),(0,r.jsx)("meta",{property:"description",content:(null==n?void 0:null===(nC=n.microsite_data)||void 0===nC?void 0:nC.meta_description)?null==n?void 0:null===(nN=n.microsite_data)||void 0===nN?void 0:nN.meta_description:(null==n?void 0:null===(nA=n.microsite_data)||void 0===nA?void 0:nA.about)?null==n?void 0:null===(nD=n.microsite_data)||void 0===nD?void 0:nD.about:"".concat(null==n?void 0:n.pg_name," is a well maintained property with tenants currently living in the property. The property is located in the roots of ").concat((null==n?void 0:n.city)||"city"," and is completely available for ").concat((null==n?void 0:n.pg_available_for)?(0,ek.rF)(null==n?void 0:n.pg_available_for):"everyone"," and is surrounded with all kinds of markets and transport facilities. This a smart property and all the complaints and rent collection is done through smart tenant app which is given to tenant upon joining.")}),(0,r.jsx)("meta",{property:"og:title",content:(null==n?void 0:null===(nz=n.microsite_data)||void 0===nz?void 0:nz.meta_title)?null==n?void 0:null===(nR=n.microsite_data)||void 0===nR?void 0:nR.meta_title:(null==n?void 0:n.pg_name)?null==n?void 0:n.pg_name:"Rentok Rental Property"}),(0,r.jsx)("meta",{property:"og:description",content:(null==n?void 0:null===(nE=n.microsite_data)||void 0===nE?void 0:nE.meta_description)?null==n?void 0:null===(nP=n.microsite_data)||void 0===nP?void 0:nP.meta_description:(null==n?void 0:null===(nF=n.microsite_data)||void 0===nF?void 0:nF.about)?null==n?void 0:null===(nT=n.microsite_data)||void 0===nT?void 0:nT.about:"".concat(null==n?void 0:n.pg_name," is a well maintained property with tenants currently living in the property. The property is located in the roots of ").concat((null==n?void 0:n.city)||"city"," and is completely available for ").concat((null==n?void 0:n.pg_available_for)?(0,ek.rF)(null==n?void 0:n.pg_available_for):"everyone"," and is surrounded with all kinds of markets and transport facilities. This a smart property and all the complaints and rent collection is done through smart tenant app which is given to tenant upon joining.")}),(0,r.jsx)("meta",{property:"og:url",content:"https://rentok.com/property/".concat(Y)}),(0,r.jsx)("meta",{property:"og:type",content:"Website"}),(0,r.jsx)("link",{rel:"canonical",href:"https://rentok.com/property/".concat(Y)})]}),(0,r.jsx)(ew(),{id:"root-json-ld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"http://schema.org","@type":"WebSite",name:"RentOk",url:"https://www.rentok.com/"})}}),(0,r.jsx)(ew(),{id:"business-json-ld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(r0)}}),(0,r.jsxs)(a.x,{position:"sticky",top:"0",bg:(null==n?void 0:n.brand_accent_color)||"#FFFFFF",zIndex:5,py:"10px",px:["10px","10px"],boxShadow:"8px 4px 16px rgba(1, 1, 1, 0.05)",children:[(0,r.jsxs)(u.k,{direction:"row",mx:"auto",maxW:"1400px",children:[(0,r.jsx)(u.k,{align:"center",marginEnd:["0px","10px"],display:(null==n?void 0:null===(nI=n.microsite_data)||void 0===nI?void 0:nI.logo_url)?"inherit":"none",children:(0,r.jsx)(h.E,{src:(null==n?void 0:null===(nB=n.microsite_data)||void 0===nB?void 0:nB.logo_url)||"",maxBlockSize:"44px",alt:"".concat(null==n?void 0:n.pg_name," Logo"),title:"".concat(null==n?void 0:n.pg_name," Logo"),objectFit:"contain",maxWidth:["40px","100px"]})}),(0,r.jsxs)(u.k,{align:"start",direction:"column",children:[(0,r.jsx)(v.U,{pl:["5px","0px","0px","0px"],children:(0,r.jsx)(b.X,{as:"h1",fontSize:["16px","24px"],children:null==n?void 0:n.pg_name})}),(null==n?void 0:null===(nM=n.microsite_data)||void 0===nM?void 0:nM.show_gender)&&((null==tY?void 0:tY.pg_available_for)||(null==tY?void 0:null===(nL=tY.data)||void 0===nL?void 0:nL.pg_available_for))&&(0,r.jsxs)(a.x,{alignSelf:"center",alignContent:"center",textAlign:"center",bgColor:"#0038FF",textColor:"white",pl:"10px",pr:"10px",borderRadius:"full",fontSize:["12px","14px"],my:"auto",ml:"10px",children:["Available For: ",(0,ek.rF)(null==tY?void 0:tY.pg_available_for)]})]}),(0,r.jsx)(y.L,{}),(0,r.jsxs)(u.k,{align:"center",pl:["20px","0px","0px","0px"],children:[!eE&&(t&&t.phone?eJ?(0,r.jsx)(x.z,{variant:"outline",rightIcon:(0,r.jsx)(et.M_L,{color:"red"}),textColor:eD,marginEnd:"15px",fontSize:["14px","16px"],onClick:e=>onWishlistClick(e),borderColor:eD,children:"Wishlisted"}):(0,r.jsx)(x.z,{variant:"outline",rightIcon:(0,r.jsx)(et.lo,{}),textColor:eD,marginEnd:"15px",fontSize:["14px","16px"],onClick:e=>onWishlistClick(e),borderColor:eD,children:"Add to wishlist"}):(0,r.jsx)(ex.Z,{style:{"margin-inline-end":"15px",borderColor:(null==n?void 0:n.brand_color)?eD:void 0},variant:"outline",rightIcon:(0,r.jsx)(et.lo,{}),textColor:eD,marginEnd:"15px",fontSize:["14px","16px"],loginText:"Add to wishlist",postAction:{url:"".concat("https://apiv2.rentok.com","/micrositeUsers/wishlistProperty"),apiData:{property_id:null==n?void 0:n.id,user_id:null==t?void 0:t.uid,flag:!0}},brandColor:(null==n?void 0:n.brand_color)?eD:void 0,propId:Y})),!eE&&(0,r.jsx)(x.z,{variant:"outline",rightIcon:(0,r.jsx)(et.x2q,{}),textColor:eD,marginEnd:"15px",fontSize:["14px","16px"],onClick:e=>onShareButtonClick(e),borderColor:eD,children:"Share this"}),t&&t.phone?(0,r.jsx)("div",{children:(0,r.jsx)(k.v,{children:e=>{let{isOpen:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j.j,{bg:"#fff",isActive:t,as:x.z,rightIcon:(0,r.jsx)(o.v,{}),children:(0,r.jsx)(w.q,{src:"",boxSize:"40px"})}),(0,r.jsxs)(_.q,{children:[(0,r.jsx)(S.s,{onClick:e=>window.open("/dashboard","_self"),children:"Profile"}),(0,r.jsx)(S.s,{onClick:e=>window.open("/dashboard?index=1","_self"),children:"My bookings"}),(0,r.jsx)(S.s,{onClick:e=>window.open("/dashboard?index=2","_self"),children:"My wishlist"}),(0,r.jsx)(S.s,{onClick:e=>handleLogoutClick(e),children:"Logout"})]})]})}})}):(0,r.jsx)(ex.Z,{style:{backgroundColor:eD,color:"#fff"},brandColor:(null==n?void 0:n.brand_color)?eD:void 0})]})]}),(0,r.jsxs)(u.k,{maxW:"1400px",mx:{base:"0px",md:"auto"},px:["0px","20px","50px","100px"],display:ti?"flex":"none",overflowX:{base:"scroll",md:"none"},gap:"10px",align:"start",css:{"&::-webkit-scrollbar":{display:"none"}},children:[(0,r.jsx)(x.z,{px:"10px",minWidth:"max-content",variant:"ghost",onClick:()=>{scrollDown(tI)},children:"About"}),(0,r.jsx)(x.z,{px:"10px",minWidth:"max-content",variant:"ghost",onClick:()=>scrollDown(tL),children:"Renting Terms"}),(0,r.jsx)(x.z,{px:"10px",minWidth:"max-content",variant:"ghost",onClick:()=>scrollDown(tB),children:"Amenities"}),td&&(null==td?void 0:td.status)===200&&(0,r.jsx)(x.z,{px:"10px",minWidth:"max-content",variant:"ghost",onClick:()=>
1scrollDown(tM),children:"Food Menu"}),(0,r.jsx)(x.z,{px:"10px",minWidth:"max-content",variant:"ghost",onClick:()=>scrollDown(tW),display:(null==rZ?void 0:rZ.length)>0?"inherit":"none",children:"Rent Packages"}),(0,r.jsx)(x.z,{px:"10px",minWidth:"max-content",variant:"ghost",onClick:()=>scrollDown(tO),children:"Property Rules"}),(0,r.jsx)(x.z,{px:"10px",minWidth:"max-content",variant:"ghost",onClick:()=>scrollDown(tq),children:"Location"})]})]}),(0,r.jsxs)(a.x,{pl:["0px","20px","50px","100px"],pr:["0px","20px","50px","100px"],alignSelf:"center",alignContent:"center",margin:"0 auto",maxWidth:"1400px",children:[eE&&(0,r.jsxs)(a.x,{position:"relative",textAlign:"center",children:[(0,r.jsx)(ea.Carousel,{autoPlay:!0,showThumbs:!1,infiniteLoop:!0,onClickItem:()=>{var e;tw(!0);let t=Array.from(new Set(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.map(e=>e.section||"General").filter(Boolean)));t.length>0&&tS(t[0])},renderArrowNext:(e,t,n)=>t&&(0,r.jsx)(C.h,{size:"40px",borderRadius:"full",onClick:e,title:n,style:{...r$,right:15},children:(0,r.jsx)($.Kzi,{})}),renderArrowPrev:(e,t,n)=>t&&(0,r.jsx)(C.h,{size:"40px",borderRadius:"full",onClick:e,title:n,style:{...r$,left:15},children:(0,r.jsx)($.BDM,{})}),showIndicators:!((null==n?void 0:null===(nW=n.images)||void 0===nW?void 0:nW.length)>6),children:(null==n?void 0:n.images)&&(null==n?void 0:null===(nO=n.images)||void 0===nO?void 0:nO.length)>0?null==n?void 0:n.images.map((e,t)=>(0,r.jsx)(a.x,{w:"100vw",h:"250px",children:(0,r.jsx)(e_.Z,{width:"100vw",height:"250px",fit:"cover",src:e.url,fallback:(0,r.jsx)(N.O,{w:"100vw",h:"250px"}),alt:"".concat(null==n?void 0:n.pg_name," Photos - ").concat(t),title:"".concat(null==n?void 0:n.pg_name," Photos - ").concat(t)})},t)):(0,r.jsx)(a.x,{children:(0,r.jsx)(e_.Z,{width:"100vw",height:"250px",src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite/sample/sample-image-bedroom-5.webp",alt:"Property Sample Image",title:"Property Sample Image",fallback:(0,r.jsx)(N.O,{w:"100vw",h:"250px"})})})}),(null==n?void 0:n.images)&&(null==n?void 0:null===(nq=n.images)||void 0===nq?void 0:nq.length)>1&&(0,r.jsx)(a.x,{alignSelf:"center",alignContent:"center",textAlign:"center",bgColor:"#3e3e3e80",textColor:"white",h:"25px",pl:"10px",pr:"10px",borderRadius:"full",position:"absolute",bottom:"16px",left:"16px",zIndex:"2",children:"+".concat((null==n?void 0:null===(nG=n.images)||void 0===nG?void 0:nG.length)-1," Images")}),(0,r.jsx)(a.x,{position:"absolute",bottom:"0px",w:"100%",h:"50px",bgGradient:"linear(to-t , #000000, #00000000)",zIndex:"1"})]}),(0,r.jsx)(u.k,{w:"100%",direction:["column","row","row","row"],children:eE&&(0,r.jsx)(a.x,{children:(0,r.jsx)(a.x,{px:["20px","0px","0px","0px"],children:n.microsite_data&&(0,r.jsxs)("div",{children:[(0,r.jsx)(y.L,{h:"10px"}),(0,r.jsx)(A.U,{startingHeight:20,in:eK,children:(0,r.jsx)(c.x,{whiteSpace:"pre-wrap",children:null===(nU=n.microsite_data)||void 0===nU?void 0:nU.about})}),(0,r.jsx)(a.x,{size:"sm",variant:"link",fontWeight:"700",colorScheme:"slate",textDecoration:"underline",onClick:()=>eY(!eK),w:"auto",children:eK?(0,r.jsx)(c.x,{w:"-webkit-max-content",fontSize:"12px",color:"electricBlue",children:"View less"}):(0,r.jsx)(c.x,{color:"electricBlue",w:"-webkit-max-content",fontSize:"12px",children:"View more"})}),(0,r.jsxs)(u.k,{pt:"10px",children:[eE?t&&t.phone?eJ?(0,r.jsx)(C.h,{marginEnd:"15px",borderRadius:"full",onClick:e=>onWishlistClick(e),children:(0,r.jsx)(et.M_L,{color:"red"})}):(0,r.jsx)(C.h,{marginEnd:"15px",borderRadius:"full",onClick:e=>onWishlistClick(e),children:(0,r.jsx)(et.lo,{})}):(0,r.jsx)(ex.Z,{loginText:(0,r.jsx)(et.lo,{}),style:{"border-radius":"100%","margin-inline-end":"15px"},isIconButton:!0,postAction:{url:"".concat("https://apiv2.rentok.com","/micrositeUsers/wishlistProperty"),apiData:{property_id:null==n?void 0:n.id,user_id:null==t?void 0:t.uid,flag:!0}}}):t&&t.phone?eJ?(0,r.jsx)(x.z,{variant:"outline",rightIcon:(0,r.jsx)(et.M_L,{color:"red"}),textColor:eD,marginEnd:"15px",fontSize:["14px","16px"],onClick:e=>onWishlistClick(e),children:"Wishlisted"}):(0,r.jsx)(x.z,{variant:"outline",rightIcon:(0,r.jsx)(et.lo,{}),textColor:eD,marginEnd:"15px",fontSize:["14px","16px"],onClick:e=>onWishlistClick(e),borderColor:eD,borderWidth:"1px",children:"Add to wishlist"}):(0,r.jsx)(ex.Z,{style:{"margin-inline-end":"15px"},variant:"outline",rightIcon:(0,r.jsx)(et.lo,{}),textColor:eD,marginEnd:"15px",fontSize:["14px","16px"],loginText:"Add to wishlist",postAction:{url:"".concat("https://apiv2.rentok.com","/micrositeUsers/wishlistProperty"),apiData:{property_id:null==n?void 0:n.id,user_id:null==t?void 0:t.uid,flag:!0}}}),eE?(0,r.jsx)(C.h,{onClick:e=>onShareButtonClick(e),borderRadius:"full",borderColor:eD,borderWidth:"1px",children:(0,r.jsx)(et.x2q,{})}):(0,r.jsx)(x.z,{variant:"outline",rightIcon:(0,r.jsx)(et.x2q,{}),textColor:eD,fontSize:["14px","16px"],onClick:e=>onShareButtonClick(e),children:"Share this"})]})]})})})}),(0,r.jsx)(y.L,{h:["10px","40px","40px","40px"]}),!eE&&(0,r.jsxs)(v.U,{w:"100%",children:[(0,r.jsx)(e_.Z,{onClick:()=>{var e;tw(!0);let t=Array.from(new Set(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.map(e=>
1e.section||"General").filter(Boolean)));t.length>0&&tS(t[0])},h:"350px",w:"600px",maxW:"35%",fit:"cover",src:(null==n?void 0:null===(nH=n.images[0])||void 0===nH?void 0:nH.url)||"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite/sample/sample-image-hall-1.webp",fallback:(0,r.jsx)(N.O,{h:"350px",w:"600px",maxW:"35%",borderRadius:"10px"}),borderRadius:"10px",alt:"".concat(null==n?void 0:n.pg_name," Photo 1"),title:"".concat(null==n?void 0:n.pg_name," Photo 1")}),(0,r.jsx)(e_.Z,{onClick:()=>{var e;tw(!0);let t=Array.from(new Set(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.map(e=>e.section||"General").filter(Boolean)));t.length>0&&tS(t[0])},h:"350px",w:"600px",maxW:"35%",fit:"cover",src:(null==n?void 0:null===(nV=n.images[1])||void 0===nV?void 0:nV.url)||"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite/sample/sample-image-bedroom-1.webp",fallback:(0,r.jsx)(N.O,{h:"350px",w:"600px",maxW:"35%",borderRadius:"10px"}),borderRadius:"10px",alt:"".concat(null==n?void 0:n.pg_name," Photo 2"),title:"".concat(null==n?void 0:n.pg_name," Photo 2")}),(0,r.jsxs)(D.g,{direction:"column",w:"100%",maxW:"30%",children:[(0,r.jsxs)(v.U,{w:"100%",children:[(0,r.jsx)(e_.Z,{onClick:()=>{var e;tw(!0);let t=Array.from(new Set(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.map(e=>e.section||"General").filter(Boolean)));t.length>0&&tS(t[0])},h:"170px",w:"50%",fit:"cover",src:(null==n?void 0:null===(nZ=n.images[2])||void 0===nZ?void 0:nZ.url)||"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite/sample/sample-image-bedroom-5.webp",fallback:(0,r.jsx)(N.O,{h:"170px",w:"50%",borderRadius:"10px"}),borderRadius:"10px",alt:"".concat(null==n?void 0:n.pg_name," Photo 3"),title:"".concat(null==n?void 0:n.pg_name," Photo 3")}),(0,r.jsx)(a.x,{w:"50%",children:(0,r.jsx)(e_.Z,{onClick:()=>{var e;tw(!0);let t=Array.from(new Set(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.map(e=>e.section||"General").filter(Boolean)));t.length>0&&tS(t[0])},h:"170px",w:"100%",fit:"cover",src:(null==n?void 0:null===(nK=n.images[3])||void 0===nK?void 0:nK.url)||"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite/sample/sample-image-bedroom-4.webp",fallback:(0,r.jsx)(N.O,{h:"170px",w:"100%",borderRadius:"10px"}),fallbackStrategy:"onError",borderRadius:"10px",alt:"".concat(null==n?void 0:n.pg_name," Photo 4"),title:"".concat(null==n?void 0:n.pg_name," Photo 4")})})]}),(0,r.jsxs)(v.U,{w:"100%",children:[(0,r.jsx)(e_.Z,{onClick:()=>{var e;tw(!0);let t=Array.from(new Set(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.map(e=>e.section||"General").filter(Boolean)));t.length>0&&tS(t[0])},h:"170px",w:"50%",fit:"cover",src:(null==n?void 0:null===(nY=n.images[4])||void 0===nY?void 0:nY.url)||"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite/sample/sample-image-bedroom-3.webp",fallback:(0,r.jsx)(N.O,{h:"170px",w:"50%",borderRadius:"10px"}),borderRadius:"10px",alt:"".concat(null==n?void 0:n.pg_name," Photo 5"),title:"".concat(null==n?void 0:n.pg_name," Photo 5")}),(0,r.jsxs)(a.x,{position:"relative",w:"50%",textAlign:"center",children:[(0,r.jsx)(e_.Z,{onClick:()=>{var e;tw(!0);let t=Array.from(new Set(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.map(e=>e.section||"General").filter(Boolean)));t.length>0&&tS(t[0])},h:"170px",w:"100%",fit:"cover",src:(null==n?void 0:null===(nX=n.images[5])||void 0===nX?void 0:nX.url)||"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite/sample/sample-image-bedroom-2.webp",fallback:(0,r.jsx)(N.O,{h:"170px",w:"100%",borderRadius:"10px"}),borderRadius:"10px",alt:"".concat(null==n?void 0:n.pg_name," Photo 6"),title:"".concat(null==n?void 0:n.pg_name," Photo 6")}),(null==n?void 0:n.images)&&(null==n?void 0:null===(nQ=n.images)||void 0===nQ?void 0:nQ.length)>6&&(0,r.jsxs)(a.x,{position:"absolute",bottom:"0px",left:"0px",zIndex:2,h:"170px",w:"100%",bg:"#00000080",borderRadius:"10px",color:"#fff",padding:"50px 0",onClick:()=>{var e;tw(!0);let t=Array.from(new Set(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.map(e=>
1e.section||"General").filter(Boolean)));t.length>0&&tS(t[0])},children:[(0,r.jsx)(c.x,{fontSize:"20px",fontWeight:"700",children:"+ ".concat((null==n?void 0:null===(nJ=n.images)||void 0===nJ?void 0:nJ.length)-6)}),(0,r.jsx)(c.x,{fontSize:"16px",children:"Images"})]})]})]})]})]}),(0,r.jsx)(y.L,{h:["10px","20px","40px","40px"]}),(0,r.jsxs)(u.k,{direction:["column","column","row","row"],gap:"40px",children:[(0,r.jsxs)(u.k,{direction:"column",w:["100%","100%","50%","50%"],children:[eE&&!(null==t5?void 0:null===(n$=t5.flat_array)||void 0===n$?void 0:n$.length)>0&&(0,r.jsxs)(a.x,{children:[(0,r.jsx)(ep.Z,{heading:"Available Rooms",brandAccentColor:ez}),(null==ts?void 0:null===(n1=ts.result)||void 0===n1?void 0:null===(n0=n1.data)||void 0===n0?void 0:n0.sharingTypes)?(0,r.jsx)(u.k,{overflowX:"scroll",css:{"::-webkit-scrollbar":{display:"none"}},maxW:"100vw",pl:"10px",children:(null==ts?void 0:null===(n5=ts.result)||void 0===n5?void 0:null===(n2=n5.data)||void 0===n2?void 0:n2.sharingTypes)&&(null==ts?void 0:null===(n3=ts.result)||void 0===n3?void 0:null===(n4=n3.data)||void 0===n4?void 0:n4.sharingTypes.map((e,t)=>{var o,a,i,l,s,c,d;return(0,r.jsx)(eh.Z,{sharingData:{...ey.rG,roomData:ts,availableFloorRooms:(0,ev.J)(null==ts?void 0:null===(a=ts.result)||void 0===a?void 0:null===(o=a.data)||void 0===o?void 0:o.rooms,"",1).availableFloorRooms,availableFloors:(0,ev.J)(null==ts?void 0:null===(l=ts.result)||void 0===l?void 0:null===(i=l.data)||void 0===i?void 0:i.rooms,"",1).availableFloors,propId:Y,showAvailabilityButton:!0,sharingType:e,sharingTypes:null==ts?void 0:null===(c=ts.result)||void 0===c?void 0:null===(s=c.data)||void 0===s?void 0:s.sharingTypes,sharingTypeIndex:t},onReserveAction:()=>{e5(1),e1(!0)},showRooms:null==n?void 0:null===(d=n.microsite_data)||void 0===d?void 0:d.show_rooms},t)}))}):(0,r.jsx)(u.k,{m:"20px",children:(0,r.jsxs)(u.k,{border:"1px solid #DFDEDE",direction:"column",borderRadius:"8px",minW:"300px",w:"100%",children:[(0,r.jsx)(N.O,{h:"40px",mb:"10px"}),(0,r.jsx)(z.i,{color:"#ECEFF1",mt:"5px",mb:"15px"}),(0,r.jsxs)(u.k,{px:"15px",direction:"column",children:[(0,r.jsx)(N.O,{h:"60px",mb:"5px"}),(0,r.jsx)(R.N,{h:"60px"}),(0,r.jsx)(z.i,{mt:"5px",mb:"5px"}),(0,r.jsx)(N.O,{h:"30px",borderRadius:"8px",mt:"5px",mb:"10px"})]})]})})]}),(0,r.jsxs)(E.K,{ref:tI,id:"about",display:{base:"none",md:"inherit"},children:[(0,r.jsx)(ep.Z,{heading:"About Property",id:"about",brandAccentColor:ez}),(null==n?void 0:null===(n6=n.microsite_data)||void 0===n6?void 0:n6.about)&&(0,r.jsxs)(a.x,{m:"20px",colorScheme:"electricBlue",children:[(0,r.jsx)(A.U,{startingHeight:46,in:eK,colorScheme:"electricBlue",color:"electricBlue",children:(0,r.jsx)(c.x,{whiteSpace:"pre-wrap",children:null==n?void 0:null===(n8=n.microsite_data)||void 0===n8?void 0:n8.about})}),(0,r.jsx)(a.x,{size:"sm",variant:"link",fontWeight:"700",textDecoration:"underline",onClick:()=>eY(!eK),w:"auto",colorScheme:"electricBlue",children:eK?(0,r.jsx)(c.x,{color:"electricBlue",w:"-webkit-max-content",fontSize:"12px",children:"View less"}):(0,r.jsx)(c.x,{w:"-webkit-max-content",fontSize:"12px",color:"electricBlue",children:"View more"})})]})]}),(0,r.jsxs)(E.K,{ref:tL,id:"renting-terms",children:[(0,r.jsx)(ep.Z,{"margin-top":["20px","20px"],heading:"Renting Terms",brandAccentColor:ez}),(0,r.jsxs)(D.g,{spacing:0,px:"20px",align:"stretch",children:[(0,r.jsxs)(u.k,{py:"10px",justify:"space-between",align:"center",children:[(0,r.jsxs)(u.k,{align:"center",children:[(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/rent-range.webp",alt:"Rent Range Icon",title:"Rent Range Icon",h:"24px",w:"24px",mr:"5px"}),(0,r.jsx)(c.x,{children:"Rent"})]}),(0,r.jsx)(c.x,{textAlign:"end",children:Number(null==n?void 0:n.rent_starts_from)>0?Number(null==n?void 0:n.rent_starts_from)===Number(null==n?void 0:n.rent_ends_to)?"Rs ".concat(null===(n7=Number(null==n?void 0:n.rent_starts_from))||void 0===n7?void 0:n7.toLocaleString(),"/-"):"Rs ".concat(null===(n9=Number(null==n?void 0:n.rent_starts_from))||void 0===n9?void 0:n9.toLocaleString(),"/- to Rs ").concat(null===(re=Number(null==n?void 0:n.rent_ends_to))||void 0===re?void 0:re.toLocaleStr
1ing()):"N/A"})]}),(0,r.jsxs)(u.k,{py:"10px",justify:"space-between",align:"center",children:[(0,r.jsxs)(u.k,{align:"center",children:[(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/security-deposit.webp",alt:"Security Deposit Icon",title:"Security Deposit Icon",h:"24px",w:"24px",mr:"5px"}),(0,r.jsx)(c.x,{children:"Security Deposit"})]}),(0,r.jsx)(c.x,{textAlign:"end",children:(0,ek.ec)(null==n?void 0:null===(rt=n.microsite_data)||void 0===rt?void 0:rt.security_deposit).text})]}),(0,r.jsxs)(u.k,{py:"10px",justify:"space-between",align:"center",children:[(0,r.jsxs)(u.k,{align:"center",children:[(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/lock-in-period.webp",alt:"Lockin Period Icon",title:"Lockin Period Icon",h:"24px",w:"24px",mr:"5px"}),(0,r.jsx)(c.x,{children:"Lockin Period"})]}),(0,r.jsx)(c.x,{textAlign:"end",children:(null==n?void 0:n.locking_period)?"".concat(null==n?void 0:n.locking_period," months"):"Not found"})]}),(0,r.jsxs)(u.k,{py:"10px",justify:"space-between",align:"center",children:[(0,r.jsxs)(u.k,{align:"center",children:[(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/notice-period.webp",alt:"Notice Period Icon",title:"Notice Period Icon",h:"24px",w:"24px",mr:"5px"}),(0,r.jsx)(c.x,{children:"Notice Period"})]}),(0,r.jsx)(c.x,{textAlign:"end",children:(null==n?void 0:null===(rn=n.microsite_data)||void 0===rn?void 0:rn.notice_period)?"".concat(null==n?void 0:null===(rr=n.microsite_data)||void 0===rr?void 0:rr.notice_period," days"):"Not found"})]}),(null==n?void 0:n.electricity_unit_cost)&&(0,r.jsxs)(u.k,{py:"10px",justify:"space-between",align:"center",children:[(0,r.jsxs)(u.k,{align:"center",children:[(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/electricity-per-unit.webp",alt:"Electricity Unit Icon",title:"Electricity Unit Icon",h:"24px",w:"24px",mr:"5px"}),(0,r.jsx)(c.x,{children:"Electricity Unit"})]}),(0,r.jsx)(c.x,{textAlign:"end",children:"Rs ".concat(null==n?void 0:n.electricity_unit_cost," per unit")})]})]})]}),(0,r.jsxs)(E.K,{ref:tB,id:"amenities",children:[(0,r.jsx)(ep.Z,{"margin-top":["20px","20px"],heading:"Property Amenities",brandAccentColor:ez}),(0,r.jsx)(ef.Z,{tabsData:rQ,heading:"Property Amenities",buttonText:"View all amenities",collapsedChildren:(0,r.jsx)(eu.Z,{tabsData:rQ,moreFlag:!1,brandColor:eD,brandAccentColor:ez}),brandColor:eD,brandAccentColor:ez,expandedChildren:(0,r.jsx)(a.x,{children:null==rQ?void 0:rQ.map((e,t)=>{var n,o,i;return(0,r.jsxs)(a.x,{mb:"40px",children:[(0,r.jsx)(c.x,{px:"24px",pb:"20px",fontSize:["18px","22px"],fontWeight:"600",color:"#222222",borderBottom:"1px solid #EBEBEB",mb:"24px",children:"".concat(null==e?void 0:e.header," (").concat((null==e?void 0:e.values)?null==e?void 0:null===(n=e.values)||void 0===n?void 0:n.length:0,")")}),(0,r.jsx)(m.M,{px:"24px",columns:[2,3,4],spacing:"16px",children:(null==e?void 0:e.values)&&(null==e?void 0:null===(o=e.values)||void 0===o?void 0:o.length)>0?null==e?void 0:null===(i=e.values)||void 0===i?void 0:i.map((e,t)=>(0,r.jsxs)(a.x,{bg:"#ffffff",border:"1px solid #DDDDDD",borderRadius:"12px",p:"20px",minH:"100px",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",transition:"all 0.2s ease",_hover:{transform:"translateY(-2px)",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)",borderColor:eD||"#0038FF"},cursor:"default",children:[(0,r.jsx)(h.E,{src:(0,ek.m_)(e),boxSize:"24px",alt:"".concat(e," icon"),title:"".concat(e," icon"),mb:"12px"}),(0,r.jsx)(c.x,{fontSize:"14px",fontWeight:"500",color:"#222222",lineHeight:"1.4",children:e})]},t)):(0,r.jsxs)(a.x,{bg:"#f7f7f7",border:"1px solid #DDDDDD",borderRadius:"12px",p:"20px",minH:"100px",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",opacity:.6,children:[(0,r.jsx)(h.E,{src:(0,ek.m_)(""),boxSize:"24px",alt:"No amenities icon",title:"No amenities icon",mb:"12px"}),(0,r.jsx)(c.x,{fontSize:"14px",fontWeight:"500",color:"#717171",lineHeight:"1.4",children:"No amenities!"})]})})]},t)})})})]}),ty?(0,r.jsxs)(a.x,{children:[(0,r.jsx)(N.O,{h:"30px"}),(0,r.jsx)(R.N,{})]}):(null==td?void 0:td.status)===200?(0,r.jsxs)(a.x,{ref:tM,id:"food",children:[(0,r.jsx)(ep.Z,{"margin-top":["20px","20px"],heading:"Food Me
1nu",brandAccentColor:ez}),(0,r.jsxs)(i.m,{variant:"unstyled",mt:["14px","17px"],defaultIndex:0===new Date().getDay()?6:new Date().getDay()-1,children:[(0,r.jsx)(l.t,{ml:"16px",overflowX:"scroll",css:{"::-webkit-scrollbar":{display:"none"}},children:null==rK?void 0:rK.map((e,t)=>(0,r.jsx)(s.O,{marginEnd:["16px"],bg:"#FFFFFF",border:"1px solid #C8C8C8",borderRadius:"8px",_selected:{bg:"rgba(0, 56, 255, 0.05)",border:"2px solid #0038FF",borderRadius:"8px"},children:e},t))}),(0,r.jsx)(d.n,{children:null==td?void 0:null===(ra=td.data)||void 0===ra?void 0:null===(ro=ra.menu)||void 0===ro?void 0:ro.map((e,t)=>{var n,o,i,l,s,c;return(0,r.jsx)(p.x,{bgGradient:"linear(to-r, #9796F033, #FBC7D433)",borderRadius:"10px",m:["20px","26px"],children:(null==td?void 0:null===(n=td.data)||void 0===n?void 0:n.is_active)&&(null==td?void 0:null===(o=td.data)||void 0===o?void 0:o.mess_timing_array[0])?(0,r.jsxs)(m.M,{columns:2,children:[getMenuBox("Breakfast",e.breakfast,null===(i=td.data)||void 0===i?void 0:i.mess_timing_array[0],"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/indian-breakfast.webp"),getMenuBox("Lunch",e.lunch,null===(l=td.data)||void 0===l?void 0:l.mess_timing_array[1],"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/indian-lunch.webp"),getMenuBox("Snacks",e.snacks,null===(s=td.data)||void 0===s?void 0:s.mess_timing_array[2],"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/indian-snacks.webp"),getMenuBox("Dinner",e.dinner,null===(c=td.data)||void 0===c?void 0:c.mess_timing_array[3],"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/indian-dinner.webp")]}):(0,r.jsx)(a.x,{children:"This property does not provide mess"})},t)})})]})]}):(0,r.jsx)(a.x,{}),(0,r.jsxs)(E.K,{ref:tW,id:"rent-packages",display:(null==rZ?void 0:rZ.length)>0?"inherit":"none",children:[(0,r.jsx)(ep.Z,{"margin-top":["20px","20px"],heading:"Rent Packages",brandAccentColor:ez}),(0,r.jsx)(ef.Z,{brandColor:eD,brandAccentColor:ez,tabsData:rQ,heading:"Rent Packages",buttonText:"View all packages",collapsedChildren:rZ?(0,r.jsx)(P.r,{templateColumns:"repeat(5, 1fr)",px:"20px",children:rZ.sort((e,t)=>e.billingType>t.billingType?1:-1).sort((e,t)=>e.amount>t.amount?-1:1).map((e,t)=>{if(4>Number(t)&&101===e.billingType&&e.isEnabled)return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F.P,{py:"10px",colSpan:3,children:"✅  ".concat(e.name)}),(0,r.jsx)(F.P,{py:"10px",colSpan:2,textAlign:"end",children:101===e.billingType?(0,r.jsx)(c.x,{fontWeight:"700",children:"₹ ".concat(Number(e.amount).toLocaleString("en-IN"),"/-")}):(0,r.jsx)(c.x,{children:"Variable"})})]})})}):"No bill packages found!",expandedChildren:(0,r.jsx)(a.x,{px:"24px",pb:"20px",mt:"20px",mb:"200px",children:rZ&&rZ.length>0?(0,r.jsx)(D.g,{spacing:"20px",align:"stretch",children:rZ.map((e,t)=>101===e.billingType&&e.isEnabled?(0,r.jsx)(a.x,{bg:"#ffffff",border:"1px solid #DDDDDD",borderRadius:"12px",p:"20px",transition:"all 0.2s ease",_hover:{transform:"translateY(-1px)",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.08)",borderColor:eD||"#0038FF"},children:(0,r.jsxs)(u.k,{align:"center",justify:"space-between",children:[(0,r.jsxs)(u.k,{align:"center",flex:1,children:[(0,r.jsx)(a.x,{w:"6px",h:"6px",borderRadius:"full",bg:"#00C851",mr:"12px",flexShrink:0}),(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"500",color:"#222222",lineHeight:"1.4",children:e.name})]}),(0,r.jsx)(a.x,{textAlign:"right",flexShrink:0,children:101===e.billingType?(0,r.jsxs)(c.x,{fontSize:"18px",fontWeight:"600",color:"#222222",children:["₹",Number(e.amount).toLocaleString("en-IN")]}):(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"500",color:"#717171",children:"Variable"})})]})},t):null)}):(0,r.jsx)(a.x,{bg:"#f7f7f7",border:"1px solid #DDDDDD",borderRadius:"12px",p:"40px",textAlign:"center",children:(0,r.jsx)(c.x,{fontSize:"16px",color:"#717171",fontWeight:"500",children:"No bill packages found!"})})})})]}),n?(0,r.jsxs)(a.x,{ref:tO,id:"rules",children:[(0,r.jsx)(ep.Z,{"margin-top":["20px","20px"],heading:"Property Rules",brandAccentColor:ez}),(0,r.jsx)(ef.Z,{brandColor:eD,brandAccentColor:ez,heading:"Property Rules",buttonText:"View other rules",collapsedChildren:(0,r.jsx)(a.x,{mb:"20px",children:null===(rl=n.microsite_data)||void 0===rl?void 0:null===(ri=rl.property_rules)||void 0===ri?void 0:ri.map((e,t)=>{if(t<4)return(0,r.jsxs)(u.k,{direction:"row",pl:"20px",pt:["10px","16px"],children:[(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/ez_tick_twotone.png",borderEndRadius:"full",boxSize:"24px",alt:"Property Rule Icon",title:"Property Rule Icon"}),(0,r.jsx)(c.x,{pl:"8px",children:e})]},t)})}),expandedChildren:(0,r.jsx)(a.x,{px:"24px",pb:"20px",mt:"20px",children:(null===(rs=n.microsite_data)||void 0===rs?void 0:rs.property_rules)&&(null===(rc=n.microsite_data)||void 0===rc?void 0:rc.property_rules.length)>0?(0,r.jsx)(D.g,{spacing:"16px",align:"stretch",children:null===(rp=n.microsite_data)||void 0===rp?void 0:null===(rd=rp.property_rules)||void 0===rd?void 0:rd.map((e,t)=>(0,r.jsx)(a.x,{bg:"#ffffff",border:"1px solid #DDDDDD",borderRadius:"12px",p:"18px 20px",transition:"all 0.2s ease",_hover:{transform:"translateY(-1px)",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.08)",borderColor:eD||"#0038FF"}
1,children:(0,r.jsx)(u.k,{align:"flex-start",gap:"14px",children:(0,r.jsx)(c.x,{fontSize:"15px",fontWeight:"600",color:"#222222",lineHeight:"1.5",flex:1,children:e})})},t))}):(0,r.jsx)(a.x,{bg:"#f7f7f7",border:"1px solid #DDDDDD",borderRadius:"12px",p:"40px",textAlign:"center",children:(0,r.jsx)(c.x,{fontSize:"16px",color:"#717171",fontWeight:"500",children:"No property rules found"})})})})]}):(0,r.jsx)(c.x,{children:"No rules found"}),(0,r.jsxs)(E.K,{ref:tq,id:"location",children:[(0,r.jsx)(ep.Z,{"margin-top":["20px","20px"],"margin-bottom":"15px",heading:"Search by location",brandAccentColor:ez}),rJ&&eR?(0,r.jsxs)(a.x,{mb:"20px",borderRadius:"10px",border:"1px solid #CCCCCC",children:[(0,r.jsx)(u.k,{direction:"column",children:(0,r.jsx)(V.F2,{restrictions:{country:"in"},onPlaceChanged:e=>{calculateRoute()},children:(0,r.jsxs)(T.B,{borderRadius:"10px",border:"1px solid #CCCCCC",children:[(0,r.jsx)(I.Z,{children:(0,r.jsx)(J.k9l,{})}),(0,r.jsx)(B.I,{w:"full",placeholder:"Check distance from property's location",type:"text",ref:tV}),(0,r.jsx)(I.x,{onClick:calculateRoute,_hover:{cursor:"pointer"},children:(0,r.jsx)(et.RB5,{my:"auto",align:"center",justify:"center"})})]})})}),eW&&eq?(0,r.jsxs)(v.U,{pl:"40px",children:[(0,r.jsxs)(c.x,{marginEnd:"20px",children:["Distance : ",(0,r.jsx)("b",{children:eW})]}),(0,r.jsxs)(c.x,{pr:"10px",children:["Duration : ",(0,r.jsx)("b",{children:eq})]}),(0,r.jsx)(y.L,{}),(0,r.jsx)(C.h,{bg:"#00000000",icon:(0,r.jsx)(eo.xg7,{}),isRound:!0,onClick:()=>{eI.panTo(rJ),eI.setZoom(15),eL(null),eO(""),eG(""),tV.current.value=""},color:"red"})]}):(0,r.jsx)(r.Fragment,{}),(0,r.jsxs)(a.x,{h:"300px",position:"relative",children:[(0,r.jsxs)(V.b6,{center:rJ,zoom:15,mapContainerStyle:{width:"100%",height:"100%"},onLoad:e=>eB(e),options:{streetViewControl:!1,mapTypeControl:!1,keyboardShortcuts:!1,styles:eA,zoomControl:!0,zoomControlOptions:{position:null===(rx=google.maps)||void 0===rx?void 0:null===(ru=rx.ControlPosition)||void 0===ru?void 0:ru.RIGHT_CENTER,style:null===(rh=google.maps)||void 0===rh?void 0:null===(rm=rh.ZoomControlStyle)||void 0===rm?void 0:rm.SMALL},fullscreenControl:!0,fullscreenControlOptions:{position:null===(rf=google.maps)||void 0===rf?void 0:null===(rg=rf.ControlPosition)||void 0===rg?void 0:rg.TOP_RIGHT},gestureHandling:"cooperative",clickableIcons:!0,mapTypeId:null===(rb=google.maps)||void 0===rb?void 0:null===(rv=rb.MapTypeId)||void 0===rv?void 0:rv.ROADMAP},children:[(0,r.jsx)(V.Jx,{position:rJ,title:"".concat(null==n?void 0:n.pg_name," - Property Location"),icon:createCustomPropertyMarker()}),eM&&(0,r.jsx)(V.tH,{directions:eM,options:{polylineOptions:{strokeColor:"#38A169",strokeWeight:4,strokeOpacity:.8},suppressMarkers:!1}})]}),(0,r.jsx)(x.z,{leftIcon:(0,r.jsx)(eo.$Yg,{}),colorScheme:"blue",variant:"solid",size:["sm","md"],position:"absolute",bottom:"15px",left:"15px",onClick:()=>{let e;if(!rJ)return;let{lat:t,lng:r}=rJ,o=encodeURIComponent((null==n?void 0:n.pg_name)||"Property Location"),a=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,i=/Android/.test(navigator.userAgent);a?(e="maps://maps.apple.com/?q=".concat(o,"&ll=").concat(t,",").concat(r),setTimeout(()=>{window.location.href="https://maps.google.com/?q=".concat(t,",").concat(r,"&label=").concat(o)},500)):e=i?"geo:".concat(t,",").concat(r,"?q=").concat(t,",").concat(r,"(").concat(o,")"):"https://maps.google.com/?q=".concat(t,",").concat(r,"&label=").concat(o),window.open(e,"_blank")},bg:ez||"#0038FF",color:"white",boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.2)",_hover:{bg:ez?"".concat(ez,"dd"):"#0030dd",transform:"translateY(-2px)",boxShadow:"0px 4px 12px rgba(0, 0, 0, 0.3)"},transition:"all 0.2s ease",zIndex:1,children:"Navigate to Property"})]})]}):(0,r.jsxs)(E.K,{children:[(0,r.jsx)(N.O,{h:"40px"}),(0,r.jsx)(N.O,{h:"40px"}),(0,r.jsx)(N.O,{h:"277px"})]})]}),tZ?(0,r.jsxs)(a.x,{children:[(0,r.jsx)(ep.Z,{"margin-top":["20px","20px"],heading:"Nearby location",brandAccentColor:ez}),(0,r.jsx)(ef.Z,{heading:"Nearby places",buttonText:"View other nearby places",brandColor:(null==n?void 0:n.brand_color)?eD:void 0,brandAccentColor:(null==n?void 0:n.brand_accent_color)?ez:void 0,collapsedChildren:(0,r.jsxs)(i.m,{variant:"unstyled",mt:["14px","17px"],children:[(0,r.jsx)(l.t,{ml:"16px",overflowX:"scroll",css:{"::-webkit-scrollbar":{display:"none"}},children:null==tZ?void 0:tZ.map((e,t)=>(0,r.jsx)(s.O,{marginEnd:["16px"],bg:"#FFFFFF",border:"1px solid #C8C8C8",borderRadius:"8px",_selected:{bg:"rgba(0, 56, 255, 0.05)",border:"2px s
1olid #0038FF",borderRadius:"8px"},children:(0,r.jsx)(c.x,{casing:"capitalize",children:e.header})},t))}),(0,r.jsx)(d.n,{children:null==tZ?void 0:tZ.map((e,t)=>{var n;return(0,r.jsx)(p.x,{children:null===(n=e.values)||void 0===n?void 0:n.map((e,t)=>{if(t<4)return(0,r.jsxs)(u.k,{direction:"row",pb:["12px","20px"],alignContent:"center",alignItems:"center",children:[(0,r.jsx)(h.E,{src:e.icon,boxSize:"20px",borderRadius:"full",alt:"".concat(e.name),title:"".concat(e.name)}),(0,r.jsxs)(a.x,{display:"flex",flexDirection:"row",w:"100%",children:[(0,r.jsx)(c.x,{pl:"8px",children:e.name}),(0,r.jsx)(y.L,{}),(0,r.jsx)(c.x,{pl:"8px",children:e.distance})]})]},t)})},t)})})]}),expandedChildren:tZ.map((e,t)=>{var n,o;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.x,{p:"20px",fontSize:["16px","20px"],fontWeight:"700",casing:"capitalize",children:"".concat(e.header," (").concat(null===(n=e.values)||void 0===n?void 0:n.length,")")}),(0,r.jsx)(m.M,{p:"20px",columns:[1],spacing:"5px",children:null===(o=e.values)||void 0===o?void 0:o.map((e,t)=>(0,r.jsxs)(u.k,{direction:"row",pb:["12px","20px"],alignContent:"center",alignItems:"center",children:[(0,r.jsx)(h.E,{src:e.icon,boxSize:"20px",borderRadius:"full",alt:"".concat(e.name),title:"".concat(e.name)}),(0,r.jsxs)(a.x,{display:"flex",flexDirection:"row",w:"100%",children:[(0,r.jsx)(c.x,{pl:"8px",children:e.name}),(0,r.jsx)(y.L,{}),(0,r.jsx)(c.x,{pl:"8px",children:e.distance})]})]},t))})]})})})]}):"",(0,r.jsx)(a.x,{boxShadow:"0px 0px 20px rgba(0, 0, 0, 0.05)",children:(0,r.jsx)(ManagerProfileCard,{ownerData:ey.kL,brandColor:(null==n?void 0:n.brand_color)?eD:void 0,brandAccentColor:(null==n?void 0:n.brand_accent_color)?ez:void 0})}),eE&&(0,r.jsx)(a.x,{sx:{position:"-webkit-sticky",position:"sticky",bottom:"0"},w:"100vw",align:"center",children:e7?(0,r.jsxs)(u.k,{w:"100vw",bgColor:"#D8F5D8",px:"10px",py:"10px",align:"center",onClick:()=>{e5(2),e1(!0)},children:[(0,r.jsx)(ee.Reu,{size:"24px",color:"green",marginEnd:"10px"}),(0,r.jsx)(c.x,{ml:"10px",children:"Rs ".concat(e6.amount," paid on ").concat((0,ek.xN)(e6.paid_date))}),(0,r.jsx)(y.L,{}),(0,r.jsx)(et.mGl,{size:"24px"})]}):te?(0,r.jsxs)(u.k,{w:"100vw",bgColor:"#D8F5D8",px:"10px",py:"10px",align:"center",onClick:()=>{e5(1),e1(!0)},children:[(0,r.jsx)(ee.Reu,{size:"24px",color:"green",marginEnd:"10px"}),(0,r.jsx)(c.x,{ml:"10px",align:"start",children:"".concat(e4.visit_type," scheduled on ").concat((0,ek.xN)(e4.visit_date)," at ").concat(e4.visit_time)}),(0,r.jsx)(y.L,{}),(0,r.jsx)(et.mGl,{size:"24px"})]}):(0,r.jsxs)(v.U,{p:"10px",bg:"#fff",children:[(0,r.jsxs)(x.z,{w:"100%",fontSize:"18px",fontWeight:"700",h:"48px",bg:(null==n?void 0:n.brand_color)?eD:" #0038FF",color:"#fff",onClick:()=>{e5(1),e1(!0)},children:["I","'","m Interested"]}),(0,r.jsx)(x.z,{w:"100%",fontWeight:"700",border:"2px solid "+((null==n?void 0:n.brand_color)?eD:"#0038FF"),bg:"#fff",h:"48px",color:eD,fontSize:"18px",onClick:()=>{e5(2),e1(!0)},children:"Reserve bed"})]})}),(0,r.jsx)(a.x,{pt:"30px",children:(0,r.jsx)(M.f,{children:(0,r.jsx)(M.A,{href:"https://wa.me/".concat((null==n?void 0:null===(ry=n.microsite_data)||void 0===ry?void 0:ry.display_number)||"919310016146","?text=Hey%20there!%20I%20need%20some%20help%20with%20this%20property%20%20").concat(Y),target:"_blank",children:(0,r.jsxs)(u.k,{bgGradient:"linear(to-b , #CA2E280D, #001AFF0D)",p:"20px",alignContent:"center",borderRadius:"5px 5px 0px 0px",children:[(0,r.jsxs)(u.k,{direction:"column",children:[(0,r.jsx)(c.x,{fontWeight:"700",fontSize:["20px","24px"],children:"Customer Support"}),(0,r.jsx)(c.x,{fontSize:["14px","16px"],children:"Still confused? Our customer support executive will help you with anything."})]}),(0,r.jsx)(y.L,{}),(0,r.jsx)(h.E,{src:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/vectors/chat-support.png",borderRadius:"full",boxSize:"77px",p:"20px",bgColor:"#fff",alt:"Chat Support Icon",title:"Chat Support"})]})})})})]}),!eE&&(0,r.jsx)(u.k,{direction:"column",w:["100%","50%"],children:renderBookingInterface({similarPropertiesData:t5,basicPgData:n,brandAccentColor:ez,brandColor:eD,bookingSuccessful:te,leadBookingData:e4,convertDateToString:ek.xN,setBookingFragment:e5,setBookingModalOpen:e1,paymentSuccessful:e7,leadPaymentData:e6,roomData:ts,propId:Y,SharingTypeTabs:eg.Z})})]}),(0,r.jsx)(y.L,{h:["30px","70px"]}),(0,r.jsxs)(E.K,{ref:tG,display:(null==t5?void 0:null===(rk=t5.property)||void 0===rk?void 0:rk.length)>0||(null==t5?void 0:null===(rj=t5.flat_array)||void 0===rj?void 0:rj.length)>0?"inherit":"none",id:"similar-properties",children:[(0,r.jsx)(ep.Z,{heading:"Similar properties",brandAccentColor:ez}),(0,r.jsx)(SimilarPropertiesSection,{similarPropertiesData:t5,user:t,brandColor:eD,brandAccentColor:ez}),(0,r.jsxs)(x.z,{variant:"unstyled",onClick:()=>{th(!0)},onMouseEnter:()=>{tf(!0)},fontSize:["14px","16px"],color:eD,p:"0px 20px",mb:"20px",transition:"all 0.2s ease",_hover:{transform:"translateY(-1px)",textDecoration:"none"},children:[(0,r.jsx)(c.x,{as:"u",children:"View other similar properties"}),(0,r.jsx)(o.v,{})]})]}),(0,r.jsx)(ep.Z,{"margin-top":["20px","20px"],heading:"FAQs",brandAccentColor:ez}),(0,r.jsx)(er.Z,{faqData:to}),(0,r.jsx)(y.L,{h:"30px"})]}),(0,r.jsxs)(L.u_,{isOpen:tj,onClose:()=>tw(!1),size:"full",motionPreset:"slideInBottom",children:[(0,r.jsx)(W.Z,{bg:"rgba(0, 0, 0, 0.6)"}),(0,r.jsxs)(O.h,{bg:"#ffffff",overflow:"hidden",children:[(0,r.jsxs)(G.x,{p:"16px 24px",borderBottom:"1px solid #DDDDDD",bg:"#ffffff",children:[(0,r.jsx)(u.k,{align:"center",gap:"12px",children:(0,r.jsxs)(v.U,{align:"center",spacing:0,children:[(0,r.jsx)(C.h,{"aria-label":"Close",icon:(0,r.jsx)(eN.u1R,{color:"#222222",size:"20px"}),onClick:()=>tw(!1),size:"sm",variant:"ghost"}),(0,r.jsx)(c.x,{fontSize:"16px",fontWeight:"600",color:"#222222",children:"Photo tour"})]})}),(0,r.jsx)(U.o,{})]}),(0,r.jsx)(H.f,{p:0,overflow:"hidden",children:(0,r.jsxs)(u.k,{h:"calc(100vh - 120px)",direction:{base:"column",md:"row"},children:[(0,r.jsx)(a.x,{w:{base:"100%",md:"300px"},h:{base:"auto",md:"100%"},maxH:{base:"200px",md:"none"},bg:"#ffffff",borderRight:{base:"none",md:"1px solid #DDDDDD"},borderBottom:{base:"1px solid #DDDDDD",md:"none"},overflowY:"auto",p:{base:"16px 0",md:"24px 0"},children:(0,r.jsx)(a.x,{display:{base:"block",md:"block"},overflowX:{base:"auto",md:"visible"},css:{"&::-webkit-scrollbar":{height:"4px",display:{base:"block",md:"none"}},"&::-webkit-scrollbar-track":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"#c1c1c1",borderRadius:"2px"}},children:(0,r.jsx)(u.k,{direction:{base:"row",md:"column"},spacing:"4px",align:"stretch",gap:{base:"8px",md:"4px"},px:{base:"16px",md:"0"},children:(()=>{var e;let t={};
1return null==n||null===(e=n.images)||void 0===e||e.forEach(e=>{var n;let r=(null==e?void 0:e.section)||"Additional photos";t[r]||(t[r]=[]),null==t||null===(n=t[r])||void 0===n||n.push(e)}),Object.entries(t).map(e=>{var t;let[n,o]=e;return(0,r.jsx)(a.x,{px:{base:"12px",md:"24px"},py:"12px",cursor:"pointer",bg:t_===n?"#f7f7f7":"transparent",_hover:{bg:"#f7f7f7"},onClick:()=>tS(n),transition:"all 0.2s ease",borderRadius:{base:"8px",md:"0"},minW:{base:"120px",md:"auto"},flexShrink:{base:0,md:1},children:(0,r.jsxs)(u.k,{align:"center",gap:"12px",direction:{base:"column",md:"row"},children:[(0,r.jsx)(a.x,{w:{base:"40px",md:"48px"},h:{base:"26px",md:"32px"},borderRadius:"4px",overflow:"hidden",flexShrink:0,children:(0,r.jsx)(e_.Z,{src:null===(t=o[0])||void 0===t?void 0:t.url,w:"100%",h:"100%",fit:"cover",fallback:(0,r.jsx)(a.x,{w:"100%",h:"100%",bg:"#f0f0f0"}),alt:n})}),(0,r.jsxs)(D.g,{align:{base:"center",md:"start"},spacing:"2px",flex:1,children:[(0,r.jsx)(c.x,{fontSize:{base:"12px",md:"14px"},fontWeight:t_===n?"600":"400",color:"#222222",lineHeight:"1.2",textTransform:"capitalize",textAlign:{base:"center",md:"left"},noOfLines:1,children:n}),(0,r.jsxs)(c.x,{fontSize:{base:"10px",md:"12px"},color:"#717171",textAlign:{base:"center",md:"left"},children:[null==o?void 0:o.length," photo",(null==o?void 0:o.length)>1?"s":""]})]})]})},n)})})()})})}),(0,r.jsx)(u.k,{flex:1,direction:"column",minH:0,children:(()=>{var e;let t=(null==n?void 0:null===(e=n.images)||void 0===e?void 0:e.filter(e=>(e.section||"Additional photos")===t_))||[];return t[0],(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.x,{p:"24px",borderBottom:"1px solid #DDDDDD",bg:"#ffffff",children:(0,r.jsx)(c.x,{fontSize:"28px",fontWeight:"600",color:"#222222",textTransform:"capitalize",children:t_})}),(0,r.jsx)(a.x,{flex:1,bg:"#f8f8f8",p:"24px",overflowY:"auto",minH:"0",children:t.length>0?(0,r.jsx)(a.x,{sx:{columnCount:{base:1,md:2,lg:3,xl:4},columnGap:"16px",width:"100%"},children:t.map((e,o)=>{let i=["200px","250px","300px","180px","280px","220px","320px","240px"],l=i[o%i.length];return(0,r.jsx)(a.x,{mb:"16px",breakInside:"avoid",borderRadius:"12px",overflow:"hidden",cursor:"pointer",transition:"all 0.2s ease",_hover:{transform:"translateY(-4px)",boxShadow:"0 12px 30px rgba(0, 0, 0, 0.15)"},bg:"#ffffff",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.08)",h:l,display:"inline-block",width:"100%",onClick:()=>{var e;let r=(null==n?void 0:n.images)||[];tR(r);let a=null===(e=t[o])||void 0===e?void 0:e.url,i=r.findIndex(e=>e.url===a);tD(i>=0?i:0),tN(!0)},children:(0,r.jsx)(e_.Z,{src:e.url,w:"100%",h:"100%",fit:"cover",fallback:(0,r.jsx)(a.x,{w:"100%",h:"100%",bg:"#e0e0e0",display:"flex",alignItems:"center",justifyContent:"center",children:(0,r.jsx)(c.x,{color:"#717171",fontSize:"14px",children:"Image not available"})}),alt:"".concat(t_," ").concat(o+1)})},o)})}):(0,r.jsx)(a.x,{w:"100%",h:"100%",display:"flex",alignItems:"center",justifyContent:"center",children:(0,r.jsxs)(D.g,{spacing:"16px",children:[(0,r.jsx)(a.x,{w:"120px",h:"120px",bg:"#e0e0e0",borderRadius:"12px",display:"flex",alignItems:"center",justifyContent:"center",children:(0,r.jsx)(c.x,{color:"#717171",fontSize:"48px",children:"\uD83D\uDCF7"})}),(0,r.jsxs)(D.g,{spacing:"4px",children:[(0,r.jsx)(c.x,{color:"#222222",fontSize:"18px",fontWeight:"600",children:"No photos available"}),(0,r.jsxs)(c.x,{color:"#717171",fontSize:"14px",textAlign:"center",children:["Photos for this section haven","'","t been uploaded yet"]})]})]})})})]})})()})]})})]})]}),(0,r.jsxs)(L.u_,{isOpen:tC,onClose:()=>tN(!1),size:"full",motionPreset:"fade",children:[(0,r.jsx)(W.Z,{bg:"rgba(0, 0, 0, 0.95)"}),(0,r.jsxs)(O.h,{bg:"transparent",overflow:"hidden",children:[(0,r.jsx)(G.x,{p:"20px 24px",position:"absolute",top:0,left:0,right:0,zIndex:10,bg:"transparent",children:(0,r.jsxs)(u.k,{align:"center",justify:"space-between",children:[(0,r.jsx)(u.k,{align:"center",gap:"12px",children:(0,r.jsxs)(c.x,{fontSize:"16px",fontWeight:"600",color:"#ffffff",children:[tA+1," / ",tz.length]})}),(0,r.jsx)(u.k,{align:"center",gap:"16px",children:(0,r.jsx)(U.o,{position:"relative",top:0,right:0,color:"#ffffff",_hover:{bg:"rgba(255, 255, 255, 0.1)"}})})]})}),(0,r.jsxs)(H.f,{p:0,overflow:"hidden",position:"relative",children:[(0,r.jsxs)(u.k,{h:"100vh",align:"center",justify:"center",position:"relative",children:[tA>0&&(0,r.jsx)(C.h,{icon:(0,r.jsx)(a.x,{w:"12px",h:"12px",borderLeft:"2px s
1olid #ffffff",borderBottom:"2px solid #ffffff",transform:"rotate(45deg)"}),position:"absolute",left:"24px",zIndex:10,bg:"rgba(0, 0, 0, 0.5)",color:"#ffffff",borderRadius:"full",size:"lg",_hover:{bg:"rgba(0, 0, 0, 0.7)"},onClick:()=>tD(tA-1),"aria-label":"Previous image"}),(0,r.jsx)(a.x,{maxW:"90vw",maxH:"90vh",position:"relative",children:(0,r.jsx)(e_.Z,{src:null===(rw=tz[tA])||void 0===rw?void 0:rw.url,maxW:"90vw",maxH:"90vh",fit:"contain",borderRadius:"8px",fallback:(0,r.jsx)(a.x,{w:"400px",h:"300px",bg:"#333333",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center",children:(0,r.jsx)(c.x,{color:"#ffffff",fontSize:"16px",children:"Image not available"})}),alt:"Image ".concat(tA+1)})}),tA<tz.length-1&&(0,r.jsx)(C.h,{icon:(0,r.jsx)(a.x,{w:"12px",h:"12px",borderRight:"2px solid #ffffff",borderTop:"2px solid #ffffff",transform:"rotate(45deg)"}),position:"absolute",right:"24px",zIndex:10,bg:"rgba(0, 0, 0, 0.5)",color:"#ffffff",borderRadius:"full",size:"lg",_hover:{bg:"rgba(0, 0, 0, 0.7)"},onClick:()=>tD(tA+1),"aria-label":"Next image"})]}),tz.length>1&&(0,r.jsx)(a.x,{position:"absolute",bottom:"24px",left:"50%",transform:"translateX(-50%)",bg:"rgba(0, 0, 0, 0.6)",borderRadius:"12px",p:"12px",maxW:"80vw",overflowX:"auto",css:{"&::-webkit-scrollbar":{height:"4px"},"&::-webkit-scrollbar-track":{background:"rgba(255, 255, 255, 0.1)"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.3)",borderRadius:"2px"}},children:(0,r.jsx)(u.k,{gap:"8px",align:"center",children:tz.map((e,t)=>(0,r.jsx)(a.x,{w:"60px",h:"40px",borderRadius:"6px",overflow:"hidden",cursor:"pointer",border:tA===t?"2px solid #ffffff":"2px solid transparent",opacity:tA===t?1:.6,transition:"all 0.2s ease",_hover:{opacity:1},onClick:()=>tD(t),flexShrink:0,children:(0,r.jsx)(e_.Z,{src:e.url,w:"100%",h:"100%",fit:"cover",fallback:(0,r.jsx)(a.x,{w:"100%",h:"100%",bg:"#333333"}),alt:"Thumbnail ".concat(t+1)})},t))})}),(0,r.jsx)(a.x,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease",_groupHover:{opacity:1},children:(0,r.jsx)(c.x,{color:"rgba(255, 255, 255, 0.7)",fontSize:"14px",textAlign:"center",children:"Use arrow keys to navigate"})})]})]})]}),(0,r.jsx)(components_ChatWidget,{brandColor:eD,propertyName:(null==n?void 0:n.pg_name)||"Property Support",phoneNumber:(null==n?void 0:null===(r_=n.microsite_data)||void 0===r_?void 0:r_.display_number)||"919310016146",autoOpenDelay:1e4,expandButtonDelay:2e3,scrollCollapseDelay:5e3,mobileBottomOffset:"80px",desktopBottomOffset:"20px"}),(0,r.jsx)(em.Z,{email:(null==n?void 0:null===(rS=n.microsite_data)||void 0===rS?void 0:rS.customer_support_email)?null==n?void 0:null===(rC=n.microsite_data)||void 0===rC?void 0:rC.customer_support_email:null==n?void 0:n.email,city:null==n?void 0:n.city,state:null==n?void 0:n.state,pgName:null==n?void 0:n.pg_name,aboutProperty:null==n?void 0:null===(rN=n.microsite_data)||void 0===rN?void 0:rN.about,address:"".concat((null==n?void 0:n.address_line_1)||""," ").concat((null==n?void 0:n.address_line_2)||""," ").concat((null==n?void 0:n.city)||""," ").concat((null==n?void 0:n.state)||""," ").concat((null==n?void 0:n.pincode)||""),fbUrl:null==n?void 0:null===(rA=n.microsite_data)||void 0===rA?void 0:rA.facebook_url,igUrl:null==n?void 0:null===(rD=n.microsite_data)||void 0===rD?void 0:rD.instagram_url,twtUrl:null==n?void 0:null===(rz=n.microsite_data)||void 0===rz?void 0:rz.twitter_url,ytUrl:null==n?void 0:null===(rR=n.microsite_data)||void 0===rR?void 0:rR.youtube_url,phone:(null==n?void 0:null===(rE=n.microsite_data)||void 0===rE?void 0:rE.customer_support_number)||"",whatsappPhone:(null==n?void 0:null===(rP=n.microsite_data)||void 0===rP?void 0:rP.customer_support_whatsapp)||"",brandColor:eD,brandAccentColor:ez}),(0,r.jsxs)(L.u_,{isCentered:!0,isOpen:eP,onClose:()=>{try{document.querySelectorAll(".modal-video video").forEach(e=>{e.pause(),e.currentTime=0}),eT()}catch(e){console.error("Error closing modal:",e),eT()}},size:"full",children:[(0,r.jsx)(W.Z,{}),(0,r.jsxs)(O.h,{bgColor:"#3e3e3e80",children:[(0,r.jsx)(G.x,{pb:"40px",align:"center",children:(0,r.jsx)(U.o,{align:"center",children:(0,r.jsx)(et.SV5,{size:"40px",color:"white"})})}),(0,r.jsx)(a.x,{children:(0,r.jsx)(ea.Carousel,{useKeyboardArrows:!0,showIndicators:!1,showThumbs:!0,renderThumbs:()=>null==n?void 0:n.images.map((e,t)=>(0,r.jsx)(e_.Z,{fit:"contain",src:e.url,fallback:(0,r.jsx)(N.O,{h:"100%",w:"100%"}),alt:"Property Image",title:"Property Image"}
1,t)),renderArrowNext:(e,t,n)=>t&&(0,r.jsx)(C.h,{size:"40px",borderRadius:"full",onClick:e,title:n,style:{...r$,right:15},children:(0,r.jsx)($.Kzi,{})}),renderArrowPrev:(e,t,n)=>t&&(0,r.jsx)(C.h,{size:"40px",borderRadius:"full",onClick:e,title:n,style:{...r$,left:15},children:(0,r.jsx)($.BDM,{})}),children:(null==n?void 0:n.images)&&(null==n?void 0:n.images.map((e,t)=>(0,r.jsx)(e_.Z,{h:"70vh",fit:"contain",src:e.url,fallback:(0,r.jsx)(N.O,{h:"70vh",w:"100%"}),onError:()=>{e.url="https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite/sample/sample-image-bedroom-5.webp"},alt:"Sample Bedroom Image",title:"Sample Bedroom Image"},t)))})})]})]}),(0,r.jsxs)(L.u_,{isOpen:e0,onClose:()=>e1(!1),size:["full","2xl"],children:[(0,r.jsx)(W.Z,{bgColor:"#3e3e3e80"}),(0,r.jsxs)(O.h,{children:[(0,r.jsxs)(G.x,{children:[(0,r.jsx)(c.x,{children:"Book Available Rooms"}),(0,r.jsx)(U.o,{align:"center",onClick:()=>e1(!1),children:(0,r.jsx)(et.SV5,{size:"40px"})})]}),(0,r.jsx)(a.x,{px:"20px",pb:"20px",children:1===e2?te?(0,r.jsx)(es.Z,{leadBookingData:e4,type:1,currentRoomData:null==ts?void 0:null===(rI=ts.result)||void 0===rI?void 0:null===(rT=rI.data)||void 0===rT?void 0:null===(rF=rT.rooms)||void 0===rF?void 0:rF.find(e=>e.roomName==(null==e4?void 0:e4.room)),pgName:null==n?void 0:n.pg_name,pgAddress:"".concat(null==n?void 0:n.address_line_1," ").concat(null==n?void 0:n.address_line_2," ").concat(null==n?void 0:n.city," ").concat(null==n?void 0:n.state," ").concat(null==n?void 0:n.pincode),updateBookingSuccessfulState:updateBookingSuccessfulState,lastUpdatedAt:(0,ek.yJ)(null==tY?void 0:null===(rB=tY.data)||void 0===rB?void 0:rB.updated_at),paymentSuccessful:e7,bookingSuccessful:te,setBookingFragment:e5,brandColor:eD,brandAccentColor:ez}):(0,r.jsx)(ec.Z,{user:t,currentRoomData:null,bookingData:{},updateBookingData:e=>{e3({...e4,...e})},updateBookingSuccessfulState:updateBookingSuccessfulState,source:"home",propId:Y,pgID:null==n?void 0:n.pg_id,PGNumber:null==n?void 0:n.pg_number,propertyID:null==n?void 0:n.id,securityDeposit:null==n?void 0:null===(rM=n.microsite_data)||void 0===rM?void 0:rM.security_deposit,brandColor:eD,brandAccentColor:ez,isFlatArray:t3}):e7?(0,r.jsx)(es.Z,{leadBookingData:e6,type:2,currentRoomData:null==ts?void 0:null===(rO=ts.result)||void 0===rO?void 0:null===(rW=rO.data)||void 0===rW?void 0:null===(rL=rW.rooms)||void 0===rL?void 0:rL.find(e=>e.roomName==(null==e6?void 0:e6.room)),pgName:null==n?void 0:n.pg_name,pgAddress:"".concat(null==n?void 0:n.address_line_1," ").concat(null==n?void 0:n.address_line_2," ").concat(null==n?void 0:n.city," ").concat(null==n?void 0:n.state," ").concat(null==n?void 0:n.pincode),lastUpdatedAt:(0,ek.yJ)(null==tY?void 0:null===(rq=tY.data)||void 0===rq?void 0:rq.updated_at),paymentSuccessful:e7,bookingSuccessful:te,setBookingFragment:e5}):(0,r.jsx)(ed.Z,{user:t,currentRoomData:null,propertyDetails:tY,propId:Y,isFlatArray:t3,brandColor:eD,brandAccentColor:ez})})]})]}),(0,r.jsxs)(L.u_,{isOpen:tm,onClose:()=>th(!1),size:"6xl",scrollBehavior:"inside",children:[(0,r.jsx)(W.Z,{}),(0,r.jsxs)(O.h,{maxH:"90vh",children:[(0,r.jsxs)(G.x,{children:[(0,r.jsx)(u.k,{justify:"space-between",align:"center",children:(0,r.jsx)(c.x,{fontSize:"24px",fontWeight:"700",children:"Similar Properties"})}),(0,r.jsx)(U.o,{})]}),(0,r.jsx)(H.f,{pb:6,children:tm&&(0,r.jsx)(r.Fragment,{children:tv&&t5?(0,r.jsx)(SimilarPropertiesSection,{similarPropertiesData:t5,user:t,showAll:!0,brandColor:eD,brandAccentColor:ez}):(0,r.jsxs)(D.g,{spacing:4,py:8,children:[(0,r.jsx)(N.O,{h:"200px",w:"100%",borderRadius:"8px"}),(0,r.jsx)(N.O,{h:"200px",w:"100%",borderRadius:"8px"}),(0,r.jsx)(N.O,{h:"200px",w:"100%",borderRadius:"8px"}),(0,r.jsx)(c.x,{fontSize:"sm",color:"gray.500",textAlign:"center",children:"Loading similar properties..."})]})})})]})]})]})}},655:function(e,t,n){"use strict";n.d(t,{n:function(){return GalleryLightbox}});var r=n(85893),o=n(67294),a=n(21043);function GalleryLightbox(e){let{images:t,open:n,index:i,onClose:l,onIndex:s}=e,c=(0,o.useId)(),d=(null==t?void 0:t.length)||0,p=(0,a.P)(n&&d>0,l),goto=e=>null==s?void 0:s((e%d+d)%d);if((0,o.useEffect)(()=>
1{if(!n||0===d)return;let onKeyDown=e=>{"ArrowRight"===e.key&&goto(i+1),"ArrowLeft"===e.key&&goto(i-1)};return document.addEventListener("keydown",onKeyDown),()=>document.removeEventListener("keydown",onKeyDown)},[n,d,i]),(0,o.useEffect)(()=>{if(!n||0===d)return;let e=t[(i+1)%d];if(null==e?void 0:e.url){let t=new Image;t.src=e.url}},[n,d,i,t]),(0,o.useEffect)(()=>{if(!n||0===d)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[n,d]),!n||0===d)return null;let u=t[i];return(0,r.jsx)("div",{className:"fixed inset-0 z-[90] flex flex-col bg-surface-dark",onClick:e=>{e.target===e.currentTarget&&(null==l||l())},"data-sentry-component":"GalleryLightbox","data-sentry-source-file":"GalleryLightbox.jsx",children:(0,r.jsxs)("div",{ref:p,role:"dialog","aria-modal":"true","aria-labelledby":c,className:"flex h-full w-full flex-col",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between px-5 py-4",children:[(0,r.jsxs)("p",{id:c,className:"text-caption text-ink-onDark/70",children:[i+1," / ",d]}),(0,r.jsx)("button",{type:"button",onClick:l,"aria-label":"Close gallery",className:"font-sans text-h3 text-ink-onDark",children:"✕"})]}),(0,r.jsxs)("div",{className:"relative flex min-h-0 flex-1 items-center justify-center px-4 pb-4",children:[(0,r.jsx)("img",{src:u.url,alt:u.alt||"",className:"max-h-full max-w-full object-contain"}),d>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",onClick:()=>goto(i-1),"aria-label":"Previous photo",className:"absolute left-2 top-1/2 -translate-y-1/2 rounded-pill bg-surface-dark/60 px-4 py-3 font-sans text-h3 text-ink-onDark md:left-6",children:"‹"}),(0,r.jsx)("button",{type:"button",onClick:()=>goto(i+1),"aria-label":"Next photo",className:"absolute right-2 top-1/2 -translate-y-1/2 rounded-pill bg-surface-dark/60 px-4 py-3 font-sans text-h3 text-ink-onDark md:right-6",children:"›"})]})]})]})})}},1675:function(e,t,n){"use strict";n.d(t,{C1:function(){return WhatsAppFloat},jL:function(){return whatsappHref}});var r=n(85893);let normaliseNumber=e=>{if(!e)return null;let t=String(e).replace(/\D/g,"");return t.length>10&&t.startsWith("91")&&(t=t.slice(2)),10===t.length?t:null},whatsappHref=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=normaliseNumber(e);return n?"https://wa.me/91".concat(n).concat(t?"?text=".concat(encodeURIComponent(t)):""):null};function WhatsAppFloat(e){let{number:t,message:n="",label:o="Chat on WhatsApp",bottomOffset:a=24,hidden:i=!1}=e,l=normaliseNumber(t);if(!l)return null;let s="https://wa.me/91".concat(l).concat(n?"?text=".concat(encodeURIComponent(n)):"");return(0,r.jsxs)("a",{href:s,target:"_blank",rel:"noopener noreferrer","aria-label":o,"aria-hidden":i||void 0,tabIndex:i?-1:void 0,style:{bottom:"".concat(a,"px")},className:"fixed right-5 z-50 flex h-14 w-14 items-center justify-center rounded-pill bg-accent-500 text-ink-onDark shadow-lift transition-[opacity,transform] duration-300 hover:scale-105 focus-visible:scale-105 ".concat(i?"pointer-events-none translate-y-3 opacity-0":""),"data-sentry-component":"WhatsAppFloat","data-sentry-source-file":"WhatsAppFloat.jsx",children:[(0,r.jsx)("span",{className:"absolute inset-0 rounded-pill bg-accent-500 opacity-25 motion-safe:animate-ping","aria-hidden":"true"}),(0,r.jsx)("svg",{viewBox:"0 0 24 24",className:"relative h-7 w-7",fill:"currentColor","aria-hidden":"true","data-sentry-element":"svg","data-sentry-source-file":"WhatsAppFloat.jsx",children:(0,r.jsx)("path",{d:"M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.29-1.39a9.9 9.9 0 0 0 4.75 1.21h.01c5.46 0 9.9-4.45 9.9-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2Zm0 18.13h-.01a8.2 8.2 0 0 1-4.19-1.15l-.3-.18-3.13.82.84-3.05-.2-.31a8.24 8.24 0 0 1-1.26-4.35c0-4.55 3.7-8.25 8.26-8.25 2.2 0 4.27.86 5.83 2.42a8.18 8.18 0 0 1 2.41 5.84c0 4.55-3.71 8.25-8.25 8.25Zm4.52-6.18c-.25-.12-1.47-.72-1.7-.81-.23-.08-.39-.12-.56.13-.16.24-.64.81-.78.98-.15.16-.29.18-.54.06-.25-.12-1.04-.38-1.99-1.22-.73-.66-1.23-1.46-1.37-1.71-.15-.24-.02-.37.11-.5.11-.11.25-.29.37-.43.12-.15.16-.25.24-.41.08-.16.04-.31-.02-.43-.06-.
113-.56-1.34-.77-1.84-.2-.48-.41-.42-.56-.42-.14-.01-.31-.01-.47-.01a.9.9 0 0 0-.66.31c-.23.24-.86.85-.86 2.08 0 1.22.89 2.4 1.01 2.57.12.16 1.75 2.67 4.24 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.67-1.18.21-.58.21-1.08.15-1.18-.06-.1-.23-.16-.48-.28Z","data-sentry-element":"path","data-sentry-source-file":"WhatsAppFloat.jsx"})})]})}t.ZP=WhatsAppFloat},61828:function(e,t,n){"use strict";n.d(t,{J:function(){return iconFor}});var r=n(85893);let o="h-4 w-4 shrink-0",Check=()=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Check","data-sentry-source-file":"icons.jsx",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9","data-sentry-element":"circle","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("path",{d:"m8.5 12.5 2.5 2.5 5-5","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})]}),a=[[/wifi|internet|broadband/i,()=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Wifi","data-sentry-source-file":"icons.jsx",children:[(0,r.jsx)("path",{d:"M3 8.5a15 15 0 0 1 18 0","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("path",{d:"M6.5 12a10 10 0 0 1 11 0","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("path",{d:"M10 15.5a5 5 0 0 1 4 0","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("circle",{cx:"12",cy:"19",r:"1",fill:"currentColor",stroke:"none","data-sentry-element":"circle","data-sentry-source-file":"icons.jsx"})]})],[/cctv|security|camera|biometric|guard/i,()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Shield","data-sentry-source-file":"icons.jsx",children:(0,r.jsx)("path",{d:"M12 3.5 5 6v6c0 4.5 3 7.5 7 8.5 4-1 7-4 7-8.5V6l-7-2.5Z","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})})],[/meal|food|kitchen|pantry|mess|tiffin|breakfast|lunch|dinner/i,()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Meal","data-sentry-source-file":"icons.jsx",children:(0,r.jsx)("path",{d:"M5 3v7a2 2 0 0 0 4 0V3M7 10v11M17 3c-1.7 0-3 2-3 5s1.3 5 3 5v8","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})})],[/hot water|geyser|\bro\b|drinking water|water/i,()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Drop","data-sentry-source-file":"icons.jsx",children:(0,r.jsx)("path",{d:"M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11Z","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})})],[/\bac\b|air.?condition|cooler/i,()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Snowflake","data-sentry-source-file":"icons.jsx",children:(0,r.jsx)("path",{d:"M12 2v20M4.5 6.5l15 11M19.5 6.5l-15 11","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})})],[/power|backup|generator|electricity/i,()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Bolt","data-sentry-source-file":"icons.jsx",children:(0,r.jsx)("path",{d:"M13 2 4 14h6l-1 8 9-12h-6l1-8Z","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})})],[/parking|vehicle|bike|car\b/i,()=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Car","data-sentry-source-file":"icons.jsx",children:[(0,r.jsx)("path",{d:"M4 16V11l2-5h12l2 5v5","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("path",{d:"M2 16h20M6 16v2M18 16v2","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"}
1),(0,r.jsx)("circle",{cx:"7",cy:"16",r:"1.4",fill:"currentColor",stroke:"none","data-sentry-element":"circle","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("circle",{cx:"17",cy:"16",r:"1.4",fill:"currentColor",stroke:"none","data-sentry-element":"circle","data-sentry-source-file":"icons.jsx"})]})],[/lift|elevator/i,()=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Elevator","data-sentry-source-file":"icons.jsx",children:[(0,r.jsx)("rect",{x:"5",y:"3",width:"14",height:"18",rx:"1.5","data-sentry-element":"rect","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("path",{d:"M10 9l2-2 2 2M10 15l2 2 2-2","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})]})],[/housekeeping|cleaning|maintenance|laundry|wash/i,()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Sparkle","data-sentry-source-file":"icons.jsx",children:(0,r.jsx)("path",{d:"M12 3v5M12 16v5M3 12h5M16 12h5M6 6l3 3M18 18l-3-3M6 18l3-3M18 6l-3 3","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})})],[/gym|fitness|recreation|\bsports?\b/i,()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Dumbbell","data-sentry-source-file":"icons.jsx",children:(0,r.jsx)("path",{d:"M4 9v6M20 9v6M7 7v10M17 7v10M7 12h10","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})})],[/lounge|common area|rooftop|\btv\b|newspaper/i,()=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Sofa","data-sentry-source-file":"icons.jsx",children:[(0,r.jsx)("path",{d:"M4 11V8a2 2 0 0 1 4 0v3M16 11V8a2 2 0 0 1 4 0v3","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("rect",{x:"3",y:"11",width:"18",height:"6",rx:"1.5","data-sentry-element":"rect","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("path",{d:"M4 17v2M20 17v2","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})]})],[/locker|storage/i,()=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Lock","data-sentry-source-file":"icons.jsx",children:[(0,r.jsx)("rect",{x:"5",y:"10",width:"14",height:"10",rx:"1.5","data-sentry-element":"rect","data-sentry-source-file":"icons.jsx"}),(0,r.jsx)("path",{d:"M8 10V7a4 4 0 0 1 8 0v3","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})]})],[/furniture|bed\b/i,()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",className:o,"aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"Bed","data-sentry-source-file":"icons.jsx",children:(0,r.jsx)("path",{d:"M3 18v-6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6M3 18v2M21 18v2M3 12V7a1 1 0 0 1 1-1h5v6","data-sentry-element":"path","data-sentry-source-file":"icons.jsx"})})]],iconFor=e=>{let t=String(e||""),n=a.find(e=>{let[n]=e;return n.test(t)});return n?n[1]:Check}},21043:function(e,t,n){"use strict";n.d(t,{P:function(){return useFocusTrap}});var r=n(67294);function useFocusTrap(e,t){let n=(0,r.useRef)(null),o=(0,r.useRef)(null),a=(0,r.useRef)(t);return a.current=t,(0,r.useEffect)(()=>{var t;if(!e)return;o.current=document.activeElement;let r=n.current,i=r?Array.from(r.querySelectorAll('a[href], button:not([disabled]), textarea, input, select, [tabindex]:not([tabindex="-1"])')):[];null===(t=i[0]||r)||void 0===t||t.focus();let onKeyDown=e=>{if("Escape"===e.key){var t;null===(t=a.current)||void 0===t||t.call(a);return}if("Tab"!==e.key||0===i.length)return;let n=i[0],r=i[i.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),n.focus())};return document.addEventListener("keydown",onKeyDown),()=>{var e,t;document.removeEventListener("keydown",onKeyDown),null===(t=o.current)||void 0===t||null===(e=t.focus)||void 0===e||e.call(t)}},[e]),n}},6232:function(e,t,n){"use strict";n.d(t,{O:function(){return amenityGroups}});var r=n(74373);let o=[{key:"common_amenities",label:"In the building"},{key:"services_amenities",label:"Services"},{key:"food_amenities",label:"Food"}],amenityGroups=e=>
1{let t=o.flatMap(t=>((null==e?void 0:e[t.key])||[]).filter(Boolean).map(e=>({item:e,key:t.key}))),n=(0,r.HD)(t.map(e=>e.item)),a=o.map(e=>({...e,items:n.filter(n=>{var r;return(null===(r=t.find(e=>e.item===n))||void 0===r?void 0:r.key)===e.key})}));return{groups:a,all:n}}},74373:function(e,t,n){"use strict";n.d(t,{DE:function(){return propertyAddress},FV:function(){return cleanText},HD:function(){return dedupeAmenities},Hd:function(){return propertyFromRent},Ho:function(){return plural},LU:function(){return o},Tp:function(){return propertyName},Ud:function(){return propertyNameInBrand},gX:function(){return priceLabel},hG:function(){return sharingLabel},hR:function(){return pagePhotos},j2:function(){return dedupeImages},kK:function(){return audienceOf},kq:function(){return bedsFreeLabel},pM:function(){return hasBedsFree},v3:function(){return minNonZeroRent},z5:function(){return propertySlug}});let r=["nan","null","undefined"],cleanText=e=>{if("string"!=typeof e)return"";let t=e.trim().replace(/\s+/g," ").replace(/,+$/,"").trim();return r.includes(t.toLowerCase())?"":t},propertyName=e=>cleanText((null==e?void 0:e.pg_name)||(null==e?void 0:e.name)),propertyNameInBrand=(e,t)=>{let n=propertyName(e),r=cleanText(t);if(!n||!r)return n;let o=n.replace(RegExp("^".concat(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s+"),"i"),"").trim();return o||n},propertyAddress=e=>[cleanText(null==e?void 0:e.address_line_1),cleanText(null==e?void 0:e.address_line_2),cleanText(null==e?void 0:e.city)].filter(Boolean).join(", "),propertySlug=e=>{var t;return(null==e?void 0:null===(t=e.microsite_url)||void 0===t?void 0:t.prop_id)||(null==e?void 0:e.slug)||(null==e?void 0:e.id)||null},audienceOf=e=>{let t=cleanText(null==e?void 0:e.pg_available_for).toLowerCase();if(!t)return null;let n=/\bboys?\b.*\bgirls?\b|\bgirls?\b.*\bboys?\b|\bmen\b.*\bwomen\b|\bwomen\b.*\bmen\b/.test(t);return n||"all"===t||/every|both|co-?ed|unisex|any gender|all gender/.test(t)?"all":/girl|women|female|ladies/.test(t)?"girls":/boy|\bmen\b|male|gents/.test(t)?"boys":null},o={girls:"Girls only",boys:"Boys only",all:"All genders"},plural=(e,t,n)=>"".concat(e," ").concat(1===Number(e)?t:n),bedsFreeLabel=e=>Number(e)>0?plural(e,"bed free","beds free"):"No beds free right now",hasBedsFree=e=>Number(e)>0,a=["","Single","Double","Triple","Four","Five","Six","Seven","Eight","Nine","Ten"],sharingLabel=e=>(a[Number(e)]||"".concat(e))+" sharing",minNonZeroRent=e=>{let t=(e||[]).map(Number).filter(e=>Number.isFinite(e)&&e>0);return t.length?Math.min(...t):null},propertyFromRent=(e,t)=>{var n;return null!==(n=minNonZeroRent(((null==t?void 0:t.tiers)||[]).map(e=>e.fromRent)))&&void 0!==n?n:minNonZeroRent([null==e?void 0:e.rent_starts_from])},isMonthly=e=>null==e||2===Number(e),priceLabel=(e,t)=>{if(!(Number(e)>0))return"Price on request";let n="From ₹".concat(Number(e).toLocaleString("en-IN"));return isMonthly(t)?"".concat(n," / month"):n},hashString=e=>{let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n)|0;return t},dedupeImages=e=>{let t=[...new Set((e||[]).map(e=>null==e?void 0:e.url).filter(Boolean))];return t.sort((e,t)=>hashString(e)-hashString(t))},pagePhotos=e=>{let t=[...new Set(((null==e?void 0:e.properties)||[]).flatMap(e=>(null==e?void 0:e.images)||[]).map(e=>null==e?void 0:e.url).filter(Boolean))],n=t[0]||null,r=t[1]||n,o=t.length>2?t.slice(2):t;return{hero:n,story:r,gallery:o}},dedupeAmenities=e=>{let t=new Set;return(e||[]).filter(Boolean).filter(e=>{let n=String(e).toLowerCase().replace(/\b(common|shared|floor-?wise|24\/?7|high-?speed|free)\b/g,"").replace(/[^a-z]/g,"").replace(/(nasium|s)$/,"");return!(!n||t.has(n))&&(t.add(n),!0)})}},4207:function(e,t,n){"use strict";n.d(t,{$p:function(){return contrast},Fc:function(){return kitStyle},Gu:function(){return validate}});let r=["warm","premium","clean","bold","editorial"],o="__REPLACE_ME__",isHex=e=>"string"==typeof e&&/^#[0-9a-fA-F]{6}$/.test(e),a=["900","800","700","600","500","400"],i=["600","500","400","300","200"];function validate(e){var t,n,l,s,c,d,p;let u=[],req=(e,t,n,r)=>{t===o?u.push("".concat(e," is still ").concat(o," — replace it")):n(t)||u.push("".concat(e," ").concat(r))};for(let t of(req("slug",null==e?void 0:e.slug,e=>"string"==typeof e&&/^[a-z0-9-]+$/.test(e),"must be lowercase kebab"),req("name",null==e?void 0:e.name,e=>"string"==typeof e&&e.trim().length>1,"must be a display name"),req("character",null==e?void 0:e.character,e=>
1r.includes(e),"must be one of ".concat(r.join(", "))),req("fontPair",null==e?void 0:e.fontPair,e=>"string"==typeof e&&e.length>0,"must be a key from FONT_PAIRS"),a))req("brand.".concat(t),null==e?void 0:null===(s=e.brand)||void 0===s?void 0:s[t],isHex,"must be a #rrggbb hex");for(let t of i)req("accent.".concat(t),null==e?void 0:null===(c=e.accent)||void 0===c?void 0:c[t],isHex,"must be a #rrggbb hex");for(let t of["base","alt","dark"])req("surface.".concat(t),null==e?void 0:null===(d=e.surface)||void 0===d?void 0:d[t],isHex,"must be a #rrggbb hex");for(let t of["heading","body","muted","onDark"])req("ink.".concat(t),null==e?void 0:null===(p=e.ink)||void 0===p?void 0:p[t],isHex,"must be a #rrggbb hex (not rgba — the preset needs an RGB triplet)");let x=[null==e?void 0:null===(t=e.surface)||void 0===t?void 0:t.base,null==e?void 0:null===(n=e.surface)||void 0===n?void 0:n.alt,null==e?void 0:null===(l=e.surface)||void 0===l?void 0:l.dark];if(x.every(isHex)&&new Set(x.map(e=>e.toLowerCase())).size<3&&u.push("surface.base / .alt / .dark must be three distinct colours — GRAMMAR R2 needs bands to alternate"),u.length)throw Error('\nBrand kit for "'.concat((null==e?void 0:e.slug)||"unknown",'" is invalid:\n')+u.map(e=>"  \xb7 ".concat(e)).join("\n")+"\n\nSee packages/site-kit/src/tokens/brandKit.js and brands/_template/brand.config.js\n");return e}let toTriplet=e=>{if(!isHex(e))return null;let[t,n,r]=[1,3,5].map(t=>parseInt(e.slice(t,t+2),16));return"".concat(t," ").concat(n," ").concat(r)};function kitStyle(e){return function(e){var t,n;let r={},set=(e,t)=>{r["--".concat(e)]=t;let n=toTriplet(t);n&&(r["--".concat(e,"-rgb")]=n)};return a.forEach(t=>
1set("brand-".concat(t),e.brand[t])),i.forEach(t=>set("accent-".concat(t),e.accent[t])),set("surface-base",e.surface.base),set("surface-alt",e.surface.alt),set("surface-dark",e.surface.dark),set("ink-heading",e.ink.heading),set("ink-body",e.ink.body),set("ink-muted",e.ink.muted),set("ink-on-dark",e.ink.onDark),set("line-hairline",(null===(t=e.line)||void 0===t?void 0:t.hairline)||e.surface.alt),set("line-strong",(null===(n=e.line)||void 0===n?void 0:n.strong)||e.ink.muted),r}(e)}let relLum=e=>{let t=[1,3,5].map(t=>parseInt(e.slice(t,t+2),16)/255).map(e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4);return .2126*t[0]+.7152*t[1]+.0722*t[2]};function contrast(e,t){let[n,r]=[relLum(e),relLum(t)].sort((e,t)=>t-e);return+((n+.05)/(r+.05)).toFixed(2)}},62554:function(e,t,n){"use strict";n.d(t,{_z:function(){return getPair},a9:function(){return fontClass}});var r=n(166),o=n.n(r),a=n(77035),i=n.n(a),l=n(1987),s=n.n(l),c=n(56996),d=n.n(c),p=n(60389),u=n.n(p),x=n(51743),m=n.n(x),h=n(7821),g=n.n(h),f=n(53306),v=n.n(f),b=n(5904),y=n.n(b),k=n(48589),j=n.n(k);let w={"fraunces-inter":{display:o(),sans:m(),character:["premium","editorial"],note:"Nyra Nest ships this. Fraunces has optical sizing and a real italic — the most characterful option here, and it carries a page with almost no photography."},"instrument-jakarta":{display:i(),sans:v(),character:["editorial","premium"],note:"High-contrast serif that wants to be set large. Excellent at 72px+, weak below 32px — do not pick it for a brand whose hero copy is long."},"dmserif-dmsans":{display:s(),sans:g(),character:["warm","clean"],note:"Niwas Homes ships this. Same superfamily, so it never clashes; the safest pick and the one to default to when unsure."},"playfair-manrope":{display:d(),sans:y(),character:["premium","warm"],note:"Familiar and slightly over-used on the web. Use when a brand wants to read established rather than new."},"bricolage-outfit":{display:u(),sans:j(),character:["bold","clean"],note:"The one non-serif display option. Wide, confident, contemporary — for a brand that should read young rather than refined."}};function getPair(e){let t=w[e];if(!t)throw Error('Unknown fontPair "'.concat(e,'". Available: ').concat(Object.keys(w).join(", "),"\n")+"See packages/site-kit/src/tokens/fonts.js");return t}function fontClass(e){let t=getPair(e);return"".concat(t.display.variable," ").concat(t.sans.variable)}},52850:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return eP},default:function(){return _site_}});var r=n(85893),o=n(67294),a=n(11163),i=n(9669),l=n.n(i);n(23659);var s=n(72468),c=n(88329),d=n(37945),p=n(90092),u=n(68029),x=n(46572),m=n(3712),h=n(50232),g=n(38491),f=n(43321),v=n(15361),b=n(95478),y=n(59342),k=n(90573),j=n(33229),w=n(8387),_=n(15273);n(97119);var S=n(60698);n(12005);var C=n(49466),N=n(99141),A=n(79778),D=n(9008),z=n.n(D),R=n(4298),E=n.n(R),P=n(63750),F=n(71436),T=n(15049),I=n(7106);function BrandPage(e){var t,n,i,s,D,R,B,M,L,W,O,G,U,H,V,Z,K,Y,X,Q,J,$,ee,et,en,er,eo,ea,ei,el,es,ec,ed,ep,eu,ex,em,eh,eg,ef,ev,eb,ey,ek,ej,ew,e_,eS,eC,eN,eA,eD,ez,eR,eE,eP,eF,eT,eI,eB,eM,eL,eW,eO,eq,eG,eU,eH,eV,eZ,eK,eY,eX,eQ,eJ,e$,e0,e1,e2,e5,e4,e3,e6,e8,e7,e9,te,tt,tn,tr,to,ta,ti,tl,ts,tc,td,tp,tu;let{propertyBasicDetails:tx,user:tm,propId:th}=e,tg=(0,a.useRouter)(),tf=(0,o.useRef)(null),tv=(0,o.useRef)(null),tb=(0,o.useRef)(null),[ty,tk]=(0,o.useState)(""),[tj,tw]=(0,o.useState)(!1),t_=(null==tx?void 0:null===(t=tx.brand_data)||void 0===t?void 0:t.brand_color)?null==tx?void 0:null===(n=tx.brand_data)||void 0===n?void 0:n.brand_color:"#3757FE",tS=(null==tx?void 0:null===(i=tx.brand_data)||void 0===i?void 0:i.brand_accent_color)?null==tx?void 0:null===(s=tx.brand_data)||void 0===s?void 0:s.brand_accent_color:"#EDF0FF",tC=(null==tx?void 0:null===(D=tx.brand_data)||void 0===D?void 0:D.text_color)?null==tx?void 0:null===(R=tx.brand_data)||void 0===R?void 0:R.text_color:"#FFFFFF",tN="#2C3032",tA="#616161";(0,o.useEffect)(()=>{["eazypg.in","www.eazypg.in","rentok.com","www.rentok.com"].includes(window.location.hostname)||tk(window.location.hostname)},[]);let[tD,tz]=(0,o.useState)([{header:"Common",values:(null==tx?void 0:tx.common_amenities)||[],icon:"https://cdn3d.iconscout.com/3d/premium/thumb/home-4742019-3945504.png"},{header:"Room",values:[],icon:"https://cdn3d.iconscout.com/3d/premium/thumb/bed-8701681-7097721.png"},{header:"Services",values:(null==tx?void 0:tx.services_amenities)||[],icon:"https://cdn3d.iconscout.com/3d/premium/thumb/mop-and-bucket-6316458-5193117.png"},{header:"Food",values:(null==tx?void 0:tx.food_amenities)||[],icon:"https://cdn3d.iconscout.com/3d/premium/thumb/food-service-4454025-3692806.png"}]),[tR,tE]=(0,o.useState)(!1),[tP,tF]=(0,o.useState)(),[tT,tI]=(0,o.useState)();function StatsCard(e){let{imgUrl:t,title:n,body:o,borderRight:a,borderBottom:i,textColor:l}=e;
1return(0,r.jsxs)(c.k,{w:"100%",justifyContent:{base:"space-around",md:"normal"},gap:"10px",borderRight:a,borderBottom:i,align:"center",p:{base:"20px"},children:[(0,r.jsx)(c.k,{bg:"#fff",borderRadius:"full",h:["40px","80px"],w:["40px","80px"],align:"center",display:{base:"none",md:"inherit"},children:(0,r.jsx)(d.E,{src:t,p:["5px","20px"],maxH:["40px","80px"],maxW:["40px","80px"],mx:"auto"})}),(0,r.jsxs)(c.k,{direction:"column",children:[(0,r.jsxs)(c.k,{align:"center",mb:{base:"5px"},children:[(0,r.jsx)(d.E,{src:t,maxH:"20px",maxW:"20px",display:{base:"inherit",md:"none"},mr:{base:"10px"}}),(0,r.jsx)(p.x,{as:"p",textAlign:"start",fontWeight:"500",color:l,fontSize:["16px","20px"],children:"Monthly Collection"===n?"Collection":n})]}),(0,r.jsx)(p.x,{as:"p",textAlign:"start",fontWeight:"700",fontSize:["24px","32px"],color:t_,children:o})]})]})}function PropertyFeatureCard(e){let{imgUrl:t,title:n,body:o,brandColor:a,brandAccentColor:i,...l}=e;return(0,r.jsxs)(c.k,{gap:"12px",py:["12px","20px"],px:["12px","24px"],direction:"column",border:"1px solid #E2E8F0",borderRadius:"16px",boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.04), 0px 1px 3px rgba(0, 0, 0, 0.06)",bg:"white",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",_hover:{transform:"translateY(-2px)",boxShadow:"0px 8px 24px rgba(0, 0, 0, 0.08), 0px 4px 12px rgba(0, 0, 0, 0.06)",borderColor:a,bg:i},_active:{transform:"translateY(0px)",boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.06)"},...l,children:[(0,r.jsx)(d.E,{src:t,h:"48px",w:"48px"}),(0,r.jsxs)(c.k,{direction:"column",children:[(0,r.jsx)(p.x,{as:"h3",fontWeight:"700",fontSize:["18px","20px"],color:a,children:n}),(0,r.jsx)(p.x,{as:"p",fontWeight:"400",fontSize:["14px","16px"],color:"#616161",children:o})]})]})}(0,o.useEffect)(()=>{let fetchRoomAmenities=async()=>{var e,t,n;let r=await l().post("".concat("https://apiv2.rentok.com","/property/fetchRoomAmenities"),{pg_id:null==tx?void 0:null===(e=tx.brand_data)||void 0===e?void 0:e.pg_id});if(null==r?void 0:null===(t=r.data)||void 0===t?void 0:t.roomAmenities){let e=[...tD];e[1].values=null==r?void 0:null===(n=r.data)||void 0===n?void 0:n.roomAmenities,tz(e)}return null==r?void 0:r.data};fetchRoomAmenities()},[tx]),(0,o.useEffect)(()=>{var e;let fetchStaffData=async()=>{var e,t,n,r,o,a,i,s;let c=await l().post("".concat("https://apiv2.rentok.com","/teamMember/fetchTeamMembersWithSelfie"),{pg_id:null==tx?void 0:null===(e=tx.brand_data)||void 0===e?void 0:e.pg_id});if((null==c?void 0:null===(t=c.data)||void 0===t?void 0:t.status)===200&&(null==c?void 0:null===(n=c.data)||void 0===n?void 0:n.data)&&(null==c?void 0:null===(o=c.data)||void 0===o?void 0:null===(r=o.data.team_members)||void 0===r?void 0:r.length)>0){let e={Founder:1,Director:1,Owner:2,Admin:3,Partner:4,Manager:5,"PG Manager":6,"Sales & Marketing Head":7,"Accounts Head":8,"Operations Head":9};null==c||null===(i=c.data)||void 0===i||i.data.team_members.forEach(t=>{if(!e[t.designation]){let n=Math.max(...Object.values(e));e[t.designation]=n+1}}),c.data.data.team_members=null==c?void 0:null===(s=c.data)||void 0===s?void 0:s.data.team_members.sort(function(t,n){let r=(e[t.designation]||99)-(e[n.designation]||99);if(0!==r)return r;if(0===r&&t.designation===n.designation){if(t.name<n.name)return -1;if(t.name>n.name)return 1}return 0})}tI(null==c?void 0:null===(a=c.data)||void 0===a?void 0:a.data)};(null==tx?void 0:null===(e=tx.brand_data)||void 0===e?void 0:e.show_team_section)&&fetchStaffData()},[]);let scrollDown=e=>{window.scrollTo({top:e.current.offsetTop,behavior:"smooth"})};function TeamMemberCard(e){let{name:t,designation:n,selfieUrl:o}=e;return(0,r.jsxs)(u.x,{width:["220px","370px"],children:[(0,r.jsx)(c.k,{w:"100%",px:["35px","50px","70px"],py:["10px","20px","33px"],bg:"#ACADE5",borderRadius:"20px 20px 0px 0px",children:(0,r.jsx)(x.q,{src:o,name:t,boxSize:["133px","230px"]})}),(0,r.jsxs)(c.k,{p:["15px","18px","20px"],gap:"15px",direction:"column",bg:"#fff",borderRadius:"0px 0px 20px 20px",children:[(0,r.jsx)(p.x,{fontSize:["16px","20px","28px"],fontWeight:"700",children:t}),(0,r.jsx)(p.x,{fontSize:["12px","16px","20px"],children:n})]})]})}return(0,r.jsxs)(m.K,{children:[(0,r.jsxs)(z(),{children:[(0,r.jsx)("title",{children:(null==tx?void 0:null===(B=tx.brand_data)||void 0===B?void 0:B.meta_title)?null==tx?void 0:null===(M=tx.brand_data)||void 0===M?void 0:M.meta_title:null==tx?void 0:null===(L=tx.brand_data)||void 0===L?void 0:L.name}),(0,r.jsx)("link",{rel:"shortcut icon",href:(null==tx?void 0:null===(W=tx.brand_data)||void 0===W?void 0:W.brand_logo)?null==tx?void 0:null===(O=tx.brand_data)||void 0===O?void 0:O.brand_logo:null==tx?void 0:null===(G=tx.brand_data)||void 0===G?void 0:G.brand_image}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,r.jsx)("meta",{name:"theme-color",content:t_}),(0,r.jsx)("meta",{name:"description",content:(null==tx?void 0:null===(U=tx.brand_data)||void 0===U?void 0:U.meta_description)?null==tx?void 0:null===(H=tx.brand_data)||void 0===H?void 0:H.meta_description:null==tx?void 0:null===(V=tx.brand_data)||void 0===V?void 0:V.brand_about}),(0,r.jsx)("meta",{property:"og:image",content:(null==tx?void 0:null===(Z=tx.brand_data)||void 0===Z?void 0:Z.meta_image_url)?null==tx?void 0:null===(K=tx.brand_data)||void 0===K?void 0:K.meta_image_url:null==tx?void 0:null===(Y=tx.brand_data)||void 0===Y?void 0:Y.brand_image}),(0,r.jsx)("meta",{property:"og:title",content:(null==tx?void 0:null===(X=tx.brand_data)||void 0===X?void 0:X.meta_title)?null==tx?void 0:null===(Q=tx.brand_data)||void 0===Q?void 0:Q.meta_title:null==tx?void 0:null===(J=tx.brand_data)||void 0===J?void 0:J.name}),(0,r.jsx)("meta",{property:"og:description",content:(null==tx?void 0:null===($=tx.brand_data)||void 0===$?void 0:$.meta_description)?null==tx?void 0:null===(ee=tx.brand_data)||void 0===ee?void 0:ee.meta_description:null==tx?void 0:null===(et=tx.brand_data)||void 0===et?void 0:et.brand_about}),ty?(0,r.jsx)("link",{rel:"canonical",href:"https://".concat(ty)}):null]}),(0,r.jsx)(E(),{src:"/ChatWidget.js",strategy:"afterInteractive",onLoad:()=>{let e=document.querySelector('script[src="/ChatWidget.js"]');if(e){var t,n,r,o,a;e.setAttribute("data-phone",(null==tx?void 0:null===(n=tx.brand_data)||void 0===n?void 0:null===(t=n.support_whatsapp_number)||void 0===t?void 0:t.length)>10?null==tx?void 0:null===(r=tx.brand_data)||void 0===r?void 0:r.supp
1ort_whatsapp_number:"91".concat(null==tx?void 0:null===(o=tx.brand_data)||void 0===o?void 0:o.support_whatsapp_number)),e.setAttribute("data-property",null==tx?void 0:null===(a=tx.brand_data)||void 0===a?void 0:a.name),e.setAttribute("data-color",t_),e.setAttribute("data-position","bottom-right")}}}),(0,r.jsx)(A.Z,{logoUrl:null==tx?void 0:null===(en=tx.brand_data)||void 0===en?void 0:en.brand_logo,brandName:(null==tx?void 0:null===(er=tx.brand_data)||void 0===er?void 0:er.header_name)?null==tx?void 0:null===(eo=tx.brand_data)||void 0===eo?void 0:eo.header_name:null==tx?void 0:null===(ea=tx.brand_data)||void 0===ea?void 0:ea.name,user:tm,propertyScrollFunction:()=>scrollDown(tf),amenitiesScrollFunction:()=>scrollDown(tb),featuresScrollFunction:()=>scrollDown(tv),brandPhone:null==tx?void 0:null===(ei=tx.brand_data)||void 0===ei?void 0:ei.support_number,brandColor:t_,brandAccentColor:tS,textColor:tC,primaryTextColor:tN,accentTextColor:tA}),(0,r.jsxs)(m.K,{position:"relative",children:[(null==tx?void 0:null===(el=tx.brand_data)||void 0===el?void 0:el.header_section_type)==2?(0,r.jsxs)(m.K,{w:"100%",minH:["90vh","80vh"],direction:{base:"column",md:"row"},flexDir:"column-reverse",bgGradient:"linear(to-br, ".concat(t_," 0%, ").concat(tS," 80%)"),children:[(0,r.jsx)(c.k,{px:["20px","40px","40px"],flex:1,align:"center",justify:"center",w:"100%",children:(0,r.jsxs)(m.K,{spacing:6,w:"full",maxW:"lg",children:[(0,r.jsx)(h.X,{fontSize:{base:"4xl",md:"5xl",lg:"7xl"},as:"h1",children:(null==tx?void 0:null===(es=tx.brand_data)||void 0===es?void 0:es.header_title)?null==tx?void 0:null===(ec=tx.brand_data)||void 0===ec?void 0:ec.header_title:"Your Rented Home"}),(0,r.jsx)(p.x,{fontSize:{base:"md",lg:"lg"},as:"h2",children:(null==tx?void 0:null===(ed=tx.brand_data)||void 0===ed?void 0:ed.header_body)?null==tx?void 0:null===(ep=tx.brand_data)||void 0===ep?void 0:ep.header_body:"Wherever you want; Whenever you need."}),(0,r.jsx)(g.z,{bg:t_,color:tC,zIndex:"2",width:"max-content",onClick:()=>scrollDown(tf),leftIcon:(0,r.jsx)(P.qlS,{}),_hover:{bg:t_,opacity:"0.8"},children:"View ".concat((null==tx?void 0:null===(eu=tx.properties)||void 0===eu?void 0:eu.length)>1?"properties":"property")})]})}),(0,r.jsx)(c.k,{flex:1,w:"100%",p:"40px",children:(0,r.jsx)(d.E,{alt:"Picture of ".concat(null==tx?void 0:null===(ex=tx.brand_data)||void 0===ex?void 0:ex.name," rental property"),objectFit:["contain","contain","cover"],h:"100%",maxH:"80vh",maxW:["90vw","90vw","40vw","40vw"],src:null==tx?void 0:null===(em=tx.brand_data)||void 0===em?void 0:em.brand_image})})]}):(0,r.jsxs)(u.x,{w:"100%",minH:"80vh",position:"relative",overflow:"hidden",children:[(0,r.jsxs)(u.x,{position:"absolute",top:"0",left:"0",w:"100%",h:"100%",zIndex:"1",children:[(0,r.jsx)(d.E,{src:null==tx?void 0:null===(eh=tx.brand_data)||void 0===eh?void 0:eh.brand_image,alt:"".concat(null==tx?void 0:null===(eg=tx.brand_data)||void 0===eg?void 0:eg.name," background blur"),w:"100%",h:"100%",display:{base:"block",md:"none"},objectFit:"cover",objectPosition:"center",filter:"blur(12px)",transform:"scale(1.15)",opacity:.9,position:"absolute",top:0,left:0,zIndex:1}),(0,r.jsx)(d.E,{src:null==tx?void 0:null===(ef=tx.brand_data)||void 0===ef?void 0:ef.brand_image,alt:"".concat(null==tx?void 0:null===(ev=tx.brand_data)||void 0===ev?void 0:ev.name," background"),w:"100%",h:"100%",objectFit:{base:"contain",md:"cover"},objectPosition:{base:"center",md:"center"},position:"absolute",top:0,left:0,zIndex:2,onLoad:()=>console.log("✅ HTML img Background loaded successfully"),onError:e=>console.log("❌ HTML img Background failed to load:",e)})]}),(0,r.jsxs)(m.K,{pt:"40px",align:"center",position:"relative",zIndex:"10",spacing:6,children:[(0,r.jsx)(h.X,{align:"center",color:"#fff",fontSize:["28px","36px","48px"],as:"h1",children:(null==tx?void 0:null===(eb=tx.brand_data)||void 0===eb?void 0:eb.header_title)?null==tx?void 0:null===(ey=tx.brand_data)||void 0===ey?void 0:ey.header_title:"Your Rented Home"}),(0,r.jsx)(p.x,{align:"center",pb:"16px",color:"#fff",fontSize:["18px","24px","28px"],as:"h2",children:(null==tx?void 0:null===(ek=tx.brand_data)||void 0===ek?void 0:ek.header_body)?null==tx?void 0:null===(ej=tx.brand_data)||void 0===ej?void 0:ej.header_body:"Wherever you want; Whenever you need."}),(0,r.jsx)(g.z,{bg:t_,color:tC,width:"max-content",onClick:()=>scrollDown(tf),leftIcon:(0,r.jsx)(P.qlS,{}),_hover:{bg:t_,opacity:"0.8"},children:"View ".concat((null==tx?void 0:null===(ew=tx.properties)||void 0===ew?void 0:e
1w.length)>1?"properties":"property")})]}),(0,r.jsx)(u.x,{position:"absolute",top:"0",left:"0",w:"100%",h:"100%",bgGradient:"linear(to-b, rgba(0,0,0,0.5), rgba(0,0,0,0.1))",zIndex:"5"}),(0,r.jsx)(u.x,{position:"absolute",top:"0",left:"0",w:"100%",h:"100%",bg:"gray.300",zIndex:"0"})]}),(0,r.jsx)(u.x,{mb:"40px",mt:"-10px",children:(0,r.jsx)(u.x,{mx:"auto",children:(0,r.jsx)(f.M,{bg:tS,columns:{base:2,md:2,lg:4},align:"center",children:null==tx?void 0:null===(eS=tx.brand_data)||void 0===eS?void 0:null===(e_=eS.stats)||void 0===e_?void 0:e_.map((e,t)=>(0,r.jsx)(StatsCard,{title:null==e?void 0:e.title,body:null==e?void 0:e.value,imgUrl:null==e?void 0:e.imgUrl,borderRight:{base:"1px solid #DADADA",lg:"1px solid #DADADA"},borderBottom:{base:"1px solid #DADADA",lg:"none"},textColor:tA},t))})})}),(null==tx?void 0:tx.show_3D_tour)&&(0,r.jsx)(m.K,{w:"100vw",py:["50px","80px"],bg:tS,children:(0,r.jsxs)(c.k,{w:"100%",mx:"auto",direction:"column",px:["10px","20px"],children:[(0,r.jsxs)(h.X,{as:"h2",pb:["24px","32px"],align:"center",color:tN,children:["Take a ",(0,r.jsx)(v.m.span,{color:t_,children:"Virtual Tour"})]}),(0,r.jsx)(p.x,{align:"center",pb:["32px","48px"],fontSize:["16px","18px"],color:tA,children:"Explore our property in immersive 3D before you visit"}),(0,r.jsxs)(b.m,{variant:"enclosed",colorScheme:"blue",align:"center",children:[(0,r.jsxs)(y.t,{border:"none",mb:["20px","32px"],display:"flex",justifyContent:"center",gap:["10px","20px"],children:[(0,r.jsx)(k.O,{bg:"white",color:t_,fontWeight:"600",fontSize:["14px","16px"],px:["20px","32px"],py:["12px","16px"],borderRadius:"50px",border:"2px solid ".concat(t_),_selected:{bg:t_,color:tC,borderColor:t_},_hover:{bg:tS},children:"Suite"}),(0,r.jsx)(k.O,{bg:"white",color:t_,fontWeight:"600",fontSize:["14px","16px"],px:["20px","32px"],py:["12px","16px"],borderRadius:"50px",border:"2px solid ".concat(t_),_selected:{bg:t_,color:tC,borderColor:t_},_hover:{bg:tS},children:"Suite Plus"})]}),(0,r.jsxs)(j.n,{children:[(0,r.jsx)(w.x,{p:0,children:(0,r.jsx)(u.x,{w:"100%",h:["450px","550px","700px"],borderRadius:"8px",overflow:"hidden",boxShadow:"0px 10px 40px ".concat(tS),border:"2px solid ".concat(t_),children:(0,r.jsx)("iframe",{src:"https://my.matterport.com/show/?m=LmD5r3QrUeE",width:"100%",height:"100%",frameBorder:"0",allowFullScreen:!0,allow:"xr-spatial-tracking",title:"Suite - 3D Virtual Tour"})})}),(0,r.jsx)(w.x,{p:0,children:(0,r.jsx)(u.x,{w:"100%",h:["450px","550px","700px"],borderRadius:"8px",overflow:"hidden",boxShadow:"0px 10px 40px ".concat(tS),border:"2px solid ".concat(t_),children:(0,r.jsx)("iframe",{src:"https://my.matterport.com/show/?m=2qQt7mFFEri",width:"100%",height:"100%",frameBorder:"0",allowFullScreen:!0,allow:"xr-spatial-tracking",title:"Suite Plus - 3D Virtual Tour"})})})]})]})]})}),(0,r.jsx)(m.K,{py:"50px",ref:tf,w:"100vw",children:(0,r.jsxs)(c.k,{maxW:"100vw",py:["50px"],mx:"auto",direction:"column",children:[(null==tx?void 0:null===(eC=tx.brand_data)||void 0===eC?void 0:eC.properties_title)?(0,r.jsx)(h.X,{pb:["16px","20px"],align:"center",color:tN,children:null==tx?void 0:null===(eN=tx.brand_data)||void 0===eN?void 0:eN.properties_title}):(0,r.jsxs)(h.X,{pb:["16px","20px"],align:"center",color:tN,children:["Live your ",(0,r.jsx)(v.m.span,{color:t_,children:"best life"})," in our Properties"]}),(null==tx?void 0:null===(eA=tx.flat_array)||void 0===eA?void 0:eA.length)>0?(0,r.jsx)(c.k,{overflowX:"scroll",gap:"20px",px:["20px","40px","60px"],pb:"100px",maxW:"100vw",mx:"auto",css:{"::-webkit-scrollbar-thumb":"#000000","&::-webkit-scrollbar-thumb":"#000000"},style:{"&::WebkitScrollbarThumb":"#000000"},children:null==tx?void 0:null===(eD=tx.flat_array)||void 0===eD?void 0:eD.map((e,t)=>(0,r.jsx)(u.x,{minW:"420px",maxW:"450px",children:(0,r.jsx)(I.Z,{imageUrls:null==e?void 0:e.images_urls,price:null==e?void 0:e.room_rent,originalPrice:null==e?void 0:e.original_rent,propertyName:null==e?void 0:e.flat_name,rating:(null==e?void 0:e.property_rating)||"4.5",reviewCount:(null==e?void 0:e.review_count)||"0",propId:null==e?void 0:e.prop_id,brandColor:t_,brandAccentColor:tS,textColor:tC,typeCards:(null==e?void 0:e.type_cards)||[],roomTypeTags:(null==e?void 0:e.room_type_tags)||[],plusSymbolCount:(null==e?void 0:e.plus_symbol_count)||0},t)},t))}):(0,r.jsx)(c.k,{overflowX:"scroll",gap:"20px",px:["20px","40px","60px"],pb:"100px",maxW:"100vw",mx:"auto",css:{"::-webkit-scrollbar-thumb":"#000000","&::-webkit-scrollbar-thumb":"#000000"},style:{"&::WebkitScrollbarThumb":"#000000"},children:null==tx?void 0:null===(ez=tx.properties)||void 0===ez?void 0:ez.map((e,t)=>{var n,o,a,i,l;let s;return(0,r.jsx)(u.x,{width:"400px",boxShadow:"10px 10px 20px rgba(0, 0, 0, 0.15)",borderRadius:"8px",children:(0,r.jsx)(C.Z,{imageArray:null==e?void 0:e.images,pgName:null==e?void 0:e.pg_name,rating:"4",isWishlisted:!0,address:(o=null==e?void 0:e.address_line_1,a=null==e?void 0:e.address_line_2,i=null==e?void 0:e.city,l=null==e?void 0:e.state,s="",o&&(s=s?s+" "+o:o),a&&(s=s?s+" "+a:a),i&&(s=s?s+" "+i:i),l&&(s=s?s+" "+l:l),s),propId:null==e?void 0:null===(n=e.microsite_url)||void 0===n?void 0:n.prop_id,genderPreferred:(0,N.rF)(null==e?void 0:e.pg_available_for),tenantTypePreferred:(null==e?void 0:e.tenants_preferred)?null==e?void 0:e.tenants_preferred:"Students & Working Professionals",listingFlag:!1,rentStartsFrom:null==e?void 0:e.rent_starts_from,sharingTypeArray:null==e?void 0:e.available_sharing_type,primaryTextColor:tN,accentTextColor:tA})},t)})})]})}),(0,r.jsx)(m.K,{w:"100%",children:(0,r.jsxs)(m.K,{px:["20px","40px","160px"],py:["20px","50px"],ref:tv,display:(null==tx?void 0:null===(eR=tx.brand_data)||void 0===eR?void 0:eR.features)?"block":"none",maxW:"1400px",mx:"auto",children:[(null==tx?void 0:null===(eE=tx.brand_data)||void 0===eE?void 0:eE.feature_title)?(0,r.jsx)(h.X,{as:"h2",pb:["16px","20px"],align:"center",color:tN,children:null==tx?void 0:null===(eP=tx.brand_data)||void 0===eP?void 0:eP.feature_title}):(0,r.jsxs)(h.X,{as:"h2",pb:["16px","20px"],align:"center",color:tN,children:["What Makes ",(0,r.jsx)(v.m.span,{color:t_,children:null==tx?void 0:null===(eF=tx.brand_data)||void 0===eF?void 0:eF.name})," different ?"]}),(0,r.jsx)(f.M,{columns:[1,2,2,3],py:["20px","55px"],gap:["10px","20px"],children:null==tx?void 0:null===(eI=tx.brand_data)||void 0===eI?void 0:null===(eT=eI.features)||void 0===eT?void 0:eT.map((e,t)=>(0,r.jsx)(PropertyFeatureCard,{title:null==e?void 0:e.title,body:null==e?void 0:e.body,imgUrl:null==e?void 0:e.imgUrl,brandColor:t_,brandAccentColor:tS,primaryTextColor:tN,accentTextColor:tA},t))})]})}),(0,r.jsx)(m.K,{w:"100%",bg:"white",py:["60px","80px"],children:(0,r.jsxs)(m.K,{px:["20px","40px"],ref:tb,maxW:"1200px",mx:"auto",w:"100%",children:[(null==tx?void 0:null===(eB=tx.brand_data)||void 0===eB?void 0:eB.amenities_title)?(0,r.jsx)(h.X,{as:"h2",pb:["32px","48px"],align:"left",fontSize:["28px","32px"],fontWeight:"600",color:tN,children:null==tx?void 0:null===(eM=tx.brand_data)||void 0===eM?void 0:eM.amenities_title}):(0,r.jsx)(h.X,{as:"h2",pb:["32px","48px"],align:"left",fontSize:["28px","32px"],fontWeight:"600",color:tN,children:"What this place offers"}),(0,r.jsxs)(b.m,{variant:"unstyled",children:[(0,r.jsx)(y.t,{border:"none",mb:["32px","40px"],gap:"0px",overflowX:"auto",css:{"&::-webkit-scrollbar":{display:"none"}},children:null==tD?void 0:tD.map((e,t)=>(0,r.jsx)(k.O,{minW:"fit-content",px:["16px","24px"],py:["12px","16px"],mr:["8px","16px"],borderRadius:"50px",bg:"transparent",color:"#717171",fontWeight:"500",fontSize:["14px","16px"],border:"1px solid #DDDDDD",_selected:{bg:t_,color:"white",border:"1px solid ".concat(t_),fontWeight:"600"},_hover:{borderColor:"#B0B0B0"},transition:"all 0.2s ease",_focus:{boxShadow:"none"},children:null==e?void 0:e.header},t))}),(0,r.jsx)(j.n,{children:null==tD?void 0:tD.map((e,t)=>{var n,o;return(0,r.jsx)(w.x,{p:0,children:(null==e?void 0:e.values)&&(null==e?void 0:null===(n=e.values)||void 0===n?void 0:n.length)>0?(0,r.jsx)(f.M,{columns:[1,2],spacing:["12px","16px"],mt:"0px",children:null==e?void 0:null===(o=e.values)||void 0===o?void 0:o.map((e,t)=>(0,r.jsxs)(c.k,{align:"center",gap:"16px",py:"20px",px:"0px",borderBottom:"1px solid #F0F0F0",_last:{borderBottom:"none"},children:[(0,r.jsx)(u.x,{minW:"24px",h:"24px",display:"flex",align:"center",justify:"center",children:(0,r.jsx)(d.E,{src:(0,N.m_)(e),boxSize:"20px",alt:"".concat(e," icon"),fallbackSrc:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTEzLjc4IDQuMjJhLjc1Ljc1IDAgMDEwIDEuMDZsLTcuMjUgNy4yNWEuNzUuNzUgMCAwMS0xLjA2IDBMMi4yMiA5LjI4YS43NS43NSAwIDAxMS4wNi0xLjA2TDYgMTAuOTRsNi43Mi02LjcyYS43NS43NSAwIDAxMS4wNiAweiIgZmlsbD0iIzIyMjIyMiIvPjwvc3ZnPg=="})}),(0,r.jsx)(p.x,{fontSize:["16px","16px"],fontWeight:"400",color:"#222222",lineHeight:"1.3",children:e})]},t))}):(0,r.jsxs)(c.k,{align:"center",justify:"center",py:"60px",direction:"column",gap:"16px",children:[(0,r.jsx)(u.x,{w:"64px",h:"64px",borderRadius:"50%",bg:"#F7F7F7",display:"flex",alignItems:"center",justifyContent:"center",mb:"8px",children:(0,r.jsx)(d.E,{src:e.icon,boxSize:"28px",opacity:.6,mx:"auto",my:"auto",display:"block"})}),(0,r.jsxs)(p.x,{fontSize:"18px",color:"#717171",fontWeight:"500",children:["No ",e.header.toLowerCase()," amenities"]}),(0,r.jsxs)(p.x,{fontSize:"14px",color:"#B0B0B0",textAlign:"center",maxW:"300px",lineHeight:"1.4",children:["This property doesn","'","t have any ",e.header.toLowerCase()," amenities listed"]})]})},t)})})]}),(0,r.jsx)(u.x,{mt:["48px","64px"],pt:["32px","40px"],borderTop:"1px solid #F0F0F0",children:(0,r.jsxs)(c.k,{direction:["column","row"],align:["center","flex-start"],justify:"space-between",gap:["20px","32px"],children:[(0,r.jsxs)(u.x,{flex:1,children:[(0,r.jsx)(p.x,{fontSize:["18px","20px"],color:tN,fontWeight:"600",lineHeight:"1.3",mb:"8px",children:"Ready to book your stay?"}),(0,r.jsx)(p.x,{fontSize:["14px","16px"],color:tA,lineHeight:"1.4",children:"Experience all these amenities and more at our property"})]}),(0,r.jsx)(g.z,{bg:t_,color:"white",size:"lg",fontWeight:"600",borderRadius:"8px",px:"24px",h:"48px",minW:"160px",_hover:{bg:"#000000"},_focus:{boxShadow:"none"},transition:"all 0.2s ease",onClick:()=>scrollDown(tf),children:"Check availability"})]})})]})}),(0,r.jsx)(m.K,{children:(0,r.jsx)(_.default,{backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover",brandname:(null==tx?void 0:null===(eL=tx.brand_data)||void 0===eL?void 0:eL.name)||"RentOk",bg:tS,titleColor:t_,selectedBoxBorder:"1px solid ".concat(t_),inactiveTextColor:t_,colorScheme:"blue",customArray:null==tx?void 0:null===(eW=tx.brand_data)||void 0===eW?void 0:eW.better_living_array})}),(0,r.jsxs)(m.K,{w:"100vw",py:["50px"],children:[(0,r.jsxs)(h.X,{as:"h2",pb:["16px","20px"],align:"center",children:["About ",(0,r.jsx)(v.m.span,{color:t_,children:null==tx?void 0:null===(eO=tx.brand_data)||void 0===eO?void 0:eO.name})]}),(0,r.jsxs)(f.M,{columns:{base:1,md:2}
1,bg:tS,p:["20px","40px","100px"],gap:["20px","40px","80px"],children:[(0,r.jsx)(u.x,{children:(0,r.jsx)(d.E,{src:(null==tx?void 0:null===(eq=tx.brand_data)||void 0===eq?void 0:eq.about_us_image)?null==tx?void 0:null===(eG=tx.brand_data)||void 0===eG?void 0:eG.about_us_image:null==tx?void 0:null===(eU=tx.brand_data)||void 0===eU?void 0:eU.brand_image,borderRadius:"20px"})}),(0,r.jsx)(u.x,{children:(null==tx?void 0:null===(eH=tx.brand_data)||void 0===eH?void 0:eH.about_us_html)?(0,r.jsx)(u.x,{dangerouslySetInnerHTML:{__html:null==tx?void 0:null===(eV=tx.brand_data)||void 0===eV?void 0:eV.about_us_html}}):(0,r.jsx)(p.x,{as:"p",fontSize:["16px","18px","20px"],children:null==tx?void 0:null===(eZ=tx.brand_data)||void 0===eZ?void 0:eZ.brand_about})})]})]}),(0,r.jsx)(m.K,{w:"100vw",display:(null==tx?void 0:null===(eY=tx.brand_data)||void 0===eY?void 0:null===(eK=eY.reviews)||void 0===eK?void 0:eK.length)>0?"block":"none",children:(0,r.jsxs)(c.k,{maxW:"1400px",py:["50px"],mx:"auto",direction:"column",children:[(0,r.jsx)(h.X,{pb:["16px","20px"],align:"center",children:"Our reviews!"}),(0,r.jsx)(u.x,{p:"20px",children:(0,r.jsx)(f.M,{columns:[1,1,3],gap:8,children:null==tx?void 0:null===(eQ=tx.brand_data)||void 0===eQ?void 0:null===(eX=eQ.reviews)||void 0===eX?void 0:eX.map((e,t)=>{if(t<3)return(0,r.jsx)(F.Z,{review:e},t)})})}),(0,r.jsx)(g.z,{bg:t_,color:tC,w:"fit-content",align:"center",size:"lg",mx:"auto",my:"20px",onClick:()=>{tg.push("/testimonials")},children:"View All Reviews"})]})}),!(null==tx?void 0:null===(eJ=tx.flat_array)||void 0===eJ?void 0:eJ.length)>0&&(0,r.jsxs)(m.K,{w:"100vw",py:["50px"],display:(null==tx?void 0:null===(e$=tx.brand_data)||void 0===e$?void 0:e$.show_team_section)?"block":"none",children:[(0,r.jsxs)(h.X,{as:"h2",pb:["16px","20px"],align:"center",children:["We are always ",(0,r.jsx)(v.m.span,{color:t_,children:"ready to serve you"})]}),(0,r.jsx)(c.k,{p:["20px","40px"],gap:["20px","30px","40px"],overflowX:"scroll",bg:tS,children:(null==tT?void 0:tT.team_members)&&(null==tT?void 0:tT.team_members.length)>0&&(null==tT?void 0:tT.team_members.map((e,t)=>(0,r.jsx)(TeamMemberCard,{name:e.name,designation:e.designation,selfieUrl:e.selfie_url},t)))})]}),(0,r.jsx)(m.K,{w:"100vw",display:(null==tx?void 0:null===(e1=tx.brand_data)||void 0===e1?void 0:null===(e0=e1.faqs)||void 0===e0?void 0:e0.length)>0?"block":"none",children:(0,r.jsxs)(c.k,{maxW:"1400px",py:["50px"],mx:"auto",direction:"column",children:[(0,r.jsx)(h.X,{as:"h2",pb:["16px","20px"],align:"center",children:"Frequently Asked Questions"}),(0,r.jsx)(u.x,{p:"20px",children:(0,r.jsx)(T.Z,{faqData:null==tx?void 0:null===(e2=tx.brand_data)||void 0===e2?void 0:e2.faqs})})]})})]}),(0,r.jsx)(S.Z,{pgName:null==tx?void 0:null===(e5=tx.brand_data)||void 0===e5?void 0:e5.name,aboutProperty:(null==tx?void 0:null===(e4=tx.brand_data)||void 0===e4?void 0:e4.footer_description)?null==tx?void 0:null===(e3=tx.brand_data)||void 0===e3?void 0:e3.footer_description:null==tx?void 0:null===(e6=tx.brand_data)||void 0===e6?void 0:e6.brand_about,address:(null==tx?void 0:null===(e8=tx.brand_data)||void 0===e8?void 0:e8.footer_address)?null==tx?void 0:null===(e7=tx.brand_data)||void 0===e7?void 0:e7.footer_address:"".concat(null==tx?void 0:null===(e9=tx.properties[0])||void 0===e9?void 0:e9.address_line_1," ").concat(null==tx?void 0:null===(te=tx.properties[0])||void 0===te?void 0:te.address_line_2," ").concat(null==tx?void 0:null===(tt=tx.properties[0])||void 0===tt?void 0:tt.city),email:null==tx?void 0:null===(tn=tx.brand_data)||void 0===tn?void 0:tn.support_email,fbUrl:null==tx?void 0:null===(tr=tx.brand_data)||void 0===tr?void 0:tr.facebook_url,igUrl:null==tx?void 0:null===(to=tx.brand_data)||void 0===to?void 0:to.instagram_url,twtUrl:null==tx?void 0:null===(ta=tx.brand_data)||void 0===ta?void 0:ta.twitter_url,ytUrl:null==tx?void 0:null===(ti=tx.brand_data)||void 0===ti?void 0:ti.youtube_url,linkedInUrl:null==tx?void 0:null===(tl=tx.brand_data)||void 0===tl?void 0:tl.linkedin_url,phone:"".concat((null==tx?void 0:null===(ts=tx.brand_data)||void 0===ts?void 0:ts.support_number)?null==tx?void 0:null===(tc=tx.brand_data)||void 0===tc?void 0:tc.support_number:""," ").concat((null==tx?void 0:null===(td=tx.brand_data)||void 0===td?void 0:td.support_whatsapp_number)?", ".concat(null==tx?void 0:null===(tp=tx.brand_data)||void 0===tp?void 0:tp.support_whatsapp_number):""),brandColor:t_,brandAccentColor:tS,textColor:tC,showRentOkBranding:null==tx?void 0:null===(tu=tx.brand_data)||void 0===tu?void 0:tu.show_rentok_branding,playStoreLink:null==tx?void 0:tx.play_store_link,appStoreLink:null==tx?void 0:tx.app_store_link})]})}var B=n(56913),M=n(84681),L=n(81052);let W={},O=["hero","proof","inventory","story","amenities","gallery","process","location","app","cta"],G=["base","alt","dar
1k"],U=["photos","manyPhotos","photoCards","properties","manyProperties","availability","prices","amenities","reviews","video","coords","apps"];function assertMeta(e){let t=[];if((null==e?void 0:e.id)||t.push("missing id"),O.includes(null==e?void 0:e.family)||t.push("family must be one of ".concat(O.join(", "))),(!Array.isArray(null==e?void 0:e.tones)||e.tones.some(e=>!G.includes(e)))&&t.push("tones must be from ".concat(G.join(", "))),(!Array.isArray(null==e?void 0:e.requires)||e.requires.some(e=>!U.includes(e)))&&t.push("requires must be CAPABILITIES keys"),t.length)throw Error('Invalid variant meta "'.concat(null==e?void 0:e.id,'": ').concat(t.join("; ")));return e}function sectionAttrs(e,t){return{id:e.family,"data-family":e.family,"data-variant":e.id,"data-tone":t}}function toneClasses(e){switch(e){case"dark":return"bg-surface-dark text-ink-onDark";case"alt":return"bg-surface-alt text-ink";default:return"bg-surface-base text-ink"}}let H=["base","alt","base","dark","alt","base","dark","base","alt","dark"];var V=n(74373);let Z={deep:"from-brand-800 to-brand-900",mid:"from-brand-700 to-brand-800",slate:"from-brand-600 to-brand-700",warm:"from-accent-400 to-accent-600",soft:"from-surface-alt to-surface-base",accent:"from-accent-300 to-accent-500"},toneFor=(e,t)=>{if(t&&Z[t])return t;let n=Object.keys(Z),r=5381;for(let t=0;t<String(e).length;t++)r=(r<<5)+r+String(e).charCodeAt(t)|0;return n[Math.abs(r)%n.length]};function PhotoTile(e){let{src:t,alt:n="",tone:a,seed:i="",className:l="",imgClassName:s="h-full w-full object-cover",priority:c=!1,children:d}=e,[p,u]=(0,o.useState)(!1),x=t&&!p,m=toneFor(i||t||"tile",a),h=/(^|\s)(absolute|fixed|sticky|relative)(\s|$)/.test(l);return(0,r.jsxs)("div",{className:"".concat(h?"":"relative"," overflow-hidden bg-surface-alt ").concat(l),"data-sentry-component":"PhotoTile","data-sentry-source-file":"PhotoTile.jsx",children:[x?(0,r.jsx)("img",{src:t,alt:n,loading:c?"eager":"lazy",fetchpriority:c?"high":void 0,decoding:"async",className:s,onError:()=>u(!0)}):(0,r.jsxs)("div",{className:"h-full w-full bg-gradient-to-br ".concat(Z[m]),"aria-hidden":"true",children:[(0,r.jsx)("div",{className:"h-full w-full opacity-[0.14] mix-blend-overlay",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E\")"}}),(0,r.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(120%_80%_at_30%_10%,rgb(255_255_255_/_0.16),transparent_60%)]"})]}),d]})}let K=assertMeta({id:"hero-immersive",family:"hero",tones:["dark"],requires:[],character:["premium","editorial","warm"],layout:"full-bleed 100svh, bottom-anchored copy, optional photographic ground",photoLed:!1});function Eyebrow(e){let{children:t,onDark:n=!1,className:o=""}=e;return t?(0,r.jsx)("p",{className:"text-micro uppercase tracking-eyebrow ".concat(n?"text-accent-400":"text-accent-600"," ").concat(o),"data-sentry-component":"Eyebrow","data-sentry-source-file":"Eyebrow.jsx",children:t}):null}let Y=assertMeta({id:"hero-split",family:"hero",tones:["base","alt"],requires:["photos"],character:["premium","editorial"],layout:"asymmetric two-column, unequal copy/photo split, photo stacks as a short band on mobile",asymmetric:!0,photoLed:!0}),headlineStats=(e,t)=>{if(!e)return[];let count=e=>Number.isFinite(Number(e))&&null!=e?Number(e):null,n=count(e.properties),r=count(e.beds),o=count(e.freeBeds);return[{key:"properties",value:n,label:1===n?"Residence":"Residences",hint:t||null},{key:"beds",value:r,label:1===r?"Bed":"Beds",hint:null},{key:"freeBeds",value:o>0?o:null,label:"Free right now",hint:"live availability"}].filter(e=>null!==e.value&&e.value>0)},X=assertMeta({id:"hero-editorial",family:"hero",tones:["dark"],requires:[],character:["editorial","clean","premium"],layout:"full-bleed 100svh, type-led on a flat brand ground, live-facts strip along the bottom edge",photoLed:!1});function Fact(e){let{label:t,value:n}=e;return null==n||""===n?null:(0,r.jsxs)("div",{className:"flex flex-col gap-0.5","data-sentry-component":"Fact","data-sentry-source-file":"HeroEditorial.jsx",children:[(0,r.jsx)("span",{className:"text-h3 text-ink-onDark",children:n}),(0,r.jsx)("span",{className:"text-micro uppercase tracking-eyebrow text-ink-onDark/60",children:t})]})}function StatTile(e){let{value:t,label:n,hint:o,onDark:a=!1}=e;return null==t||""===t?null:(0,r.jsxs)("div",{className:"flex flex-col gap-1","data-sentry-component":"StatTile","data-sentry-source-file":"StatTile.jsx",children:[(0,r.jsx)("p",{className:"text-h1 font-display ".concat(a?"text-ink-onDark":"text-ink-heading"),children:t}),n&&(0,r.jsx)("p",{className:"text-caption text-ink-muted",children:n}),o&&(0,r.jsx)("p",{className:"text-caption text-ink-muted/70",children:o})]})}let Q=assertMeta({id:"proof-band",family:"proof",tones:["alt","dar
1k"],requires:["availability"],character:["premium","clean","bold"],layout:"full-bleed horizontal strip of stat tiles divided by hairlines",photoLed:!1}),J={1:"sm:grid-cols-1",2:"sm:grid-cols-2",3:"sm:grid-cols-3"},$=assertMeta({id:"proof-editorial",family:"proof",tones:["base","alt"],requires:["availability"],character:["editorial","warm"],layout:"asymmetric split, claim in display type left, stacked stats with rules right",asymmetric:!0,photoLed:!1});function Stat(e){let{value:t,label:n}=e;return null==t?null:(0,r.jsxs)("div",{className:"border-t border-line py-5 first:border-t-0 first:pt-0","data-sentry-component":"Stat","data-sentry-source-file":"ProofEditorial.jsx",children:[(0,r.jsx)("span",{className:"block text-h1 text-ink-heading",children:t}),(0,r.jsx)("span",{className:"mt-1 block text-body text-ink-muted",children:n})]})}let ee=assertMeta({id:"inventory-grid",family:"inventory",tones:["base","alt"],requires:["properties","photoCards"],character:["clean","premium","warm"],layout:"uniform card grid, md:2-col lg:3-col — one property per card with sharing chips",photoLed:!0});function TierChip(e){let{tier:t}=e,n=(0,V.hG)(t.sharingType),o=t.freeBeds;return(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-pill border border-line bg-surface-base px-3 py-1 text-caption text-ink","data-sentry-component":"TierChip","data-sentry-source-file":"InventoryGrid.jsx",children:[n,(0,r.jsxs)("span",{className:(0,V.pM)(o)?"text-accent-600":"text-ink-muted",children:["\xb7 ",(0,V.kq)(o)]})]})}function PropertyCard(e){var t;let{property:n,availability:o,flows:a}=e,i=(0,V.Tp)(n);if(!i)return null;let l=(0,V.DE)(n),s=(0,V.kK)(n),c=(0,V.z5)(n),d=(0,V.j2)(null==n?void 0:n.images)[0]||null,p=c?null==o?void 0:null===(t=o.byProperty)||void 0===t?void 0:t[c]:null,u=(null==p?void 0:p.tiers)||[],x=(0,V.Hd)(n,p),{Visit:m,Booking:h}=a||{};return(0,r.jsxs)("article",{className:"flex flex-col overflow-hidden rounded-card border border-line bg-surface-base shadow-card","data-sentry-component":"PropertyCard","data-sentry-source-file":"InventoryGrid.jsx",children:[(0,r.jsx)(PhotoTile,{src:d,alt:"",seed:c||i,className:"aspect-[4/3] w-full","data-sentry-element":"PhotoTile","data-sentry-source-file":"InventoryGrid.jsx"}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-2",children:[(0,r.jsx)("h3",{className:"text-h3 text-ink-heading",children:i}),s&&(0,r.jsx)("span",{className:"rounded-pill bg-accent-200 px-2.5 py-0.5 text-micro uppercase tracking-eyebrow text-accent-600",children:V.LU[s]})]}),l&&(0,r.jsx)("p",{className:"text-caption text-ink-muted",children:l}),u.length>0?(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:u.map(e=>(0,r.jsx)(TierChip,{tier:e},e.sharingType))}):(0,r.jsx)("p",{className:"text-caption text-ink-muted",children:"Live availability for this residence is being confirmed."}),(0,r.jsx)("p",{className:"mt-auto text-body-lg font-semibold text-ink-heading",children:(0,V.gX)(x,null==n?void 0:n.default_rental_frequency)}),(h||m)&&(0,r.jsxs)("div",{className:"flex flex-wrap gap-3 pt-1",children:[h&&(0,r.jsx)(h,{property:n}),m&&(0,r.jsx)(m,{property:n})]})]})]})}let et=assertMeta({id:"inventory-rail",family:"inventory",tones:["base","alt","dark"],requires:["manyProperties","photoCards"],character:["bold","editorial","premium"],layout:"mobile snap-scroll rail -> lg asymmetric bento, one lead card spanning two or three rows beside smaller cells (R5), an odd neighbour widened to close the shape, further residences in rows of three",bento:!0,photoLed:!0}),en={1:"lg:row-span-1",2:"lg:row-span-2",3:"lg:row-span-3"},leadRows=e=>Math.min(3,Math.max(1,Math.ceil((e-1)/2))),cardSpan=(e,t)=>{if(0===e)return en[leadRows(t)];let n=t-1,r=2*leadRows(t),o=e-1;if(o<r)return n<r&&o===n-1?"lg:col-span-2":"";let a=n-r;if(o-r!=a-1)return"";let i=a%3;return 1===i?"lg:col-span-3":2===i?"lg:col-span-2":""};function Card(e){var t;let{property:n,availability:o,flows:a,lead:i,brandName:l,span:s=""}=e,c=(0,V.Ud)(n,l);if(!c)return null;let d=(0,V.DE)(n),p=(0,V.z5)(n),u=(0,V.j2)(null==n?void 0:n.images)[0]||null,x=p?null==o?void 0:null===(t=o.byProperty)||void 0===t?void 0:t[p]:null,m=(0,V.Hd)(n,x),h=x?x.freeBeds:null,{Booking:g}=a||{};return(0,r.jsxs)("article",{className:"relative flex shrink-0 snap-start flex-col overflow-hidden rounded-card shadow-lift lg:shrink lg:snap-align-none ".concat(i?"w-[85%]":"w-[70%] lg:w-auto"," ").concat(s),"data-sentry-component":"Card","data-sentry-source-file":"InventoryRail.jsx",children:[(0,r.jsx)(PhotoTile,{src:u,alt:"",seed:p||c,tone:"mid",className:"absolute inset-0",imgClassName:"h-full w-full object-cover","data-sentry-element":"PhotoTile","data-sentry-source-file":"InventoryRail.jsx"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-scrim"}),(0,r.jsxs)("div",{className:"relative mt-auto flex flex-col justify-end gap-1 p-4 text-ink-onDark lg:aspect-auto lg:h-full ".concat(i?"aspect-[4/5] md:p-6":"aspect-[4/3]"),children:[(0,r.jsx)("h3",{className:i?"text-h2":"text-h3",children:c}),d&&(0,r.jsx)("p",{className:"text-caption text-ink-onDark/75",children:d}),null!==h&&(0,r.jsx)("p",{className:"text-caption text-ink-onDark/90",children:(0,V.kq)(h)}),(0,r.jsx)("p",{className:"text-body-lg font-semibold",children:(0,V.gX)(m,null==n?void 0:n.default_rental_frequency)}),g&&(0,r.jsx)("div",{className:"pt-2",children:(0,r.jsx)(g,{property:n,onDark:!0,variant:i?"primary":"secondary"})})]})]})}let er=assertMeta({id:"inventory-tiers",family:"inventory",tones:["base","alt"],requires:["properties","availability"],character:["clean","editorial"],layout:"directory grouped by sharing tier — one block per tier, listing residences with per-tier bed counts",photoLed:!1});function TierBlock(e){let{sharingType:t,rows:n,tone:o,flows:a,brandName:i}=e,{Booking:l}=a||{},s=(0,V.v3)(n.map(e=>e.price)),c=n.every(e=>{var t;return(null===(t=e.property)||void 0===t?void 0:t.default_rental_frequency)==null||2===Number(e.property.default_rental_frequency)});return(0,r.jsxs)("div",{className:"border-t border-line py-8 first:border-t-0 first:pt-0","data-sentry-component":"TierBlock","data-sentry-source-file":"InventoryTiers.jsx",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-baseline justify-between gap-3",children:[(0,r.jsx)("h3",{className:"text-h3 text-ink-heading",children:(0,V.hG)(t)}),s>0&&(0,r.jsx)("p",{className:"text-body-lg font-semibold text-ink-heading",children:(0,V.gX)(s,c?2:0)})]}
1),(0,r.jsx)("ul",{className:"mt-5 divide-y divide-line",children:n.map((e,t)=>{let{property:n,tier:a,price:s}=e,c=(0,V.Ud)(n,i),d=(0,V.DE)(n),p=(0,V.z5)(n),u=p?"/property/".concat(p):null;return(0,r.jsxs)("li",{className:"flex flex-wrap items-center justify-between gap-3 py-4",children:[(0,r.jsxs)("div",{className:"min-w-0",children:[u?(0,r.jsx)("a",{href:u,className:"text-body-lg text-ink-heading underline-offset-4 hover:underline",children:c}):(0,r.jsx)("p",{className:"text-body-lg text-ink-heading",children:c}),d&&(0,r.jsx)("p",{className:"truncate text-caption text-ink-muted",children:d})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[s>0&&(0,r.jsx)("span",{className:"text-caption text-ink-heading",children:(0,V.gX)(s,null==n?void 0:n.default_rental_frequency)}),(0,r.jsx)("span",{className:"text-caption ".concat((0,V.pM)(a.freeBeds)?"text-accent-600":"text-ink-muted"),children:(0,V.kq)(a.freeBeds)}),l&&(0,V.pM)(a.freeBeds)&&(0,r.jsx)(l,{property:n,tone:o,label:"Enquire",variant:"secondary",className:"h-10 px-4"})]})]},p||t)})})]})}let eo=assertMeta({id:"story-editorial",family:"story",tones:["base","alt"],requires:[],character:["premium","editorial"],layout:"asymmetric 1fr/1.4fr split, display claim beside body copy + photo",asymmetric:!0,photoLed:!1}),ea=new Set(["tenant insurance"]),ei={"smart kyc":"Verify yourself once in the app; it holds for every RentOk property you ever move into.","exclusive tenant membership":"Your tenancy comes with member offers across the RentOk network.","digital payment":"Pay rent in the app and get a receipt every time, with rewards on each payment.","tenant smart app":"Rent, receipts, notices and requests in one place on your phone.","faster complaint resolution":"Raise a complaint from your phone; someone on site picks it up."},key=e=>String(e||"").trim().replace(/\s+/g," ").toLowerCase(),plainFeatures=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).filter(e=>(null==e?void 0:e.title)&&!ea.has(key(e.title))).map(e=>{var n,r,o;return{...e,body:null!==(o=null!==(r=null!==(n=t[e.title])&&void 0!==n?n:t[key(e.title)])&&void 0!==r?r:ei[key(e.title)])&&void 0!==o?o:e.body}})},el=assertMeta({id:"story-features",family:"story",tones:["base","alt","dark"],requires:[],character:["bold","warm"],layout:"lead feature banner + numbered supporting list of remaining features",photoLed:!1});var es=n(61828),ec=n(6232);let ed=assertMeta({id:"amenities-grouped",family:"amenities",tones:["base","alt"],requires:["amenities"],character:["clean","warm"],layout:"three labelled groups — in the building / services / food — stacked mobile, 3-column desktop, first few per group with one show-all control",photoLed:!1});function Group(e){let{label:t,items:n,wide:o}=e;return n&&0!==n.length?(0,r.jsxs)("div",{className:o?"md:col-span-2":"","data-sentry-component":"Group","data-sentry-source-file":"AmenitiesGrouped.jsx",children:[(0,r.jsx)("h3",{className:"text-h3 text-ink-heading",children:t}),(0,r.jsx)("ul",{className:"mt-4 flex flex-col gap-3 ".concat(o?"md:grid md:grid-cols-2 md:gap-x-8":""),children:n.map(e=>{let t=(0,es.J)(e);return(0,r.jsxs)("li",{className:"flex items-center gap-3 text-body text-ink",children:[(0,r.jsx)("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-accent-200 text-accent-600",children:(0,r.jsx)(t,{})}),e]},e)})})]}):null}let ep=assertMeta({id:"amenities-feature",family:"amenities",tones:["base","alt","dark"],requires:["amenities"],character:["premium","editorial","warm"],layout:"asymmetric split — short editorial claim beside a compact list with a +N more disclosure",asymmetric:!0,photoLed:!1}),eu=assertMeta({id:"amenities-marquee",family:"amenities",tones:["base","alt","dark"],requires:["amenities"],character:["clean","bold","editorial"],layout:"thin connective band — a single row of amenity pills drifting horizontally, pauses on hover, respects reduced motion",photoLed:!1});function Pill(e){let{item:t,onDark:n,ariaHidden:o}=e,a=(0,es.J)(t);return(0,r.jsxs)("span",{"aria-hidden":o||void 0,className:"inline-flex shrink-0 items-center gap-2 rounded-pill border px-4 py-2 text-caption ".concat(n?"border-ink-onDark/15 text-ink-onDark/85":"border-line text-ink"),"data-sentry-component":"Pill","data-sentry-source-file":"AmenitiesMarquee.jsx",children:[(0,r.jsx)(a,{"data-sentry-element":"Icon","data-sentry-source-file":"AmenitiesMarquee.jsx"}),t]})}var ex=n(655);let em=assertMeta({id:"gallery-bento",family:"gallery",tones:["base","alt"],requires:["manyPhotos"],character:["premium","editorial","bold"],layout:"asymmetric bento, 1.4fr 1fr 1fr x two rows with one spanning tile; horizontal snap rail on mobile",bento:!0,photoLed:!0}),eh=["md:col-start-1 md:row-start-1 md:row-span-2","md:col-start-2 md:row-start-1","md:col-start-3 md:row-start-1","md:col-start-2 md:row-start-2","md:col-start-3 md:row-start-2"],eg=assertMeta({id:"gallery-strip",fam
1ily:"gallery",tones:["base","alt","dark"],requires:["photos"],character:["warm","editorial"],layout:"full-bleed edge-to-edge strip of consistent-aspect photos, no heading",photoLed:!0}),ef=assertMeta({id:"process-steps",family:"process",tones:["base","alt"],requires:[],character:["premium","warm","bold"],layout:"3-4 numbered steps, ghost numerals, connecting rule on desktop only",photoLed:!1}),ev=assertMeta({id:"location-cities",family:"location",tones:["base","alt"],requires:["properties"],character:["premium","bold","warm"],layout:"grid of city stat tiles — residence count per city, no map",photoLed:!1}),eb=assertMeta({id:"location-map",family:"location",tones:["base","alt"],requires:["coords"],character:["premium","bold","warm"],layout:"static coordinate-driven placeholder map with an accessible property list",photoLed:!1}),ey=assertMeta({id:"app-showcase",family:"app",tones:["dark"],requires:["apps"],character:["bold","premium"],layout:"CSS phone mockup beside copy and store badges",photoLed:!1});function StoreButton(e){let{href:t,label:n,sub:o}=e;return t?(0,r.jsxs)("a",{href:t,target:"_blank",rel:"noreferrer",className:"flex items-center gap-3 rounded-tile border border-line-strong/40 px-4 py-2.5 transition-colors hover:border-line-strong","data-sentry-component":"StoreButton","data-sentry-source-file":"AppShowcase.jsx",children:[(0,r.jsx)("span",{"aria-hidden":"true",className:"font-sans text-h3 leading-none",children:"▸"}),(0,r.jsxs)("span",{className:"text-left leading-tight",children:[(0,r.jsx)("span",{className:"block text-[10px] uppercase tracking-eyebrow text-ink-onDark/60",children:o}),(0,r.jsx)("span",{className:"block text-body-lg text-ink-onDark",children:n})]})]}):null}let ek=assertMeta({id:"cta-band",family:"cta",tones:["dark"],requires:[],character:["premium","bold","warm"],layout:"full-bleed dark band, centred headline and the two conversion flows",photoLed:!1});var ej=n(1675);let ew=assertMeta({id:"cta-split",family:"cta",tones:["base","alt"],requires:[],character:["premium","clean"],layout:"asymmetric split, copy left, bordered card right with flows and support contact",asymmetric:!0,photoLed:!1});function ContactLine(e){let{label:t,value:n,href:o}=e;return n?(0,r.jsxs)("a",{href:o,className:"flex items-center justify-between border-t border-line py-3 text-body first:border-t-0 hover:text-accent-600","data-sentry-component":"ContactLine","data-sentry-source-file":"CtaSplit.jsx",children:[(0,r.jsx)("span",{className:"text-ink-muted",children:t}),(0,r.jsx)("span",{className:"text-ink-heading",children:n})]}):null}let e_=assertMeta({id:"cta-minimal",family:"cta",tones:["base","alt"],requires:[],character:["clean","editorial"],layout:"single centred line of display type, one button, generous whitespace",photoLed:!1}),eS=[[K,function(e){var t,n,o,a,i;let{kit:l,data:s,content:c,tone:d="dark",flows:p={}}=e,u=(null==s?void 0:s.brand_data)||{},x=(null==c?void 0:null===(t=c.hero)||void 0===t?void 0:t.name)||u.name||(null==l?void 0:l.name),m=null==c?void 0:null===(n=c.hero)||void 0===n?void 0:n.headline,h=null==c?void 0:null===(o=c.hero)||void 0===o?void 0:o.sub,g=(null==c?void 0:null===(a=c.hero)||void 0===a?void 0:a.eyebrow)||x,f=(null==c?void 0:null===(i=c.hero)||void 0===i?void 0:i.photo)||(0,V.hR)(s).hero;if(!m)return null;let{Visit:v,Booking:b}=p;return(0,r.jsxs)("section",{...sectionAttrs(K,d),className:"relative isolate flex min-h-[100svh] flex-col justify-end overflow-hidden bg-surface-dark text-ink-onDark","data-sentry-component":"HeroImmersive","data-sentry-source-file":"HeroImmersive.jsx",children:[(0,r.jsxs)("div",{className:"absolute inset-0 -z-10",children:[(0,r.jsx)(PhotoTile,{src:f,alt:"",priority:!0,tone:"deep",className:"h-full w-full animate-drift",imgClassName:"h-full w-full object-cover","data-sentry-element":"PhotoTile","data-sentry-source-file":"HeroImmersive.jsx"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-scrim"})]}),(0,r.jsxs)("div",{className:"mx-auto w-full max-w-shell px-5 pb-28 pt-28 md:px-10 md:pb-24",children:[(0,r.jsx)("p",{className:"mb-5 text-micro uppercase tracking-eyebrow text-accent-400",children:g}),(0,r.jsx)("h1",{className:"max-w-[16ch] text-display text-ink-onDark",children:m}),h&&(0,r.jsx)("p",{className:"mt-6 max-w-prose text-lead text-ink-onDark/75",children:h}),(v||b)&&(0,r.jsxs)("div",{className:"mt-9 flex flex-wrap gap-3",children:[b&&(0,r.jsx)(b,{onDark:"dark"===d}),v&&(0,r.jsx)(v,{onDark:"dark"===d})]})]})]})}],[Y,function(e){var t,n,o,a,i;let{kit:l,data:s,content:c,tone:d="base",flows:p={}}=e,u=(null==s?void 0:s.brand_data)||{},x=(null==c?void 0:null===(t=c.hero)||void 0===t?void 0:t.name)||u.name||(null==l?void 0:l.name),m=null==c?void 0:null===(n=c.hero)||void 0===n?void 0:n.headline,h=null==c?void 0:null===(o=c.hero)||void 0===o?void 0:o.sub,g=(null==c?void 0:null===(a=c.hero)||void 0===a?void 0:a.eyebrow)||x,f=(null==c?void 0:null===(i=c.hero)||void 0===i?void 0:i.photo)||(0,V.hR)(s).hero;
1if(!m||!f)return null;let{Visit:v,Booking:b}=p,y="alt"===d?"bg-surface-alt text-ink":"bg-surface-base text-ink";return(0,r.jsxs)("section",{...sectionAttrs(Y,d),className:"grid min-h-[100svh] grid-cols-1 lg:grid-cols-[1fr_1.15fr] ".concat(y),"data-sentry-component":"HeroSplit","data-sentry-source-file":"HeroSplit.jsx",children:[(0,r.jsx)("div",{className:"order-2 flex flex-col justify-center px-5 py-12 md:px-10 lg:order-1 lg:py-16",children:(0,r.jsxs)("div",{className:"mx-auto w-full max-w-prose lg:mx-0",children:[(0,r.jsx)(Eyebrow,{"data-sentry-element":"Eyebrow","data-sentry-source-file":"HeroSplit.jsx",children:g}),(0,r.jsx)("h1",{className:"mt-5 max-w-[14ch] text-h1 text-ink-heading",children:m}),h&&(0,r.jsx)("p",{className:"mt-6 max-w-prose text-lead text-ink-muted",children:h}),(v||b)&&(0,r.jsxs)("div",{className:"mt-9 flex flex-wrap gap-3",children:[b&&(0,r.jsx)(b,{onDark:"dark"===d}),v&&(0,r.jsx)(v,{onDark:"dark"===d})]})]})}),(0,r.jsx)("div",{className:"order-1 h-[42svh] min-h-[280px] lg:order-2 lg:h-auto",children:(0,r.jsx)(PhotoTile,{src:f,alt:"",seed:x,className:"h-full w-full",imgClassName:"h-full w-full object-cover","data-sentry-element":"PhotoTile","data-sentry-source-file":"HeroSplit.jsx"})})]})}],[X,function(e){var t,n,o;let{kit:a,data:i,availability:l,content:s,tone:c="dark",flows:d={}}=e,p=(null==i?void 0:i.brand_data)||{},u=(null==s?void 0:null===(t=s.hero)||void 0===t?void 0:t.name)||p.name||(null==a?void 0:a.name),x=null==s?void 0:null===(n=s.hero)||void 0===n?void 0:n.headline,m=(null==s?void 0:null===(o=s.hero)||void 0===o?void 0:o.eyebrow)||u;if(!x)return null;let{Visit:h,Booking:g}=d,f=(null==l?void 0:l.totals)||null;return(0,r.jsxs)("section",{...sectionAttrs(X,c),className:"relative isolate flex min-h-[100svh] flex-col justify-between overflow-hidden bg-brand-deep text-ink-onDark","data-sentry-component":"HeroEditorial","data-sentry-source-file":"HeroEditorial.jsx",children:[(0,r.jsxs)("div",{className:"mx-auto w-full max-w-shell px-5 pb-10 pt-28 md:px-10",children:[(0,r.jsx)("p",{className:"mb-5 text-micro uppercase tracking-eyebrow text-accent-400",children:m}),(0,r.jsx)("h1",{className:"max-w-[13ch] text-display text-ink-onDark",children:x}),(h||g)&&(0,r.jsxs)("div",{className:"mt-9 flex flex-wrap gap-3",children:[g&&(0,r.jsx)(g,{onDark:"dark"===c}),h&&(0,r.jsx)(h,{onDark:"dark"===c})]})]}),f&&(0,r.jsx)("div",{className:"border-t border-white/10",children:(0,r.jsx)("div",{className:"mx-auto flex w-full max-w-shell flex-wrap gap-x-10 gap-y-4 px-5 py-6 md:px-10",children:headlineStats(f).map(e=>(0,r.jsx)(Fact,{label:e.label,value:e.value},e.key))})})]})}],[Q,function(e){let{kit:t,availability:n,tone:o="alt",flows:a={}}=e,i=(null==n?void 0:n.totals)||null;if(!i)return null;let l="dark"===o,s=headlineStats(i,null==t?void 0:t.name);return s.length?(0,r.jsx)("section",{...sectionAttrs(Q,o),className:"".concat(l?"bg-surface-dark text-ink-onDark":"bg-surface-alt text-ink"),"data-sentry-component":"ProofBand","data-sentry-source-file":"ProofBand.jsx",children:(0,r.jsx)("div",{className:"mx-auto grid w-full max-w-shell grid-cols-1 divide-y ".concat(l?"divide-ink-onDark/15":"divide-line"," ").concat(J[s.length]||"sm:grid-cols-3"," sm:divide-x sm:divide-y-0"),children:s.map(e=>(0,r.jsx)("div",{className:"px-5 py-8 md:px-10",children:(0,r.jsx)(StatTile,{value:e.value,label:e.label,hint:e.hint,onDark:l})},e.key))})}):null}],[$,function(e){var t;let{kit:n,content:o,availability:a,tone:i="base"}=e,l=(null==a?void 0:a.totals)||null;if(!l)return null;let s=(null==o?void 0:null===(t=o.proof)||void 0===t?void 0:t.claim)||"Every room at ".concat((null==n?void 0:n.name)||"us",", tracked live."),c="alt"===i?"bg-surface-alt text-ink":"bg-surface-base text-ink",d=headlineStats(l,null==n?void 0:n.name);return d.length?(0,r.jsx)("section",{...sectionAttrs($,i),className:"py-section ".concat(c),"data-sentry-component":"ProofEditorial","data-sentry-source-file":"ProofEditorial.jsx",children:(0,r.jsxs)("div",{className:"mx-auto grid w-full max-w-shell grid-cols-1 gap-10 px-5 md:px-10 lg:grid-cols-[1.3fr_1fr] lg:gap-16",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(Eyebrow,{"data-sentry-element":"Eyebrow","data-sentry-source-file":"ProofEditorial.jsx",children:"Proof, not promises"}),(0,r.jsx)("h2",{className:"mt-5 max-w-[18ch] text-h1 text-ink-heading",children:s})]}),(0,r.jsx)("div",{className:"flex flex-col",children:d.map(e=>(0,r.jsx)(Stat,{value:e.value,label:e.label},e.key))})]})}):null}],[ee,function(e){let{kit:t,data:n,availability:o,tone:a="base",flows:i={}}=e,l=((null==n?void 0:n.properties)||[]).filter(e=>(0,V.Tp)(e));return 0===l.length?null:(0,r.jsx)("section",{...sectionAttrs(ee,a),className:"py-section px-5 md:px-10 ".concat("alt"===a?"bg-surface-alt text-ink":"bg-surface-base text-ink"),"data-sentry-component":"InventoryGrid","data-sentry-source-file":"InventoryGrid.jsx",children:(0,r.jsxs)("div",{className:"mx-auto max-w-shell",children:[(0,r.jsx)(Eyebrow,{"data-sentry-element":"Eyebrow","data-sentry-source-file":"InventoryGrid.jsx",children:null==t?void 0:t.name}),(0,r.jsx)("h2",{className:"mt-3 max-w-[22ch] text-h2 text-ink-heading",children:"Our residences"}),(0,r.jsx)("div",{className:"mt-10 grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:l.map((e,t)=>(0,r.jsx)(PropertyCard,{property:e,availability:o,flows:i},(0,V.z5)(e)||t))})]})})}],[et,function(e){var t;let{kit:n,data:o,availability:a,content:i,tone:l="base",flows:s={}}=e,c=((null==o?void 0:o.properties)||[]).filter(e=>(0,V.Tp)(e));if(c.length<2)return null;let d=[...c].sort((e,t)=>
1(0,V.j2)(null==t?void 0:t.images).length-(0,V.j2)(null==e?void 0:e.images).length);return(0,r.jsxs)("section",{...sectionAttrs(et,l),className:"py-section ".concat("dark"===l?"bg-surface-dark text-ink-onDark":"alt"===l?"bg-surface-alt text-ink":"bg-surface-base text-ink"),"data-sentry-component":"InventoryRail","data-sentry-source-file":"InventoryRail.jsx",children:[(0,r.jsxs)("div",{className:"mx-auto max-w-shell px-5 md:px-10",children:[(0,r.jsx)(Eyebrow,{onDark:"dark"===l,"data-sentry-element":"Eyebrow","data-sentry-source-file":"InventoryRail.jsx",children:(null==i?void 0:null===(t=i.inventory)||void 0===t?void 0:t.eyebrow)||(0,V.Ho)(c.length,"residence","residences")}),(0,r.jsx)("h2",{className:"mt-3 max-w-[22ch] text-h2 ".concat("dark"===l?"":"text-ink-heading"),children:"Find your room"})]}),(0,r.jsx)("div",{className:"mt-10 flex snap-x snap-mandatory gap-4 overflow-x-auto px-5 pb-2 md:px-10 lg:mx-auto lg:grid lg:max-w-shell lg:grid-cols-[1.4fr_1fr_1fr] lg:auto-rows-[240px] lg:gap-5 lg:overflow-visible lg:px-10",children:d.map((e,t)=>(0,r.jsx)(Card,{property:e,availability:a,flows:s,lead:0===t,brandName:null==n?void 0:n.name,span:cardSpan(t,d.length)},(0,V.z5)(e)||t))})]})}],[er,function(e){let{kit:t,data:n,availability:o,tone:a="base",flows:i={}}=e,l=((null==n?void 0:n.properties)||[]).filter(e=>(0,V.Tp)(e)),s=new Map;for(let e of l){var c;let t=(0,V.z5)(e),n=t?null==o?void 0:null===(c=o.byProperty)||void 0===c?void 0:c[t]:null;for(let t of(null==n?void 0:n.tiers)||[]){let r=t.sharingType;s.has(r)||s.set(r,[]),s.get(r).push({property:e,tier:t,price:(0,V.Hd)(e,n)})}}if(0===s.size)return null;let d=[...s.entries()].sort((e,t)=>{let[n]=e,[r]=t;return n-r}).map(e=>{let[t,n]=e;return[t,[...n].sort((e,t)=>(t.tier.freeBeds||0)-(e.tier.freeBeds||0))]});return(0,r.jsx)("section",{...sectionAttrs(er,a),className:"py-section px-5 md:px-10 ".concat("alt"===a?"bg-surface-alt text-ink":"bg-surface-base text-ink"),"data-sentry-component":"InventoryTiers","data-sentry-source-file":"InventoryTiers.jsx",children:(0,r.jsxs)("div",{className:"mx-auto max-w-shell",children:[(0,r.jsx)(Eyebrow,{"data-sentry-element":"Eyebrow","data-sentry-source-file":"InventoryTiers.jsx",children:null==t?void 0:t.name}),(0,r.jsx)("h2",{className:"mt-3 max-w-[22ch] text-h2 text-ink-heading",children:"Sharing options, across every residence"}),(0,r.jsx)("div",{className:"mt-8",children:d.map(e=>{let[n,o]=e;return(0,r.jsx)(TierBlock,{sharingType:n,rows:o,tone:a,flows:i,brandName:null==t?void 0:t.name},n)})})]})})}],[eo,function(e){var t,n,o,a;let{kit:i,data:l,content:s,tone:c="base"}=e,d=(null==s?void 0:null===(t=s.story)||void 0===t?void 0:t.eyebrow)||(null==i?void 0:i.name),p=null==s?void 0:null===(n=s.story)||void 0===n?void 0:n.claim,u=null==s?void 0:null===(o=s.story)||void 0===o?void 0:o.body,x=(null==s?void 0:null===(a=s.story)||void 0===a?void 0:a.photo)||null;return p&&u?(0,r.jsx)("section",{...sectionAttrs(eo,c),className:"px-5 py-section md:px-10 ".concat(toneClasses(c)),"data-sentry-component":"StoryEditorial","data-sentry-source-file":"StoryEditorial.jsx",children:(0,r.jsxs)("div",{className:"mx-auto grid max-w-shell gap-10 lg:grid-cols-[1fr_1.4fr] lg:gap-16",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(Eyebrow,{onDark:"dark"===c,"data-sentry-element":"Eyebrow","data-sentry-source-file":"StoryEditorial.jsx",children:d}),(0,r.jsx)("p",{className:"mt-5 max-w-[16ch] text-h1 font-display text-ink-heading",children:p})]}),(0,r.jsxs)("div",{className:"grid gap-8 md:grid-cols-[1.2fr_1fr] md:items-center",children:[(0,r.jsx)("p",{className:"max-w-prose text-lead text-ink-muted",children:u}),(0,r.jsx)(PhotoTile,{src:x,alt:"",seed:p,className:"aspect-[4/3] rounded-card shadow-card",imgClassName:"h-full w-full object-cover","data-sentry-element":"PhotoTile","data-sentry-source-file":"StoryEditorial.jsx"})]})]})}):null}],[el,function(e){var t,n,o,a;let{kit:i,data:l,content:s,tone:c="base"}=e,d=plainFeatures(null==l?void 0:null===(t=l.brand_data)||void 0===t?void 0:t.features,null==s?void 0:null===(n=s.story)||void 0===n?void 0:n.features);if(0===d.length)return null;let[p,...u]=d,x="dark"===c,m=x?"text-ink-onDark":"text-ink-heading",h=x?"text-ink-onDark/70":"text-ink-muted",g=(null==s?void 0:null===(o=s.story)||void 0===o?void 0:o.photo)||(0,V.hR)(l).story;return(0,r.jsx)("section",{...sectionAttrs(el,c),className:"px-5 py-section md:px-10 ".concat(toneClasses(c)),"data-sentry-component":"StoryFeatures","data-sentry-source-file":"StoryFeatures.jsx",children:(0,r.jsxs)("div",{className:"mx-auto max-w-shell",children:[(0,r.jsx)(Eyebrow,{onDark:x,"data-sentry-element":"Eyebrow","data-sentry-source-file":"StoryFeatures.jsx",children:(null==s?void 0:null===(a=s.story)||void 0===a?void 0:a.featuresEyebrow)||"What you get"}),(0,r.jsxs)("div",{className:"mt-6 grid gap-6 md:grid-cols-[1.2fr_1fr] md:items-center",children:[(0,r.jsx)(PhotoTile,{src:g,alt:"",seed:p.title,className:"aspect-[16/10] rounded-card shadow-lift md:order-2",imgClassName:"h-full w-full object-cover","data-sentry-element":"PhotoTile","data-sentry-source-file":"StoryFeatures.jsx"}),(0,r.jsxs)("div",{className:"md:order-1",children:[(0,r.jsx)("h2",{className:"max-w-[18ch] text-h2 ".concat(m),children:p.title}),p.body&&(0,r.jsx)("p",{className:"mt-4 max-w-prose text-lead ".concat(h),children:p.body})]})]}),u.length>0&&(0,r.jsx)("ul",{className:"mt-12 divide-y border-t ".concat(x?"divide-ink-onDark/15":"divide-line"," ").concat(x?"border-ink-onDark/15":"border-line"),children:u.map(e=>(0,r.jsxs)("li",{className:"flex items-start gap-5 py-6 md:gap-8",children:[(0,r.jsx)("span",{"aria-hidden":"true",className:"mt-3 h-px w-8 shrink-0 ".concat(x?"bg-accent-400":"bg-accent-600")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-h3 ".concat(m),children:e.title}),e.body&&(0,r.jsx)("p",{className:"mt-1 max-w-prose text-body ".concat(h),children:e.body})]})]},e.title))})]})})}],[ed,function(e){let{kit:t,data:n,tone:a="base"}=e,[i,l]=(0,o.useState)(!1),{groups:s,all:c}=(0,ec.O)(n);if(0===c.length)return null;let d=s.filter(e=>e.items.length>0),p=[...d].sort((e,t)=>
1t.items.length-e.items.length),u=3===d.length&&p[0].items.length>=1.5*p[1].items.length?p[0].key:null,visible=e=>e.key===u?12:6,x=s.map(e=>({...e,items:i?e.items:e.items.slice(0,visible(e))})),m=c.length-x.reduce((e,t)=>e+t.items.length,0);return(0,r.jsx)("section",{...sectionAttrs(ed,a),className:"py-section px-5 md:px-10 ".concat("alt"===a?"bg-surface-alt text-ink":"bg-surface-base text-ink"),"data-sentry-component":"AmenitiesGrouped","data-sentry-source-file":"AmenitiesGrouped.jsx",children:(0,r.jsxs)("div",{className:"mx-auto max-w-shell",children:[(0,r.jsx)(Eyebrow,{"data-sentry-element":"Eyebrow","data-sentry-source-file":"AmenitiesGrouped.jsx",children:"Amenities"}),(0,r.jsx)("h2",{className:"mt-3 max-w-[22ch] text-h2 text-ink-heading",children:"What’s included"}),(0,r.jsx)("div",{className:"mt-10 grid grid-cols-1 items-start gap-10 md:gap-8 ".concat(u?"md:grid-cols-4":"md:grid-cols-3"),children:x.map(e=>(0,r.jsx)(Group,{label:e.label,items:e.items,wide:e.key===u},e.key))}),m>0&&(0,r.jsxs)("button",{type:"button",onClick:()=>l(!0),className:"mt-10 inline-flex min-h-[44px] items-center rounded-pill border border-line px-5 text-body font-medium text-ink-heading transition-colors hover:border-ink-heading",children:["Show all ",c.length," amenities"]})]})})}],[ep,function(e){var t;let{kit:n,data:a,content:i,tone:l="base"}=e,[s,c]=(0,o.useState)(!1),{all:d}=(0,ec.O)(a);if(0===d.length)return null;let p=(null==i?void 0:null===(t=i.amenities)||void 0===t?void 0:t.claim)||"Everything ".concat((null==n?void 0:n.name)||"we"," residents need, already included."),u=s?d:d.slice(0,8),x=d.length-u.length,m="dark"===l;return(0,r.jsx)("section",{...sectionAttrs(ep,l),className:"py-section px-5 md:px-10 ".concat(m?"bg-surface-dark text-ink-onDark":"alt"===l?"bg-surface-alt text-ink":"bg-surface-base text-ink"),"data-sentry-component":"AmenitiesFeature","data-sentry-source-file":"AmenitiesFeature.jsx",children:(0,r.jsxs)("div",{className:"mx-auto grid max-w-shell grid-cols-1 gap-10 lg:grid-cols-[1fr_1.2fr] lg:items-center lg:gap-16",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(Eyebrow,{onDark:m,"data-sentry-element":"Eyebrow","data-sentry-source-file":"AmenitiesFeature.jsx",children:null==n?void 0:n.name}),(0,r.jsx)("h2",{className:"mt-3 max-w-[16ch] text-h2 ".concat(m?"text-ink-onDark":"text-ink-heading"),children:p})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("ul",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:u.map(e=>{let t=(0,es.J)(e);return(0,r.jsxs)("li",{className:"flex items-center gap-2.5 text-body ".concat(m?"text-ink-onDark/85":"text-ink"),children:[(0,r.jsx)("span",{className:m?"text-accent-400":"text-accent-600",children:(0,r.jsx)(t,{})}),e]},e)})}),x>0&&(0,r.jsxs)("button",{type:"button",onClick:()=>c(!0),className:"mt-5 text-caption underline underline-offset-4 ".concat(m?"text-accent-400":"text-accent-600"),children:["+",x," more"]})]})]})})}],[eu,function(e){let{data:t,tone:n="base"}=e,{all:o}=(0,ec.O)(t);if(0===o.length)return null;let a="dark"===n;return(0,r.jsx)("section",{...sectionAttrs(eu,n),className:"overflow-hidden py-section-sm ".concat(a?"bg-surface-dark text-ink-onDark":"alt"===n?"bg-surface-alt text-ink":"bg-surface-base text-ink"),"data-sentry-component":"AmenitiesMarquee","data-sentry-source-file":"AmenitiesMarquee.jsx",children:(0,r.jsxs)("div",{className:"flex w-max animate-marquee gap-3 motion-reduce:animate-none hover:[animation-play-state:paused]",children:[(0,r.jsx)("div",{className:"flex shrink-0 gap-3 pr-3","aria-hidden":"false",children:o.map(e=>(0,r.jsx)(Pill,{item:e,onDark:a},e))}),(0,r.jsx)("div",{className:"flex shrink-0 gap-3 pr-3",children:o.map((e,t)=>(0,r.jsx)(Pill,{item:e,onDark:a,ariaHidden:!0},"dup-".concat(t)))})]})})}],[em,function(e){let{kit:t,data:n,tone:a="base"}=e,i=(null==n?void 0:n.properties)||[],l=new Set((0,V.hR)(n).gallery),s=i.flatMap(e=>((null==e?void 0:e.images)||[]).map(n=>({url:null==n?void 0:n.url,alt:(0,V.Tp)(e)?"".concat((0,V.Tp)(e),", ").concat((null==t?void 0:t.name)||"").trim():(null==t?void 0:t.name)||""}))).filter(e=>e.url&&l.has(e.url)).slice(0,5),[c,d]=(0,o.useState)(null);return s.length<5?null:(0,r.jsxs)("section",{...sectionAttrs(em,a),className:"px-5 py-section md:px-10 ".concat(toneClasses(a)),"data-sentry-component":"GalleryBento","data-sentry-source-file":"GalleryBento.jsx",children:[(0,r.jsx)("div",{className:"-mx-5 flex snap-x snap-mandatory gap-3 overflow-x-auto px-5 pb-1 md:mx-0 md:grid md:grid-cols-[1.4fr_1fr_1fr] md:grid-rows-[240px_240px] md:gap-4 md:overflow-visible md:px-0 md:pb-0",children:s.map((e,t)=>(0,r.jsx)("button",{type:"button",onClick:()=>d(t),className:"relative aspect-[4/3] w-[78vw] max-w-[320px] shrink-0 snap-center overflow-hidden rounded-tile shadow-card md:aspect-auto md:h-auto md:w-auto ".concat(eh[t]),children:(0,r.jsx)("img",{src:e.url,alt:e.alt,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-105"})},e.url))}),(0,r.jsx)(ex.n,{images:s,open:null!==c,index:c||0,onClose:()=>d(null),onIndex:d,"data-sentry-element":"GalleryLightbox","data-sentry-source-file":"GalleryBento.jsx"})]})}],[eg,function(e){let{kit:t,data:n,tone:a="base"}=e,i=(null==n?void 0:n.properties)||[],l=new Set((0,V.hR)(n).gallery),s=i.flatMap(e=>((null==e?void 0:e.images)||[]).map(n=>({url:null==n?void 0:n.url,alt:(0,V.Tp)(e)?"".concat((0,V.Tp)(e),", ").concat((null==t?void 0:t.name)||"").trim():(null==t?void 0:t.name)||""}))).filter(e=>e.url&&l.has(e.url)).slice(0,5),[c,d]=(0,o.useState)(null);return s.length<3?null:(0,r.jsxs)("section",{...sectionAttrs(eg,a),className:"relative left-1/2 right-1/2 -mx-[50vw] w-screen","data-sentry-component":"GalleryStrip","data-sentry-source-file":"GalleryStrip.jsx",children:[(0,r.jsx)("div",{className:"flex snap-x snap-mandatory gap-px overflow-x-auto md:grid md:auto-cols-fr md:grid-flow-col md:overflow-visible",children:s.map((e,t)=>(0,r.jsx)("button",{type:"button",onClick:()=>d(t),className:"aspect-[4/3] w-[85vw] shrink-0 snap-start overflow-hidden md:aspect-[3/4] md:w-auto",children:(0,r.jsx)("img",{src:e.url,alt:e.alt,loading:"lazy",decoding:"async",className:"h-full w-full object-cover"})},e.url))}),(0,r.jsx)(ex.n,{images:s,open:null!==c,index:c||0,onClose:()=>d(null),onIndex:d,"data-sentry-element":"GalleryLightbox","data-sentry-source-file":"GalleryStrip.jsx"})]})}],[ef,function(e){var t,n,o;
1let{kit:a,content:i,tone:l="base"}=e,s=null==i?void 0:null===(t=i.process)||void 0===t?void 0:t.eyebrow,c=null==i?void 0:null===(n=i.process)||void 0===n?void 0:n.heading,d=(null==i?void 0:null===(o=i.process)||void 0===o?void 0:o.steps)||[];return 0===d.length?null:(0,r.jsx)("section",{...sectionAttrs(ef,l),className:"px-5 py-section md:px-10 ".concat(toneClasses(l)),"data-sentry-component":"ProcessSteps","data-sentry-source-file":"ProcessSteps.jsx",children:(0,r.jsxs)("div",{className:"mx-auto max-w-shell",children:[(s||c)&&(0,r.jsxs)("div",{className:"mb-12 max-w-prose",children:[s&&(0,r.jsx)(Eyebrow,{onDark:"dark"===l,children:s}),c&&(0,r.jsx)("h2",{className:"mt-4 text-h2 text-ink-heading",children:c})]}),(0,r.jsx)("div",{className:"flex flex-col gap-10 md:flex-row md:gap-8",children:d.map((e,t)=>(0,r.jsxs)("div",{className:"relative flex-1",children:[t>0&&(0,r.jsx)("div",{"aria-hidden":"true",className:"absolute -left-4 top-9 hidden h-px w-8 -translate-x-full bg-line md:block"}),(0,r.jsx)("p",{className:"font-display text-h1 leading-none ".concat("dark"===l?"text-accent-400/35":"text-accent-500/30"),children:String(t+1).padStart(2,"0")}),(0,r.jsx)("h3",{className:"mt-4 text-h3 text-ink-heading",children:e.title}),e.body&&(0,r.jsx)("p",{className:"mt-2 max-w-prose text-body text-ink-muted",children:e.body})]},e.title))})]})})}],[ev,function(e){var t,n,o;let{kit:a,data:i,content:l,tone:s="base"}=e,c=(null==i?void 0:i.properties)||[],d=new Map;for(let e of c){let t=null==e?void 0:null===(o=e.city)||void 0===o?void 0:o.trim();if(!t)continue;let n=(0,V.Ud)(e,null==a?void 0:a.name);d.set(t,[...d.get(t)||[],n].filter(Boolean))}let p=[...d.entries()].map(e=>{let[t,n]=e;return{city:t,names:n}}).sort((e,t)=>t.names.length-e.names.length);if(p.length<2)return null;let u=(null==l?void 0:null===(t=l.location)||void 0===t?void 0:t.eyebrow)||"Where ".concat((null==a?void 0:a.name)||"we"," is"),x=null==l?void 0:null===(n=l.location)||void 0===n?void 0:n.heading,m="dark"===s,h=p.length>=4?"sm:grid-cols-2 lg:grid-cols-4":3===p.length?"sm:grid-cols-3":"sm:grid-cols-2";return(0,r.jsx)("section",{...sectionAttrs(ev,s),className:"px-5 py-section md:px-10 ".concat(toneClasses(s)),"data-sentry-component":"LocationCities","data-sentry-source-file":"LocationCities.jsx",children:(0,r.jsxs)("div",{className:"mx-auto max-w-shell",children:[(0,r.jsx)(Eyebrow,{onDark:m,"data-sentry-element":"Eyebrow","data-sentry-source-file":"LocationCities.jsx",children:u}),x&&(0,r.jsx)("h2",{className:"mt-3 max-w-[22ch] text-h2 ".concat(m?"text-ink-onDark":"text-ink-heading"),children:x}),(0,r.jsx)("div",{className:"mt-10 grid grid-cols-1 gap-x-8 gap-y-10 ".concat(h),children:p.map(e=>(0,r.jsxs)("div",{className:"border-t pt-5 ".concat(m?"border-ink-onDark/20":"border-line"),children:[(0,r.jsx)("h3",{className:"text-h3 ".concat(m?"text-ink-onDark":"text-ink-heading"),children:e.city}),(0,r.jsx)("p",{className:"mt-1 text-caption ".concat(m?"text-ink-onDark/60":"text-ink-muted"),children:1===e.names.length?"1 residence":"".concat(e.names.length," residences")}),(0,r.jsx)("ul",{className:"mt-4 flex flex-col gap-2",children:e.names.map(e=>(0,r.jsx)("li",{className:"text-body ".concat(m?"text-ink-onDark/85":"text-ink"),children:e},e))})]},e.city))})]})})}],[eb,function(e){var t;let{kit:n,data:o,content:a,tone:i="base"}=e,l=(null==o?void 0:o.properties)||[],s=l.filter(e=>(null==e?void 0:e.latitude)&&(null==e?void 0:e.longitude)).map(e=>({name:(null==e?void 0:e.name)||(null==e?void 0:e.city)||(null==n?void 0:n.name),lat:Number(e.latitude),lng:Number(e.longitude)}));if(0===s.length)return null;let c=s.map(e=>e.lat),d=s.map(e=>e.lng),p=Math.max(...c)-Math.min(...c)||1,u=Math.max(...d)-Math.min(...d)||1,x=Math.min(...c),m=Math.min(...d),h=(null==a?void 0:null===(t=a.location)||void 0===t?void 0:t.eyebrow)||"Where ".concat((null==n?void 0:n.name)||"we"," is");return(0,r.jsx)("section",{...sectionAttrs(eb,i),className:"px-5 py-section md:px-10 ".concat(toneClasses(i)),"data-sentry-component":"LocationMap","data-sentry-source-file":"LocationMap.jsx",children:(0,r.jsxs)("div",{className:"mx-auto max-w-shell",children:[(0,r.jsx)(Eyebrow,{onDark:"dark"===i,"data-sentry-element":"Eyebrow","data-sentry-source-file":"LocationMap.jsx",children:h}),(0,r.jsxs)("div",{className:"mt-8 grid gap-8 md:grid-cols-[1.3fr_1fr]",children:[(0,r.jsx)("div",{role:"img","aria-label":"Map showing ".concat(s.length," ").concat(1===s.length?"location":"locations"," for ").concat((null==n?void 0:n.name)||"the brand"),className:"relative aspect-[4/3] overflow-hidden rounded-card border border-line bg-surface-alt md:aspect-[16/10]",children:s.map(e=>{let t=8+(e.lng-m)/u*84,n=8+(1-(e.lat-x)/p)*84;return(0,r.jsx)("span",{"aria-hidden":"true",className:"absolute h-3 w-3 -translate-x-1/2 -translate-y-1/2 roun
1ded-pill bg-accent-500 shadow-glow",style:{left:"".concat(t,"%"),top:"".concat(n,"%")}},"".concat(e.lat,"-").concat(e.lng))})}),(0,r.jsx)("ul",{className:"divide-y divide-line border-t border-line",children:s.map(e=>(0,r.jsxs)("li",{className:"py-4",children:[(0,r.jsx)("p",{className:"text-h3 text-ink-heading",children:e.name}),(0,r.jsxs)("p",{className:"mt-1 text-caption text-ink-muted",children:[e.lat.toFixed(4),", ",e.lng.toFixed(4)]})]},"".concat(e.lat,"-").concat(e.lng)))})]})]})})}],[ey,function(e){var t,n,o,a;let{kit:i,data:l,content:s,tone:c="dark"}=e,d=((null==l?void 0:null===(t=l.brand_data)||void 0===t?void 0:t.features)||[]).map(e=>null==e?void 0:e.title).filter(Boolean).slice(0,4),p=null==l?void 0:l.play_store_link,u=null==l?void 0:l.app_store_link;if(!p&&!u)return null;let x=(null==s?void 0:null===(n=s.app)||void 0===n?void 0:n.eyebrow)||"The tenant app",m=(null==s?void 0:null===(o=s.app)||void 0===o?void 0:o.headline)||"".concat((null==i?void 0:i.name)||"Everything",", in your pocket"),h=null==s?void 0:null===(a=s.app)||void 0===a?void 0:a.body;return(0,r.jsx)("section",{...sectionAttrs(ey,c),className:"px-5 py-section md:px-10 ".concat(toneClasses(c)),"data-sentry-component":"AppShowcase","data-sentry-source-file":"AppShowcase.jsx",children:(0,r.jsxs)("div",{className:"mx-auto grid max-w-shell items-center gap-12 md:grid-cols-[1fr_1.1fr]",children:[(0,r.jsxs)("div",{className:"md:order-1",children:[(0,r.jsx)(Eyebrow,{onDark:!0,"data-sentry-element":"Eyebrow","data-sentry-source-file":"AppShowcase.jsx",children:x}),(0,r.jsx)("h2",{className:"mt-4 max-w-[16ch] text-h1 text-ink-onDark",children:m}),h&&(0,r.jsx)("p",{className:"mt-5 max-w-prose text-lead text-ink-onDark/75",children:h}),(0,r.jsxs)("div",{className:"mt-8 flex flex-wrap gap-3",children:[(0,r.jsx)(StoreButton,{href:p,label:"Google Play",sub:"Get it on","data-sentry-element":"StoreButton","data-sentry-source-file":"AppShowcase.jsx"}),(0,r.jsx)(StoreButton,{href:u,label:"App Store",sub:"Download on the","data-sentry-element":"StoreButton","data-sentry-source-file":"AppShowcase.jsx"})]})]}),(0,r.jsx)("div",{className:"mx-auto md:order-2",children:(0,r.jsx)("div",{className:"relative h-[420px] w-[210px] rounded-[36px] border-4 border-ink-onDark/15 bg-surface-dark p-2 shadow-lift",children:(0,r.jsxs)("div",{className:"flex h-full w-full flex-col rounded-[26px] bg-gradient-to-br from-brand-800 to-brand-900 p-4",children:[(0,r.jsx)("div",{"aria-hidden":"true",className:"mx-auto h-1.5 w-10 rounded-pill bg-ink-onDark/20"}),(0,r.jsx)("p",{className:"mt-7 font-display text-h3 text-ink-onDark",children:null==i?void 0:i.name}),(0,r.jsx)("p",{className:"mt-1 text-[10px] uppercase tracking-eyebrow text-accent-400",children:"Tenant app"}),(0,r.jsx)("ul",{className:"mt-5 flex flex-col gap-2",children:d.map(e=>(0,r.jsx)("li",{className:"rounded-tile bg-ink-onDark/[0.07] px-3 py-2.5 text-caption text-ink-onDark/85",children:e},e))})]})})})]})})}],[ek,function(e){var t,n;let{kit:o,content:a,tone:i="dark",flows:l={}}=e,s=(null==a?void 0:null===(t=a.cta)||void 0===t?void 0:t.headline)||"Find your room at ".concat((null==o?void 0:o.name)||"us"),c=null==a?void 0:null===(n=a.cta)||void 0===n?void 0:n.sub,{Visit:d,Booking:p}=l;return d||p?(0,r.jsx)("section",{...sectionAttrs(ek,i),className:"bg-surface-dark py-section text-ink-onDark","data-sentry-component":"CtaBand","data-sentry-source-file":"CtaBand.jsx",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-shell flex-col items-center px-5 text-center md:px-10",children:[(0,r.jsx)("h2",{className:"max-w-[16ch] text-h1 text-ink-onDark",children:s}),c&&(0,r.jsx)("p",{className:"mt-5 max-w-prose text-lead text-ink-onDark/75",children:c}),(0,r.jsxs)("div",{className:"mt-9 flex flex-wrap justify-center gap-3",children:[p&&(0,r.jsx)(p,{onDark:"dark"===i}),d&&(0,r.jsx)(d,{onDark:"dark"===i})]})]})}):null}],[ew,function(e){var t,n;let{kit:o,data:a,content:i,tone:l="base",flows:s={}}=e,c=(null==a?void 0:a.brand_data)||{},d=(null==i?void 0:null===(t=i.cta)||void 0===t?void 0:t.headline)||"Ready to move in to ".concat((null==o?void 0:o.name)||"a room","?"),p=null==i?void 0:null===(n=i.cta)||void 0===n?void 0:n.sub,{Visit:u,Booking:x}=s,m=c.support_number,h=c.support_whatsapp_number,g=c.support_email,f=m||h||g,v=u||x;if(!v&&!f)return null;let b="alt"===l?"bg-surface-alt text-ink":"bg-surface-base text-ink";return(0,r.jsx)("section",{...sectionAttrs(ew,l),className:"py-section ".concat(b),"data-sentry-component":"CtaSplit","data-sentry-source-file":"CtaSplit.jsx",children:(0,r.jsxs)("div",{className:"mx-auto grid w-full max-w-shell grid-cols-1 gap-10 px-5 md:px-10 lg:grid-cols-[1.2fr_1fr] lg:gap-16",children:[(0,r.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,r.jsx)("h2",{className:"max-w-[14ch] text-h1 text-ink-heading",children:d}),p&&(0,r.jsx)("p",{className:"mt-5 max-w-prose text-lead text-ink-muted",children:p})]}),(0,r.jsxs)("div",{className:"rounded-card border border-line bg-surface-base p-6 shadow-card md:p-8",children:[v&&(0,r.jsxs)("div",{className:"flex flex-wrap gap-3",children:[x&&(0,r.jsx)(x,{onDark:"dark"===l}),u&&(0,r.jsx)(u,{onDark:"dark"===l})]}),f&&(0,r.jsxs)("div",{className:v?"mt-6":"",children:[(0,r.jsx)(ContactLine,{label:"Call",value:m,href:"tel:".concat(m)}),(0,r.jsx)(ContactLine,{label:"WhatsApp",value:(0,ej.jL)(h)?h:null,href:(0,ej.jL)(h)}),(0,r.jsx)(ContactLine,{label:"Email",value:g,href:"mailto:".concat(g)})]})]})]})})}],[e_,function(e){var t;let{kit:n,content:o,tone:a="base",flows:i={}}=e,l=(null==o?void 0:null===(t=o.cta)||void 0===t?void 0:t.headline)||"Come see ".concat((null==n?void 0:n.name)||"us"),{Visit:s,Booking:c}=i,d=c||s;if(!d)return null;let p="alt"===a?"bg-surface-alt text-ink":"bg-surface-base text-ink";return(0,r.jsx)("section",{...sectionAttrs(e_,a),className:"py-[clamp(80px,14vw,160px)] ".concat(p),"data-sentry-component":"CtaMinimal","data-sentry-source-file":"CtaMinimal.jsx",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-shell flex-col items-center gap-8 px-5 text-center md:px-10",children:[(0,r.jsx)("h2",{className:"max-w-[15ch] text-h1 text-ink-heading",children:l}),(0,r.jsx)(d,{"data-sentry-element":"Action","data-sentry-source-file":"CtaMinimal.jsx"})]})})}]],eC=eS.map(e=>{let[t]=e;return t}),eN=Object.fromEntries(eS.map(e=>{let[t,n]=e;return[t.id,n]}));var eA=n(4207),eD=n(62554);function SiteNav(e){let{kit:t,data:n,links:a=[],flows:i={},logo:l,overHero:s=!0}=e,[c,d]=(0,o.useState)(!1),p=(0,o.useRef)(null),[u,x]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let onScroll=()=>d(window.scrollY>80);return onScroll(),window.addEventListener("scroll",onScroll,{passive:!0}),()=>window.removeEventListener("scroll",onScroll)},[]),(0,o.useEffect)(()=>{let e=p.current;if(!e)return;let update=()=>x(e.scrollLeft+e.clientWidth<e.scrollWidth-4);
1return update(),e.addEventListener("scroll",update,{passive:!0}),window.addEventListener("resize",update),()=>{e.removeEventListener("scroll",update),window.removeEventListener("resize",update)}},[a.length]);let m=(null==n?void 0:n.brand_data)||{},h=(null==t?void 0:t.name)||m.name||"",g=l||m.brand_logo||null,{Booking:f}=i,v=s&&!c;return(0,r.jsxs)("header",{className:"fixed inset-x-0 top-0 z-40 transition-colors duration-300 ".concat(v?"bg-gradient-to-b from-black/70 via-black/35 to-transparent":"border-b border-line bg-surface-base"),"data-sentry-component":"SiteNav","data-sentry-source-file":"SiteNav.jsx",children:[(0,r.jsx)("a",{href:"#main",className:"sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-50 focus:rounded-tile focus:bg-surface-base focus:px-4 focus:py-2 focus:text-body focus:text-ink-heading",children:"Skip to content"}),(0,r.jsxs)("div",{className:"mx-auto flex max-w-shell items-center justify-between gap-4 px-5 py-3 md:px-10",children:[(0,r.jsx)("a",{href:"#main",className:"flex min-h-[44px] min-w-0 items-center font-display text-h3 ".concat(v?"text-ink-onDark":"text-ink-heading"),children:(0,r.jsx)(SiteLogo,{src:g,name:h,"data-sentry-element":"SiteLogo","data-sentry-source-file":"SiteNav.jsx"})}),a.length>0&&(0,r.jsx)("nav",{"aria-label":"Primary",className:"hidden lg:flex lg:items-center lg:gap-7",children:a.map(e=>(0,r.jsx)("a",{href:e.href,"aria-current":e.active?"page":void 0,className:"text-body font-medium transition-colors ".concat(v?"text-ink-onDark/85 hover:text-ink-onDark":"text-ink-muted hover:text-ink-heading"),children:e.label},e.href))}),f&&(0,r.jsx)("div",{className:"shrink-0 ".concat(c?"":"hidden lg:block"),children:(0,r.jsx)(f,{onDark:v})})]}),a.length>0&&(0,r.jsxs)("div",{className:"relative lg:hidden",children:[(0,r.jsx)("nav",{ref:p,"aria-label":"Primary",className:"flex gap-5 overflow-x-auto px-5 pb-1 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:a.map(e=>(0,r.jsx)("a",{href:e.href,"aria-current":e.active?"page":void 0,className:"flex min-h-[44px] shrink-0 items-center text-body font-medium ".concat(v?"text-ink-onDark/85":"text-ink-muted"),children:e.label},e.href))}),(0,r.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 right-0 w-16 transition-opacity duration-200 ".concat(u?"opacity-100":"opacity-0"," ").concat(v?"bg-gradient-to-l from-black/55 to-transparent":"bg-gradient-to-l from-surface-base to-transparent")})]})]})}function SiteLogo(e){let{src:t,name:n}=e,[a,i]=(0,o.useState)(!1);return t&&!a?(0,r.jsx)("img",{src:t,alt:n,className:"h-9 w-auto object-contain",onError:()=>i(!0)}):(0,r.jsx)("span",{"data-sentry-component":"SiteLogo","data-sentry-source-file":"SiteNav.jsx",children:n})}let normaliseWhatsapp=e=>{if(!e)return null;let t=String(e).replace(/\D/g,"");return t.length>10&&t.startsWith("91")&&(t=t.slice(2)),10===t.length?t:null},formatPhone=e=>e&&10===e.length?"".concat(e.slice(0,5)," ").concat(e.slice(5)):e;function SiteFooter(e){var t;let{kit:n,data:o,links:a=[],content:i}=e,l=(null==o?void 0:o.brand_data)||{},s=(null==n?void 0:n.name)||l.name||"",c=(0,V.FV)(l.brand_about),d=((null==o?void 0:o.properties)||[]).map(e=>({name:(0,V.Ud)(e,null==n?void 0:n.name),address:(0,V.DE)(e)})).filter(e=>e.name),p=(0,V.FV)(l.support_number),u=(0,V.FV)(l.support_email),x=normaliseWhatsapp(l.support_whatsapp_number),m=p||u||x,h=l.play_store_link||(null==o?void 0:o.play_store_link),g=l.app_store_link||(null==o?void 0:o.app_store_link),f=(null==o?void 0:null===(t=o.brand_data)||void 0===t?void 0:t.show_rentok_branding)!==!1,v=new Date().getFullYear();return(0,r.jsx)("footer",{className:"bg-surface-dark text-ink-onDark","data-sentry-component":"SiteFooter","data-sentry-source-file":"SiteFooter.jsx",children:(0,r.jsxs)("div",{className:"mx-auto max-w-shell px-5 py-14 md:px-10",children:[(0,r.jsxs)("div",{className:"grid gap-10 sm:grid-cols-2 lg:grid-cols-4",children:[(0,r.jsxs)("div",{className:"lg:col-span-2",children:[(0,r.jsx)("p",{className:"text-h3 font-display",children:s}),c&&(0,r.jsx)("p",{className:"mt-3 max-w-prose text-body text-ink-onDark/70",children:c}),m&&(0,r.jsxs)("ul",{className:"mt-5 space-y-2 text-body",children:[p&&(0,r.jsx)("li",{children:(0,r.jsxs)("a",{href:"tel:".concat(p),className:"text-ink-onDark/85 hover:text-ink-onDark",children:["Call ",p]})}),x&&(0,r.jsx)("li",{children:(0,r.jsxs)("a",{href:"https://wa.me/91".concat(x),target:"_blank",rel:"noopener noreferrer",className:"text-ink-onDark/85 hover:text-ink-onDark",children:["WhatsApp ",formatPhone(x)]})}),u&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"mailto:".concat(u),className:"text-ink-onDark/85 hover:text-ink-onDark",children:u})})]}),(h||g)&&(0,r.jsxs)("div",{className:"mt-5 flex flex-wrap gap-3",children:[h&&(0,r.jsx)("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"rounded-tile border border-ink-onDark/25 px-4 py-2 text-caption text-ink-onDark/85 hover:border-ink-onDark/50",children:"Get it on Play Store"}),g&&(0,r.jsx)("a",{href:g,target:"_blank",rel:"noopener noreferrer",className:"rounded-tile border border-ink-onDark/25 px-4 py-2 text-caption text-ink-onDark/85 hover:border-ink-onDark/50",children:"Download on the App Store"})]})]}),d.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-micro uppercase tracking-eyebrow text-accent-400",children:"Residences"}),(0,r.jsx)("ul",{className:"mt-4 space-y-4 text-body text-ink-onDark/70",children:d.map(e=>(0,r.jsxs)("li",{children:[(0,r.jsx)("p",{className:"text-ink-onDark/90",children:e.name}),e.address&&(0,r.jsx)("p",{className:"text-caption",children:e.address})]},e.name))})]}),a.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-micro uppercase tracking-eyebrow text-accent-400",children:"Explore"}),(0,r.jsx)("nav",{"aria-label":"Footer",className:"mt-4 flex flex-col gap-2 text-body",children:a.map(e=>(0,r.jsx)("a",{href:e.href,className:"text-ink-onDark/70 hover:text-ink-onDark",children:e.label},e.href))})]})]}),(0,r.jsxs)("div",{className:"mt-12 flex flex-col gap-2 border-t border-ink-onDark/15 pt-6 text-caption text-ink-onDark/60 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsxs)("p",{children:["\xa9 ",v," ",s,". All rights reserved."]}),f&&(0,r.jsx)("p",{children:"Powered by RentOk"})]})]})})}let ez={inventory:"Rooms",amenities:"Amenities",gallery:"Gallery",location:"Location",process:"How it works",app:"App"},eR=[];function BrandSite(e){var t,n,a,i,l,s,c;let{kit:d,data:p,availability:u=null,content:x={},flows:m={}
1,recent:h=eR,nav:g,footer:f,debug:v=!1}=e,{plan:b,skipped:y,report:k}=(0,o.useMemo)(()=>(function(e){let{kit:t,data:n,availability:r,content:o,recent:a=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{caps:i,counts:l}=function(e){var t,n;let{data:r,availability:o,content:a}=e,i=(null==r?void 0:r.properties)||[],l=new Set;for(let e of i)for(let t of(null==e?void 0:e.images)||[])(null==t?void 0:t.url)&&l.add(t.url);let s=[...(null==r?void 0:r.common_amenities)||[],...(null==r?void 0:r.services_amenities)||[],...(null==r?void 0:r.food_amenities)||[]].filter(Boolean),c=Object.values((null==o?void 0:o.byProperty)||{}).filter(Boolean).flatMap(e=>e.tiers||[]),d=i.filter(e=>((null==e?void 0:e.images)||[]).some(e=>null==e?void 0:e.url)).length,p=new Set;return l.size>=1&&p.add("photos"),l.size>=8&&p.add("manyPhotos"),d>=2&&2*d>=i.length&&p.add("photoCards"),i.length>=1&&p.add("properties"),i.length>=3&&p.add("manyProperties"),(null==o?void 0:o.totals)&&p.add("availability"),(c.some(e=>Number(null==e?void 0:e.fromRent)>0)||i.some(e=>Number(null==e?void 0:e.rent_starts_from)>0))&&p.add("prices"),s.length>0&&p.add("amenities"),Array.isArray(null==r?void 0:null===(t=r.brand_data)||void 0===t?void 0:t.reviews)&&r.brand_data.reviews.length>0&&p.add("reviews"),(null==r?void 0:null===(n=r.brand_data)||void 0===n?void 0:n.youtube_url)&&p.add("video"),i.some(e=>(null==e?void 0:e.latitude)&&(null==e?void 0:e.longitude))&&p.add("coords"),((null==r?void 0:r.play_store_link)||(null==r?void 0:r.app_store_link))&&p.add("apps"),{caps:p,counts:{photos:l.size,properties:i.length,amenities:s.length}}}({data:n,availability:r,content:o}),s=null==t?void 0:t.character,supported=e=>(e.requires||[]).every(e=>i.has(e)),rank=e=>{var t;let n=0;(null===(t=e.character)||void 0===t?void 0:t.includes(s))&&(n-=10);let r=a.filter(t=>t===e.id).length;return n+=6*r,e.photoLed&&!i.has("manyPhotos")&&(n+=4),n},c=[],d=[];for(let t of O){let n=e.filter(e=>e.family===t);if(0===n.length)continue;let r=n.filter(supported);if(0===r.length){d.push({family:t,why:"no variant's data requirements are met (have: ".concat([...i].join(", ")||"nothing",")")});continue}let o=r.slice().sort((e,t)=>rank(e)-rank(t))[0],a=c[c.length-1];a&&a.meta.family===o.family||c.push({meta:o,tone:null})}for(let t of["asymmetric","bento"]){if(c.some(e=>e.meta[t]))continue;let n=c.findIndex(n=>e.some(e=>e.family===n.meta.family&&e[t]&&supported(e)));if(-1===n)continue;let r=e.filter(e=>e.family===c[n].meta.family&&e[t]&&supported(e)).sort((e,t)=>rank(e)-rank(t))[0];r&&(c[n]={meta:r,tone:null})}let p=0;for(let e=0;e<c.length;e++){let t=c[e].meta.tones||["base"],n=null;for(let r=0;r<H.length&&!n;r++){var u;let o=H[(p+r)%H.length];t.includes(o)&&o!==(null===(u=c[e-1])||void 0===u?void 0:u.tone)&&(n=o)}c[e].tone=n||t.find(t=>{var n;return t!==(null===(n=c[e-1])||void 0===n?void 0:n.tone)})||t[0],p++}let x=c.map(e=>e.tone),m=x.filter((e,t)=>t>0&&e!==x[t-1]).length;return{plan:c,skipped:d,report:{counts:l,capabilities:[...i],sections:c.length,families:new Set(c.map(e=>e.meta.family)).size,bandChanges:m,warnings:[m<3&&"only ".concat(m," band changes — GRAMMAR R2 wants >=3"),c.length<5&&"only ".concat(c.length," sections — the brand's data may be too thin for a landing page"),!i.has("photos")&&"no photography: photo-led variants were excluded, tonal fallbacks will carry the page"].filter(Boolean)}}})(eC,{kit:d,data:p,availability:u,content:x,recent:h}),[d,p,u,x,h]),j=0===b.length,w=(null==p?void 0:null===(t=p.brand_data)||void 0===t?void 0:t.support_whatsapp_number)||(null==p?void 0:null===(n=p.brand_data)||void 0===n?void 0:n.support_number),[_,S]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let e=document.getElementById("inventory");if(!e||"undefined"==typeof IntersectionObserver)return;let t=new IntersectionObserver(e=>{let[t]=e;return S(t.isIntersecting)},{threshold:.2});return t.observe(e),()=>t.disconnect()},[]);let C=b.filter(e=>{let{meta:t}=e;return ez[t.family]}).map(e=>{let{meta:t}=e;return{href:"#".concat(t.family),label:ez[t.family]}}),N=(null===(a=b[0])||void 0===a?void 0:a.tone)==="dark",A=null!=g?g:(0,r.jsx)(SiteNav,{kit:d,data:p,links:C,flows:m,overHero:N}),D=null!=f?f:(0,r.jsx)(SiteFooter,{kit:d,data:p,links:C,content:x}),R=(null==p?void 0:p.brand_data)||{},E=(null==x?void 0:x.seo)||{},P=E.title||R.meta_title||((null==x?void 0:null===(i=x.hero)||void 0===i?void 0:i.headline)?"".concat(d.name," \xb7 ").concat(x.hero.headline):d.name),F=E.description||R.meta_description||(null==x?void 0:null===(l=x.hero)||void 0===l?void 0:l.sub)||R.brand_about||null,T=E.image||R.meta_image_url||(null==x?void 0:null===(s=x.hero)||void 0===s?void 0:s.photo)||(0,V.hR)(p).hero;return(0,r.jsxs)("div",{className:"brand-site ".concat((0,eD.a9)(d.fontPair)),style:(0,eA.Fc)(d),"data-sentry-component":"BrandSite","data-sentry-source-file":"BrandSite.jsx",children:[(0,r.jsxs)(z(),{"data-sentry-element":"Head","data-sentry-source-file":"BrandSite.jsx",children:[(0,r.jsx)("title",{children:P}),(0,r.jsx)("meta",{property:"og:title",content:P,"data-sentry-element":"meta","data-sentry-source-file":"BrandSite.jsx"}),(0,r.jsx)("meta",{property:"og:type",content:"website","data-sentry-element":"meta","data-sentry-source-file":"BrandSite.jsx"}),F&&(0,r.jsx)("meta",{name:"description",content:F}),F&&(0,r.jsx)("meta",{property:"og:description",content:F}),T&&(0,r.jsx)("meta",{property:"og:image",content:T}),(0,r.jsx)("meta",{name:"theme-color",content:d.surface.base,"data-sentry-element":"meta","data-sentry-source-file":"BrandSite.jsx"}),R.brand_logo&&(0,r.jsx)("link",{rel:"icon",href:R.brand_logo})]}),A,(0,r.jsxs)("main",{id:"main",className:N?void 0:"pt-[72px]",children:[b.map(e=>{let{meta:t,tone:n}=e,o=eN[t.id]||null;return o?(0,r.jsx)(o,{kit:d,data:p,availability:u,content:x,tone:n,flows:m},t.id):null}),j&&(0,r.jsxs)("section",{className:"flow-shell mx-auto max-w-shell px-5 md:px-10",children:[(0,r.jsx)("h1",{className:"text-h2",children:d.name}),(0,r.jsx)("p",{className:"mt-4 max-w-prose text-body-lg text-ink-muted",children:(null==p?void 0:null===(c=p.brand_data)||void 0===c?void 0:c.brand_about)||"Get in touch to find a room."})]})]}),D,(0,r.jsx)(ej.C1,{number:w,message:"Hi ".concat(d.name,", I'd like to know about available rooms."),hidden:_,"data-sentry-element":"WhatsAppFloat","data-sentry-source-file":"BrandSite.jsx"}),v&&(0,r.jsx)(ComposePlan,{plan:b,skipped:y,report:k})]})}function ComposePlan(e){let{plan:t,skipped:n,report:o}=e;return(0,r.jsxs)("details",{className:"mx-auto my-10 max-w-shell px-5 text-caption md:px-10","data-sentry-component":"ComposePlan","data-sentry-source-file":"BrandSite.jsx",children:[(0,r.jsxs)("summary",{className:"cursor-pointer text-ink-muted",children:["compose plan \xb7 ",o.sections," sections \xb7 ",o.families," families \xb7 ",o.bandChanges," band changes"]}),(0,r.jsxs)("div",{className:"mt-3 grid gap-4 md:grid-cols-2",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-micro uppercase tracking-eyebrow text-ink-muted",children:"Rendered"}),(0,r.jsx)("ol",{className:"mt-2 space-y-1",children:t.map((e,t)=>{let{meta:n,tone:o}=e;return(0,r.jsxs)("li",{className:"text-ink-muted",children:[t+1,". ",n.id," ",(0,r.jsxs)("span",{className:"opacity-60",children:["\xb7 ",n.family," \xb7 ",o]})]},n.id)})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-micro uppercase tracking-eyebrow text-ink-muted",children:"Skipped"}),(0,r.jsx)("ul",{className:"mt-2 space-y-1",children:n.map(e=>(0,r.jsxs)("li",{className:"text-ink-muted",children:[e.family," ",(0,r.jsxs)("span",{className:"opacity-60",children:["\xb7 ",e.why]})]},e.family))}),o.warnings.length>0&&(0,r.jsx)("ul",{className:"mt-3 space-y-1",children:o.warnings.map(e=>(0,r.jsxs)("li",{className:"text-accent-600",children:["! ",e]},e))})]})]})]})}var eE=n(96178),eP=!0,_site_=function(e){var t,n;let{user:i,pgData:l,basicPgData:c,reqAgentData:d,propId:p,propertyBasicDetail
1s:u,isAssociation:x,associationData:m,isPartnerBrand:h,customization:g,siteDocument:f,availability:v,tokenAmount:b=null,origin:y,standalone:k=!1,loaded:j=null}=e,w=(0,a.useRouter)();p=p||w.query.site;let _=(null==u?void 0:u.brand_data)?(0,L.O7)(p):null,S=(null==u?void 0:u.brand_data)&&W[p]||null,C=(0,o.useMemo)(()=>(null==S?void 0:S.makeFlows)?S.makeFlows({data:u,user:i}):{},[S,u,i]),N=null==f?void 0:null===(t=f.pages)||void 0===t?void 0:t.find(e=>e&&!1!==e.is_active&&""===(e.slug||"")),A=k?(0,L.O7)(p):null;return A?(0,r.jsx)(A,{user:i,propId:p,origin:y,...j||{}}):(0,r.jsx)(r.Fragment,{children:h?(0,r.jsx)(M.Z,{user:i}):x?(0,r.jsx)(B.Z,{associationData:m,user:i,propId:p}):(null==u?void 0:u.brand_data)&&N&&(null==f?void 0:null===(n=f.theme)||void 0===n?void 0:n.template)==="executive"?(0,r.jsx)(eE.Z,{document:f,page:N,live:u,user:i,availability:v,origin:y,propId:p}):S?(0,r.jsx)(BrandSite,{kit:S.kit,content:S.content,data:u,availability:v,flows:C,debug:!1}):_?(0,r.jsx)(_,{data:u,customization:g,user:i,propId:p,availability:v,tokenAmount:b,origin:y}):(null==u?void 0:u.brand_data)?(0,r.jsx)(BrandPage,{propertyBasicDetails:u,user:i,propId:p}):(0,r.jsx)(s.Z,{user:i,basicPgData:c,reqAgentData:d,propId:p})})}},88196:function(e,t,n){"use strict";n.d(t,{TS:function(){return o},Zl:function(){return s},kL:function(){return r},q1:function(){return l},rG:function(){return i},rH:function(){return a}});let r={name:"Mayank Kumar",profileImg:"https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50",description:"Diusmod tempor incididunt ut labore et dolore magna aliqua Diusmod tempor incididunt ut labore et dolore magna aliqua Diusmod tempor incididunt ut labore et dolore magna aliqua Diusmod tempor incididunt ut labore et dolore magna aliqua"},o=[{question:"What is RentPass membership?",answer:"RentPass pro membership is an exclusive tenant pass membership for every tenant who is living in a rental property and wishes to enjoy premium benefits while paying their rent. Pro membership opens the door to exciting rewards and cashback while paying rent online on time."},{question:"What benefits can I get as a RentPass Pro member?",answer:"RentPass pro has several benefits, like joining membership gifts, surprise birthday rewards, and high-value rewards which will make your rent payment rewarding and exciting. Along with the exciting rewards, you get free personal insurance to protect you from accidents, burglaries, and natural calamities."},{question:"What benefits can I get as a RentPass Pro member?",answer:" RentPass elite has several benefits, like joining membership gifts, surprise birthday rewards, and high-value rewards which will make your rent payment rewarding and exciting. Along with the exciting rewards, you get free personal insurance to protect you from accidents, burglaries, and natural calamities. On top of this, you will be available to get extra health benefits such as free lab tests, free hospitalization coverage, and 24/7 online doctor consultation"},{question:"Will I get other discounts like credits and cashback with my membership?",answer:"Yes, other discounts, which will be EazyPg credits and other discounts that shall be given by the owner, will also be available while paying the rent online"},{question:"What is the validity of my membership?",answer:"The membership will be valid for 1 year from the date of activation"},{question:"Will the membership get transferred if I move to any other property?",answer:"Yes, the membership is transferable to the next property if the property is under the EazyPg ecosystem "},{question:"Are the rewards exclusive for RentPass members?",answer:"Yes, the rewards are exclusive to RentPass members and the rewards are member only."},{question:"Will the rewards stay the same every month?",answer:"We are expanding the partnerships very rapidly, so the rewards will change every month "},{question:"Can I cancel my membership and get a refund?",answer:"The membership is a one-time fee for a year and it is a non-refundable membership "}],a=[{url:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/landing-page-vectors/smart-living.webp",key:"smart-living",value:"100% Digital Experience",description:"From what’s in today’s food menu to entry-exit log to inviting a guest in your room or informing when going on leave, everything happens on our tenant app."},{url:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/eazypg-2-resources/digital-kyc1.webp",key:"community",value:"Digital check-in & KYC",description:"100% digital check-in. Fill your joining form, upload documents, sign rent agreement & Police Verification in our RentOk tenant app."},{url:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/landing-page-vectors/online-rent.webp",key:"online-rent-payment",value:"Online Rent Payment & Receipt",description:"One 
1click payment on whatsapp, tenant app or QR. Share link with parents. Use PhonePe, GPay, Paytm, Credit & Debit cards to pay. Get instant receipt on whatsapp & app."},{url:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/landing-page-vectors/rent-rewards.webp",key:"digital-kyc",value:"Rent Rewards & Cashback",description:"Assured monthly rewards on timely rent payment. Redeem coins to unlock different offers and use cashback on next month’s rent payment."},{url:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/landing-page-vectors/in-app-food-menu.webp",key:"move-in-different-properties",value:"In app food menu",description:"Now know what’s cooking in your property with digital food menu available at tip of your finger. No more calling and asking mess bhaiya anymore "},{url:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/landing-page-vectors/faster-complaint.webp",key:"faster-complaint-resolution",value:"Faster Complaint Resolution",description:"No more phone calls or multiple follow ups. Just select a category, explain your issue and register your complaint. Track the progress real-time. Give reviews when solved."},{url:"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/landing-page-vectors/move-into-different-properties.webp",key:"move-into-different-properties",value:"Move into different properties",description:"Leaving the current property, not sure how to search for one?. Now move into different properties through property search in your app. Rent better with tenant app "}],i={rating:4,detailedRating:[{key:"Cleaning & Housekeeping",rating:3},{key:"Food",rating:4},{key:"Staff behaviour",rating:2},{key:"Property facilities",rating:5},{key:"Owner behaviour",rating:1}]},l=[{value:"male",label:"Male",id:"M"},{value:"female",label:"Female",id:"F"},{value:"others",label:"Prefer not to say",id:"T"}],s=[{value:"Student",label:"Student"},{value:"Working Professional",label:"Working Professional"},{value:"Family",label:"Family"},{value:"Couple",label:"Couple"}]},99141:function(e,t,n){"use strict";function getSharingName(e){switch(e){case 1:return"Single";case 2:return"Double";case 3:return"Triple";case 4:return"Four";case 5:return"Five";case 6:return"Six";case 7:return"Seven";case 8:return"Eight";case 9:return"Nine";case 10:return"Ten";default:return""}}function getFloorName(e){switch(e=Number(e)){case -1:return"Basement";case 0:return"Ground";case 1:return"1st Floor";case 2:return"2nd Floor";case 3:return"3rd Floor";case 4:return"4th Floor";case 5:return"5th Floor";case 6:return"6th Floor";case 7:return"7th Floor";case 8:return"8th Floor";case 9:return"9th Floor";case 10:return"10th Floor";default:return"".concat(e,"th Floor")}}function getStayingSinceText(e){let t="";if(e){let n=e.split("/"),r=new Date("".concat(n[1],"/").concat(n[0],"/").concat(n[2])),o=new Date().getTime()-r.getTime();if(o>0){let e=Math.ceil(o/2592e6);t=0===e?"Staying since this month":e>1?"Staying since ".concat(e," months"):"Staying since ".concat(e," month")}else t="Will be shifting soon"}else t="Staying since a long time";return t}function getTenantProfileIcons(e,t){let n=[];return null==e||e.map((e,r)=>{(null==e?void 0:e.sharingType)===t&&e.Tenant&&e.Tenant.map((e,t)=>{n.push({selfieUrl:e.selfieUrl?e.selfieUrl:"",name:e.name})})}),n=n.sort((e,t)=>e.selfieUrl?-1:1)}function convertIntArrayToString(e){let t="";if(!Array.isArray(e)||0===e.length)return t;e=null==e?void 0:e.sort((e,t)=>e>t?1:-1);for(let n=0;n<(null==e?void 0:e.length);n++)if(n<3&&(t+="".concat(getSharingName(e[n]),", ")),3===n){t+="& More";break}return(t=t.trim()).endsWith(",")&&(t=t.slice(0,-1)),t}function getRoomAmenities(e,t){let n=0,r=0,o={},a=["AC","Washroom","Ventilation","Large Room","Corner Room"];null==e||e.map((e,i)=>{(!t||t&&(null==e?void 0:e.sharingType)===t)&&((0===n&&e.roomRent>0||e.roomRent>0&&e.roomRent<n)&&(n=e.roomRent),e.roomRent>r&&(r=e.roomRent),e.tags&&String(e.tags).split(",").map(e=>{for(let t of a)e.includes(t)&&(Object.keys(o).includes(t)?o[t]+=1:o[t]=1,e=e.split(t)[1]);e&&""!==e&&(null==e?void 0:e.trim().toUpperCase())!=="TV"&&(Object.keys(o).includes(e)?o[e]+=1:o[e]=1)}))});let i=[];return Object.keys(o).map(e=>{(null==e?void 0:e.trim().toUpperCase())!=="TV"&&i.push({amenity:e,count:o[e]})}),{amenitiesOccuerenceArray:i=i.sort((e,t)=>
1e.count>t.count?-1:1),startingRentAmount:n,maxRentAmount:r}}function getNextDateArray(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:7,t=new Date,n=new Date,r=new Date;n.setDate(t.getDate()+1),r.setDate(n.getDate()+e);let o=[],a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];for(;n<r;n.setDate(n.getDate()+1))o.push({day:a[n.getDay()],value:n.toLocaleDateString("en-IN",{day:"2-digit",month:"2-digit",year:"numeric"}),date:n.toLocaleDateString("en-IN",{day:"2-digit"})});return{dateArray:o}}function getIconUrl(e){switch(e=String(e).toLowerCase().trim()){case"ac":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/AC.png";case"airport":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Airport.png";case"alternate housekeeping":case"cleaning services":case"room cleaning":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Alternate%20housekeeping.png";case"attached balcony":case"balcony":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Attached%20Balcony.png";case"attached bathroom":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Attached%20bathroom.png";case"bathroom":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Bathroom.png";case"bed":default:return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Bed.png";case"bus station":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Bus%20station.png";case"cctv":case"cctv security":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/CCTV.png";case"chimney":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Chimney.webp";case"common fridge":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Common%20Fridge.png";case"common tv":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Common%20TV.png";case"common balcony":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Common%20balcony.png";case"common hangout":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Common%20Hangout.png";case"common hangout area":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Common%20hangout%20area.png";case"kitchen":case"common kitchen":case"attached kitchen":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Common%20kitchen.png";case"common washroom":case"common washrooms":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Common%20washroom.png";case"cooler":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Cooler.png";case"curtains":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Curtains.png";case"table":case"dining table and chair set":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Dinning%20table%20and%20chair%20set.png";case"doctor on call":case"in-house doctor":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Doctor%20on%20call.png";case"electricity unit cost":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Electricity%20unit%20cost.png";case"fans":case"fan":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Fans.png";case"first aid box":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/First%20aid%20box.png";case"floor wise water purifier":case"floor-wise water purifier":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Floor%20wise%20water%20Purifier.png";case"food":case"mess":case"food and entertainment":case"milk on demand":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/on-demand-meal.webp";case"fridge":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Fridge.png";case"furnished":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Furnished.png";case"gas stove":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Gas%20stove.png";case"general kirana store":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/General%20kirana%20store.png";case"guest stay":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Guest%20stay.png";case"gym":case"common gym":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Gym.png";case"hall furnishing":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Hall%20Furnishing.png";case"health insurance":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Health%20insurance.png";case"hospital":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Hospital.webp";case"laundry":case"in room laundry service":case"common laundry":case"door to door laundry pickup":case"door to door laundary pickup":case"on-demand laundry":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/In-Room%20Landry%20service.png";case"induction":case"kitchen utensils":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Induction.png";case"kitchen almirah":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Kitchen%20almirah.png";case"lockin period":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Lockin%20period.png";case"mattress":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Mattress.png";case"meals":case"charges per meal":case"on demand food services":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Meals.png";case"metro":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Metro.png";case"microwave":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Mircowave.png";case"mixer":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Mixer.png";case"monthly subscription":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Monthly%20subscription.png";case"notice period":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Notice%20period.png";case"on demand ac":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/On%20demand%20ac.png";case"on demand cooler":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/On%20demand%20cooler.png";case"on demand meal":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/On%20demand%20meal.png";case"personal wifi":case"high-speed wifi":case"broadband internet":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Personal%20wifi.png";case"petrol pump":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Petrol%20Pump.png";case"premium amenities":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Premium%20Amenities.png";case"railway station":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Railway%20station.png";case"rent":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Rent.png";case"ro":case"ro purifier":case"water filter":case"water-filter 1":case"water-filter 2":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Ro%20purifier.png";case"security deposit":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Security%20Deposit.png";case"security guard":case"24/7 security guard":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Security%20guard.png";case"semi furnished":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Semifurnished.png";case"small room fridge":case"mini fridge":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Small%20room%20fridge.png";case"sofa set":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Sofa%20set.png";case"tv":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/TV.png";case"chair":case"table chair":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Table%20chair.png";case"toaster":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Toaster.webp";case"geyser":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/geyser.webp";case"transport":case"transport services":case"common parking":case"parking":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Transport.png";case"unfurnished":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Unfurnished.png";case"utensils":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Utensils.png";case"veg":case"veg food":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Veg.png";case"pest control":case"weekly pest control":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Weekly%20pest%20control.png";case"weekly subscription":case"weekly new menu":case"seasonal food menu":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Weekly%20subscription.png";case"toilet":case"western toilet":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/Western%20toilet.png";case"almirah":case"cupboard":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/almirah.png";case"terrace":case"common terrace":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/common%20terrace.png";case"washing machine":case"common washing machine":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/common%20washing%20machine.png";case"cylinder":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/cylinder.png";case"daily housekeeping":case"housekeeping":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/daily%20housekeeping.png";case"hall fans":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/hall%20fans.png";case"in house cook":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/in%20house%20cook.png";case"non veg":case"non-veg food":case"egg":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/non%20veg.png";case"shopping":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/shopping.png";case"stationary shop":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/stationary%20shop.png";case"attached washroom":case"washroom":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/washroom.png";case"weekly housekeeping":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/weekly%20housekeeping.png";case"wifi":case"common floor wifi":case"high speed wifi":return"https://rentok-storage-cdn.azureedge.net/rentok-marketplace/marketplace-dump/microsite-icons/wifi.webp"}}function convertDateToString(e){let t=["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"];if(!e)return"";if(e.includes("/")){let n=e.split("/");return"".concat(n[0]," ").concat(t[Number(n[1])-1]," ").concat(n[2])}if(!e.includes("-"))return"";{let n=e.split("T")[0].split("-");return"".concat(n[2]," ").concat(t[Number(n[1])-1]," ").concat(n[0])}}function diffInTime(e){let t=new Date().getTime(),n=(new Date(e).getTime()-t)/6e4;return n<5?"few seconds ago ⚡️":n>=5&&n<60?"".concat(Math.round(n)," mins ago"):n>=60&&n<1440?"".concat(Math.round(n/60)," hours ago"):n>=1440&&n<10080?"".concat(Math.round(n/1440)," days ago"):"a few days ago"}function fetchPropGender(e){let t="Boys/Girls";return e&&(String(e).toLowerCase().includes("boys")?t="Boys":String(e).toLowerCase().includes("girls")&&(t="Girls")),t}n.d(t,{Bn:function(){return getFloorName},DP:function(){return isColorDark},L7:function(){return convertIntArrayToString},LL:function(){return getNextDateArray},Zn:function(){return getStayingSinceText},a2:function(){return getTenantProfileIcons},aJ:function(){return getPaymentMode},ec:function(){return getSecurityDeposit}
1,jY:function(){return getRoomAmenities},m_:function(){return getIconUrl},nU:function(){return styleAadhaarNumber},rF:function(){return fetchPropGender},uX:function(){return getSharingName},xN:function(){return convertDateToString},yJ:function(){return diffInTime}});let getSecurityDeposit=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="Not found",r=0;if(e){if(Number(e)>1e3)n="".concat(Number(e).toLocaleString("en-IN",{maximumFractionDigits:0,minimumFractionDigits:0,style:"currency",currency:"INR"})),r=Number(e);else if(t&&!isNaN(t)){if(31===Number(e))n="".concat(Number(t).toLocaleString("en-IN",{maximumFractionDigits:0,minimumFractionDigits:0,style:"currency",currency:"INR"})),r=Number(t);else{let o=Math.round(Number(e/30)*Number(t));n="".concat(Number(o).toLocaleString("en-IN",{maximumFractionDigits:0,minimumFractionDigits:0,style:"currency",currency:"INR"})),r=Number(o)}}else n="".concat(Number(e)," days")}return{text:n,amount:r}},styleAadhaarNumber=e=>{var t;return null==e?void 0:null===(t=e.match(/.{1,4}/g))||void 0===t?void 0:t.join(" ")},getPaymentMode=e=>{switch(e){case 201:return"Credits";case 202:case 2040:case 207:return"Cash";case 2041:return"G Pay";case 2042:return"Phone pe";case 2043:return"Paytm";case 2044:return"UPI";case 2045:return"Bank";case 2046:return"Card Machine";case 2047:return"Cheque";case 2048:return"Others";case 211:return"Adjusted from deposit";case 203:case 205:case 206:case 210:return"RentOk transfer";case 2382:return"Aliste Payment Gateway";default:return String(e)}};function isColorDark(e){return(.2126*parseInt(e.substring(1,3),16)+.7152*parseInt(e.substring(3,5),16)+.0722*parseInt(e.substring(5,7),16))/255<=.5}},60389:function(e){e.exports={style:{fontFamily:"'__bricolage_2eb687', '__bricolage_Fallback_2eb687', ui-sans-serif, system-ui, Helvetica Neue, Arial, sans-serif",fontStyle:"normal"},className:"__className_2eb687",variable:"__variable_2eb687"}},7821:function(e){e.exports={style:{fontFamily:"'__dmSans_30e3fb', '__dmSans_Fallback_30e3fb', ui-sans-serif, system-ui, Helvetica Neue, Arial, sans-serif",fontStyle:"normal"},className:"__className_30e3fb",variable:"__variable_30e3fb"}},51743:function(e){e.exports={style:{fontFamily:"'__inter_69ea42', '__inter_Fallback_69ea42', ui-sans-serif, system-ui, Helvetica Neue, Arial, sans-serif",fontStyle:"normal"},className:"__className_69ea42",variable:"__variable_69ea42"}},5904:function(e){e.exports={style:{fontFamily:"'__manrope_d3c953', '__manrope_Fallback_d3c953', ui-sans-serif, system-ui, Helvetica Neue, Arial, sans-serif",fontStyle:"normal"},className:"__className_d3c953",variable:"__variable_d3c953"}},48589:function(e){e.exports={style:{fontFamily:"'__outfit_62f4f0', '__outfit_Fallback_62f4f0', ui-sans-serif, system-ui, Helvetica Neue, Arial, sans-serif",fontStyle:"normal"},className:"__className_62f4f0",variable:"__variable_62f4f0"}},56996:function(e){e.exports={style:{fontFamily:"'__playfair_3d4a4c', '__playfair_Fallback_3d4a4c', ui-serif, Georgia, Cambria, Times New Roman, serif",fontStyle:"normal"},className:"__className_3d4a4c",variable:"__variable_3d4a4c"}},53306:function(e){e.exports={style:{fontFamily:"'__jakarta_de5061', '__jakarta_Fallback_de5061', ui-sans-serif, system-ui, Helvetica Neue, Arial, sans-serif",fontStyle:"normal"},className:"__className_de5061",variable:"__variable_de5061"}},1987:function(e){e.exports={style:{fontFamily:"'__dmSerif_f2469e', '__dmSerif_Fallback_f2469e', ui-serif, Georgia, Cambria, Times New Roman, serif"},className:"__className_f2469e",variable:"__variable_f2469e"}},166:function(e){e.exports={style:{fontFamily:"'__fraunces_ad592b', '__fraunces_Fallback_ad592b', ui-serif, Georgia, Cambria, Times New Roman, serif"},className:"__className_ad592b",variable:"__variable_ad592b"}},77035:function(e){e.exports={style:{fontFamily:"'__instrument_de8f87', '__instrument_Fallback_de8f87', ui-serif, Georgia, Cambria, Times New Roman, serif"},className:"__className_de8f87",variable:"__variable_de8f87"}},48204:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(24278);let o=(0,r.I)({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})},75133:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(85893),o=n(77260),a=n(64096),i=n(49381),l=n(15361);let s=(0,i.G)(function(e,t){let{getButtonProps:n}
1=(0,a.bB)(),i=n(e,t),s=(0,a.YO)(),c={display:"flex",alignItems:"center",width:"100%",outline:0,...s.button};return(0,r.jsx)(l.m.button,{...i,className:(0,o.cx)("chakra-accordion__button",e.className),__css:c})});s.displayName="AccordionButton"},64096:function(e,t,n){"use strict";n.d(t,{YO:function(){return i},_v:function(){return p},bB:function(){return s},di:function(){return c},ec:function(){return l},lh:function(){return a},mc:function(){return u}});var r=n(80274),o=n(28228);let[a,i]=(0,r.k)({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),[l,s]=(0,r.k)({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),[c,d,p,u]=(0,o.n)()},19109:function(e,t,n){"use strict";n.d(t,{X:function(){return AccordionIcon}});var r=n(85893),o=n(77260),a=n(64096),i=n(63985),l=n(12553);function AccordionIcon(e){let{isOpen:t,isDisabled:n}=(0,a.bB)(),{reduceMotion:s}=(0,i.EF)(),c=(0,o.cx)("chakra-accordion__icon",e.className),d=(0,a.YO)(),p={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:s?void 0:"transform 0.2s",transformOrigin:"center",...d.icon};return(0,r.jsx)(l.J,{viewBox:"0 0 24 24","aria-hidden":!0,className:c,__css:p,...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}AccordionIcon.displayName="AccordionIcon"},21502:function(e,t,n){"use strict";n.d(t,{Q:function(){return p}});var r=n(85893),o=n(83695),a=n(77260),i=n(67294),l=n(64096),s=n(63985),c=n(49381),d=n(15361);let p=(0,c.G)(function(e,t){let{children:n,className:c}=e,{htmlProps:p,...u}=(0,s.Zl)(e),x=(0,l.YO)(),m=(0,o.k0)({...x.container,overflowAnchor:"none"}),h=(0,i.useMemo)(()=>u,[u]);return(0,r.jsx)(l.ec,{value:h,children:(0,r.jsx)(d.m.div,{ref:t,...p,className:(0,a.cx)("chakra-accordion__item",c),__css:m,children:"function"==typeof n?n({isExpanded:!!u.isOpen,isDisabled:!!u.isDisabled}):n})})});p.displayName="AccordionItem"},28645:function(e,t,n){"use strict";n.d(t,{H:function(){return d}});var r=n(85893),o=n(77260),a=n(64096),i=n(63985),l=n(61914),s=n(49381),c=n(15361);let d=(0,s.G)(function(e,t){let{className:n,motionProps:s,...d}=e,{reduceMotion:p}=(0,i.EF)(),{getPanelProps:u,isOpen:x}=(0,a.bB)(),m=u(d,t),h=(0,o.cx)("chakra-accordion__panel",n),g=(0,a.YO)();p||delete m.hidden;let f=(0,r.jsx)(c.m.div,{...m,__css:g.panel,className:h});return p?f:(0,r.jsx)(l.U,{in:x,...s,children:f})});d.displayName="AccordionPanel"},86561:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(85893),o=n(16431),a=n(77260),i=n(67294),l=n(64096),s=n(63985),c=n(49381),d=n(73035),p=n(15361);let u=(0,c.G)(function({children:e,reduceMotion:t,...n},c){let u=(0,d.j)("Accordion",n),x=(0,o.L)(n),{htmlProps:m,descendants:h,...g}=(0,s.As)(x),f=(0,i.useMemo)(()=>({...g,reduceMotion:!!t}),[g,t]);return(0,r.jsx)(l.di,{value:h,children:(0,r.jsx)(s.a2,{value:f,children:(0,r.jsx)(l.lh,{value:u,children:(0,r.jsx)(p.m.div,{ref:c,...m,className:(0,a.cx)("chakra-accordion",n.className),__css:u.root,children:e})})})})});u.displayName="Accordion"},63985:function(e,t,n){"use strict";n.d(t,{As:function(){return useAccordion},EF:function(){return p},Zl:function(){return useAccordionItem},a2:function(){return d}});var r=n(99711),o=n(29547),a=n(80274),i=n(40092),l=n(67032),s=n(67294),c=n(64096);function useAccordion(e){let{onChange:t,defaultIndex:n,index:o,allowMultiple:a,allowToggle:i,...d}=e;(function(e){let t=e.index||e.defaultIndex,n=null!=t&&!Array.isArray(t)&&e.allowMultiple;(0,l.Z)({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})})(e),(0,l.Z)({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"});
1let p=(0,c._v)(),[u,x]=(0,s.useState)(-1);(0,s.useEffect)(()=>()=>{x(-1)},[]);let[m,h]=(0,r.T)({value:o,defaultValue:()=>a?n??[]:n??-1,onChange:t});return{index:m,setIndex:h,htmlProps:d,getAccordionItemProps:e=>{let t=!1;return null!==e&&(t=Array.isArray(m)?m.includes(e):m===e),{isOpen:t,onChange:t=>{if(null!==e){if(a&&Array.isArray(m)){let n=t?m.concat(e):m.filter(t=>t!==e);h(n)}else t?h(e):i&&h(-1)}}}},focusedIndex:u,setFocusedIndex:x,descendants:p}}let[d,p]=(0,a.k)({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function useAccordionItem(e){var t;let{isDisabled:n,isFocusable:r,id:a,...d}=e,{getAccordionItemProps:u,setFocusedIndex:x}=p(),m=(0,s.useRef)(null),h=(0,s.useId)(),g=a??h,f=`accordion-button-${g}`,v=`accordion-panel-${g}`;(0,l.Z)({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.
2    `});let{register:b,index:y,descendants:k}=(0,c.mc)({disabled:n&&!r}),{isOpen:j,onChange:w}=u(-1===y?null:y);t={isOpen:j,isDisabled:n},(0,l.Z)({condition:t.isOpen&&!!t.isDisabled,message:"Cannot open a disabled accordion item"});let _=(0,s.useCallback)(()=>{w?.(!j),x(y)},[y,x,j,w]),S=(0,s.useCallback)(e=>{let t={ArrowDown:()=>{let e=k.nextEnabled(y);e?.node.focus()},ArrowUp:()=>{let e=k.prevEnabled(y);e?.node.focus()},Home:()=>{let e=k.firstEnabled();e?.node.focus()},End:()=>{let e=k.lastEnabled();e?.node.focus()}}[e.key];t&&(e.preventDefault(),t(e))},[k,y]),C=(0,s.useCallback)(()=>{x(y)},[x,y]),N=(0,s.useCallback)(function(e={},t=null){return{...e,type:"button",ref:(0,o.lq)(b,m,t),id:f,disabled:!!n,"aria-expanded":!!j,"aria-controls":v,onClick:(0,i.v)(e.onClick,_),onFocus:(0,i.v)(e.onFocus,C),onKeyDown:(0,i.v)(e.onKeyDown,S)}},[f,n,j,_,C,S,v,b]),A=(0,s.useCallback)(function(e={},t=null){return{...e,ref:t,role:"region",id:v,"aria-labelledby":f,hidden:!j}},[f,j,v]);return{isOpen:j,isDisabled:n,isFocusable:r,onOpen:()=>{w?.(!0)},onClose:()=>{w?.(!1)},getButtonProps:N,getPanelProps:A,htmlProps:d}}},59678:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(85893),o=n(77260),a=n(81975),i=n(67294),l=n(49381),s=n(15361);let c=(0,l.G)(function(e,t){let{ratio:n=4/3,children:l,className:c,...d}=e,p=i.Children.only(l),u=(0,o.cx)("chakra-aspect-ratio",c);return(0,r.jsx)(s.m.div,{ref:t,position:"relative",className:u,_before:{height:0,content:'""',display:"block",paddingBottom:(0,a.XQ)(n,e=>`${1/e*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...d,children:p})});c.displayName="AspectRatio"},50996:function(e,t,n){"use strict";n.d(t,{J:function(){return a},z:function(){return o}});var r=n(80274);let[o,a]=(0,r.k)({name:"CheckboxGroupContext",strict:!1})},65243:function(e,t,n){"use strict";n.d(t,{X:function(){return A}});var r=n(85893),o=n(16431),a=n(40092),i=n(16377),l=n(77260),s=n(70917),c=n(67294),d=n(50996),p=n(15361);function CheckIcon(e){return(0,r.jsx)(p.m.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,r.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function IndeterminateIcon(e){return(0,r.jsx)(p.m.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,r.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function CheckboxIcon(e){let{isIndeterminate:t,isChecked:n,...o}=e,a=t?IndeterminateIcon:CheckIcon;return n||t?(0,r.jsx)(p.m.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,r.jsx)(a,{...o})}):null}var u=n(29245),x=n(64070),m=n(16978),h=n(29547),g=n(63681),f=n(44509),v=n(12934),b=n(16013),y=n(93007);function stopEvent(e){e.preventDefault(),e.stopPropagation()}var k=n(49381),j=n(73035);let w={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},_={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},S=(0,s.F4)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),C=(0,s.F4)({from:{opacity:0}
2,to:{opacity:1}}),N=(0,s.F4)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),A=(0,k.G)(function(e,t){let n=(0,d.J)(),s={...n,...e},k=(0,j.j)("Checkbox",s),A=(0,o.L)(e),{spacing:D="0.5rem",className:z,children:R,iconColor:E,iconSize:P,icon:F=(0,r.jsx)(CheckboxIcon,{}),isChecked:T,isDisabled:I=n?.isDisabled,onChange:B,inputProps:M,...L}=A,W=T;n?.value&&A.value&&(W=n.value.includes(A.value));let O=B;n?.onChange&&A.value&&(O=(0,a.P)(n.onChange,B));let{state:G,getInputProps:U,getCheckboxProps:H,getLabelProps:V,getRootProps:Z}=function(e={}){let t=(0,b.K)(e),{isDisabled:n,isReadOnly:r,isRequired:o,isInvalid:i,id:l,onBlur:s,onFocus:d,"aria-describedby":p}=t,{defaultChecked:k,isChecked:j,isFocusable:w,onChange:_,isIndeterminate:S,name:C,value:N,tabIndex:A,"aria-label":D,"aria-labelledby":z,"aria-invalid":R,...E}=e,P=(0,g.C)(E,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),F=(0,u.W)(_),T=(0,u.W)(s),I=(0,u.W)(d),[B,M]=(0,c.useState)(!1),[L,W]=(0,c.useState)(!1),[O,G]=(0,c.useState)(!1),U=(0,c.useRef)(!1);(0,c.useEffect)(()=>(0,v.BT)(e=>{U.current=e}),[]);let H=(0,c.useRef)(null),[V,Z]=(0,c.useState)(!0),[K,Y]=(0,c.useState)(!!k),X=void 0!==j,Q=X?j:K,J=(0,c.useCallback)(e=>{if(r||n){e.preventDefault();return}X||(Q?Y(e.currentTarget.checked):Y(!!S||e.currentTarget.checked)),F?.(e)},[r,n,Q,X,S,F]);(0,x.G)(()=>{H.current&&(H.current.indeterminate=!!S)},[S]),(0,m.r)(()=>{n&&M(!1)},[n,M]),(0,x.G)(()=>{let e=H.current;if(!e?.form)return;let formResetListener=()=>{Y(!!k)};return e.form.addEventListener("reset",formResetListener),()=>e.form?.removeEventListener("reset",formResetListener)},[]);let $=n&&!w,ee=(0,c.useCallback)(e=>{" "===e.key&&G(!0)},[G]),et=(0,c.useCallback)(e=>{" "===e.key&&G(!1)},[G]);(0,x.G)(()=>{if(!H.current)return;let e=H.current.checked!==Q;e&&Y(H.current.checked)},[H.current]);let en=(0,c.useCallback)((e={},t=null)=>({...e,ref:t,"data-active":(0,f.P)(O),"data-hover":(0,f.P)(L),"data-checked":(0,f.P)(Q),"data-focus":(0,f.P)(B),"data-focus-visible":(0,f.P)(B&&U.current),"data-indeterminate":(0,f.P)(S),"data-disabled":(0,f.P)(n),"data-invalid":(0,f.P)(i),"data-readonly":(0,f.P)(r),"aria-hidden":!0,onMouseDown:(0,a.v)(e.onMouseDown,e=>{B&&e.preventDefault(),G(!0)}),onMouseUp:(0,a.v)(e.onMouseUp,()=>G(!1)),onMouseEnter:(0,a.v)(e.onMouseEnter,()=>W(!0)),onMouseLeave:(0,a.v)(e.onMouseLeave,()=>W(!1))}),[O,Q,n,B,L,S,i,r]),er=(0,c.useCallback)((e={},t=null)=>({...e,ref:t,"data-active":(0,f.P)(O),"data-hover":(0,f.P)(L),"data-checked":(0,f.P)(Q),"data-focus":(0,f.P)(B),"data-focus-visible":(0,f.P)(B&&U.current),"data-indeterminate":(0,f.P)(S),"data-disabled":(0,f.P)(n),"data-invalid":(0,f.P)(i),"data-readonly":(0,f.P)(r)}),[O,Q,n,B,L,S,i,r]),eo=(0,c.useCallback)((e={},t=null)=>({...P,...e,ref:(0,h.lq)(t,e=>{e&&Z("LABEL"===e.tagName)}),onClick:(0,a.v)(e.onClick,()=>{V||(H.current?.click(),requestAnimationFrame(()=>{H.current?.focus({preventScroll:!0})}
2))}),"data-disabled":(0,f.P)(n),"data-checked":(0,f.P)(Q),"data-invalid":(0,f.P)(i)}),[P,n,Q,i,V]),ea=(0,c.useCallback)((e={},t=null)=>({...e,ref:(0,h.lq)(H,t),type:"checkbox",name:C,value:N,id:l,tabIndex:A,onChange:(0,a.v)(e.onChange,J),onBlur:(0,a.v)(e.onBlur,T,()=>M(!1)),onFocus:(0,a.v)(e.onFocus,I,()=>M(!0)),onKeyDown:(0,a.v)(e.onKeyDown,ee),onKeyUp:(0,a.v)(e.onKeyUp,et),required:o,checked:Q,disabled:$,readOnly:r,"aria-label":D,"aria-labelledby":z,"aria-invalid":R?!!R:i,"aria-describedby":p,"aria-disabled":n,"aria-checked":S?"mixed":Q,style:y.N}),[C,N,l,A,J,T,I,ee,et,o,Q,$,r,D,z,R,i,p,n,S]),ei=(0,c.useCallback)((e={},t=null)=>({...e,ref:t,onMouseDown:(0,a.v)(e.onMouseDown,stopEvent),"data-disabled":(0,f.P)(n),"data-checked":(0,f.P)(Q),"data-invalid":(0,f.P)(i)}),[Q,n,i]);return{state:{isInvalid:i,isFocused:B,isChecked:Q,isActive:O,isHovered:L,isIndeterminate:S,isDisabled:n,isReadOnly:r,isRequired:o},getRootProps:eo,getCheckboxProps:en,getIndicatorProps:er,getInputProps:ea,getLabelProps:ei,htmlProps:P}}({...L,isDisabled:I,isChecked:W,onChange:O}),K=function(e){let[t,n]=(0,c.useState)(e),[r,o]=(0,c.useState)(!1);return e!==t&&(o(!0),n(e)),r}(G.isChecked),Y=(0,c.useMemo)(()=>({animation:K?G.isIndeterminate?`${C} 20ms linear, ${N} 200ms linear`:`${S} 200ms linear`:void 0,...k.icon,...(0,i.o)({fontSize:P,color:E})}),[E,P,K,G.isIndeterminate,k.icon]),X=(0,c.cloneElement)(F,{__css:Y,isIndeterminate:G.isIndeterminate,isChecked:G.isChecked});return(0,r.jsxs)(p.m.label,{__css:{..._,...k.container},className:(0,l.cx)("chakra-checkbox",z),...Z(),children:[(0,r.jsx)("input",{className:"chakra-checkbox__input",...U(M,t)}),(0,r.jsx)(p.m.span,{__css:{...w,...k.control},className:"chakra-checkbox__control",...H(),children:X}),R&&(0,r.jsx)(p.m.span,{className:"chakra-checkbox__label",...V(),__css:{marginStart:D,...k.label},children:R})]})});A.displayName="Checkbox"},30980:function(e,t,n){"use strict";n.d(t,{l:function(){return d}});var r=n(85893),o=n(16431),a=n(77260),i=n(54506),l=n(49381),s=n(73035),c=n(15361);let d=(0,l.G)(function(e,t){let n=(0,s.m)("FormLabel",e),l=(0,o.L)(e),{className:d,children:u,requiredIndicator:x=(0,r.jsx)(p,{}),optionalIndicator:m=null,...h}=l,g=(0,i.NJ)(),f=g?.getLabelProps(h,t)??{ref:t,...h};return(0,r.jsxs)(c.m.label,{...f,className:(0,a.cx)("chakra-form__label",l.className),__css:{display:"block",textAlign:"start",...n},children:[u,g?.isRequired?x:m]})});d.displayName="FormLabel";let p=(0,l.G)(function(e,t){let n=(0,i.NJ)(),o=(0,i.e)();if(!n?.isRequired)return null;let l=(0,a.cx)("chakra-form__required-indicator",e.className);return(0,r.jsx)(c.m.span,{...n?.getRequiredIndicatorProps(e,t),__css:o.requiredIndicator,className:l})});p.displayName="RequiredIndicator"},89342:function(e,t,n){"use strict";n.d(t,{Z:function(){return d},x:function(){return p}});var r=n(85893),o=n(77260),a=n(4296),i=n(15361),l=n(49381);let s=(0,i.m)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),c=(0,l.G)(function(e,t){let{placement:n="left",...o}=e,i=(0,a.m)(),l=i.field,c={["left"===n?"insetStart":"insetEnd"]:"0",width:l?.height??l?.h,height:l?.height??l?.h,fontSize:l?.fontSize,...i.element};return(0,r.jsx)(s,{ref:t,__css:c,...o})});c.id="InputElement",c.displayName="InputElement";let d=(0,l.G)(function(e,t){let{className:n,...a}=e,i=(0,o.cx)("chakra-input__left-element",n);return(0,r.jsx)(c,{ref:t,placement:"left",className:i,...a})});d.id="InputLeftElement",d.displayName="InputLeftElement";let p=(0,l.G)(function(e,t){let{className:n,...a}=e,i=(0,o.cx)("chakra-input__right-element",n);return(0,r.jsx)(c,{ref:t,placement:"right",className:i,...a})});p.id="InputRightElement",p.displayName="InputRightElement"},52867:function(e,t,n){"use strict";n.d(t,{DE:function(){return f},HC:function(){return g},QI:function(){return h},aV:function(){return x}});var r=n(85893),o=n(16431),a=n(80274),i=n(71508),l=n(12553),s=n(49381),c=n(73035),d=n(15361);let[p,u]=(0,a.k)({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<List />\" "}),x=(0,s.G)(function(e,t){let n=(0,c.j)("List",e),{children:a,styleType:l="none",stylePosition:s,spacing:u,...x}=(0,o.L)(e),m=(0,i.W)(a);return(0,r.jsx)(p,{value:n,children:(0,r.jsx)(d.m.ul,{ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:{...n.container,...u?{"& > *:not(style) ~ *:not(style)":{mt:u}}:{}},...x,children:m})})});x.displayName="List";let m=(0,s.G)((e,t)=>{let{as:n,...o}=e;return(0,r.jsx)(x,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...o})});m.displayName="OrderedList";let h=(0,s.G)(function(e,t){let{as:n,...o}=e;return(0,r.jsx)(x,{ref:t,as:"ul",styleType:"initial",marginStart:"1em",...o})});h.displayName="UnorderedList";let g=(0,s.G)(function(e,t){let n=u();return(0,r.jsx)(d.m.li,{ref:t,...e,__css:n.item})});g.displayName="ListItem";let f=(0,s.G)(function(e,t){let n=u();return(0,r.jsx)(l.J,{ref:t,role:"presentation",...e,__css:n.icon})});f.displayName="ListIcon"},12095:function(e,t,n){"use strict";n.d(t,{j:function(){return d}});var r=n(85893),o=n(77260),a=n(90608),i=n(87498),l=n(49381),s=n(15361);let c=(0,l.G)((e,t)=>{let n=(0,a.x)();return(0,r.jsx)(s.m.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...n.button}})}),d=(0,l.G)((e,t)=>{let{children:n,as:a,...l}=e,d=(0,i.zZ)(l,t),p=a||c;
2return(0,r.jsx)(p,{...d,className:(0,o.cx)("chakra-menu__menu-button",e.className),children:(0,r.jsx)(s.m.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});d.displayName="MenuButton"},437:function(e,t,n){"use strict";n.d(t,{s:function(){return x}});var r=n(85893),o=n(77260),a=n(90608),i=n(49381),l=n(15361);let s=(0,i.G)((e,t)=>{let n=(0,a.x)();return(0,r.jsx)(l.m.span,{ref:t,...e,__css:n.command,className:"chakra-menu__command"})});s.displayName="MenuCommand";var c=n(81055),d=n(67294);let p=(0,i.G)((e,t)=>{let{type:n,...o}=e,i=(0,a.x)(),s=o.as||n?n??void 0:"button",c=(0,d.useMemo)(()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...i.item}),[i.item]);return(0,r.jsx)(l.m.button,{ref:t,type:s,...o,__css:c})});var u=n(87498);let x=(0,i.G)((e,t)=>{let{icon:n,iconSpacing:a="0.75rem",command:i,commandSpacing:l="0.75rem",children:d,...x}=e,m=(0,u.iX)(x,t),h=n||i?(0,r.jsx)("span",{style:{pointerEvents:"none",flex:1},children:d}):d;return(0,r.jsxs)(p,{...m,className:(0,o.cx)("chakra-menu__menuitem",m.className),children:[n&&(0,r.jsx)(c.O,{fontSize:"0.8em",marginEnd:a,children:n}),h,i&&(0,r.jsx)(s,{marginStart:l,children:i})]})});x.displayName="MenuItem"},34302:function(e,t,n){"use strict";n.d(t,{q:function(){return x}});var r=n(85893),o=n(77260),a=n(40092),i=n(11115),l=n(90608),s=n(87498),c=n(15361),d=n(49381);let p={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},u=(0,c.m)(i.E.div),x=(0,d.G)(function(e,t){let{rootProps:n,motionProps:i,...d}=e,{isOpen:x,onTransitionEnd:m,unstable__animationState:h}=(0,s.Xh)(),g=(0,s._l)(d,t),f=(0,s.Qh)(n),v=(0,l.x)();return(0,r.jsx)(c.m.div,{...f,__css:{zIndex:e.zIndex??v.list?.zIndex},children:(0,r.jsx)(u,{variants:p,initial:!1,animate:x?"enter":"exit",__css:{outline:0,...v.list},...i,...g,className:(0,o.cx)("chakra-menu__menu-list",g.className),onUpdate:m,onAnimationComplete:(0,a.P)(h.onComplete,g.onAnimationComplete)})})});x.displayName="MenuList"},19164:function(e,t,n){"use strict";n.d(t,{s:function(){return v}});var r=n(85893),o=n(77260),a=n(4234),i=n(5490),l=n(42411),s=n(21190),c=n(11115),d=n(67294),p=n(82145);let u={exit:{duration:.15,ease:p.Lj.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},x={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{let{exit:o}=(0,p.js)({direction:e});return{...o,transition:t?.exit??p.p$.exit(u.exit,r),transitionEnd:n?.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{let{enter:o}=(0,p.js)({direction:e});return{...o,transition:n?.enter??p.p$.enter(u.enter,r),transitionEnd:t?.enter}}},m=(0,d.forwardRef)(function(e,t){let{direction:n="right",style:a,unmountOnExit:i,in:l,className:d,transition:u,transitionEnd:m,delay:h,motionProps:g,animatePresenceProps:f,...v}=e,b=(0,p.js)({direction:n}),y=Object.assign({position:"fixed"},b.position,a),k=!i||l&&i,j=l||i?"enter":"exit",w={transitionEnd:m,transition:u,direction:n,delay:h};return(0,r.jsx)(s.M,{...f,custom:w,children:k&&(0,r.jsx)(c.E.div,{...v,ref:t,initial:"exit",className:(0,o.cx)("chakra-slide",d),animate:j,exit:"exit",custom:w,variants:x,style:y,...g})})});m.displayName="Slide";var h=n(15361),g=n(49381);let f=(0,h.m)(m),v=(0,g.G)((e,t)=>{let{className:n,children:s,motionProps:c,containerProps:d,...p}=e,{getDialogProps:u,getDialogContainerProps:x,isOpen:m}=(0,i.vR)(),g=u(p,t),v=x(d),b=(0,o.cx)("chakra-modal__content",n),y=(0,i.I_)(),k={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...y.dialog},j={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...y.dialogContainer},{placement:w}=(0,a.M$)();return(0,r.jsx)(l.M,{children:(0,r.jsx)(h.m.div,{...v,className:"chakra-modal__content-container",__css:j,children:(0,r.jsx)(f,{motionProps:c,direction:w,in:m,className:b,...g,__css:k,children:s})})})});v.displayName="DrawerContent"},4234:function(e,t,n){"use strict";n.d(t,{M$:function(){return s},dy:function(){return Drawer}});var r=n(85893),o=n(80274),a=n(5490),i=n(37984);let[l,s]=(0,o.k)(),c={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function Drawer(e){let{isOpen:t,onClose:n,placement:o="right",children:s,...d}=e,p=(0,i.F)(),u=p.components?.Drawer,x=function(e,t){if(e)return c[e]?.[t]??e}(o,p.direction);return(0,r.jsx)(l,{value:{placement:x},children:(0,r.jsx)(a.u_,{isOpen:t,onClose:n,styleConfig:u,...d,children:s})})}},70010:function(e,t,n){"use strict";n.d(t,{f:function(){return c}});var r=n(85893),o=n(77260),a=n(67294),i=n(5490),l=n(49381),s=n(15361);let c=(0,l.G)((e,t)=>{let{className:n,...l}=e,{bodyId:c,setBodyMounted:d}=(0,i.vR)();(0,a.useEffect)(()=>(d(!0),()=>d(!1)),[d]);let p=(0,o.cx)("chakra-modal__body",n),u=(0,i.I_)();return(0,r.jsx)(s.m.div,{ref:t,className:p,id:c,...l,__css:u.body})});c.displayName="ModalBody"},45443:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=n(85893),o=n(83695),a=n(77260),i=n(5490),l=n(49381),s=n(15361);let c=(0,l.G)((e,t)=>{let{className:n,...l}
2=e,c=(0,a.cx)("chakra-modal__footer",n),d=(0,i.I_)(),p=(0,o.k0)({display:"flex",alignItems:"center",justifyContent:"flex-end",...d.footer});return(0,r.jsx)(s.m.footer,{ref:t,...l,__css:p,className:c})});c.displayName="ModalFooter"},42845:function(e,t,n){"use strict";n.d(t,{P:function(){return h}});var r=n(85893),o=n(16431),a=n(35831),i=n(80235),l=n(44509),s=n(67294),c=n(77260),d=n(49381),p=n(15361);let u=(0,d.G)(function(e,t){let{children:n,placeholder:o,className:a,...i}=e;return(0,r.jsxs)(p.m.select,{...i,ref:t,className:(0,c.cx)("chakra-select",a),children:[o&&(0,r.jsx)("option",{value:"",children:o}),n]})});u.displayName="SelectField";var x=n(16013),m=n(73035);let h=(0,d.G)((e,t)=>{let n=(0,m.j)("Select",e),{rootProps:s,placeholder:c,icon:d,color:h,height:g,h:f,minH:v,minHeight:b,iconColor:y,iconSize:k,...j}=(0,o.L)(e),[w,_]=(0,i.V)(j,a.oE),S=(0,x.Y)(_),C={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...n.field?._focus}};return(0,r.jsxs)(p.m.div,{className:"chakra-select__wrapper",__css:{width:"100%",height:"fit-content",position:"relative",color:h},...w,...s,children:[(0,r.jsx)(u,{ref:t,height:f??g,minH:v??b,placeholder:c,...S,__css:C,children:e.children}),(0,r.jsx)(SelectIcon,{"data-disabled":(0,l.P)(S.disabled),...(y||h)&&{color:y||h},__css:n.icon,...k&&{fontSize:k},children:d})]})});h.displayName="Select";let DefaultIcon=e=>(0,r.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),g=(0,p.m)("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),SelectIcon=e=>{let{children:t=(0,r.jsx)(DefaultIcon,{}),...n}=e,o=(0,s.cloneElement)(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,r.jsx)(g,{...n,className:"chakra-select__icon-wrapper",children:(0,s.isValidElement)(t)?o:null})};SelectIcon.displayName="SelectIcon"},32703:function(e,t,n){"use strict";n.d(t,{s:function(){return SkeletonCircle}});var r=n(85893),o=n(38258);let SkeletonCircle=({size:e="2rem",...t})=>(0,r.jsx)(o.O,{borderRadius:"full",boxSize:e,...t});SkeletonCircle.displayName="SkeletonCircle"},83401:function(e,t,n){"use strict";n.d(t,{N:function(){return SkeletonText}});var r=n(85893),o=n(77260),a=n(38258),i=n(91816),l=n(15361);let SkeletonText=e=>{let{noOfLines:t=3,spacing:n="0.5rem",skeletonHeight:s="0.5rem",className:c,startColor:d,endColor:p,isLoaded:u,fadeDuration:x,speed:m,variant:h,size:g,colorScheme:f,children:v,...b}=e,y=(0,i.S)("number"==typeof t?[t]:t)||3,k=Array(y).fill(1).map((e,t)=>t+1),getWidth=e=>y>1&&e===k.length?"80%":"100%",j=(0,o.cx)("chakra-skeleton__group",c);return(0,r.jsx)(l.m.div,{className:j,...b,children:k.map((e,t)=>{if(u&&t>0)return null;let o=u?null:{mb:e===k.length?"0":n,width:getWidth(e),height:s};return(0,r.jsx)(a.O,{startColor:d,endColor:p,isLoaded:u,fadeDuration:x,speed:m,variant:h,size:g,colorScheme:f,...o,children:0===t?v:void 0},k.length.toString()+e)})})};SkeletonText.displayName="SkeletonText"},38258:function(e,t,n){"use strict";n.d(t,{O:function(){return v}});var r=n(85893),o=n(67294),a=n(43289),i=n(16431),l=n(77260),s=n(70917),c=n(70052),d=n(15361),p=n(49381),u=n(73035);let x=(0,d.m)("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),m=(0,a.gJ)("skeleton-start-color"),h=(0,a.gJ)("skeleton-end-color"),g=(0,s.F4)({from:{opacity:0}
2,to:{opacity:1}}),f=(0,s.F4)({from:{borderColor:m.reference,background:m.reference},to:{borderColor:h.reference,background:h.reference}}),v=(0,p.G)((e,t)=>{let n={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},a=(0,u.m)("Skeleton",n),s=function(){let e=(0,o.useRef)(!0);return(0,o.useEffect)(()=>{e.current=!1},[]),e.current}(),{startColor:p="",endColor:v="",isLoaded:b,fadeDuration:y,speed:k,className:j,fitContent:w,animation:_,...S}=(0,i.L)(n),[C,N]=(0,c.dQ)("colors",[p,v]),A=function(e){let t=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{t.current=e},[e]),t.current}(b),D=(0,l.cx)("chakra-skeleton",j),z={...C&&{[m.variable]:C},...N&&{[h.variable]:N}};if(b){let e=s||A?"none":`${g} ${y}s`;return(0,r.jsx)(d.m.div,{ref:t,className:D,__css:{animation:e},...S})}return(0,r.jsx)(x,{ref:t,className:D,...S,__css:{width:w?"fit-content":void 0,...a,...z,_dark:{...a._dark,...z},animation:_||`${k}s linear infinite alternate ${f}`}})});v.displayName="Skeleton"},2631:function(e,t,n){"use strict";n.d(t,{v:function(){return s}});var r=n(85893),o=n(77260),a=n(8436),i=n(49381),l=n(15361);let s=(0,i.G)(function(e,t){let n=(0,a.J)();return(0,r.jsx)(l.m.dd,{ref:t,...e,className:(0,o.cx)("chakra-stat__help-text",e.className),__css:n.helpText})});s.displayName="StatHelpText"},36689:function(e,t,n){"use strict";n.d(t,{d:function(){return s}});var r=n(85893),o=n(77260),a=n(8436),i=n(49381),l=n(15361);let s=(0,i.G)(function(e,t){let n=(0,a.J)();return(0,r.jsx)(l.m.dt,{ref:t,...e,className:(0,o.cx)("chakra-stat__label",e.className),__css:n.label})});s.displayName="StatLabel"},39131:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});var r=n(85893),o=n(77260),a=n(8436),i=n(49381),l=n(15361);let s=(0,i.G)(function(e,t){let n=(0,a.J)();return(0,r.jsx)(l.m.dd,{ref:t,...e,className:(0,o.cx)("chakra-stat__number",e.className),__css:{...n.number,fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}})});s.displayName="StatNumber"},8436:function(e,t,n){"use strict";n.d(t,{J:function(){return p},k:function(){return u}});var r=n(85893),o=n(16431),a=n(80274),i=n(77260),l=n(49381),s=n(73035),c=n(15361);let[d,p]=(0,a.k)({name:"StatStylesContext",errorMessage:"useStatStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Stat />\" "}),u=(0,l.G)(function(e,t){let n=(0,s.j)("Stat",e),a={position:"relative",flex:"1 1 0%",...n.container},{className:l,children:p,...u}=(0,o.L)(e);return(0,r.jsx)(d,{value:n,children:(0,r.jsx)(c.m.div,{ref:t,...u,className:(0,i.cx)("chakra-stat",l),__css:a,children:(0,r.jsx)("dl",{children:p})})})});u.displayName="Stat"},73244:function(e,t,n){"use strict";n.d(t,{g:function(){return u}});var r=n(85893),o=n(16431),a=n(63681),i=n(77260),l=n(16013),s=n(49381),c=n(73035),d=n(15361);let p=["h","minH","height","minHeight"],u=(0,s.G)((e,t)=>{let n=(0,c.m)("Textarea",e),{className:s,rows:u,...x}=(0,o.L)(e),m=(0,l.Y)(x),h=u?(0,a.C)(n,p):n;return(0,r.jsx)(d.m.textarea,{ref:t,rows:u,...m,className:(0,i.cx)("chakra-textarea",s),__css:h})});u.displayName="Textarea"},61914:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(85893),o=n(67032),a=n(77260),i=n(21190),l=n(11115),s=n(67294),c=n(82145);let isNumeric=e=>null!=e&&parseInt(e.toString(),10)>0,d={exit:{height:{duration:.2,ease:c.Lj.ease},opacity:{duration:.3,ease:c.Lj.ease}},enter:{height:{duration:.3,ease:c.Lj.ease},opacity:{duration:.4,ease:c.Lj.ease}}},p={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:o})=>({...e&&{opacity:isNumeric(t)?1:0},height:t,transitionEnd:r?.exit,transition:n?.exit??c.p$.exit(d.exit,o)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:o})=>({...e&&{opacity:1},height:t,transitionEnd:r?.enter,transition:n?.enter??c.p$.enter(d.enter,o)})},u=(0,s.forwardRef)((e,t)=>{let{in:n,unmountOnExit:c,animateOpacity:d=!0,startingHeight:u=0,endingHeight:x="auto",style:m,className:h,transition:g,transitionEnd:f,animatePresenceProps:v,...b}=e,[y,k]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=setTimeout(()=>{k(!0)});return()=>clearTimeout(e)},[]),(0,o.Z)({condition:Number(u)>0&&!!c,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});let j=parseFloat(u.toString())>0,w={startingHeight:u,endingHeight:x,animateOpacity:d,transition:y?g:{enter:{duration:0}},transitionEnd:{enter:f?.enter,exit:c?f?.exit:{...f?.exit,display:j?"block":"none"}}},_=!c||n,S=n||c?"enter":"exit";return(0,r.jsx)(i.M,{...v,initial:!1,custom:w,children:_&&(0,r.jsx)(l.E.div,{ref:t,...b,className:(0,a.cx)("chakra-collapse",h),style:{overflow:"hidden",display:"block",...m},custom:w,variants:p,initial:!!c&&"exit",animate:S,exit:"exit"})})});u.displayName="Collapse"},80235:function(e,t,n){"use strict";function split(e,t){let n={},r={};
2for(let[o,a]of Object.entries(e))t.includes(o)?n[o]=a:r[o]=a;return[n,r]}n.d(t,{V:function(){return split}})},67032:function(e,t,n){"use strict";n.d(t,{Z:function(){return warn}});let warn=e=>{let{condition:t,message:n}=e}},12005:function(e){"use strict";e.exports=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.0.2","a":"","k":"","d":"","tc":"#000000"},"fr":25,"ip":0,"op":75,"w":420,"h":420,"nm":"tenant logo animation","ddd":0,"assets":[{"id":"image_0","w":72,"h":93,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABdCAYAAAAG9iBvAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAO8klEQVR4nN2dW45cRxnHf19b8MCTWYE7O/ASPBKIEaDgXGQmF9ljNkBgAR7PBkhYQToSQhYIxRIhsnjIeAf2DtLeweSNxPh8PNR3q+qexPbcuilp3Kfr1Kmu+p//d606x8JZl5s6F+VzlKs64y0eytMz/40LLHKmvd3UORNHwNx6P0bY2WaQZmfW002dywu+Qg2cVq6iHHFTr5/Z71xwORuAbuqc5xwpvLHm7FWBr7YVpNMDtNvAQZijIKBDC1X4KfCEt/TOqX/vgsvpANrVuVxp4AjoqNGk+0AFFryzXSC9vpLe1TmzBEfF+hMQQVWybxGCWgIo7PO5fHbKsV9IeT0G7eocSWulA9AKIoqKNlYpTc4AEBRhsS3i9uoA7epcGjjX1vBP7V9VELVjoOIk9stbIW6vBpAzR8yUKwUSwKXJxEuKmBkw4qySdsWnmw7Sy+ugXZ1DMCemLtKg0VK37lOqeWtiJtFG2ecfm6mTXo5BuzoX5QjlmgiSfGkyM9r1oTTR6kXNGYT1s7Hi9sMA7eoc5UjhmjRA8u7bsdix+JS1CF7lVTNjAohZOTWR3Fid9P0itmuxVdM5WkRLTWTWi5XQ99y3UWn9qF3fGCWIuQr7/G1zxO1kBu2WwDMVsBo7JKxRL1+Km3cNMap/IM26KYiIm7qumwW3NodJ6wEycASuQUPGGRMioah5z4qJCjZpFx+ls2QyHqhG257JwoL3NgOkVYB2dc4LjiwqD+PjXjCCqJqYuDAZKzoQ7ZzTDYp514F3qzyEiU/5rX50dlN9vdIDdEOv8l8+F+WaGagmKY0tqKLuEZv1yolpOssuT2LM8rCjMCYZ2Eoqfe+i6ak/saf3z3jOr1QSoBt6lSscAdc1rQzig6WJi6SStdNOE6IiWCehYoi+EhJxRFP2TC8RrBPg4DJBagAVcOJMKs9m3TUZZSe0AOHaSOs1o4ksVi9D28JKV1yp0UP/XRpIswpOuZOtFJBKrWlfs2Tu/0jUUYCqDmENO4IfhY2dpSttW+XsckCacYWP0cYc1RQDs1YxPmeE9N+1+C8BqBTRKmmP6kEHJFqu0wKi9UNcoygzDnj/YkGaMXEjRxSD9PCgYVJ8lVC45gvVCVbz3YUklJmbC9BZsvXuqurk0uv3C4B7swsEaYayAyyh3alQwoXoZrdlNNGVTWt7N5DKJAt9rLhjGV4EVdDEf8CtKoJMF8ikNtYblh2cWUgRw+tarYYT4/Gac2YFCafRhEt7dY3MUtIkgXHglFn5lfyNQ/4i919v6i9XmhV7LEsmdlCW9NDYkIveKea8jjdaDueK2IoSFivswRoxlIFVKgmODjfggNvny6T0gx7LkhcB0ljEvWQt+gjWe8bVvymKV0sdnv4wS9bMe03Rzsjof/wFNybt+GB2jiD1nrSDZDqpGmjNAapUysgaYfRvUzctEU0PO5S1gR51DkrppxiOav7DeEycH5NWY7HHsuQ5O8DTKivdYYoc1dFb8Z/qygaoztICjt36hDvTXj77ITQRdFfDWpwLSOsNLMANvSo/5kjhust9UwjDlScr6zbsWXf3VUo7leIzjdfPwHyfYJOkcg8G2j81dD5kcXaK++R80GM51u+MST52SYfRi99Jb9MxbVT2CYavn/lkKUwIgYpUSQlhSovWXwLVNNXEAR+eHZO+P+X6WI75SQPJlGhT1M6JNjLpovUcfswkVImlSUrYr6FLUrxSJZe1Ncm6LD2kEgqds/OTThaxsezqQuAO6deIw+u+DnQi2I5mRTU5ABa1U5y/6Eubrgq70Ordiq4VbVfw4ZFOFgUoh/z1dOL28utij2Rf4bNC6xVlrPVOVr1Fhl02J0VNnwyhqkrp03rxDKZdaw1SNDVroivD89QB7qstHD6SfVU+M1EBcrIx9oIIFH+n6o3K3OooVuNejLqLriTjwEMfu1STs/kbDcRTgfTqS8+PZJ8Zf041gtToHYqpXnd9zRll6jZj3qq/pvCom7/k9ZgoUiqy7z4+bDUHs1t68Mpz5XU3L/xL/sDE/RhITZ9qJc8ah8evGXWWl8KoYgC6blRtN0kypV3pItlaSsR+ik7K/dm7r86k198f9EgOgftKiMw41TaZIR/kghD+i65hWmXCEJJ437Z2FOe6y6vzWtyFCQ54RZBOt4HqSzlEuR/mmcIkwM1zgFHGXNlVEnUq6T+JGyVKuzgeFXwyyW9CxSjHNXHA2y8P0um34H0ph2pMQjo9oUwhJlmqCBkwdbmoruEXBb+yUBSOpQR9q5irBAe9eTlSDrj5ciCdzSbOL5q41cFUq+Irrf1I02HW/hoxPRYccemqGx7UpdQgGYyEqPSgBRNzHPd484dBOrttwF80cbNBVwtSb75voGqDjplng6rAq7WyyLTjovTdS/HHXMeNKq4DWOAev/5+kM4OIHCQDttwy1+ySQZfJ5d8MhcULQwYzweF+OCXiGOYit+LATBGg2n+82bd41f68UlTOluAAL6QQ4U/Fiq7NWqjsrouDx233K4ZEmRutrvfsTit+EnVKQ2nsvgHzZeS8pvEPfw9v9RP103n7AEC+Kd8woy7bR5prIq9FzIeC1GoFjCAJVlki4jiiwjWYF32vKMJ3kcpEdL4eJQ7szUgnQ9AAA9lgTSQijLuLFhYLC16yxw+B6Wkb8WvKZauuOBRkQ65iW2gsLrYlHueWv/7/KIH6fwAggYS3NV+CjB8d4+5U6hNPiIQ6cyU+zyeoi3Wyp0ndxsCJJJF0veTPbfjfX6eIJ0vQOAg/Q6/j+Y4Dhq1nTP13JlsBktX8tW2QOn9rTqWaSbWeUSuu0T69irCPj9rW2/OHyBwkN4GvqnO5FBkXaWJkO9a6y6NlRboN5MWjSTJxValobzF69UVvnke1s9v4KIAAngoD2mruMfQpSqA2I5X61JfzSKdkU5C0UXVwklxBKQXn4aFZDKuGoX4wbzmOlwkQAAP5SlTA8kHGs9xuHIdzb2PfHAeXbWOpj4aWakruB4ca71BIVclC9CaX4WLBggaSFeCSbHpCPo7KNVnsUuFEKWYoKc9nEXqitdmKVMBWZM1YRQyxA39VcX14gEC+Ls8ZcaOwjc5NsC84rrtBk+MDYqrgtfv7CqWTIvzlT80OpyyUle+XQ5AECABxzKEBc4SPOPYW7FOd7guMd2TbGlte91E9iMp0lqqm6gXkb08gKCBJOyocNwZodQbkjtJE4B1dzy8anqv2VO6Kz5Q3ozq6despMBlAwQNJNhBeBYKePB3fe91BK5ZFDKjOXqjgEek3SYwgnh2LEW3FcMBmwAQVHFbQseAxhi3anaH3fBZiwxak2F+df2upc7j4xUVFQukdtFmAATwQJY6Y0eFZ1HnoiXh4IkrbVPmLYtZA1dCvzhLPAxpqruwUAlWVi+i5r43CCCAB7KsTJIUq7RamYfWGuwWhdztXht0TreDpJT6/FrH3s0CCBpIsrpHyXVqtKvpC0+HaIqM0MdmxWplHVEnte8hr7ShZa89p4YwD0VNhgud9+gM8GlqcxB1srOT/Wn5bG0aGJMxS0H7tvPNY5CXgUkdOKXU8KBaOE3A3M/pXc1xSZxgjoaNZxNFrJYHsoTBuvkkIGO4NVFYQbGLVCj+jvteHXhuwXRTddBYHsgStc2ljUbipgmNu+1RRXjANcFmzIuvXVRSFHxhYzB18wGCAEmIHbgZYqaD1wWt1NADC1rLWammfozzCgG3AyBofpLt5S473LrkWxeWGFyR/JmFIu6Xwk8IU7dDB43lQdnw7nbcWKEQ6ddq2t2BrKsbFdRhtbZ3gtg2gKCBZBveOzMU2oc+Se+pVOm2DPdADM5OVdrbBxAkSFN5KmDdyoidMT1TQtCSJvGUmeskD2msbCdAkCARTKp7Avp3GeWydmtndTpmAFxkS9legKCB9JwdUZZF8eYj
2Da20DIBm0FoCW00qRdCqddPodgMEzbo9Z0fhmfgGLEyPFEMfW/ncf/K2BQxzqKS+fmP7AYLGpO9aqkQ7WHL934VPgEiTZA/SHcn/gw4aywNZ8m3LTJIrFoDN2bweJ1RNqoV6cj+pmP7/H4BgJZ/kxVxmNQUUibeSQ0nrNljC7QToQ73P7RPe7bGIx7mWgOeKxqcB2pn6pTCpJtQ2Nx90UvnAnhlplucTrnDIQo5X2u3Zc7gTc1rOp9kzywnF8xyT2TGrs2heLIe0wfmgdeUDXaDcKQnnj5h4wvtr3vLpYYmwlEoEu7g8RpUOkkf6hVnbA9B7DRzpHT1Q5lzhydqnDS0LoLD0NAYQuerIeacy1/5gW0TsPV2IxKNYscV3JSIXWhZyIcvu+j2dy8SRTsxNjIR8ZAp5YYrbUq1F/LZAxPZ0AdwpL1fJHNCw1CwwZ+LrlScObUlJhKVJj9ZFSJV+O063MnuOUzt9aeDcLomufFq6rkRIbOyMAEsnHvMj7nZs2tM539nLo0oCvzCmuQFTKPMNZtBeE6sagodCzTUyCniha+3zBt9y1L3qyxV39ZOGXWsej/nXzWTQni5EuW3R4qhn4nPYNxxBaTAgWbJAOLRFgPb+azhi4hrJFoZrNpRBt8KU1/xy1TOZ7OpNTT7jMRRR7sjEUbyn8aGtlrSwpPaRx7paffllTxdMzQl0J0V8RaIk4yVfUNAn4gnT3xxAd/h6VnzCxCEP5Zib9kK7iWuiiI4smphvDkC3mrUC4rZ17/nKPEb3Htjw8crKannqOSYb5l2BFywV+x8bdnXOlQAJA8lF9Y3NELF3m1i5wnSd22lPtZurrLznrBNFS34NaY44tAW0a8AT3tT7PIrM5LMq1hr347LLu8acnilqj0p15j3QKyIYxZS2xVIrSrewA16Uc8qSK+zwHwCORJmbEwmXzqB3OnDG9ENY9Y4tlq+xWKy7w8asboU1nMH8phVklDnP+ZoZ+2BhSen38gB6RxcCtzsKu+Uofo3HTEVU6hOK0caua1+1dNN7xas/5zdHuQccIdxVMXHjsgAy5pjTG6udXrRfc0fre4hcgesQtJLhRwWwmOtYRKzuE+D7gwRhTntv9nL4uQssb+sBam/ea7enfzt51qcMBSfifh8jbSN6WDX/9P09rd24L+iYieM4Pw1/lE9Y8m/57H84FX2DLk4uCgAAAABJRU5ErkJggg==","e":1},{"id":"image_1","w":49,"h":71,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAABHCAYAAACu56/AAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAI4UlEQVRogdWa725cRxnGf+/smoS2IU7CBXAH/VqhCtlVhKqoQiFCCCEk3DvgCrrrS+AKYiooiKoQUFUhQFCEKvGxd0B6BXFo0pDE3ocPM+/MO+esg/+sHftI9p4zO2fOPO+f531mzhpncfxAGyTWecbn3LP7qx4+rXrA0XFHWwZ/t6f8ngn/5kear/oRtuoBu+OOtoC7/AfYBxLYNdCUbX5j81U95vQ8cVtb7HOXXbA9BMAC9BBYMOPHq/PI6YC4rS0W1QNS8bgZsIfsAWJ/dUBWDiLd1px97vIl2ALwkFX2hhmmfcwekD3yk5MDWW1OfE9zFszsEZIwH93KP5G9oXJtE6QbGBO2+eXxc2R1IN7RHDHjEaA6Z5TCM1JuL+ElEsYEcR3jEtvsHA/IakC8kz3Ao2xsitGxktCWHSArrf2TxRTjm8CEbd4/OpCTg7hVPPAYscDMgFTMnT9zYLXQklIBlRvyPROk6xiwzQdHA3IyELc0twXv8RhqDsQRw3XMBUCdR/yeBFwF0tHqyPHZ6W3N2WemR6BFaFc4z4ElQFLFkD8Veqr8F9hDxB4zfnh41joeiAKAxwiVcAAFJ7RpNYv71waY8nVOk9LDCYzHwB4z7hwOyNHD6buas+A9exJCqE4tjLjs08EWAArJb4ZFK5CAywBsc+/FoXU0EDdLEj85YKI51t2kkZG8X5c3VsJNmQws8Fr7mwJim48PBnL4cLpZCtlXNWxU4lqotJnPq1g6A6oQhpglkMMSXT7lmAP2EGLGrYND63AgHMB/8/jKk252tfy84AGfvLlhcS8V0IMneD1pnVUoWMCiAHl7OZD/D+ItzdnLALRAUnuq+skMv8OKh1wASu2cnNS1GJYbfUTV4GqGggWzdHMM5MUgNjS3fWY8BRZZ7pjVxMyPp83Kz6vkKB4K33WXCvf4qVn+otbGeMcUBLO00QM5OLE3ShI/rXon9/fEFTIrMR0S21nGijYKc6iVu3LrsL0VRMVn0frn9ifAHjv80949GMR3CoDng3Znj95/deIDMKhppmF1Hk/c7xlWlP4+zHKk2hPQU3b4zN4dg3hTc2Bm+2T6KzaxVriq9gHorN1LjE4z+cQrqHFNyao2jOUCK1B1yx4w+xL0jM3pCICYsY8TQ2cVuT0bNbYot+aowlSmULEr6oSFBI4gu7Eo7GRWUsTHFzI3XEKI11tgvKm5LZjZXqHPEBzVwIueHlsIDyjTr8qEhww1GNjrTSOJQLgBV1W9AngGesYXGH/Iw3xbW4i7tXSNbdSOJXG6jJ4aveT64Fb1iQ/zZJAb1iX4MNT2ga+4z3M2+ZfdT8Vys+BKGwEICrSbt8K596TKici3btWWY4N7wjjuvQrAGgCxAJ5xn0kGAJB4QxuIb/lkR6FRgDlzqI6G58GoAiuAi8XNAUr4Yin2czLI51H9+vgLjOfcR2zyadtJTIjX/SHWc0Z3qM1eFqalyBnRg0aWC9EQquZVmJx5daerEOHZ3r5gl8T3I4AMwlgvMekGGSdqRBYsU1Vo1yEAtHhbpuY6qThsC7kaZ75oMveYsYvY5C/2+XBu02DROJWaZ5VVCG63kBIdc4dOTTAUZmxM5X0KDXbSRO4qr0kTDGOXxXIAMKq9uPzKHh6azPrkdktZS/zAk0tCs7GOV+uDvS+whDEtAD5ZDgDcE816XWxXSlRzSxevHjKlRdH2g1O1EMzGsXpL9VndHQGYYLpUQugFAMA9Meaj2qzwXeHJavnKLoXVnFgIzOOWr+uL9p3V3oBS8PwE4xUeIDa592IADUSbZFulMXZxrZhD9vAcCYukCLxSqrdlmK6hWk4BmgJX2MV46zAARiBE3bmo10tqgCLNhjrRMiFOaqgALC4XSk8faw1Y5yETNvnwcABGIHziJf5ziAyps1hPtTrlUFHXpXwuqzoePkUZmxtqDXSNXWCTDw4PYATC+gsrgGz4XWlsrOKVvgGDIjEcXXd/CFMZsAbcAKZHBzACET0wBKauSwu9AHSouGKeNPqO0twwpmA3MIwtdo4OYASisEoXs12YNOGmoDorXQ4NEOtKJINag9aA6yCxxfv2i+MAGILwlVf2xnBbpcgLj4544Z4h5IaHlxjs7PldE9BVALb41fEBNBBWIDQd1IWGC7YQ300OMsrdpo+iDoq5MQGuAZOTA2ggmu5pArUQn6npHs+ZQf1ruVz+W38dkWYtdA1IqwHQQNBUo/y8Bv9Y/wTOr8YeKaX+Op9NMFsne+DXqwFQQYRaUJNwWK2DjlIMpsaVNcys6qFIxRNgHWSrBVBBuJArEmFAOnQhZDawr3WeG4EXGBP8DdAWv10tgAoiGLaGSiUf9VW7gmmyfWSAsJDJb0zXQZwOgAoizG2g7Lq60a2lZUFCB1ZTDCdDXAUlfsZHpwOggrBQVRULVmi3HCpxLVH7ibJDSKVjaggZcz60n58WgArCLVwEW6vYHkqliFX6YuAhz2jKPqkhu4KAbX5n26cJoIIIa+Yq9rzAdUWhSryeTMtNGVQCXcWU2Obe6QOoIIqKky9WvMlfkpQ+ebdiQL9xR4EEfAOA+VkBaCDIqyxfaVW2aueqlEVXAOvbIRKyK+Qc+OPZAciPzke3govW96TuJHWnU8ES8Bomzh4AQMJ/DbBMxbXtS29r+6LOTgn0GpCY8/HZAwBI7gvrHNA+QrI7L7VakTBeBXh5AMDrRF/sRtzv176YAfK2igP45OUBgLaeaO+hM4nmRE4MdzvyRnBC9nVyEv/
2p5QIArxNNPMX3bPFdgro7XsU0OR8AwLcxIdeB8IauN39pT8ArwII5fz4fACAuT8uWfUUxXp7CZQwx56/nBwB4Yrsa9dwY7FzIMC6TafScAYASTnXi+WgCsPCuLpGT+BwCgLA8dQrt9lgpABJz/nY+AcCyH6gUihVgXwM43wAgvO7yz/orsDWQMefT8w0ABmtsyvKNKWDsXAQA0GRHPZSAxA7/yD/DuQhHAr5Q3Ha5YAAgVOzyqrX+EOoiHQljF8g58NnFA5CPDa3zhn76sqdxkuN/qiFgm+ZYkaUAAAAASUVORK5CYII=","e":1}],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Layer 19 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11,"x":"var $bm_rt;\\n$bm_rt = transform.opacity;"},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[210,212.703,0],"ix":2},"a":{"a":0,"k":[59.183,55.323,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.555,0],[0,0],[0,0.539],[0,0],[-0.702,0.677],[0,0],[-0.393,-0.378],[0,0],[0,-0.982],[0,0]],"o":[[0,0],[-0.556,0],[0,0],[0,-0.96],[0,0],[0.392,-0.379],[0,0],[0.717,0.692],[0,0],[0,0.539]],"v":[[45.526,42.234],[-45.676,42.822],[-46.682,41.847],[-46.682,3.501],[-45.586,0.942],[-0.696,-42.443],[0.723,-42.445],[45.41,0.673],[46.531,3.287],[46.682,41.7]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0.070588178933,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.5],"y":[1]},"o":{"x":[0.5],"y":[0]},"t":20,"s":[0.5]},{"i":{"x":[0.5],"y":[1]},"o":{"x":[0.5],"y":[0]},"t":30,"s":[3]},{"i":{"x":[0.5],"y":[1]},"o":{"x":[0.5],"y":[0]},"t":41,"s":[5]},{"t":55,"s":[0]}],"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[59.182,55.323],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":75,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Layer 20 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[210,209.94,0],"ix":2},"a":{"a":0,"k":[63.894,61.659,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.671,0],[0,0],[0,0.682],[0,0],[-0.847,0.857],[0,0],[-0.474,-0.479],[0,0],[0,-1.241],[0,0]],"o":[[0,0],[-0.671,0],[0,0],[0,-1.215],[0,0],[0.474,-0.479],[0,0],[0.867,0.876],[0,0],[0,0.682]],"v":[[54.996,53.416],[-55.179,54.16],[-56.394,52.925],[-56.394,4.429],[-55.071,1.192],[-0.842,-53.679],[0.872,-53.68],[54.857,0.852],[56.211,4.158],[56.394,52.74]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.058823525906,0.14002302289,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":7,"s":[3]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":17,"s":[5]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":28,"s":[0.5]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":38,"s":[3]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":46,"s":[0.75]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":55,"s":[0.75]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":57,"s":[0.25]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":59,"s":[0]},{"t":65,"s":[0]}],"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[63.894,61.66],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":75,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Layer 21 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[210,205.677,0],"ix":2},"a":{"a":0,"k":[66.412,67.108,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.775,0],[0,0],[0,0.829],[0,0],[-0.979,1.042],[0,0],[-0.548,-0.583],[0,0],[0,-1.51],[0,0]],"o":[[0,0],[-0.776,0],[0,0],[0,-1.477],[0,0],[0.548,-0.583],[0,0],[1.001,1.064],[0,0],[0,0.829]],"v":[[63.547,64.953],[-63.758,65.858],[-65.162,64.357],[-65.162,5.385],[-63.633,1.449],[-0.973,-65.273],[1.008,-65.275],[63.387,1.035],[64.951,5.057],[65.162,64.13]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0.023529307917,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":5,"s":[0.5]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":15,"s":[3]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":25,"s":[5]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":35,"s":[0.5]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":43,"s":[0.25]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":55,"s":[0.25]},{"t":57,"s":[0]}],"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[66.412,67.108],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":75,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":2,"nm":"right.png","cl":"png","refId":"image_0","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":11,"s":[0]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":25,"s":[0]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]}
2,"t":54,"s":[10]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":57,"s":[10]},{"t":66,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[223.75,210.75,0],"ix":2},"a":{"a":0,"k":[36,46.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":75,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":2,"nm":"left.png","cl":"png","refId":"image_1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":11,"s":[0]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":25,"s":[0]},{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":54,"s":[10]},{"t":57,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[183.25,225.25,0],"ix":2},"a":{"a":0,"k":[24.5,35.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":75,"st":0,"bm":0}],"markers":[]}')}},function(e){e.O(0,[1228,4617,9866,6556,2013,4885,6158,260,3874,1255,3714,4321,5675,2722,3442,8612,623,7215,622,986,28,615,1664,454,182,7017,803,6159,4357,6913,9774,2888,179],function(){return e(e.s=17577)}),_N_E=e.O()}]);

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.