PageSourceSearch

https://www.khov.com/_next/static/chunks/7403.1a0a0117bc42b598.js

js khov.com collected 2026-09-24 18:02:38 UTC 11,990 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7403],{6891:(e,t,i)=>{"use strict";i.d(t,{R:()=>c});var n=i(49550),a=i(7620),r=i(71332),o=i(12848),s=i(95e3);function c(e){let{isDisabled:t,onBlurWithin:i,onFocusWithin:c,onFocusWithinChange:l}=e,u=(0,a.useRef)({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:h}=(0,r.A)(),m=(0,a.useCallback)(e=>{e.currentTarget.contains(e.target)&&u.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(u.current.isFocusWithin=!1,h(),i&&i(e),l&&l(!1))},[i,l,u,h]),f=(0,n.yB)(m),g=(0,a.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=(0,o.TW)(e.target),i=(0,s.bq)(t);if(!u.current.isFocusWithin&&i===(0,s.wt)(e.nativeEvent)){c&&c(e),l&&l(!0),u.current.isFocusWithin=!0,f(e);let i=e.currentTarget;d(t,"focus",e=>{if(u.current.isFocusWithin&&!(0,s.sD)(i,e.target)){let a=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});(0,n.o1)(a,i),m((0,n.eg)(a))}},{capture:!0})}},[c,l,f,d,m]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:g,onBlur:m}}}},7548:(e,t,i)=>{"use strict";i.d(t,{HomeOfTheWeekBlockClient:()=>F});var n=i(93278),a=i(19664),r=i.n(a),o=i(7620),s=i(96793),c=i(48781),l=i(35683),u=i(68160),d=i(14232),h=i(87685),m=i(79247),f=i(7788),g=i(3820),k=i(91474),_=i(82425),v=i(74534),p=i(78153),T=i(79400),O=i(43004),y=i.n(O);function b({cardLink:e,image:t,title:i,eyebrow:a,specifications:r,address:o,tags:s,checkedFeaturesList:c,pricing:l,availability:O,body:b,uTourLink:W,scheduleATourCta:C,reserveLink:P,imagePosition:I="left",...x}){let H=u.P.div,F=!!(C||W||P);return(0,n.FD)(T.Container,{containerClassName:y().wrapper,surface:"brand-25",children:[(0,n.Y)(m.Heading,{...i,className:y().title,styledAs:"h2",tag:"h2"}),(0,n.FD)(H,{...x,className:y().card,children:[e&&(0,n.Y)(g.Link,{className:y()["stretched-link"],...e.props}),(0,n.FD)("div",{...(0,h.s)(y().contents,{[y()["right-image"]]:"right"===I}),children:[(0,n.Y)("div",{...(0,h.s)(y().image),children:(0,n.Y)(k.Image,{aspectRatio:"3-2",...t})}),(0,n.FD)("div",{className:y().specifications,children:[(0,n.Y)("div",{className:y().header,children:(0,n.Y)(m.Heading,{...a,styledAs:"h3",tag:"h4"})}),(0,n.Y)("ul",{className:y().list,children:r?.map(e=>(0,n.Y)("li",{children:(0,n.Y)(d.v,{focusRingClass:"focus",children:(0,n.Y)(m.Text,{tag:"span",styledAs:"b2",tabIndex:0,textContent:e})})},e))}),o&&(0,n.Y)(m.Text,{styledAs:"b2",className:y().body,textContent:o.textContent}),b&&(0,n.Y)(m.Text,{styledAs:"b3",className:y().body,textContent:b.textContent})]}),(s?.length||c?.length)&&(0,n.FD)("div",{className:y().tags,children:[(0,n.Y)("div",{className:y().list,children:s?.map((e,t)=>(0,n.Y)(_.v,{className:y().tag,children:e},`tag_${t}`))}),c?.filter(Boolean).map(e=>(0,n.FD)("div",{className:y().feature,children:[(0,n.Y)(v.Icon,{name:"Check",color:(0,p.YR)("success","100"),size:18,"aria-hidden":!0}),(0,n.Y)(m.Text,{styledAs:"b3-strong",textContent:e})]},e))]}),(0,n.FD)("div",{className:y().pricing,children:[l&&(0,n.FD)("div",{className:y().price,children:[l.title&&(0,n.Y)(m.Text,{styledAs:"b3",className:y().label,textContent:"Now"}),(0,n.Y)(m.Text,{styledAs:"h5",className:y().value,children:l.current}),l.old&&function(e,t){function i(e){return parseFloat(e.replace(/[^0-9.-]+/g,""))}return i(e)<i(t)}(l.current,l.old)&&(0,n.Y)("div",{children:(0,n.Y)(m.Text,{styledAs:"h6",className:y()["old-price"],children:l.old})})]}),O&&(0,n.FD)("div",{className:y().price,children:[O.title&&(0,n.Y)(m.Text,{styledAs:"b3",className:y().label,textContent:"Available"}),(0,n.Y)(m.Text,{styledAs:"h5",className:y().value,children:O.label})]})]}),F&&(0,n.FD)("div",{className:y().links,children:[W?.href?(0,n.Y)(g.Link,{kind:"secondary",...W,className:y()["u-tour"],icon:{name:"UTour",position:"right",...W.icon},children:W.children}):C&&(0,n.Y)(g.Link,{...C,className:y().cta,useOffsetMargin:!0,children:C.children}),P&&(0,n.Y)(f.$,{kind:"secondary",...P,...(0,h.s)(y().cta,P.className),children:P.children})]})]})]})]})}var W=i(72703),C=i(62891),P=i(21304),I=i(4063),x=i(36158),H=i(32103);function F(e){let t,{blocks:i,shared:a}=(0,P.J)(),{openModal:u}=(0,x.T)(),d=(0,o.useRef)(null),h=(0,c.y)(),m=(0,I.h)("ImagesService"),f=(0,I.h)("MortgageService"),g=(0,I.h)("TokensService"),k=(0,I.h)("AnalyticsService"),_=(0,l.Rg)(e.context?.page)?e.context?.page:void 0,v=e.context?.parentCommunity??_,p=e.QMISelection?.[0]?.ContentLink?.Expanded,T=e.QMIImageOverride?.Expanded,O=T&&m.resolveSrc(T,void 0,void 0,h)?T:p.QMICardImage?.Expanded,y={...(0,s.AG)(O,void 0,void 0,void 0,h),...(0,s.Vm)(e,p,O)},F=p.LoanProgramOverride;return f.is21BuydownProgram(F)?t=e.siteSettings?.QMITwoOnePromoRateLabel:f.is321BuydownProgram(F)&&(t=e.siteSettings?.QMIThreeTwoOnePromoRateLabel),(0,o.useEffect)(()=>{function t(){if(!d.current)return;let n=d.current.getBoundingClientRect();n.top<(window.innerHeight||document.documentElement.clientHeight)&&n.bottom>=0&&(k.trackOnce("page_section_view","interaction",{component:e.__typename,component_title:e.HomeOfTheWeekTitle??i.homeOfTheWeek.title,link_text:e.HomeOfTheWeekTitle??i.homeOfTheWeek.title,link_url:(0,s.O2)(p.RelativePath??"",h),placement_id:e.ContentLink?.Id??void 0}),window.removeEventListener("scroll",t))}return window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[k,i.homeOfTheWeek.title,e.ContentLink?.Id,e.HomeOfTheWeekTitle,e.__typename,p]),(0,n.Y)("div",{ref:d,children:(0,n.Y)(b,{title:{textContent:e.HomeOfTheWeekTitle??i.homeOfTheWeek.title},eyebrow:{textContent:p.QMIName??""}
1,body:{textContent:e.QMIDescriptiveText??""},pricing:{title:i.homeOfTheWeek.priceTitle,current:(0,W.S3)(p.CurrentPrice??0),old:p.LastPrice&&(0,C.BP)(p.CurrentPrice??0,p.LastPrice??0,C.Ef)?(0,W.S3)(p.LastPrice??0):void 0},availability:{title:i.homeOfTheWeek.availabilityTitle,label:(0,s.so)(p.MoveInDate,i.homeOfTheWeek.priceTitle,void 0,{month:"short"})},address:{textContent:function(e){let{blocks:t}=(0,P.J)(),i=[e?.StreetAddress,e?.City,e?.State,e?.ZipCode].filter(Boolean).join(", ");return e?.QMIHomeSite&&(i+=` | ${t.homeOfTheWeek.homeSitePrefix(e?.QMIHomeSite)}`),i??""}(p)},image:y,imagePosition:e.ImageRightAligned?"right":"left",cardLink:{label:i.homeOfTheWeek.cta.label,props:{as:r(),href:(0,s.O2)(p.RelativePath??"",h),"aria-label":i.homeOfTheWeek.cta.ariaLabel,onClick:()=>{k.track("click","interaction",{component:e.__typename,component_title:e.HomeOfTheWeekTitle??i.homeOfTheWeek.title??"",link_text:i.homeOfTheWeek.cta.label,link_url:(0,s.O2)(p.RelativePath??"",h),placement_id:e.ContentLink?.Id??void 0})}}},uTourLink:p.UTourUrl?{as:r(),children:i.quickMoveInCard.uTourCtaLabel,href:p.UTourUrl,target:"_blank",rel:"noopener noreferrer",onClick:()=>{k.track("click","interaction",{component:e.__typename,component_title:e.HomeOfTheWeekTitle??i.homeOfTheWeek.title??"",link_text:i.quickMoveInCard.uTourCtaLabel,link_url:p.UTourUrl??"",placement_id:e.ContentLink?.Id??void 0})}}:void 0,tags:[p.MoveInDate?(0,s.so)(p.MoveInDate,i.quickMoveInCard.tags.availability,i.quickMoveInCard.tags.availabilityPrefix,{month:"short"}):"",e.mortgageData.interestRate&&p.APROverride&&(0,n.Y)("div",{dangerouslySetInnerHTML:{__html:g.replace(t||e.siteSettings?.QMIPromoRateLabel||"",{"[EstimatedMonthlyPayment]":e.mortgageData.monthlyPayment,"[Year1EstimatedMonthlyPayment]":e.mortgageData.year1MonthlyPayment,"[Year2EstimatedMonthlyPayment]":e.mortgageData.year2MonthlyPayment,"[Year3EstimatedMonthlyPayment]":e.mortgageData.year3MonthlyPayment,"[InterestRate]":e.mortgageData.interestRate,"[Year1InterestRate]":e.mortgageData.year1InterestRate,"[Year2InterestRate]":e.mortgageData.year2InterestRate,"[Year3InterestRate]":e.mortgageData.year3InterestRate,"[APR]":p.APROverride})}},"promo-rate-tag")].filter(Boolean),specifications:[i.quickMoveInCard.specifications.squareFootage(W.Eg.format(p?.SquareFootageOverride||p.SquareFootage)??0),i.quickMoveInCard.specifications.stories(p.Stories??0),i.quickMoveInCard.specifications.beds((p?.BedsOverride||p.Beds)??0),i.quickMoveInCard.specifications.baths((p?.BathsOverride||p.Baths)??0),i.quickMoveInCard.specifications.cars((p?.GaragesOverride||p.Garages)??0)],checkedFeaturesList:[],scheduleATourCta:v?.EnableRequestATourForm?{as:r(),href:"",kind:"secondary",children:a.contactUs.scheduleATour,onClick:t=>{t.preventDefault();let n="request-a-tour",r={communityRelativePath:v?.RelativePath??"",quickMoveInRelativePath:p.RelativePath??""};u(n,r),k.track("click","interaction",{component:e.__typename,component_title:e.HomeOfTheWeekTitle??i.homeOfTheWeek.title??"",link_text:a.contactUs.scheduleATour,link_url:window.location.href+(0,H.V)(n,r),placement_id:e.ContentLink?.Id??void 0})}}:void 0})})}},12247:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{callServer:function(){return n.callServer},createServerReference:function(){return r.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}});let n=i(69612),a=i(20816),r=i(97102)},14232:(e,t,i)=>{"use strict";i.d(t,{v:()=>s});var n=i(41005),a=i(72902),r=i(11849),o=i(7620);function s(e){let{children:t,focusClass:i,focusRingClass:s}=e,{isFocused:c,isFocusVisible:l,focusProps:u}=(0,n.o)(e),d=o.Children.only(t);return o.cloneElement(d,(0,r.v)(d.props,{...u,className:(0,a.A)({[i||""]:c,[s||""]:l})}))}},27541:(e,t,i)=>{"use strict";var n=i(43041);i.o(n,"useParams")&&i.d(t,{useParams:function(){return n.useParams}}),i.o(n,"usePathname")&&i.d(t,{usePathname:function(){return n.usePathname}}),i.o(n,"useRouter")&&i.d(t,{useRouter:function(){return n.useRouter}}),i.o(n,"useSearchParams")&&i.d(t,{useSearchParams:function(){return n.useSearchParams}})},41005:(e,t,i)=>{"use strict";i.d(t,{o:()=>s});var n=i(19142),a=i(506),r=i(6891),o=i(7620);function s(e={}){let{autoFocus:t=!1,isTextInput:i,within:c}=e,l=(0,o.useRef)({isFocused:!1,isFocusVisible:t||(0,n.pP)()}),[u,d]=(0,o.useState)(!1),[h,m]=(0,o.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),f=(0,o.useCallback)(()=>m(l.current.isFocused&&l.current.isFocusVisible),[]),g=(0,o.useCallback)(e=>{l.current.isFocused=e,d(e),f()},[f]);(0,n.K7)(e=>{l.current.isFocusVisible=e,f()},[],{isTextInput:i});let{focusProps:k}=(0,a.i)({isDisabled:c,onFocusChange:g}),{focusWithinProps:_}=(0,r.R)({isDisabled:!c,onFocusWithinChange:g});return{isFocused:u,isFocusVisible:h,focusProps:c?_:k}}},43004:e=>{e.exports={specifications:"HomeOfTheWeek_specifications__BrF4V",list:"HomeOfTheWeek_list__2bIx0","visually-hidden":"HomeOfTheWeek_visually-hidden__tvVGH","stretched-link":"HomeOfTheWeek_stretched-link__u7ucc",focus:"HomeOfTheWeek_focus__EStZG",wrapper:"HomeOfTheWeek_wrapper__LJU_Q",title:"HomeOfTheWeek_title__6zmbd",card:"HomeOfTheWeek_card__OHO6q",contents:"HomeOfTheWeek_contents__BZgy9",links:"HomeOfTheWeek_links__LxkWv",tags:"HomeOfTheWeek_tags__Jnqm0","right-image":"HomeOfTheWeek_right-image__urj_b",image:"HomeOfTheWeek_image__7sv_q",header:"HomeOfTheWeek_header__GkGG5","popover-trigger":"HomeOfTheWeek_popover-trigger__Cwcob",body:"HomeOfTheWeek_body__CCTOk",tag:"HomeOfTheWeek_tag__MAleW",feature:"HomeOfTheWeek_feature__eqpbm",pricing:"HomeOfTheWeek_pricing__OodtB",label:"HomeOfTheWeek_label__ufsph",price:"HomeOfTheWeek_price__l4eRv",value:"HomeOfTheWeek_value__CxWU8","old-price":"HomeOfTheWeek_old-price__so2Wt",cta:"HomeOfTheWeek_cta__7j6iE","u-tour":"HomeOfTheWeek_u-tour__6Nu7w"}},85809:(e,t,i)=>{"use strict";i.r(t),i.d(t,{HomeOfTheWeekBlock:()=>l});var n=i(93278),a=i(7620),r=i(23920),o=i(4063),s=i(56187),c=i(7548);function l(e){return(0,n.Y)(a.Suspense,{fallback:null,children:(0,n.Y)(u,{...e})})}async function u(e){let t=(0,o.h)("MortgageService"),i=e.QMISelection?.[0]?.ContentLink?.Expanded,a=await (0,r.J)({query:s.o});if(!i)return null;let l=a?.SiteSettings?.item,u=await t.getData(e.context?.parentCommunity??e.context?.page,i);return(0,n.Y)(c.HomeOfTheWeekBlockClient,{...e,siteSettings:l,mortgageData:u})}}}]);

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.