1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{53591:function(t,e,n){n.d(e,{A:function(){return r}});var r={sm:0,md:768,lg:1024,xl:1280}},73695:function(t,e,n){n.d(e,{O:function(){return BrandLogo}});var r=n(52322),i=n(82376),o=n.n(i);n(2784);var a=n(7373);n(67643);let BrandLogo=t=>{let{brand:e="Urban Rest",height:n,width:i,className:l,type:d="icon"}=t,c=a.jr[e]||a.jr["Urban Rest"],u=c.icon;switch(d){case"banner":u=c.banner||c.logo;break;case"logo":u=c.logo;break;case"icon":u=c.icon}let s=i||u.width,g=n||u.height,h=s,p=g;if(i&&!n){let t=i/u.width;p=Math.round(u.height*t),h=i}else if(n&&!i){let t=n/u.height;h=Math.round(u.width*t),p=n}return(0,r.jsx)(o(),{src:u.src,alt:c.alt,width:h,height:p,className:["_14evrhc0",l].filter(Boolean).join(" "),priority:"logo"===d||"banner"===d})};BrandLogo.displayName="BrandLogo"},50797:function(t,e,n){n.r(e),n.d(e,{BuildingCardListingBlock:function(){return BuildingCardListingBlock}});var r=n(52322);n(2784);var i=n(51400),o=n(2971);let BuildingCardListingBlock=t=>{let{body:e,buildings:n,buttons:a,contentAlignment:l="left",gridTemplateColumns:d={sm:"auto",md:"cols-3"},heading:c,id:u,preHeading:s,theme:g,hideFeatures:h}=t;return(0,r.jsx)(o.r,{body:e,buttons:a,contentAlignment:l,gridTemplateColumns:d,heading:c,id:u,preHeading:s,preHeadingStyle:"pill",theme:g,children:n.map((t,e)=>(0,r.jsx)(i.u,{...t,hideFeatures:h},e))})};BuildingCardListingBlock.displayName="BuildingCardListingBlock"},2971:function(t,e,n){n.d(e,{r:function(){return CardListing}});var r=n(52322),i=n(45455),o=n.n(i);n(2784);var a=n(42256),l=n(34457);let d=["Nolo Apts","Urban Rest"];var c=n(73695);let BrandLegend=t=>{let{backgroundColor:e="transparent"}=t;return d.length<=1?null:(0,r.jsx)(l.x,{backgroundColor:e,children:(0,r.jsx)(l.x,{display:"flex",alignItems:"center",gap:"2",justifyContent:"flex-end",flexWrap:"nowrap",children:d.map(t=>(0,r.jsx)(l.x,{flexShrink:0,children:(0,r.jsx)(c.O,{brand:t,type:"logo",height:25})},t))})})};BrandLegend.displayName="BrandLegend";var u=n(55989);n(87726);let CardListing=t=>{let{body:e,buttons:n,children:i,contentAlignment:d="left",gap:c="1",gridTemplateColumns:s="auto",heading:g,id:h,preHeading:p,preHeadingStyle:m="default",showBrandLegend:v=!1,showDivider:x=!1,theme:y="light"}=t,f=!!e,j=!o()(n);return(0,r.jsx)(l.x,{id:h,paddingY:"4",backgroundColor:"light"===y?"white":"earth100",children:(0,r.jsxs)(u.W2,{display:"block",children:[v?(0,r.jsxs)(l.x,{className:"_1vrd4d90",children:[(0,r.jsx)(a.s,{preHeading:p,preHeadingStyle:m,heading:g,bodyAlignment:d,body:e,marginBottom:f?"0":"1"}),(0,r.jsx)(l.x,{className:"_1vrd4d91",children:(0,r.jsx)(BrandLegend,{})})]}):(0,r.jsx)(a.s,{preHeading:p,preHeadingStyle:m,heading:g,bodyAlignment:d,body:e,marginBottom:f?"0":"1"}),x&&(0,r.jsx)(l.x,{width:"100%",borderTopWidth:"1",borderTopStyle:"solid",borderTopColor:"charcoal500",marginY:"1"}),(0,r.jsx)(l.x,{display:"grid",gap:c,gridTemplateColumns:s,children:i}),j&&(0,r.jsx)(a.s,{marginTop:"2",buttons:n,bodyAlignment:d})]})})};CardListing.displayName="CardListing"},99453:function(t,e,n){n.d(e,{Z:function(){return Card}});var r=n(52322);n(2784);var i=n(34457),o=n(52610),a=n(52616);let Card=t=>{let{children:e,contentGridColumn:n,contentHeight:l,imageAspectRatio:d,imageGridColumn:c,imageHeight:u,imageRadius:s,images:g,justifyItems:h,link:p,thumbnail:m,...v}=t;return(0,r.jsxs)(a.M,{...p,...v,children:[(0,r.jsx)(o.x,{imageAspectRatio:d,imageGridColumn:c,imageHeight:u,images:g,radius:s,sliderLink:p,thumbnail:m}),(0,r.jsx)(i.x,{marginBottom:"1",display:"grid",gridColumn:n,height:l,justifyItems:h,children:e})]})}},86900:function(t,e,n){n.r(e),n.d(e,{TestimonialBlock:function(){return TestimonialBlock}});var r=n(52322),i=n(2784),o=n(25729),a=n(90377),l=n(53591),d=n(34457),c=n(55989),u=n(85208);n(65635),n(61427);let s=[{colour:"earth100",highlight:"_1cjqpoz2"},{colour:"stone100",highlight:"_1cjqpoz3"},{colour:"eucalyptus100",highlight:"_1cjqpoz4"},{colour:"sand100",highlight:"_1cjqpoz5"},{colour:"terracotta100",highlight:"_1cjqpoz6"}],TestimonialBlock=t=>{let{testimonials:e}=t,n=(0,i.useRef)(),{events:g}=(0,a.O)(n),h=(0,i.useRef)(),[p,m]=(0,i.useState)(0),[v,x]=(0,i.useState)("3rem");return(0,i.useEffect)(()=>{let handleResize=()=>{if(h.current){let t=h.current.offsetLeft,e=Number(window.getComputedStyle(h.current,null).paddingLeft.replace("px",""));h.current.clientWidth<l.A.md&&x("1.5rem"),m(t+e)}};return handleResize(),window.addEventListener("resize",handleResize),()=>window.removeEventListener("resize",handleResize)},[h]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.W2,{ref:h}),(0,r.jsx)(d.x,{display:"flex",flexDirection:"row",justifyContent:"stretch",overflowX:"scroll",marginY:"1",className:"_1cjqpoz0",...g,ref:n,children:e.map((t,n)=>{var i,a;return(0,r.jsxs)(d.x,{minWidth:{sm:"80vw",md:"60vw"},backgroundColor:s[n%5].colour,paddingY:{sm:"4",md:"3"},style:{paddingLeft:0===n?p:v,paddingRight:n===e.length-1?p:v,marginRight:"1rem"},className:"_1cjqpoz1",children:[t.guestName&&(0,r.jsx)(u.x,{variant:"body",color:"charcoal300",marginBottom:"1",children:t.guestName}),(0,r.jsx)(u.x,{className:s[n%5].highlight,as:"span",variant:"h4",children:(0,r.jsx)(o.rZ,{data:t.testimonial})}),t.city&&(0,r.jsx)(u.x,{variant:"body",color:"charcoal300",marginTop:"1",textAlign:"right",children:"".concat(null===(i=t.building)||void 0===i?void 0:i.title,", ").concat(null===(a=t.city)||void 0===a?void 0:a.title)})]},n)})})]})}},8417:function(t,e,n){n.d(e,{Jn:function(){return homePageToStructuredData},T3:function(){return neighbourhoodStructuredData},Yr:function(){return countryToStructuredData},e:function(){return buildingToStructuredData},h_:function(){return cityToStructuredData},y3:function(){return pageToStructuredData}});var r=n(48436),i=n(50326),o=n(7373);let buildingToStructuredData=t=>{var e,n,a,l,d;let{full:c,description:u,latLng:s,title:g,thumbnail:h,images:p,slug:m,majorCity:v}=t;return{"@context":"https://schema.org","@type":"ApartmentComplex",address:c,description:(0,i.sY)(u),geo:{"@type":"GeoCoordinates",latitude:s.latitude,longitude:s.longitude},name:g,image:null!==(d=null!==(l=null==h?void 0:null===(e=h.data)||void 0===e?void 0:e.src)&&void 0!==l?l:null==p?void 0:null===(a=p[0])||void 0===a?void 0:null===(n=a.data)||void 0===n?void 0:n.src)&&void 0!==d?d:null,url:"".concat(r._n,"/").concat(o.SQ.APARTMENTS,"/").concat(v.countrySlug,"/").concat(v.citySlug,"/").concat(m)}},cityToStructuredData=t=>{var e,n;let{title:a,description:l,centrePoint:d,backgroundImage:c,countrySlug:u,citySlug:s}=t;return{"@context":"https://schema.org","@type":"City",address:a,description:(0,i.sY)(l),geo:{"@type":"GeoCoordinates",latitude:d.latitude,longitude:d.longitude},name:a,photo:null!==(n=null==c?void 0:null===(e=c.data)||void 0===e?void 0:e.src)&&void 0!==n?n:null,url:"".concat(r._n,"/").concat(o.SQ.SERVICED_APARTMENTS,"/").concat(u,"/").concat(s)}},countryToStructuredData=t=>{var e,n;let{title:a,description:l,backgroundImage:d,countrySlug:c}=t;return{"@context":"https://schema.org","@type":"Country",address:a,description:(0,i.sY)(l),geo:{"@type":"GeoCoordinates",latitude:0,longitude:0},name:a,photo:null!==(n=null==d?void 0:null===(e=d.data)||void 0===e?void 0:e.src)&&void 0!==n?n:null,url:"".concat(r._n,"/").concat(o.SQ.SERVICED_APARTMENTS,"/").concat(c)}},neighbourhoodStructuredData=t=>{var e,n;let{title:i,description:a,backgroundImage:l,location:d,slug:c}=t;return{"@context":"https://schema.org","@type":"City",address:i,description:a,geo:{"@type":"GeoCoordinates",latitude:d.centrePoint.latitude,longitude:d.centrePoint.longitude},name:i,photo:null!==(n=null==l?void 0:null===(e=l.data)||void 0===e?void 0:e.src)&&void 0!==n?n:null,url:"".concat(r._n,"/").concat(o.SQ.SERVICED_APARTMENTS,"/").concat(d.countrySlug,"/").concat(d.citySlug,"/").concat(c)}},pageToStructuredData=t=>{var e,n;let{slug:i,seo:o}=t;return{"@context":"https://schema.org","@type":"WebPage",name:null!==(e=null==o?void 0:o.title)&&void 0!==e?e:"",description:null!==(n=null==o?void 0:o.description)&&void 0!==n?n:"",url:"".concat(r._n,"/").concat(i)}},homePageToStructuredData=t=>{var e,n;let{seo:i}=t;return{"@context":"https://schema.org","@type":"WebPage",name:null!==(e=null==i?void 0:i.title)&&void 0!==e?e:"",description:null!==(n=null==i?void 0:i.description)&&void 0!==n?n:"",url:r._n}}}}]);
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.