PageSourceSearch

https://www.highrises.com/_next/static/chunks/srp.SortBy.f3f37ff57d0ff0b1.js

js highrises.com collected 2026-10-02 06:56:38 UTC 2,870 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35508],{37100:function(e,l,t){"use strict";t.r(l),t.d(l,{SortBy:function(){return E}});var a,s=t(47568),n=t(14924),r=t(97582),o=t(85893),i=t(67294),u=t(23279),b=t.n(u),c=t(93967),y=t.n(c),v=t(93590),p=t(32719),d=t(29410),f=t(17635),g=t(79610),h=t(10847),Z=t(55121),_=t(22632),S=t(70060),w=t(81239),L=t(83729),m=t(74964),T=t(33868),C=t(80342),N=t(95492),B=[{label:"Relevant listings",value:"sby-8"},{label:"Newest listings",value:"sby-6"},{label:"Lowest price",value:"sby-1"},{label:"Highest price",value:"sby-2"}],k=[{label:"Open house date",value:"sby-5"},{label:"Recently reduced",value:"sby-7"},{label:"Largest sqft",value:"sby-14"},{label:"Lot size",value:"sby-9"},{label:"Photo count",value:"sby-16"}],x=(0,C.Z)(B).concat((0,C.Z)(k)),H=[{label:"Sold date",value:"sby-10"},{label:"Lowest price",value:"sby-1"},{label:"Highest price",value:"sby-2"},{label:"Largest sqft",value:"sby-14"},{label:"Lot size",value:"sby-9"},{label:"Photo count",value:"sby-16"}],M=(0,C.Z)(B).concat([{label:"Year built",value:"sby-17"}],(0,C.Z)(k)),P=(0,C.Z)(B).concat((0,C.Z)(k)),R=(a={},(0,n.Z)(a,N.DZ.ForSale,x),(0,n.Z)(a,N.DZ.RMN,x),(0,n.Z)(a,N.DZ.Rentals,[{label:"Best match",value:"sby-15"},{label:"Recently added",value:"sby-6"},{label:"Highest price",value:"luxury"},{label:"Lowest price",value:"affordable"}]),(0,n.Z)(a,N.DZ.NewHomes,[{label:"Newest listings",value:"sby-6"},{label:"Lowest price",value:"sby-4"},{label:"Highest price",value:"sby-12"}]),a),z=t(7604),D=t.n(z),E=function(){var e=(0,v.s)().searchResults,l=e.properties,t=e.totalExpandedProperties,a=(0,p.L)(),u=(0,d.x)(),c=u.pageType,C=u.isForSale,N=(0,f.F)().viewType,B=(0,g.Z)(),k=B.sort,x=B.setSort,z=(0,S.O)().filterCriteria,E=(0,h.z)(),F=(0,Z.T)().isNewHomesV2LandingPageEnabled,O=(0,_.e)().isMobileTopCleanup,q=(0,i.useMemo)((function(){return z.listingStatus.recently_sold||!(0,m.db)(z.soldWithin)}),[z.listingStatus.recently_sold,z.soldWithin,m.db]),W=(0,i.useMemo)((function(){return k||(0,w.cg4)(c,q)}),[k,c,q]),j=(0,i.useMemo)((function(){return C&&q?H:C?F?P:M:R[c]}),[c,q,C,F]),I=(0,i.useCallback)(function(){var e=(0,s.Z)((function(e){return(0,r.__generator)(this,(function(l){return x(e),null===a||void 0===a||a({sort:e,filterCriteria:z}),E({sort:e}),(0,w.PQt)((function(){(0,L.$I)({pageType:c,viewType:N,sort:e})})),[2]}))}));return function(l){return e.apply(this,arguments)}}(),[E,c,a,E,z]),K=b()((function(e){I(e)}),1e3);return(0,o.jsx)(T.z,{className:y()(D().sortBySelect,(0,n.Z)({},D().marginTop,C&&!(null===l||void 0===l?void 0:l.length)&&t)),selectProps:{value:W},options:j,onChangeCallback:function(e){return K(e)},labelOverride:O?"Sort":void 0,prefix:O?"":void 0})}},7604:function(e){e.exports={sortBySelect:"SortBy_sortBySelect__FLuM4",marginTop:"SortBy_marginTop__sXK66"}}}]);
2//# sourceMappingURL=srp.SortBy.f3f37ff57d0ff0b1.js.map

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.