1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ac90dc8a-2dbb-4d6a-a1e5-9c836f0d80d0",e._sentryDebugIdIdentifier="sentry-dbid-ac90dc8a-2dbb-4d6a-a1e5-9c836f0d80d0")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[759,7598,7973],{7319:(e,l,a)=>{a.d(l,{S:()=>r,c:()=>t});var s=a(53239);let t=(0,s.createContext)({});function r(e){return{...(0,s.useContext)(t),...e}}},9006:(e,l,a)=>{a.d(l,{O:()=>r});var s=a(80263),t=a(11230);let r=e=>{let{as:l="span",className:a,isSelected:r,key:i,title:n,...d}=e;return(0,s.jsx)("li",{className:"TabsItem",children:(0,s.jsx)(l,{className:t("TabsButton",{"TabsButton--selected":r},a),...d,children:n},i)})}},9380:(e,l,a)=>{a.d(l,{z:()=>m});var s=a(80263),t=a(53239),r=a(11230),i=a(6648),n=a(1991),d=a(55039),o=a(92900),c=a(2945);let m=(0,t.forwardRef)((e,l)=>{let a=(0,n._E)(e,"button"),{buttonProps:t}=((e,l)=>{let{disabled:a,href:s,target:t,rel:r,...i}=e,n=(0,c.d)(e,l),d=(0,o.$)(i);return{buttonProps:{role:"button",tabIndex:a?void 0:0,href:a?void 0:s,target:t,"aria-disabled":a,rel:r,...n,...d}}})(a,l),{variant:m="primary",size:u="large",disabled:h,children:p,className:x}=a;return(0,s.jsx)("a",{...t,className:r("Button",d.G[m],d.S[u],{"is-disabled":h},x),ref:l,children:(0,s.jsx)(n.Nt,{slots:{icon:{className:"Button-icon"},text:{className:"Button-label",variant:"body-xl"}},children:"string"==typeof p?(0,s.jsx)(i.E,{children:p}):p})})})},15796:(e,l,a)=>{a.d(l,{l:()=>s});function s(e){return Object.fromEntries(new FormData(e))}},17612:(e,l,a)=>{a.d(l,{N:()=>u});var s=a(80263),t=a(53239),r=a(1075),i=a(34878),n=a.n(i),d=a(11230),o=a.n(d),c=a(21823);let m=(0,t.forwardRef)(({children:e,onClick:l,target:a,href:t,...r},i)=>(0,s.jsx)(c.N,{onPress:l,...r,ref:i,children:(0,s.jsx)("a",{target:a,href:t,children:e})}));m.displayName="ClickToPress";let u=e=>{let l=(0,r.useRouter)(),{href:a,locale:t,prefetch:i,activeClassName:d="text-anyplace-green",className:c,children:u,...h}=e,p=l.asPath===a;return(0,s.jsx)(n(),{legacyBehavior:!0,passHref:!0,href:a,locale:t,prefetch:i,...h,children:(0,s.jsx)(m,{className:o()(c,p?d:""),...h,children:u})})}},20210:(e,l,a)=>{a.d(l,{M:()=>t});var s=a(53239);let t=e=>{let{"aria-labelledby":l,"aria-label":a}=e,t=(0,s.useId)(),r=e.id||t,i=(0,s.useId)();return e.label||a||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:{id:i,htmlFor:r},fieldProps:{"aria-label":a,"aria-labelledby":l?`${l} ${i}`:i}}}},21823:(e,l,a)=>{a.d(l,{N:()=>u});var s=a(53239),t=a(11230),r=a(80263),i=a(1991),n=a(92900),d=a(20707),o=a(2945);let c=new Set(["href","target","rel","download","referrerpolicy","type","name"]),m={dark:"Link--dark",default:"Link--default"},u=(0,s.forwardRef)((e,l)=>{let{children:a,className:u,isQuiet:h,variant:p="default",...x}=(0,i._E)(e,"link"),{linkProps:g}=function(e,l){let{as:a="a"}=e,s=(0,n.$)(e,{propNames:c}),t="a"===a?s:{role:"link",tabIndex:e.disabled?void 0:0,"aria-disabled":e.disabled??void 0},r=(0,o.d)(e,l);return{linkProps:(0,d.v)(t,r,s)}}({...x,as:"string"==typeof a?"span":"a"},l);return(0,s.cloneElement)((e=>"string"==typeof e?(0,r.jsx)("span",{children:e}):(0,s.isValidElement)(e)?s.Children.only(e):(console.warn("getWrappedElement: Received an invalid children, got:",e),null))(a),{...g,className:t("Link",m[p],{"is-quiet":h},u),ref:l})})},26348:(e,l,a)=>{a.d(l,{A:()=>r});var s=a(80263),t=a(63541);let r=e=>(0,s.jsx)(t.I,{...e,children:(0,s.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,s.jsx)("path",{d:"M8.22 12.72a.75.75 0 01-.22-.53v-.38a.77.77 0 01.22-.53l5.14-5.13a.5.5 0 01.71 0l.71.71a.49.49 0 010 .7L10.33 12l4.45 4.44a.5.5 0 010 .71l-.71.7a.5.5 0 01-.71 0l-5.14-5.13z"})})})},31497:(e,l,a)=>{a.d(l,{T:()=>h});var s=a(80263),t=a(53239),r=a(11230),i=a(6648),n=a(1991),d=a(40709),o=a(26348),c=a(91521);let m={primary:"DashButton--primary",secondary:"DashButton--secondary"},u={start:"DashButton--start",end:"DashButton--end"},h=(0,t.forwardRef)((e,l)=>{let a=(0,n._E)(e,"button"),{buttonProps:t}=(0,d.s)(a,l),{variant:h="primary",dashSide:p="end",disabled:x,children:g,className:f}=a;return(0,s.jsx)("button",{...t,className:r("DashButton",m[h],u[p],{"is-disabled":x},f),ref:l,children:(0,s.jsx)(n.Nt,{slots:{text:{className:"DashButton-label",variant:"body-xl"}},children:"string"==typeof g?(0,s.jsxs)(s.Fragment,{children:["start"===p&&(0,s.jsx)(o.A,{}),(0,s.jsx)(i.E,{className:"font-semibold",children:g}
1),"end"===p&&(0,s.jsx)(c.f,{})]}):g})})})},39351:(e,l,a)=>{a.d(l,{A:()=>c});var s=a(80263),t=a(53239),r=a(11230),i=a(7319),n=a(96510),d=a(55066),o=a(40083);let c=(0,t.forwardRef)((e,l)=>{let a=(0,i.S)(e),{className:c,size:m="md",ariaLabel:u}=a,h=(0,t.useRef)(null),p=l||h,{labelProps:x,inputProps:g}=(0,n.v)(a,p);return(0,s.jsx)(d.J,{className:r(o.S[m],c),...a,ariaLabel:u,inputProps:g,labelProps:x,ref:p})})},40083:(e,l,a)=>{a.d(l,{S:()=>s});let s={md:"",sm:"TextField--sm"}},47212:(e,l,a)=>{a.d(l,{z:()=>o});var s=a(80263),t=a(53239),r=a(34878),i=a.n(r),n=a(9380);let d=(0,t.forwardRef)(({children:e,onClick:l,...a},t)=>(0,s.jsx)(n.z,{onPress:l,...a,ref:t,children:e}));d.displayName="ClickToPress";let o=e=>{let{href:l,locale:a,prefetch:t,...r}=e;return(0,s.jsx)(i(),{legacyBehavior:!0,passHref:!0,href:l,locale:a,prefetch:t,children:(0,s.jsx)(d,{...r})})}},47598:(e,l,a)=>{a.r(l),a.d(l,{FullyFurnished:()=>c,default:()=>u});var s=a(80263),t=a(97605),r=a(13315),i=a.n(r),n=a(59206),d=a(6648),o=a(56990);function c(e){let{title:l="Spaces Built For Remote Workers",description:a="Level up your remote work with luxury accommodations that come prepped\nwith an equipped home office and high-speed internet.",showButton:r=!0,backgroundClassName:c="bg-light-beige",cardClassName:u="",cards:h=m}=e;return(0,s.jsx)("div",{className:c,children:(0,s.jsxs)(n.m,{className:"relative z-10 py-8 md:py-10",children:[l&&(0,s.jsx)(d.E,{as:"h2",className:"Heading md:Heading--2 mb-6 pt-8 text-[30px] md:w-4/5 md:pt-16 md:text-[44px] lg:mb-8",variant:"body-4xl",children:l}),a&&(0,s.jsx)(d.E,{as:"p",className:"mb-6 md:w-2/3 lg:mb-8",variant:"body-2xl",children:a}),(0,s.jsx)("div",{className:"grid gap-4 md:grid-cols-3",children:h.map((e,l)=>(0,s.jsxs)("div",{className:`relative w-full ${u}`.trim(),children:[(0,s.jsx)(i(),{alt:e.title,className:"h-auto w-full rounded-t-lg object-cover",height:"352",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",src:t.r&&e.srcwebp?e.srcwebp:e.src,width:"528",fetchPriority:"low"}),(0,s.jsxs)("div",{className:"rounded-b-lg bg-white p-6",children:[(0,s.jsx)(d.E,{as:"p",className:"text-dark-navy font-semibold",variant:"body-2xl",children:e.title}),(0,s.jsx)(d.E,{as:"p",children:e.desc})]})]},l))}),r&&(0,s.jsx)("div",{className:"flex",children:(0,s.jsx)(o.$,{className:"mx-auto mb-16 mt-16 px-12",onPress:()=>window.scrollTo({top:100,behavior:"smooth"}),children:"Book Now"})})]})})}let m=[{src:"/home/fullyFurnished/desk-setup.jpg",srcwebp:"/home/fullyFurnished/desk-setup.webp",title:"Desk setup & high-speed internet",desc:"Ultrawide monitor, standing desk, work chair, keyboard, mouse, and private high-speed internet."},{src:"/home/fullyFurnished/video-conference-setup.jpg",srcwebp:"/home/fullyFurnished/video-conference-setup.webp",title:"Video conferencing setup",desc:"Webcam, microphone, key light, and collapsible green screen."},{src:"/home/fullyFurnished/fully-furnished.jpg",srcwebp:"/home/fullyFurnished/fully-furnished.webp",title:"Flexible-term & fully furnished",desc:"No long-term commitments and move-in-ready accommodations."}],u=c},49684:(e,l,a)=>{a.d(l,{R:()=>d});var s=a(80263),t=a(13315),r=a.n(t),i=a(59206),n=a(6648);let d=e=>{let{title:l="Our Clients Include"}=e;return(0,s.jsx)("div",{className:"bg-light-beige relative z-20 py-16 lg:bg-white lg:py-40",children:(0,s.jsxs)(i.m,{className:"my-0 py-0",children:[(0,s.jsx)(n.E,{as:"h2",className:"Heading lg:Heading--2 mb-12 text-center text-[30px] md:text-[46px] lg:mb-24",variant:"body-4xl",children:l}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-1 lg:grid-cols-4 lg:divide-x",children:["/corporate-housing-rentals/meta-logo.png","/corporate-housing-rentals/sobheys-logo.png","/corporate-housing-rentals/twillio-logo.png","/corporate-housing-rentals/wokstream-logo.png"].map((e,l)=>(0,s.jsx)("div",{className:"filter-grayscale relative mx-auto flex h-24 w-full flex-col items-center justify-center bg-white lg:h-14",children:(0,s.jsx)("div",{className:"relative h-12 w-[30vw] md:w-40",children:(0,s.jsx)(r(),{fill:!0,alt:"Our Clients"+l,className:"h-auto w-[30vw] object-contain md:w-full",sizes:"50vw",src:e})})},l))})]})})}},51867:(e,l,a)=>{a.d(l,{y:()=>i});var s=a(80263),t=a(11230);let r={neutral:"Spinner--neutral",danger:"Spinner--danger",positive:"Spinner--p
1ositive",informative:"Spinner--informative",notice:"Spinner--notice"},i=e=>{let{variant:l="neutral",className:a,...i}=e;return(0,s.jsx)("span",{className:t("Spinner",r[l],a),role:"status",...i,children:(0,s.jsx)("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M7.229 1.173a9.25 9.25 0 1011.655 11.412 1.25 1.25 0 10-2.4-.698 6.75 6.75 0 11-8.506-8.329 1.25 1.25 0 10-.75-2.385z"})})})}},53340:(e,l,a)=>{a.d(l,{v:()=>n});var s=a(80263),t=a(59206),r=a(6648);let i=(e,l)=>!e||"object"!=typeof e||Array.isArray(e)?e:l?e[l]??e.default??Object.values(e)[0]:Object.values(e)[0],n=({title:e,intro:l,rows:a,headers:n,closing:d,city:o})=>{let c=i(e,o?.slug),m=i(l,o?.slug),u=i(a,o?.slug)??[],h=i(n,o?.slug)??[],p=i(d,o?.slug);return(0,s.jsx)("div",{className:"bg-light-beige",children:(0,s.jsxs)(t.m,{className:"flex flex-col py-8 lg:py-12",children:[(0,s.jsx)(r.E,{as:"h2",className:"Heading md:Heading--2 mb-4 text-[30px] md:text-[46px]",variant:"body-4xl",children:c}),(0,s.jsx)(r.E,{as:"p",className:"mb-8 whitespace-pre-line",variant:"body-2xl",children:m}),(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsxs)("table",{className:"w-full border-collapse text-left",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{className:"bg-dark-navy text-white",children:[(0,s.jsx)("th",{className:"px-4 py-3 text-sm font-semibold md:text-base"}),h.map(e=>(0,s.jsx)("th",{className:"px-4 py-3 text-sm font-semibold md:text-base",children:e},e))]})}),(0,s.jsx)("tbody",{children:u.map((e,l)=>{let a=e.values??[e.col1,e.col2,e.col3].filter(Boolean);return(0,s.jsxs)("tr",{className:l%2==0?"bg-white":"bg-gray-50",children:[(0,s.jsx)("td",{className:"px-4 py-3 text-sm font-semibold md:text-base",children:e.feature}),a.map((l,a)=>(0,s.jsx)("td",{className:0===a?"text-dark-navy px-4 py-3 text-sm font-medium md:text-base":"px-4 py-3 text-sm text-gray-600 md:text-base",children:l},`${e.feature}-${a}`))]},e.feature)})})]})}),p&&(0,s.jsx)(r.E,{as:"p",className:"mt-6 whitespace-pre-line",variant:"body-2xl",children:p})]})})}},55039:(e,l,a)=>{a.d(l,{G:()=>t,S:()=>s});let s={small:"Button--small",fixed:"Button--fixed",large:"Button--large",fill:"Button--fill"},t={primary:"Button--primary",outline:"Button--outline",dark:"Button--dark",danger:"Button--danger","on-danger":"Button--on-danger"}},55066:(e,l,a)=>{a.d(l,{J:()=>o});var s=a(80263),t=a(53239),r=a(11230),i=a(1991),n=a(70517),d=a(40083);let o=(0,t.forwardRef)((e,l)=>{let{label:a,as:t="input",icon:o,className:c,inputProps:m,labelProps:u,validationState:h,error:p,size:x="md",ariaLabel:g}=e;return(0,s.jsx)("div",{className:r("TextField",d.S[x],c,{"is-readOnly":m.readOnly,"is-checked":m.checked,"is-invalid":"invalid"===h,"is-valid":"valid"===h,"is-disabled":m.disabled,"has-icon":!!o}),children:(0,s.jsxs)(i.Nt,{slots:{icon:{className:"TextField-icon"}},children:[(0,s.jsx)(n.J,{...u,className:"TextField-label",children:a}),(0,s.jsx)(t,{...m,"aria-label":g,className:"TextField-input",ref:l}),p&&(0,s.jsx)("span",{className:"TextField-error",children:p}),o]})})})},56990:(e,l,a)=>{a.d(l,{$:()=>c});var s=a(80263),t=a(53239),r=a(11230),i=a(6648),n=a(1991),d=a(40709),o=a(55039);let c=(0,t.forwardRef)((e,l)=>{let a=(0,n._E)(e,"button"),{buttonProps:t}=(0,d.s)(a,l),{variant:c="primary",size:m="large",children:u,className:h}=a;return(0,s.jsx)("button",{...t,className:r("Button",o.G[c],o.S[m],{"is-disabled":t.disabled},h),ref:l,children:(0,s.jsx)(n.Nt,{slots:{icon:{className:"Button-icon"},text:{className:"Button-label",variant:"body-xl"}},children:"string"==typeof u?(0,s.jsx)(i.E,{children:u}):u})})})},60759:(e,l,a)=>{a.r(l),a.d(l,{Seo:()=>n,default:()=>d});var s=a(80263),t=a(47752);let r="https://www.anyplace.com",i=`${r}/home/thumbnail.webp`,n=({title:e="Work-Ready Furnished Apartments (30+ Days) | Anyplace",description:l="Book work-ready furnished apartments for 30+ day stays. No lease, home office setup, high-speed internet, and full price transparency for professionals.",image:a=i,url:n,twitter:d,openGraph:o,...c})=>{let m=n?`${r}/${n}`:r;return(0,s.jsx)(t.bV,{canonical:m,description:l,facebook:{appId:"706019246246659"},openGraph:{type:"website",locale:"en_US",url:m,images:[{url:a,width:1626,height:1084,alt:e}],site_name:"Anyplace",description:l,...o},title:e,twitter:{cardType:"summary",handle:"@anyplacecom",site:"@anyplacecom",...d},...c})},d=n},65045:(e,l,a)=>{a.d(l,{L:()=>f});var s=a(80263),t=a(53239),r=a(11230),i=a(7319),n=a(32755),d=a(1991),o=a(7051
17),c=a(94534),m=a(17860),u=a(92900),h=a(20707),p=a(20210);let x=new Set(["onFocus","onClick","onKeyUp","onKeyDown","onBlur"]),g={md:"",sm:"Picker--sm"},f=(0,t.forwardRef)(function(e,l){let a=(0,i.S)(e),{children:t,className:f,label:b,size:v="md",icon:y=(0,s.jsx)(c.D,{}),readOnly:j,ariaLabel:w}=a,N=(0,n.zD)(l),{selectProps:k,labelProps:E}=((e,l)=>{let{onChange:a=m.f}=e,s=(0,u.$)(e,{propNames:x}),{labelProps:t}=(0,p.M)(e);return{selectProps:(0,h.v)(s,{id:t.htmlFor,autoComplete:e.autoComplete,autoFocus:e.autoFocus,defaultValue:e.value?void 0:e.defaultValue,disabled:e.disabled,name:e.name,onChange:e=>a(e.target.value),multiple:e.multiple,required:e.required,value:e.value}),labelProps:t}})(a,0);return(0,s.jsx)("div",{className:r("TextField",g[v],{"is-readOnly":j,"is-disabled":k.disabled},f),children:(0,s.jsxs)(d.Nt,{slots:{icon:{className:"TextField-icon"}},children:[(0,s.jsx)(o.J,{...E,className:"TextField-label",children:b}),(0,s.jsx)("select",{...k,"aria-label":w,className:"TextField-input cursor-pointer",ref:N,children:t}),y]})})})},65429:(e,l,a)=>{a.d(l,{F:()=>n,Y:()=>i});var s=a(9940),t=a(53563),r=a(87659);let i=e=>encodeURI(e.split(", ").join("--").split(" ").join("-").replace(/\s/g,"").replace(/-+$/,"").trim().toLowerCase()),n=e=>decodeURI(e.split("--").join(", ").split("-").map(e=>(0,s.A)((0,t.A)(e))+(0,r.A)(e)).join(" "))},70517:(e,l,a)=>{a.d(l,{J:()=>i});var s=a(80263),t=a(53239),r=a(11230);let i=(0,t.forwardRef)((e,l)=>{let{className:a,children:t,...i}=e;return(0,s.jsx)("label",{...i,className:r("Label",a),ref:l,children:t})})},70637:(e,l,a)=>{a.d(l,{K:()=>d});var s=a(80263),t=a(59206),r=a(6648),i=a(47212);let n=(e,l)=>!e||"object"!=typeof e||Array.isArray(e)?e:l?e[l]??e.default??Object.values(e)[0]:Object.values(e)[0],d=({title:e,description:l,columns:a=3,cards:d,city:o})=>{let c=n(e,o?.slug),m=n(l,o?.slug),u=n(d,o?.slug)??[];return(0,s.jsx)("div",{className:"bg-light-beige",children:(0,s.jsxs)(t.m,{className:"flex flex-col py-8 lg:py-12",children:[(0,s.jsx)(r.E,{as:"h2",className:"Heading md:Heading--2 mb-4 text-[30px] md:text-[46px]",variant:"body-4xl",children:c}),(0,s.jsx)(r.E,{as:"p",className:"mb-10 whitespace-pre-line",variant:"body-2xl",children:m}),(0,s.jsx)("div",{className:2===a?"grid grid-cols-1 gap-6 md:grid-cols-2":"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:u.map(e=>(0,s.jsxs)("div",{className:"rounded-lg bg-white px-6 py-6",children:[(0,s.jsx)(r.E,{as:"h3",className:"Heading mb-3",variant:"body-xl",children:e.title}),(0,s.jsx)(r.E,{as:"p",className:"whitespace-pre-line",variant:"body-lg",children:e.body}),e.href&&(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(i.z,{href:e.href,children:e.linkLabel||"Browse listings"})})]},e.title))})]})})}},71757:(e,l,a)=>{a.d(l,{t:()=>i});var s=a(80263),t=a(53239),r=a(11230);let i=e=>{let{children:l,className:a,...i}=e,n=t.Children.toArray(l).filter(e=>(0,t.isValidElement)(e)),d=(0,t.useMemo)(()=>{let e=0;return n.map((l,a)=>{l.props.isSelected&&(e=a)}),e},[n]),[o,c]=(0,t.useState)(d),m=(0,t.useCallback)(e=>c(e),[c]),u=(0,t.useMemo)(()=>n.map((e,l)=>{let a={isSelected:o===l};return a.onClick=()=>{e.props.onClick&&e.props.onClick(),m(l)},(0,t.cloneElement)(e,a)}),[n,m,o]),h=(0,t.useMemo)(()=>t.Children.toArray(l).filter(e=>(0,t.isValidElement)(e)).map((e,l)=>{if(o===l)return e.props.children}),[l,o]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("ul",{className:r("Tabs",a),...i,children:u}),(0,s.jsx)("div",{className:"TabsContent",children:h})]})}},78171:(e,l,a)=>{a.d(l,{W:()=>o});var s=a(80263),t=a(59206),r=a(6648),i=a(38661),n=a(64252);let d=(e,l)=>!e||"object"!=typeof e||Array.isArray(e)?e:l?e[l]??e.default??Object.values(e)[0]:Object.values(e)[0],o=({title:e,faqs:l,city:a})=>{let o=d(e,a?.slug)||"Frequently Asked Questions",c=d(l,a?.slug)||[];return(0,s.jsx)("div",{className:"bg-white",children:(0,s.jsxs)(t.m,{className:"flex flex-col py-12 lg:py-20",children:[(0,s.jsx)(r.E,{as:"h2",className:"Heading md:Heading--2 mb-10 text-[30px] md:text-[46px]",variant:"body-4xl",children:o}),(0,s.jsx)(i.n,{children:c.map((e,l)=>(0,s.jsx)(n.q,{title:e.question,children:(0,s.jsx)(r.E,{as:"p",className:"mb-4 block",variant:"body-lg",children:e.answer})},l))})]})})}},79077:(e,l,a)=>{a.d(l,{l:()=>m});var s=a(80263),t=a(53239),r=a(11230),i=a(92900),n=a(32755),d=a(7319),o=a(1991);let c=new Set(["action","autoComplete","encType","method","target","onSubmit"]),m=(0,t.forwardRef)((e,l)=>{let a=(0,n.zD)(l),{children:t,className:m,...u}=(0,o._E)(e,"form"),h={disabled:e.disabled,readOnly:e.readOnly,required:e.required},p=(0,i.$)(u,{propNames:c});return(0,s.jsx)("form",{...p,className:r("Form",m),ref:a,children:(0,s.jsx)(d.c.Provider,{value:h,children:t})})})},80874:(e,l,a)=>{a.r(l),a.d(l,{CurrentOpenings:()=>g,SkeletonCard:()=>v,default:()=>f});var s=a(80263),t=a(53239),r=a(12007),i=a.n(r),n=a(84343),d=a(59206),o=a(6648),c=a(71757),m=a(9006),u=a(51867),h=a(31497),p=a(28524);let x=i()(()=>Promise.all([a.e(7998),a.e(4878),a.e(3257),a.e(8600),a.e(2351),a.e(949),a.e(297),a.e(8604),a.e(2928),a.e(5646),a.e(7226)]).then(a.bind(a,35646)),{loadableGenerated:{webpack:()=>[35646]},ssr:!1});function g(e){let{title:l="Furnished Apartments Designed for Productivity",description:a="Anyplace offers accommodations built for a work-from-anywhere generation.",cities:r,cityDescriptions:i}=e,u=(0,n.U)("(max-width: 768px)")?4:6,[h,x]=(0,t.useState)(r?.length>0?r[0]:null),[g,f]=(0,t.useState)(!1),[v,y]=(0,t.useState)(u),j=(0,t.useCallback)(()=>f(!g),[g]),[w,N]=(0,t.useState)(null),[k]=(0,p.k7)({variables:{cityId:h?.id,limit:v,hasDates:!1}});return(0,t.useEffect)(()=>{r?.length>0&&x(r[0])},[r]),(0,t.useEffect)(()=>{y(u),f(!1)}
1,[h]),(0,t.useEffect)(()=>{k?.data?.anyplaceSelectProperties&&N(k.data?.anyplaceSelectProperties)},[k?.data?.anyplaceSelectProperties]),(0,t.useEffect)(()=>{g?y(50):y(u),k.refresh},[g]),(0,s.jsx)("div",{className:"bg-light-beige py-8 lg:py-2",id:"openings",children:(0,s.jsxs)(d.m,{className:"relative z-10",children:[(0,s.jsx)(o.E,{as:"h2",className:"Heading lg:Heading--2 mb-6 pt-4 text-[30px] md:w-2/3 md:pt-16 md:text-[46px] lg:mb-8",variant:"body-4xl",children:l}),(0,s.jsx)(o.E,{as:"p",className:"mb-6 md:w-2/3 lg:mb-8",variant:"body-2xl",children:a}),(0,s.jsx)(c.t,{children:r?.map((e,l)=>e.hotelsCount>0&&(0,s.jsx)(m.O,{isSelected:h?.id===e.id,title:e.name,onClick:()=>{N(null),x(e)},children:h?.id===e.id&&(0,s.jsxs)(s.Fragment,{children:[i?.[e.slug]&&(0,s.jsx)(o.E,{as:"p",className:"mb-6",variant:"body-2xl",children:i[e.slug]}),(0,s.jsx)(b,{anyplaceSelectProperties:w,data:k,setLimit:y,show:g,toggleShow:j})]})},l))})]})})}let f=g,b=e=>{let{anyplaceSelectProperties:l,data:a,show:t,toggleShow:r}=e,i=(0,n.U)("(max-width: 768px)");return(0,s.jsxs)(s.Fragment,{children:[l?.length>0?(0,s.jsx)("div",{className:"grid gap-3 md:grid-cols-2 lg:grid-cols-3",children:l?.map(e=>(0,s.jsx)(x,{listing:e,weeklyStay:!1},e.id))}):(0,s.jsxs)("div",{className:"grid gap-3 md:grid-cols-2 lg:grid-cols-3",children:[(0,s.jsx)(v,{}),(0,s.jsx)(v,{}),(0,s.jsx)(v,{}),(0,s.jsx)(v,{}),!i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v,{}),(0,s.jsx)(v,{})]})]}),a.fetching&&(0,s.jsx)("div",{className:"mt-6 flex w-full items-center justify-center",children:(0,s.jsx)(u.y,{className:"mx-auto",variant:"positive"})}),(0,s.jsx)(h.T,{className:"pt-6",dashSide:"end",onPress:()=>{t&&(()=>{let e=document.getElementById("openings");e&&e?.scrollIntoView()})(),r()},children:`Show ${t?"Less":"All"}`})]})},v=()=>(0,s.jsxs)("div",{className:"mt-6 animate-pulse grid-rows-[260px,auto] md:grid",children:[(0,s.jsx)("div",{className:"bg-line relative mb-4 mr-4 h-[240px] overflow-hidden rounded-lg md:mb-2"}),(0,s.jsxs)("article",{className:"relative mb-4 mr-4 grid grid-rows-[1fr,auto,auto]",children:[(0,s.jsx)("div",{className:"bg-line mb-4 h-8 w-full rounded"}),(0,s.jsx)("div",{className:"bg-line mb-4 h-8 w-full rounded"}),(0,s.jsx)("div",{className:"bg-line mb-4 h-8 w-full rounded"})]})]})},84343:(e,l,a)=>{a.d(l,{U:()=>t});var s=a(53239);function t(e,l=!1){let a="undefined"==typeof window,r="undefined"!=typeof window&&"function"==typeof window.matchMedia,i=(0,s.useCallback)(()=>r?window.matchMedia(e).matches:l,[e,r,l]),[n,d]=(0,s.useState)(i);return(0,s.useEffect)(()=>{if(!r)return;let l=window.matchMedia(e),a=e=>d(e.matches);return l.addEventListener?l.addEventListener("change",a):l.addListener(a),()=>{l.removeEventListener?l.removeEventListener("change",a):l.removeListener(a)}},[e,i,r]),a?l:n}},91521:(e,l,a)=>{a.d(l,{f:()=>r});var s=a(80263),t=a(63541);let r=e=>(0,s.jsx)(t.I,{...e,children:(0,s.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,s.jsx)("path",{d:"M15.78 11.28c.14.14.22.331.22.53v.38a.77.77 0 01-.22.53l-5.14 5.13a.5.5 0 01-.71 0l-.71-.71a.49.49 0 010-.7L13.67 12 9.22 7.56a.5.5 0 010-.71l.71-.7a.5.5 0 01.71 0l5.14 5.13z"})})})},94534:(e,l,a)=>{a.d(l,{D:()=>r});var s=a(80263),t=a(63541);let r=e=>(0,s.jsx)(t.I,{...e,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M19 9l-7 8-7-8"})})})},96510:(e,l,a)=>{a.d(l,{v:()=>o});var s=a(17860),t=a(92900),r=a(20707),i=a(2945),n=a(20210);let d=new Set(["onFocus","onClick","onKeyUp","onKeyDown","onBlur"]),o=(e,l)=>{let{onChange:a=s.f,type:o="text",...c}=e,m=(0,t.$)(c,{propNames:d}),{labelProps:u}=(0,n.M)(e),h=(0,i.d)(c,l);return{labelProps:u,inputProps:(0,r.v)(m,h,{id:u.htmlFor,autoComplete:e.autoComplete,autoFocus:e.autoFocus,defaultValue:e.value?void 0:e.defaultValue,disabled:e.disabled,inputMode:e.inputMode,name:e.name,onChange:e=>a(e.target.value),placeholder:e.placeholder,readOnly:e.readOnly,required:e.required,type:o,value:e.value,maxLength:e.maxLength})}}}}]);
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.