1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[614],{50618:function(e,t,r){r.r(t),r.d(t,{FutureProjectsForm:function(){return v}});var a=r(37821),n=r(58078),l=r(58504),i=r(58433),s=r(50746),o=r(69917),d=r(90780),c=r(48484),m=r(82907),u=r(50839),h=r(1260),x=r(55644),p=r(80897),f=r(73356),g=r(89964),b=r(18581);let v=e=>{let{heading:t,subheading:r,labelName:v,labelPhone:j,labelEmail:w,labelBedrooms:y,labelLocation:N,labelPurchaseTime:k,labelBuyerType:_,buttonText:C,privacyText:B}=e,S=(0,l.useRouter)(),[L,T]=(0,n.useState)(""),[Z,F]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=()=>{F("#future-projects"===window.location.hash||window.location.hash.includes("#future-projects"))};return window.addEventListener("hashchange",e),e(),()=>{window.removeEventListener("hashchange",e)}},[]);let{handleSubmit:R,control:H}=(0,s.cI)({defaultValues:{Location:"",FirstName:"",LastName:"",PhoneNumber:"",EmailAddress:"",WantTo:"",Topography:""}});return(0,a.jsx)(o.dy,{open:Z,onOpenChange:()=>{F(!1),window.history.replaceState({},"",window.location.pathname)},children:(0,a.jsxs)(o.sc,{className:"max-w-full bg-blue md:max-w-[900px]",children:[(0,a.jsx)("div",{className:"fixed right-0 flex items-center justify-end p-5 xl:p-8",children:(0,a.jsx)(o.uh,{className:"text-white",showLabel:!0,smallIcon:!0})}),(0,a.jsx)("div",{id:"register",className:"min-h-full w-full bg-blue text-white xl:px-16",children:(0,a.jsx)(c.gO,{children:(0,a.jsxs)(d.W,{className:"md:px-8",children:[t&&(0,a.jsx)(m.Z,{variant:"h2",withMargin:"h3",className:"pr-16",children:t}),r&&(0,a.jsx)(m.Z,{variant:"text-md",className:"max-w-[740px]",children:r}),(t||r)&&(0,a.jsx)(c.LZ,{size:"sm"}),L&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.Z,{component:"label",variant:"text-lg",className:"Error block whitespace-nowrap text-error",children:L}),(0,a.jsx)(c.LZ,{})]}),(0,a.jsxs)("form",{onSubmit:R(e=>{let{Location:t,FirstName:r,LastName:a,PhoneNumber:n,EmailAddress:l,Topography:s,WantTo:o}=e,d=new URLSearchParams(window.location.search),c=["utm_source","utm_medium","utm_campaign"].reduce((e,t)=>{let r=d.get(t);return r&&(e[t]=r),e},{}),m={...JSON.parse(sessionStorage.getItem("utm_params")||"{}"),...c},u={email_address:l,first_name:r,last_name:a,phone_number:n,im_interested_in:s,"11_whitehall_street":t.includes("11 Whitehall Street, Footscray"),"519_sydney_road":t.includes("519 Sydney Road, Coburg"),"342_victoria_street":t.includes("342 Victoria Street, Brunswick"),buy_off_the_plan:"Buy off the plan"===o,simply_rent:"Simply rent"===o,rent_then_own_my_home:"Rent then own my home"===o,...m.utm_source?{utm_source:m.utm_source}:{},...m.utm_campaign?{utm_campaign:m.utm_campaign}:{},...m.utm_medium?{utm_medium:m.utm_medium}:{}};i.Z.post("".concat(window.location.origin,"/api/future-projects-form?redirectUrl=/thank-you"),{...u},{headers:{"Content-Type":"application/json"}}).then(e=>{var t,r,a,n;T(""),(null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(t=r.headers)||void 0===t?void 0:t.Location)&&S.push(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(a=n.headers)||void 0===a?void 0:a.Location),(0,b.tz)("registerSubmission")}).catch(e=>{var t,r,a,n;console.error("An error occurred in form submission. ".concat(null==e?void 0:null===(r=e.response)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t.errorMessage," - ").concat(null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(a=n.data)||void 0===a?void 0:a.responseDetails,"}"),e),T("An error occurred. Please try again.")})}),children:[(0,a.jsxs)("div",{className:"mb-4 flex flex-wrap items-baseline gap-2 md:gap-4",children:[(0,a.jsx)(m.Z,{component:"label",variant:"text-xl",withMargin:"h4",className:"FieldLabel block whitespace-nowrap",children:v||"Hi, Iâm"}),(0,a.jsx)(s.Qr,{name:"FirstName",control:H,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(x.o,{...t,label:"First name",required:!0,placeholder:"First name *",className:"mb-3 md:mb-4 xl:mb-5",large:!0})}}),(0,a.jsx)(s.Qr,{name:"LastName",control:H,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(x.o,{...t,label:"Last name",required:!0,placeholder:"Last name *",className:"mb-3 md:mb-4 xl:mb-5",large:!0})}})]}),(0,a.jsxs)("div",{className:"mb-4 flex flex-wrap items-baseline gap-2 md:gap-4",children:[(0,a.jsx)(m.Z,{component:"label",variant:"text-xl",withMargin:"h4",className:"FieldLabel block whitespace-nowrap",children:j||"You can call me on"}),(0,a.jsx)(s.Qr,{name:"PhoneNumber",control:H,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(x.o,{...t,type:"phone",inputMode:"numeric",label:"Phone",required:!0,placeholder:"Phone number *",className:"mb-3 md:mb-4 xl:mb-5",large:!0})}})]}),(0,a.jsxs)("div",{className:"mb-4 flex flex-wrap items-baseline gap-2 md:gap-4",children:[(0,a.jsx)(m.Z,{component:"label",variant:"text-xl",withMargin:"h4",className:"FieldLabel block whitespace-nowrap",children:w||"and email me at"}),(0,a.jsx)(s.Qr,{name:"EmailAddress",control:H,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(x.o,{...t,type:"email",label:"Email",required:!0,placeholder:"Email address *",className:"mb-3 md:mb-4 xl:mb-5",large:!0})}})]}),(0,a.jsx)(s.Qr,{name:"Topography",control:H,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(u.Z,{...t,label:y||"Iâm interested in ",id:"Topography",options:["Studio","1 bedroom","2 bedroom","3 bedroom","undecided"],invert:!0,largeLabel:!0})}}),(0,a.jsx)(s.Qr,{name:"Location",control:H,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(h.c,{...t,label:N||"I'd like to live in",id:"Location",options:[{value:"11 Whitehall Street, Footscray",label:"11 Whitehall Street, Footscray"},{value:"519 Sydney Road, Coburg",label:"519 Sydney Road, Coburg"},{value:"342 Victoria Street, Brunswick",label:"342 Victoria Street, Brunswick"}],invert:!0,largeLabel:!0})}}),(0,a.jsx)(s.Qr,{name:"WantTo",control:H,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(u.Z,{...t,label:"I want to",id:"WantTo",options:["Buy off the plan","Rent then own my home","Simply rent"],invert:!0,largeLabel:!0})}}),(0,a.jsx)(c.LZ,{size:"sm"}),(0,a.jsxs)(f.z,{variant:"tertiary",size:"lg",type:"submit",className:"group",children:[C||"Register your interest",(0,a.jsx)(p.J,{name:"arrow-right",text:!0,className:"ml-2 transition-transform duration-300 group-hover:translate-x-1/4"})]}),B&&(0,a.jsx)(g.L,{html:B,invert:!0,paragraphSize:"md",className:"mt-8 pb-12"})]})]})})})]})})};v.displayName="FutureProjectsForm",t.default=v},35495:function(e,t,r){r.r(t),r.d(t,{RegisterForm:function(){return P},default:function(){return z}});var a=r(37821),n=r(58078),l=r(58504),i=r(58433),s=r(50746),o=r(69917),d=r(90780),c=r(48484),m=r(82907),u=r(50839),h=r(93517),x=r(94713),p=r(48149),f=r(52605);let g=h.fC;h.ZA;let b=h.B4,v=(0,n.forwardRef)((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsxs)(h.xz,{ref:t,className:(0,f.Z)("placeholder:text-neutral-foreground focus:ring-ring flex h-10 items-center justify-between rounded-md bg-transparent py-2 text-sm r
1ing-offset-stone-50 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),...l,children:[n,(0,a.jsx)(h.JO,{asChild:!0,children:(0,a.jsx)(x.Z,{className:"ml-1 h-4 w-4"})})]})});v.displayName=h.xz.displayName;let j=(0,n.forwardRef)((e,t)=>{let{className:r,children:n,position:l="popper",...i}=e;return(0,a.jsx)(h.h_,{children:(0,a.jsx)(h.VY,{ref:t,className:(0,f.Z)("text-popover-foreground relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-white shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:l,...i,children:(0,a.jsx)(h.l_,{className:(0,f.Z)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:n})})})});j.displayName=h.VY.displayName,(0,n.forwardRef)((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(h.__,{ref:t,className:(0,f.Z)("py-1.5 pl-8 pr-2 text-sm font-semibold",r),...n})}).displayName=h.__.displayName;let w=(0,n.forwardRef)((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsxs)(h.ck,{ref:t,className:(0,f.Z)("focus:text-accent-foreground focus:bg-neutral-20 relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-2xl outline-none hover:bg-[#E5EDFD] data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...l,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(h.wU,{children:(0,a.jsx)(p.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(h.eT,{children:n})]})});w.displayName=h.ck.displayName,(0,n.forwardRef)((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(h.Z0,{ref:t,className:(0,f.Z)("-mx-1 my-1 h-px bg-white",r),...n})}).displayName=h.Z0.displayName;var y=r(55644),N=r(80897),k=r(73356),_=r(89964),C=r(94556),B=r(18581),S=e=>{let{Location:t,FirstName:r,LastName:a,PhoneNumber:n,EmailAddress:l,Topography:i,BuyerType:s,HousingType:o}=e;return{email_address:l,first_name:r,last_name:a,buy_off_the_plan:"Buy"===o,simply_rent:"Rent"===o,BTRTO:"Rent then buy my home (waitlist)"===o,rent_then_own_my_home:"Rent then buy my home (waitlist)"===o,id_like_to_live_in:t,"11_whitehall_street":"11 Whitehall Street, Footscray"===t,"342_victoria_street":"Victoria Street, Brunswick"===t,"519_sydney_road":"Sydney Road, Coburg"===t,"4_ballarat_street":"4 Ballarat Street, Brunswick"===t,"38_albermarle_street":"38 Albermarle Street, Kensington"===t,"15_thompson_street":"15 Thompson Street, Kensington"===t,"402_macaulay_road":"402 Macaulay Road, Kensington"===t,phone_number:n,im_interested_in:i,im_best_described_as:s,housing_type:o}};let L="11 Whitehall Street, Footscray",T={[L]:"Footscray"},Z=e=>e===L,F=()=>{if(new URLSearchParams(window.location.search).get("utm_source"))return!0;try{return!!JSON.parse(sessionStorage.getItem("utm_params")||"{}").utm_source}catch(e){return!1}},R=e=>{let t=new URL("https://forms.zohopublic.com.au/assemble4531/form/EnquiryForm2/formperma/A5VhBDtp2k2Z2F4HAaFoug4ev7TAPWMRDRMR0n-kJ4U");return t.searchParams.set("waitlist","true"),t.searchParams.set("property",T[e]),F()||(t.searchParams.set("source","AssembleWeb"),t.searchParams.set("medium","Direct")),t.toString()},H="/reduced-rent-apartments",V={"Swift Walk, Kensington":{name:"Swift Walk, Kensington",project:"Swift Walk",suburb:"Kensington"},"Victoria Street, Brunswick":{name:"Victoria Street, Brunswick",project:"Victoria Street",suburb:"Brunswick"},"Sydney Road, Coburg":{name:"Sydney Road, Coburg",project:"Sydney Road",suburb:"Coburg"}},E=(e,t)=>"".concat(H,"?").concat(new URLSearchParams({project:e,suburb:t})),P=e=>{let{heading:t,subheading:r,labelName:h,labelPhone:x,labelEmail:p,labelBedrooms:f,labelLocation:L,labelPurchaseTime:T,labelBuyerType:F,buttonText:P,privacyText:z}
1=e,I=(0,l.useRouter)(),M=(0,l.usePathname)(),[A,D]=(0,n.useState)(""),[q,O]=(0,n.useState)(!1),[W,Y]=(0,n.useState)(!1),[J,Q]=(0,n.useState)(""),[U,K]=(0,n.useState)("");(0,n.useEffect)(()=>{let e=()=>{Y("#register"===window.location.hash||window.location.hash.includes("#register"))};return window.addEventListener("hashchange",e),e(),()=>{window.removeEventListener("hashchange",e)}},[M]);let G=()=>{Y(!1),K(""),et("Location",""),window.history.replaceState({},"",window.location.pathname)},{handleSubmit:$,control:X,watch:ee,setValue:et,formState:{errors:er}}=(0,s.cI)({defaultValues:{Location:"",FirstName:"",LastName:"",PhoneNumber:"",EmailAddress:"",BuyerType:"",Readiness:"",Topography:"",HousingType:"",WantTo:""}}),ea=ee("HousingType");ee("Location");let en=ee("BuyerType"),el=V[U],ei=null==el?void 0:el.name,[es,eo]=(0,n.useState)(0);"Renter"!==en||"Rent"===ea||"Rent then buy my home (waitlist)"===ea||et("BuyerType",""),(0,n.useEffect)(()=>{ea&&Q(ea)},[ea]),(0,n.useEffect)(()=>{if(!W||!el)return;let e=E(el.project,el.suburb),t=Date.now();eo(0);let r=window.setInterval(()=>{eo(Math.min(100,(Date.now()-t)/8e3*100))},100),a=window.setTimeout(()=>{G(),M===H?window.location.assign(e):I.push(e)},8e3);return()=>{window.clearInterval(r),window.clearTimeout(a)}},[W,M,el,I]);let ed=(0,n.useMemo)(()=>Z(U)?R(U):null,[U]),ec=e=>{if(!U)return!1;switch(U){case"15 Thompson Street, Kensington":case"38 Albermarle Street, Kensington":case"4 Ballarat Street, Brunswick":return"Rent then buy my home (waitlist)"===e;case"Swift Walk, Kensington":case"11 Whitehall Street, Footscray":case"Sydney Road, Coburg":case"Victoria Street, Brunswick":return"Rent"!==e;default:return!1}},em=e=>er&&er[e]?(0,a.jsx)(m.Z,{variant:"text-xs",className:"mt-1 text-error",children:"This field is required"}):null;return(0,a.jsx)(o.dy,{open:W,onOpenChange:()=>{G()},children:(0,a.jsxs)(o.sc,{className:"max-w-full bg-blue md:max-w-[900px]",children:[(0,a.jsx)("div",{className:"fixed right-[20px] top-[20px] z-10 flex items-center justify-end",children:(0,a.jsx)(o.uh,{className:"text-white",showLabel:!0,smallIcon:!0})}),ed?(0,a.jsx)("iframe",{src:ed,className:"h-full w-full border-0",title:"Enquiry Form","aria-label":"Enquiry Form"}):(0,a.jsx)("div",{id:"register",className:"min-h-full w-full overflow-hidden bg-blue text-white xl:px-3",children:(0,a.jsx)(c.gO,{className:"w-full xl:py-8",children:(0,a.jsxs)(d.W,{className:"md:px-8",children:[t&&(0,a.jsx)(m.Z,{variant:"h3",withMargin:"h3",className:"pr-16",children:t}),r&&(0,a.jsx)(m.Z,{variant:"text-lg",className:"max-w-[600px]",children:r}),(t||r)&&(0,a.jsx)(c.LZ,{size:"sm"}),A&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.Z,{component:"label",variant:"text-lg",className:"Error block whitespace-nowrap text-error",children:A}),(0,a.jsx)(c.LZ,{})]}),(0,a.jsx)("form",{onSubmit:$(e=>{O(!0);let{Location:t,FirstName:r,LastName:a,PhoneNumber:n,EmailAddress:l,Topography:s,BuyerType:o,Readiness:d,HousingType:c}=e,m=new URLSearchParams(window.location.search),u=["utm_source","utm_medium","utm_campaign","utm_content"].reduce((e,t)=>{let r=m.get(t);return r&&(e[t]=r),e},{}),h={...JSON.parse(sessionStorage.getItem("utm_params")||"{}"),...u},x={...S(e),...h.utm_content?{utm_content:h.utm_content}:{},...h.utm_source?{utm_source:h.utm_source}:{},...h.utm_campaign?{utm_campaign:h.utm_campaign}:{},...h.utm_medium?{utm_medium:h.utm_medium}:{},origin_url:window.location.href};i.Z.post("".concat(window.location.origin,"/api/register-form?redirectUrl=/thank-you"),{...x},{headers:{"Content-Type":"application/json"}}).then(e=>{var t,r,a,n;D(""),(null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(t=r.headers)||void 0===t?void 0:t.Location)&&I.push(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(a=n.headers)||void 0===a?void 0:a.Location),(0,B.tz)("registerSubmission")}).catch(e=>{var t,r,a,n;console.error("An error ocurred in form submission. ".concat(null==e?void 0:null===(r=e.response)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t.errorMessage," - ").concat(null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(a=n.data)||void 0===a?void 0:a.responseDetails,"}"),e),D("An error occurred. Please try again."),O(!1)})}),children:(0,a.jsxs)("fieldset",{disabled:q,className:"border-0 p-0",children:[(0,a.jsxs)("div",{children:[em("Location"),(0,a.jsx)(s.Qr,{name:"Location",control:X,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsxs)("div",{className:"mb-6 md:mb-8 xl:mb-10",children:[(0,a.jsxs)(m.Z,{variant:"h5",className:"mb-6 text-white",children:[L||"Iâd like to live in",(0,a.jsx)("span",{className:"ml-1 text-[#7FA9F4]",children:"*"})]}),(0,a.jsxs)(g,{value:t.value||void 0,onValueChange:e=>
1{t.onChange(e),K(e)},children:[(0,a.jsx)(v,{id:"Location",className:"w-full rounded-none border-b border-white/60 bg-transparent px-0 !text-2xl text-white !shadow-none !ring-0 !ring-offset-0 placeholder:text-white focus:shadow-none focus:ring-offset-0",children:(0,a.jsx)(b,{placeholder:"Select a project"})}),(0,a.jsxs)(j,{className:"z-[300]",children:[(0,a.jsx)(w,{value:"15 Thompson Street, Kensington",children:"15 Thompson Street, Kensington"}),(0,a.jsx)(w,{value:"4 Ballarat Street, Brunswick",children:"4 Ballarat Street, Brunswick"}),(0,a.jsx)(w,{value:"38 Albermarle Street, Kensington",children:"38 Albermarle Street, Kensington"}),(0,a.jsx)(w,{value:"Swift Walk, Kensington",children:"Swift Walk, Kensington"}),(0,a.jsx)(w,{value:"11 Whitehall Street, Footscray",children:"11 Whitehall Street, Footscray"}),(0,a.jsx)(w,{value:"Sydney Road, Coburg",children:"Sydney Road, Coburg"}),(0,a.jsx)(w,{value:"Victoria Street, Brunswick",children:"Victoria Street, Brunswick"})]})]})]})}})]}),ei&&(0,a.jsxs)("div",{className:"max-w-[600px] pb-12",children:[(0,a.jsxs)(m.Z,{variant:"text-lg",className:"pb-6",children:["Thanks for your interest in"," ",(0,a.jsx)("strong",{className:"font-bold",children:ei}),". You are being redirected to our apartment specific page where you can enquire on specific apartments or waitlist for a future apartment should your preference not be available."]}),(0,a.jsx)(C.E,{value:es,"aria-label":"Redirecting"}),(0,a.jsx)(m.Z,{variant:"text-sm",className:"pt-2",children:"Redirectingâ¦"})]}),U&&!ei&&!Z(U)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{children:[em("Topography"),(0,a.jsx)(s.Qr,{name:"Topography",control:X,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(u.Z,{...t,label:f||"Number of bedrooms",id:"Topography",options:["Studio","1 bedroom","2 bedroom","3 bedroom","Undecided"],invert:!0,largeLabel:"h5",required:!0,requireClass:"text-[#7FA9F4]"})}})]}),(0,a.jsxs)("div",{children:[em("HousingType"),(0,a.jsx)(s.Qr,{name:"HousingType",control:X,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(u.Z,{...t,label:"I'm interested in",id:"HousingType",options:[{label:"Buy",value:"Buy",disabled:ec("Buy")},{label:"Rent",value:"Rent",disabled:ec("Rent")},{label:"Rent then buy my home (waitlist)",value:"Rent then buy my home (waitlist)",disabled:ec("Rent then buy my home (waitlist)")}],invert:!0,largeLabel:"h5",required:!0,requireClass:"text-[#7FA9F4]"})}})]}),(0,a.jsxs)("div",{className:"hidden",children:[em("WantTo"),(0,a.jsx)(s.Qr,{name:"WantTo",control:X,render:e=>{let{field:t}=e;return(0,a.jsx)(u.Z,{...t,label:"I want to",id:"WantTo",options:["Book a tour","Get more information"],invert:!0,largeLabel:"h5",required:!0,requireClass:"text-[#7FA9F4]"})}})]}),(0,a.jsx)("div",{className:"hidden",children:(0,a.jsx)(s.Qr,{name:"BuyerType",control:X,rules:{required:!1},render:e=>{let{field:t}=e;return(0,a.jsx)(u.Z,{...t,id:"BuyerType",label:F||"I'm best described as",options:[{label:"Renter",value:"Renter",disabled:!("Rent"===ea||"Rent then buy my home (waitlist)"===ea)},{label:"First home buyer",value:"First home buyer",disabled:!1},{label:"Upgrader",value:"Upgrader",disabled:!1},{label:"Downsizer",value:"Downsizer",disabled:!1}],invert:!0,largeLabel:"h5",required:!0,requireClass:"text-[#7FA9F4]"})}})}),(0,a.jsxs)(m.Z,{component:"label",variant:"h5",withMargin:"h4",className:"FieldLabel mb-6 mt-12 block whitespace-nowrap md:mb-8 md:mt-16 xl:mb-12 xl:mt-20",children:["You can contact me on",(0,a.jsx)("span",{className:"ml-1 text-[#7FA9F4]",children:"*"})]}),(0,a.jsxs)("div",{className:"flex-no-wrap mb-4 flex items-baseline gap-2 md:gap-4",children:[(0,a.jsx)(m.Z,{component:"label",variant:"text-xl",withMargin:"h4",className:"FieldLabel block whitespace-nowrap",children:h||"Hi, Iâm"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(s.Qr,{name:"FirstName",control:X,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(y.o,{...t,label:"First name",required:!0,placeholder:"First name*",className:"mb-3 md:mb-4 xl:mb-5",large:!0})}}),em("FirstName")]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(s.Qr,{name:"LastName",control:X,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(y.o,{...t,label:"Last name",required:!0,placeholder:"Last name*",className:"mb-3 md:mb-4 xl:mb-5",large:!0})}}),em("LastName")]})]}),(0,a.jsxs)("div",{className:"mb-4 flex flex-wrap items-baseline gap-2 md:gap-4",children:[(0,a.jsx)(m.Z,{component:"label",variant:"text-xl",withMargin:"h4",className:"FieldLabel block whitespace-nowrap",children:x||"You can call me on"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(s.Qr,{name:"PhoneNumber",control:X,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(y.o,{...t,type:"phone",inputMode:"numeric",label:"Phone",required:!0,placeholder:"Phone number*",className:"mb-3 md:mb-4 xl:mb-5",large:!0})}}),em("PhoneNumber")]})]}),(0,a.jsxs)("div",{className:"mb-4 flex flex-wrap items-baseline gap-2 md:gap-4",children:[(0,a.jsx)(m.Z,{component:"label",variant:"text-xl",withMargin:"h4",className:"FieldLabel block whitespace-nowrap",children:p||"and email me at"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(s.Qr,{name:"EmailAddress",control:X,rules:{required:!0},render:e=>{let{field:t}=e;return(0,a.jsx)(y.o,{...t,type:"email",label:"Email",required:!0,placeholder:"Email address*",className:"mb-3 md:mb-4 xl:mb-5",large:!0})}}),em("EmailAddress")]})]}),(0,a.jsx)(k.z,{variant:"tertiary",size:"lg",type:"submit",disabled:q,className:q?"mt-12 bg-blue font-display text-white md:mt-16 xl:mt-20":"group mt-12 md:mt-16 xl:mt-20",children:q?(0,a.jsx)("span",{className:"text-3xl",children:"Please wait ..."}):(0,a.jsxs)(a.Fragment,{children:[P||"Register your interest",(0,a.jsx)(N.J,{name:"arrow-right",text:!0,className:"ml-2 transition-transform duration-300 group-hover:translate-x-1/4"})]})}),z&&(0,a.jsx)(_.L,{html:z,invert:!0,paragraphSize:"md",className:"mt-8 pb-12"})]})]})})]})})})]})})};P.displayName="AcoRegisterForm";var z=P},99986:function(e,t,r){r.d(t,{Q:function(){return g}});var a=r(37821),n=r(58078),l=r(78964),i=r(42312),s=r(48484),o=r(73356),d=r(90780),c=r(80897),m=r(25107),u=r(82907),h=r(11323);let x=e=>{let{links:t,activeId:r,className:n,...l}=e;return(0,a.jsx)("ul",{className:(0,i.cn)("ml-4 flex h-full items-center gap-4 xl:gap-6",n),...l,children:t.map((e,t)=>(0,a.jsx)("li",{className:(0,i.cn)("flex h-full items-center border-b-[3px] border-t-[3px] border-transparent transition-colors duration-200",r.length>0&&r===e.id&&"border-b-blue"),children:(0,a.jsx)(u.Z,{variant:"text-xs",trim:!0,asChild:!0,className:"-mb-[0.25em] block",children:(0,a.jsx)(m.r,{href:"#".concat(e.id),styled:!0,underline:"hover",children:e.text})})},t))})},p=e=>{let{links:t,className:r,activeId:o,...d}
1=e,[h,x]=(0,n.useState)(!1),p=t.find(e=>e.id===o);return(0,a.jsx)("div",{className:(0,i.cn)(r),...d,children:(0,a.jsxs)(l.fC,{modal:!1,children:[(0,a.jsx)(l.xz,{className:"group",asChild:!0,children:(0,a.jsxs)(m.r,{className:"flex w-full items-center justify-between px-3 pb-[13px] pt-[16px] text-left md:px-4 md:pb-[21px] md:pt-[24px]",asButton:!0,styled:!0,href:"",underline:"always",onClick:()=>x(!h),children:[(0,a.jsx)(u.Z,{variant:"h6",component:"span",trim:!0,children:(null==p?void 0:p.text)||"On this page"}),(0,a.jsx)(c.J,{name:"caret",className:"pointer-events-none ml-2 mt-[-0.2em] rotate-180 transition duration-200 group-data-[state=open]:rotate-0"})]})}),(0,a.jsx)(l.Uv,{children:(0,a.jsx)(l.VY,{className:"w-[100vw] border-b border-blue bg-white px-3 py-6 duration-150 animate-in slide-in-from-bottom-12 md:px-4 md:py-8 lg:hidden",side:"top",children:(0,a.jsx)(s.rj,{className:"md:grid-cols-1",children:t.map((e,t)=>(0,a.jsx)(l.ck,{asChild:!0,children:(0,a.jsx)(m.r,{href:"#".concat(e.id),styled:!0,underline:o.length>0&&o===e.id?"always":"hover",className:"text-blue",children:(0,a.jsx)(u.Z,{variant:"h6",component:"span",trim:!0,children:e.text})})},t))})})})]})})},f=e=>{let{links:t=[],ctaLink:r={text:"Register your interest",href:"#register"},inverted:l=!1,completed:i=!1}=e,[s,f]=(0,n.useState)(""),{ctaVisible:g}=(0,n.useContext)(h.V);return(0,n.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&f(t.target.id)});return t.map(t=>{let r=document.getElementById(t.id);r&&e.observe(r)}),()=>e.disconnect()},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.W,{variant:"wide",className:"hidden h-[81px] md:p-0 lg:block",children:(0,a.jsxs)("div",{className:"flex h-full items-center justify-between",children:[(0,a.jsx)(x,{links:t,activeId:i?"":s}),g&&(0,a.jsx)(o.z,{className:"group m-4",variant:l?"tertiary":"primary",asChild:!0,children:(0,a.jsxs)(m.r,{href:r.href,children:[r.text,(0,a.jsx)(c.J,{name:"arrow-right",text:!0,className:"ml-2 transition-transform duration-300 group-hover:translate-x-1/4"})]})})]})}),(0,a.jsxs)("div",{className:"flex-col lg:hidden",children:[(0,a.jsx)(p,{links:t,activeId:i?"":s}),g&&(0,a.jsx)(u.Z,{variant:"h6",asChild:!0,trim:!0,children:(0,a.jsxs)(m.r,{href:r.href,underline:"hover",className:"group flex w-full items-center justify-center bg-blue px-3 pb-[13px] pt-[16px] text-white md:px-4",children:[r.text,(0,a.jsx)(c.J,{name:"arrow-right",text:!0,className:"ml-2 transition-transform duration-300 group-hover:translate-x-1/4"})]})})]})]})},g=(0,n.forwardRef)((e,t)=>{let[r,l]=(0,n.useState)(0),[s,o]=(0,n.useState)(0),d=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=()=>{var e;let t=((null===(e=document.querySelector("footer"))||void 0===e?void 0:e.offsetTop)||document.documentElement.scrollHeight)-window.innerHeight;if(l(Math.min(window.scrollY/t,1)),d.current){let e=d.current.clientHeight,r=2*e,a=Math.max(0,(window.scrollY-(t-3*e))/r);o(Math.min(Math.min((window.scrollY-0)/r,1),1-a))}};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]);let c={...e,completed:1===r};return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("nav",{className:(0,i.cn)("fixed bottom-0 left-0 right-0 z-20"),style:{transform:"translateY(".concat(100-100*s,"%)")},ref:t,children:(0,a.jsx)("div",{ref:d,className:"bg-white text-blue",children:(0,a.jsx)(f,{...c})})})})});g.displayName="AnchorMenu"},59595:function(e,t,r){r.r(t),r.d(t,{Footer:function(){return u}});var a=r(37821),n=r(58078),l=r(25107),i=r(48484),s=r(90780),o=r(82907),d=r(89964),c=r(80157),m=r(58504);let u=(0,n.forwardRef)((e,t)=>{let{primaryLinks:r=[],secondaryLinks:u=[],tertiaryLinks:h=[],siteTitle:x,content:p,minimalFooter:f=!1,newsletterVisibility:g}=e,b=(0,m.usePathname)(),[v,j]=(0,n.useState)(b),[w,y]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{j(b);let e=b.slice(1);y(g.some(t=>"__home__"===t.uri&&"/"===b||t.uri===e))},[b,v,g]),(0,a.jsxs)("footer",{ref:t,id:"footer",className:"Footer relative z-[120]",children:[!w&&!f&&(0,a.jsx)(i.gO,{className:"border-b border-white bg-blue text-white",children:(0,a.jsxs)(s.W,{children:[(0,a.jsxs)(i.rj,{children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(o.Z,{variant:"h3",withMargin:!0,children:p.formHeading}),(0,a.jsx)(d.L,{html:p.formText,invert:!0})]}),(0,a.jsx)("iframe",{src:"https://go.assemblecommunities.com/l/893601/2023-10-11/g9g6t",width:"100%",height:"304",className:"w-full bg-transparent",title:"subscription-form"})]}),(0,a.jsx)(i.LZ,{className:"md:hidden"})]})}),!f&&(0,a.jsx)(i.gO,{className:"bg-blue text-white",children:(0,a.jsxs)(s.W,{children:[(0,a.jsxs)(i.rj,{children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)(i.kC,{className:"flex-col",children:[r.length>0&&(0,a.jsx)("ul",{className:"flex flex-col items-start gap-4 md:gap-8",children:r.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(o.Z,{asChild:!0,variant:"h4",children:(0,a.jsx)(l.r,{href:e.href,underline:"always",children:e.text})})},t))}),u.length>0&&(0,a.jsx)("ul",{className:"flex flex-row gap-4",children:u.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(o.Z,{asChild:!0,className:"font-sans",children:(0,a.jsx)(l.r,{href:e.href,underline:"always",children:e.text})})},t))})]}),(0,a.jsx)(i.LZ,{className:"md:hidden"})]}),(0,a.jsxs)(i.rj,{cols:1,children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)(i.kC,{className:"flex-col",children:[(0,a.jsx)(d.L,{html:p.primaryText,invert:!0}),(0,a.jsx)(i.kC,{className:"flex-wrap",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(o.Z,{variant:"text-xs",className:"mb-4",children:"Certified by"}),(0,a.jsx)("div",{className:"flex flex-wrap items-start gap-4",children:p.logosSecondary.map((e,t)=>{let r=e.image[0],n=(0,a.jsx)(c.E,{src:r.src,alt:r.alt,width:r.width/2,height:r.height/2,fit:"contain",position:"top"},t);return(0,a.jsx)("div",{className:"max-w-[160px]",children:e.link&&e.link.href?(0,a.jsx)(l.r,{href:e.link.href,children:n}):n},t)})})]})})]}),(0,a.jsx)(i.LZ,{className:"md:hidden"})]}),(0,a.jsx)("hr",{className:"-mx-3 md:mx-0"}),(0,a.jsx)(i.kC,{className:"flex-col xl:flex-row",children:p.textBlocks.map((e,t)=>(0,a.jsxs)("div",{className:"xl:w-1/2",children:[(0,a.jsx)(o.Z,{variant:"h5",withMargin:!0,children:e.heading}),(0,a.jsx)(d.L,{invert:!0,html:e.text,paragraphSize:"xs"}),(0,a.jsx)(i.LZ,{className:"md:hidden"})]},t))})]})]}),(0,a.jsx)(i.LZ,{className:"hidden md:block"})]})}),(0,a.jsx)(i.gO,{className:"bg-white",children:(0,a.jsxs)(s.W,{children:[(0,a.jsxs)(i.rj,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex gap-4",children:[(0,a.jsx)("div",{className:"w-[90px] md:w-[160px]",children:(0,a.jsx)(c.E,{aspectRatio:2/3,src:"/indigenous.png",alt:"Australian Indigenous Flag"})}),(0,a.jsx)("div",{className:"w-[90px] md:w-[160px]",children:(0,a.jsx)(c.E,{aspectRatio:2/3,src:"/torres.png",alt:"Torres Strait Islander Flag"})})]})}),(0,a.jsxs)("div",{children:[(0,a.jsx)(d.L,{html:p.acknowledgement,paragraphSize:"sm"}),(0,a.jsx)(i.LZ,{}),(0,a.jsxs)(o.Z,{variant:"text-xs",children:["Copyright ",new Date().getFullYear()," Assemble Communities Pty Ltd"]}),(0,a.jsx)("ul",{className:"mt-4 flex flex-col items-start gap-2 md:flex-row md:gap-6",children:h.map((e,t)=>(0,a.jsx)("li",{className:"inline-block text-blue",children:(0,a.jsx)(o.Z,{asChild:!0,variant:"text-xs",children:(0,a.jsx)(l.r,{href:e.href,styled:!0,underline:"always",children:e.text})})},t))})]})]}),(0,a.jsx)(i.LZ,{})]})})]})});u.displayName="Footer"},29992:function(e,t,r){r.r(t),r.d(t,{Navbar:function(){return T},default:function(){return Z}});var a=r(37821),n=r(58078),l=r(90780),i=r(42312);let s=e=>{let{inverse:t,className:r,...n}=e;return(0,a.jsx)("svg",{viewBox:"0 0 289 60",xmlns:"http://www.w3.org/2000/svg",className:(0,i.cn)("h-full w-auto fill-current",r),...n,children:(0,a.jsx)("path",{d:"M216.997 23.5769C213.724 23.5769 213.12 28.7154 212.834 32.4031V42.0756C213.088 45.7028 213.533 51.325 217.092 51.325C220.174 51.325 220.968 44.6751 220.968 36.9371C220.968 28.4434 220.365 23.5467 216.997 23.5467M276.449 32.3728C276.544 27.7481 275.305 22.791 272.127 22.791C268.664 22.791 267.52 27.7481 267.456 32.3728H276.481H276.449ZM132.155 32.3728C132.25 27.7481 131.011 22.791 127.834 22.791C124.465 22.791 123.322 27.7481 123.226 32.3728H132.155ZM20.686 15.9295L16.7141 36.786L26.0877 36.786L22.3702 15.9295H20.686ZM159.641 22.398H160.182C162.056 18.6802 164.693 15.1738 169.396 15.1738C172.86 15.1738 175.402 17.2897 176.737 22.3375H177.277C179.12 18.6499 182.139 15.1738 186.841 15.1738C191.894 15.1738 195.866 18.529 195.866 29.3199V58.6095H184.013V29.1688C184.013 25.2998 183.568 23.6072 182.075 23.6072C180.232 23.6072 178.548 26.9622 177.753 32.7658V58.6095H166.505V29.1688C166.505 25.2998 166.155 23.6072 164.567 23.6072C162.724 23.6072 161.039 26.9622 160.213 32.7658V58.6095L148.456 58.6095V28.2318C148.456 24.4534 148.202 19.9799 147.662 15.9598L159.26 15.9598L159.705 22.4283L159.641 22.398ZM89.9887 46.6399C89.7345 49.5114 90.5926 52.4433 92.9122 52.4433C94.9458 52.4433 95.8357 50.5994 95.8357 48.5742C95.8357 45.8841 93.8018 44.131 90.4336 42.7708C83.5382 39.8992 77.2466 35.4559 77.2466 28.2015C77.2466 20.131 84.2375 14.8
1111 92.1814 14.8111C98.8225 14.8111 106.703 17.9245 107.402 27.2645L94.5646 27.2645C94.8188 24.0605 93.7702 21.7935 92.1814 21.7935C90.6879 21.7935 89.4487 23.2141 89.4487 25.9043C89.4487 28.4433 91.3871 30.1964 95.0095 31.5566C102.159 34.1561 108.355 38.2066 108.355 46.1864C108.355 54.8615 100.22 59.6373 92.785 59.6373C86.3345 59.6373 77.5643 56.524 76.8653 46.6096H89.9569L89.9887 46.6399ZM56.2747 46.6399C56.0205 49.5114 56.974 52.4433 59.2936 52.4433C61.3272 52.4433 62.2167 50.5994 62.2167 48.5742C62.2167 45.8841 60.1832 44.131 56.815 42.7708C49.8243 39.8992 43.5326 35.4559 43.5326 28.2015C43.5326 20.131 50.5232 14.8111 58.5624 14.8111C65.2036 14.8111 72.9886 17.9245 73.6877 27.2645H60.9456C61.1998 24.0605 60.1512 21.7935 58.5624 21.7935C57.069 21.7935 55.7347 23.2141 55.7347 25.9043C55.7347 28.4433 57.7681 30.1964 61.3905 31.5566C68.4765 34.1561 74.6729 38.2066 74.6729 46.1864C74.6729 54.8615 66.6337 59.6373 59.1982 59.6373C52.6524 59.6373 43.8822 56.524 43.1831 46.6096H56.2747V46.6399ZM267.234 39.7179C267.488 46.0352 268.282 52.4131 272.445 52.4131C274.669 52.4131 275.972 49.874 275.813 45.9445L288.206 45.9445C286.871 53.4407 280.77 60 272.096 60C262.023 60 254.682 50.7507 254.682 36.786C254.682 24.7558 261.927 14.66 272.286 14.66C283.948 14.66 289 25.7835 289 35.6978C289 36.6953 288.905 38.2066 288.746 39.7481L267.266 39.7481L267.234 39.7179ZM123.035 39.7179C123.29 46.0352 124.084 52.4131 128.151 52.4131C130.376 52.4131 131.679 49.874 131.52 45.9445H144.007C142.577 53.4407 136.477 60 127.802 60C117.793 60 110.452 50.7507 110.452 36.786C110.452 24.7558 117.697 14.66 127.961 14.66C139.654 14.66 144.77 25.7835 144.77 35.6978C144.77 36.6953 144.675 38.2066 144.516 39.7481H123.035V39.7179ZM237.428 58.4887V0L249.471 0L250.52 15.7481V58.4887L237.428 58.4887ZM212.039 58.4887H200.377C200.377 58.4887 200.632 54.2872 200.632 50.5693V0L212.675 0V15.8087C212.675 18.3477 212.484 20.8565 212.484 20.8565H213.025C214.868 17.5618 217.791 15.053 221.35 15.053C228.881 15.053 233.297 24.6347 233.297 36.6649C233.297 49.7833 228.436 59.3954 221.254 59.3954C217.886 59.3954 215.058 56.8866 212.929 53.1688H212.389L212.039 58.4584V58.4887ZM15.0299 46.5491L12.9007 58.4887H0L12.6467 0L29.8056 0L43.1513 58.4887H29.6148L27.5811 46.5491L15.0299 46.5491Z"})})};var o=r(82907),d=r(57821),c=r(80897);let m=n.forwardRef((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsx)(d.fC,{ref:t,className:(0,i.cn)("NavbarDesktop","z-20 flex flex-1 justify-center",r),...l,children:n})});m.displayName=d.fC.displayName;let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(d.aV,{ref:t,className:(0,i.cn)("group flex h-full flex-1 list-none justify-center gap-6 xl:gap-8",r),...n})});u.displayName=d.aV.displayName;let h=d.ck,x=(0,i.cn)("h-full inline-flex items-center justify-center font-serif text-lg font-normal transition-colors ring-offset-stone-50 focus-visible:ring-blue focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none underline decoration-[0.05em] underline-offset-[0.1em] decoration-transparent hover:decoration-current active:decoration-current"),p=n.forwardRef((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsxs)(d.xz,{ref:t,className:(0,i.cn)("group",x,r),...l,onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),children:[n,(0,a.jsx)(c.J,{name:"caret",className:"pointer-events-none ml-2 mt-[0.2em] h-[0.75em] w-[0.75em] transition duration-200 group-data-[state=open]:rotate-180"})]})});p.displayName=d.xz.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(d.VY,{ref:t,className:(0,i.cn)("top-0 data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute",r),...n,onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault()})});f.displayName=d.VY.displayName,d.rU;let g=n.forwardRef((e,t)=>
1{let{className:r,...n}=e;return(0,a.jsx)("div",{className:(0,i.cn)("absolute left-0 top-full flex justify-center"),children:(0,a.jsx)(d.l_,{className:(0,i.cn)("origin-top-center relative left-[var(--radix-navigation-menu-content-offset)] mt-2 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden border-t border-blue bg-white text-blue data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in md:w-[var(--radix-navigation-menu-viewport-width)] lg:mt-4",r),ref:t,...n})})});g.displayName=d.l_.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(d.z$,{ref:t,...n,className:"data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-[1] flex h-[28px] items-end justify-center overflow-hidden transition-[width,transform_250ms_ease]",children:(0,a.jsx)("div",{className:"relative top-[70%] h-[28px] w-[28px] rotate-[45deg] rounded-tl-[2px] bg-white"})})}).displayName=d.z$.displayName;var b=r(80057);let v=b.fC,j=b.ck,w=(0,i.cn)("flex w-full items-center px-5 py-7 font-serif text-lg md:text-xl font-normal underline decoration-transparent decoration-[0.05em] underline-offset-[0.1em] ring-offset-stone-50 transition-colors hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue focus-visible:ring-offset-2 active:decoration-current disabled:pointer-events-none disabled:opacity-50"),y=n.forwardRef((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsx)(b.h4,{children:(0,a.jsxs)(b.xz,{ref:t,className:(0,i.cn)("group",w,r),...l,children:[n,(0,a.jsx)(c.J,{name:"caret",className:"pointer-events-none ml-2 h-[0.75em] w-[0.75em] transition duration-200 group-data-[state=open]:rotate-180"})]})})});y.displayName=b.xz.displayName;let N=n.forwardRef((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsx)(b.VY,{ref:t,className:(0,i.cn)("overflow-hidden transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",r),...l,children:(0,a.jsx)("div",{className:"pb-7",children:n})})});N.displayName=b.VY.displayName;var k=r(25107),_=r(69917),C=r(73356),B=r(90118);let S=(0,n.forwardRef)((e,t)=>{let{open:r,onClose:n,className:l,...s}=e;return(0,a.jsx)(B.z,{present:r,children:(0,a.jsx)("div",{ref:t,className:(0,i.cn)("Overlay","bg-neutral-20/75 fixed inset-0 z-20 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",l),"data-state":r?"open":"closed",...s})})});S.displayName="Overlay";var L=r(11323);let T=e=>{let{menuItems:t}=e,[r,i]=(0,n.useState)(!1),[d,b]=(0,n.useState)("0"),[w,B]=(0,n.useState)(!1),{ctaVisible:T}=(0,n.useContext)(L.V),Z=e=>{let t=e.target.offsetLeft;b(window.innerWidth<1024?"0px":-32+t+"px")};return(0,a.jsxs)("div",{id:"top",className:"Navbar",children:[T&&(0,a.jsx)(o.Z,{variant:"h6",asChild:!0,trim:!0,children:(0,a.jsxs)(k.r,{href:"#register",underline:"hover",className:"group flex w-full items-center justify-center bg-blue px-3 pb-[13px] pt-[16px] text-white lg:hidden",children:["Register your interest",(0,a.jsx)(c.J,{name:"arrow-right",text:!0,className:"ml-2 transition-transform duration-300 group-hover:translate-x-1/4"})]})}),(0,a.jsx)("div",{className:"relative z-30 flex items-center border-b border-blue bg-stone-50 py-3 text-blue md:py-4",children:(0,a.jsx)(l.W,{variant:"wide",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(k.r,{href:"/",title:"Home - Assemble",children:(0,a.jsx)(s,{className:"h-[30px] lg:h-[40px] xl:h-[50px]"})}),(0,a.jsxs)("div",{className:"hidden gap-6 lg:flex xl:gap-8",children:[(0,a.jsx)("div",{className:"relative flex",children:(0,a.jsxs)(m,{onValueChange:e=>{B(!!e)},children:[(0,a.jsx)(u,{children:t.map((e,t)=>(0,a.jsx)(h,{children:e.children&&e.children.length>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p,{onClick:Z,children:e.text}),(0,a.jsx)(f,{children:(0,a.jsx)("div",{className:"bg-white px-8 py-7",children:(0,a.jsx)("ul",{className:"flex w-max flex-col pr-1",children:e.children.map((e,t)=>(0,a.jsx)("li",{className:"mb-4 last:mb-0",children:(0,a.jsx)(k.r,{href:e.href,styled:!0,underline:"hover",className:"text-lg font-normal",children:e.text})},t))})})})]}):e.href?(0,a.jsx)(k.r,{href:e.href,styled:!0,underline:"hover",className:"inline-flex h-full items-center font-serif text-lg font-normal",children:e.text}):null},t))}),(0,a.jsx)(g,{style:{"--radix-navigation-menu-content-offset":d}})]})}),T&&(0,a.jsx)(C.z,{variant:"primary",size:"md",className:"group",asChild:!0,children:(0,a.jsxs)(k.r,{href:"#register",children:["Register your interest",(0,a.jsx)(c.J,{name:"arrow-right",text:!0,className:"ml-2 transition-transform duration-300 group-hover:translate-x-1/4"})]})})]}),(0,a.jsx)("div",{className:"lg:hidden",children:(0,a.jsxs)(_.dy,{open:r,onOpenChange:e=>i(e),children:[(0,a.jsx)(_.Qz,{asChild:!0,children:(0,a.jsxs)("button",{className:x,children:["Menu",(0,a.jsx)(c.J,{name:"hamburger",className:"ml-2 h-6 w-6"})]})}),(0,a.jsxs)(_.sc,{className:"sm:max-w-[425px]",children:[(0,a.jsx)("div",{className:"flex items-center justify-end p-5",children:(0,a.jsx)(_.uh,{className:"text-blue"})}),(0,a.jsx)("div",{className:"grid gap-4",children:(0,a.jsx)(v,{type:"multiple",children:(0,a.jsx)("ul",{children:t.map((e,t)=>e.children&&e.children.length>0?(0,a.jsx)("li",{className:"border-b border-blue text-blue first:border-y",children:(0,a.jsxs)(j,{value:t.toString(),children:[(0,a.jsx)(y,{children:e.text}),(0,a.jsx)(N,{children:(0,a.jsx)("ul",{children:e.children.map((e,t)=>(0,a.jsx)("li",{className:"mb-5 px-5 last:mb-1",children:(0,a.jsx)(k.r,{href:e.href,styled:!0,underline:"hover",className:"block",onClick:()=>i(!1),children:e.text})},t))})})]})},t):(0,a.jsx)("li",{className:"border-b border-blue text-blue first:border-y",children:(0,a.jsx)(k.r,{href:e.href,className:"block px-5 py-7 font-serif text-lg md:text-xl",styled:!0,underline:"hover",onClick:()=>i(!1),children:e.text})},t))})})})]})]})})]})})}),(0,a.jsx)(S,{open:w,className:"hidden md:block"})]})};var Z=T},94556:function(e,t,r){r.d(t,{E:function(){return s}});var a=r(37821),n=r(58078),l=r(40083),i=r(42312);let s=(0,n.forwardRef)((e,t)=>{let{className:r,value:s,...o}
1=e,[d,c]=(0,n.useState)(0);return(0,n.useEffect)(()=>{c(s)},[s]),(0,a.jsx)(l.fC,{ref:t,className:(0,i.cn)("Progress","relative h-1 w-full overflow-hidden rounded-full border border-blue",r),...o,children:(0,a.jsx)(l.z$,{className:"h-full w-full flex-1 bg-blue transition-all",style:{transform:"translateX(-".concat(100-(d||0),"%)")}})})});s.displayName=l.fC.displayName},14032:function(e,t,r){r.d(t,{h:function(){return a.BlockLoader}});var a=r(73806)},55644:function(e,t,r){r.d(t,{o:function(){return o}});var a=r(37821),n=r(58078),l=r(42312),i=r(82907),s=r(80897);let o=(0,n.forwardRef)((e,t)=>{let{name:r,label:o,required:d=!1,onClearInput:c,error:m,type:u,onBlur:h,onChange:x,value:p,className:f,large:g=!1,...b}=e,[v,j]=(0,n.useState)(u),w=(0,l.cn)("block w-full border-b bg-transparent border-white focus-visible:outline-none placeholder:text-white","focus:outline-none focus:ring-0 focus:border-none","rounded-none",m&&"border-error");return(0,a.jsxs)("div",{className:(0,l.cn)("relative ",f),children:[o&&(0,a.jsx)(i.Z,{asChild:!0,variant:"text-xs",className:"md:text-sm xl:text-sm",children:(0,a.jsxs)("label",{htmlFor:r,className:(0,l.cn)("absolute bottom-full z-10 -mb-1 transition-opacity ease-in",p?"opacity-100":"opacity-0"),children:[o,d&&(0,a.jsx)("span",{className:"ml-1 text-error","aria-hidden":"true",children:"*"})]})}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(i.Z,{asChild:!0,variant:g?"text-xl":"text-lg",children:(0,a.jsx)("input",{ref:t,id:r,type:v,onBlur:h,onChange:x,value:p,className:w,...b})}),c&&(0,a.jsx)("button",{className:(0,l.cn)("absolute bottom-0 right-4 top-0 flex",m&&"text-error"),onClick:()=>r?c(r):null,children:(0,a.jsx)(s.J,{name:"cross",className:"my-auto h-[12px] w-[12px]"})}),"password"===u&&(0,a.jsx)("button",{type:"button","aria-label":"Toggle password visibility",className:"absolute bottom-0 right-0 top-0 flex px-4",onClick:()=>j("password"===v?"text":"password"),children:(0,a.jsx)(s.J,{name:"password"===v?"visibility-off":"visibility-on",className:"text-neutral-80 my-auto h-[21px] w-[21px]"})})]}),m&&(0,a.jsx)("p",{className:"mt-2 text-error",role:"alert",children:m})]})});o.displayName="TextInput"},24031:function(e,t,r){r.d(t,{B:function(){return s}});var a=r(37821),n=r(14032),l=r(12148),i=r(99986);let s=e=>{let{masthead:t,anchorLinks:r,blocks:s}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.HO,{...t}),s&&s.length>0&&(0,a.jsx)(n.h,{blocks:s}),r&&r.length>0&&(0,a.jsx)(i.Q,{links:r})]})}},41298:function(e,t,r){r.d(t,{C:function(){return s}});var a=r(37821),n=r(12148),l=r(73356),i=r(25107);let s=e=>{let{error:t}=e;return(0,a.jsx)(n.HO,{title:t||"Page not found",children:"Page not found"===t?(0,a.jsx)(l.z,{asChild:!0,children:(0,a.jsx)(i.r,{href:"/",children:"Return to home"})}):(0,a.jsx)(l.z,{onClick:()=>window.location.reload(),children:"Reload the page"})})}},18581:function(e,t,r){r.d(t,{oC:function(){return a},tz:function(){return n}});let a=(e,t)=>{l({event:"routeChange",pageUrl:e,pageParams:t,pageTitle:"undefined"!=typeof document&&document.title||""})},n=(e,t)=>{let r={event:e};t&&(r={...r,...t}),l(r)},l=e=>{let t=window;t.dataLayer=t.dataLayer||[],t.dataLayer.push(e)}},10750:function(e,t,r){r.r(t),r.d(t,{default:function(){return d}});var a=r(37821),n=r(14032),l=r(12148);let i=e=>{let{blocks:t=[],masthead:r}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Ks,{...r}),t&&t.length>0&&(0,a.jsx)(n.h,{blocks:t})]})};var s=r(22939),o=r(25032);function d(e){var t;let{content:r}=e,{entry:n}=r,l={masthead:{headingTop:n.heading,headingBottom:n.subheading,img:(0,o.k)(n.featuredImage[0]),link:n.primaryLink[0],text:null===(t=n.introduction)||void 0===t?void 0:t.renderHtml},blocks:(0,s.g)(n.contentBlocks)};return(0,a.jsx)(i,{...l})}},13230:function(e,t,r){r.r(t),r.d(t,{default:function(){return c}});var a=r(37821),n=r(14032),l=r(12148),i=r(99986);let s=e=>{let{masthead:t,anchorLinks:r,blocks:s}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.fI,{...t}),s&&s.length>0&&(0,a.jsx)(n.h,{blocks:s}),r&&r.length>0&&(0,a.jsx)(i.Q,{links:r})]})};var o=r(22939),d=r(23760);function c(e){var t,r,n;let{content:l}=e,{entry:i}=l,c=(0,o.g)(i.contentBlocks),m={masthead:{title:i.title,status:null===(t=i.apartmentStatus)||void 0===t?void 0:t[0],metadata:i.metadata,link:null===(r=i.link)||void 0===r?void 0:r[0],project:null===(n=i.project)||void 0===n?void 0:n[0]},anchorLinks:(0,d.V)(c),blocks:c};return(0,a.jsx)(s,{...m})}},22068:function(e,t,r){r.r(t),r.d(t,{default:function(){return o}});var a=r(37821),n=r(58078),l=r(14032);let i=e=>{let{blocks:t}=e;return(0,a.jsx)(a.Fragment,{children:t&&t.length>0&&(0,a.jsx)(l.h,{blocks:t})})};var s=r(11323);
1function o(e){let{content:t}=e,{entry:r}=t,{apartmentFinder:l}=(0,n.useContext)(s.V)||{},o={blocks:[{component:"block-apartment-finder",id:"apartment-finder-hero",props:{title:r.title,buttonText:"Start",image1:{src:"https://assets.assemble.com.au/assets/Find_your-apartment_right_image.webp",width:800,height:534,alt:"Find your apartment right image"},image2:{src:"https://assets.assemble.com.au/assets/Find_your-apartment_left_image.webp",width:1600,height:1067,alt:"Find your apartment left image"},projectData:{slug:r.slug,name:r.title},apartmentFinder:l}}]};return(0,a.jsx)(i,{...o})}},67782:function(e,t,r){r.r(t),r.d(t,{default:function(){return s}});var a=r(37821),n=r(24031),l=r(22939),i=r(23760);function s(e){let{content:t}=e,{entry:r}=t,s=(0,l.g)(r.contentBlocks),o={masthead:{compact:!0,title:r.title,postDate:r.postDate,metadata:[...r.metadata,...r.categories.map(e=>({text:e.title,href:e.href}))].filter(Boolean)},anchorLinks:(0,i.V)(s),blocks:s};return(0,a.jsx)(n.B,{...o})}},51185:function(e,t,r){r.r(t),r.d(t,{default:function(){return d}});var a=r(37821),n=r(58078),l=r(24031),i=r(22939),s=r(23760),o=r(11323);function d(e){var t;let{content:r}=e,{setCtaVisible:d}=(0,n.useContext)(o.V),{entry:c}=r,m=(0,i.g)(c.contentBlocks),u={masthead:{title:c.title,introduction:null===(t=c.introduction)||void 0===t?void 0:t.renderHtml},anchorLinks:(0,s.V)(m),blocks:m};return c.hideGlobalCta&&d(!1),(0,a.jsx)(l.B,{...u})}},95077:function(e,t,r){r.r(t),r.d(t,{default:function(){return l}});var a=r(37821),n=r(41298);function l(e){let{content:t}=e,{entry:r}=t;return(0,a.jsx)(n.C,{error:"Page not found"})}},69035:function(e,t,r){r.r(t),r.d(t,{default:function(){return v}});var a=r(37821),n=r(12148),l=r(48484),i=r(90780),s=r(24891),o=r(58078),d=r(42312),c=r(82907),m=r(25107),u=r(80897);let h=e=>
1{let{href:t,active:r=!1,children:n,...l}=e;return t?(0,a.jsx)(c.Z,{asChild:!0,variant:"text-sm",trim:!0,children:(0,a.jsx)(m.r,{href:t,className:"px-1 text-blue md:px-2",styled:!0,underline:r?"always":"hover","aria-current":r?"page":void 0,...l,children:n})}):(0,a.jsx)(c.Z,{asChild:!0,variant:"text-sm",trim:!0,children:(0,a.jsx)("span",{className:"px-1 text-blue md:px-2",...l,children:n})})},x=(0,o.forwardRef)((e,t)=>{let{pageCount:r,currentPage:n,href:l,className:i}=e,s=e=>1===e?l:"".concat(l,"/page/").concat(e);return r<2?null:(0,a.jsxs)("nav",{className:(0,d.cn)("Pagination","flex items-center justify-center gap-2 text-blue",i),ref:t,"aria-label":"Pages","data-pagination":!0,children:[1!==n&&(0,a.jsx)(h,{href:n>2?"".concat(l,"/page/").concat(n-1):l,children:(0,a.jsx)(u.J,{name:"arrow-left","aria-label":"previous",className:"relative -top-[0.05em]"})}),(()=>{let e=n>3,t=n<r-2,i=n<r-2-1,o=t?n+2:r,d=[...Array(r).keys()].map(e=>e+1),c=[];return e&&c.push((0,a.jsx)(h,{href:l,children:"1"},0)),n>4&&c.push((0,a.jsx)(h,{children:"..."},"first-ellipsis")),d.slice(e?n-2-1:0,o).forEach(e=>{c.push((0,a.jsx)(h,{href:s(e),active:e===n,children:e},e))}),i&&c.push((0,a.jsx)(h,{children:"..."},"last-ellipsis")),t&&c.push((0,a.jsx)(h,{href:s(r),children:r},r)),c})(),n!==r&&(0,a.jsx)(h,{href:"".concat(l,"/page/").concat(n+1),children:(0,a.jsx)(u.J,{name:"arrow-right","aria-label":"next",className:"relative -top-[0.05em]"})})]})});x.displayName="Pagination";var p=r(14032);let f=e=>{let{title:t,introduction:r,variant:o,items:d=[],pagination:c,blocks:m,archiveHref:u}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.HO,{title:t,introduction:r}),(0,a.jsx)(l.gO,{children:(0,a.jsxs)(i.W,{children:[(0,a.jsx)(s.C,{variant:o,items:d}),c&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.LZ,{}),(0,a.jsx)(x,{pageCount:c.pageCount,currentPage:c.pageNo,href:u||""})]})]})}),(0,a.jsx)(l.LZ,{}),m&&m.length>0&&(0,a.jsx)(p.h,{blocks:m})]})};var g=r(59657),b=r(22939);function v(e){var t;let{content:r,pagination:n}=e,{entry:l,entries:i}=r,s={title:l.title,introduction:null===(t=l.introduction)||void 0===t?void 0:t.renderHtml,variant:i.every(e=>["article_Entry","external_Entry"].includes(e.__typename))?"masonry":"default",items:(0,g.x)(i),pagination:n,archiveHref:l.href,blocks:(0,b.g)(l.contentBlocks)};return(0,a.jsx)(f,{...s})}},35373:function(e,t,r){r.r(t),r.d(t,{default:function(){return d}});var a=r(37821),n=r(14032),l=r(12148);let i=e=>{let{masthead:t,blocks:r}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Kp,{...t}),r&&r.length>0&&(0,a.jsx)(n.h,{blocks:r})]})};var s=r(22939),o=r(25032);function d(e){var t,r;let{content:n}=e,{entry:l}=n,d={masthead:{title:l.title,introduction:null===(t=l.introduction)||void 0===t?void 0:t.renderHtml,role:l.role,bio:null===(r=l.bio)||void 0===r?void 0:r.renderHtml,image:(0,o.k)(l.featuredImage[0]),link:l.link[0]||null},blocks:(0,s.g)(l.contentBlocks)};return(0,a.jsx)(i,{...d})}},29677:function(e,t,r){r.r(t),r.d(t,{default:function(){return c}});var a=r(37821),n=r(14032),l=r(12148),i=r(99986);let s=e=>{let{masthead:t,anchorLinks:r,blocks:s}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.zc,{...t}),s&&s.length>0&&(0,a.jsx)(n.h,{blocks:s}),r&&r.length>0&&(0,a.jsx)(i.Q,{links:r})]})};var o=r(22939),d=r(23760);function c(e){let{content:t}=e,{entry:r}=t,n=(0,o.g)(r.contentBlocks),l={masthead:{title:r.title,suburb:r.suburb,traditionalPlaceName:r.traditionalPlaceName,status:r.status[0],metadata:r.metadata},anchorLinks:(0,d.V)(n),blocks:n};return(0,a.jsx)(s,{...l})}},73436:function(e,t,r){function a(e){let{content:t}=e;return null}r.r(t),r.d(t,{default:function(){return a}})},64015:function(e,t,r){r.r(t),r.d(t,{default:function(){return k}});var a=r(37821),n=r(58433),l=r(58078),i=r(48484),s=r(12148),o=r(90780),d=r(94556),c=r(82907),m=r(14032),u=r(73356),h=r(25107),x=r(80897);let p=e=>{if([11,12,13].includes(e%100))return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}};var f=function(e){let{yearSelected:t=0,price:r=0,income:n=0,rentPerWeek:s=0,rentPerYear:o=0,priceIncreasePerYear:d="unknown",rentIncreasePerYear:m="unknown",depositRequired:f=0,projectCompletionDate:g=new Date}=e,b=e=>
1"$".concat(e.toLocaleString(["en-AU"],{maximumFractionDigits:0})),v=l.useMemo(()=>["January","February","March","April","May","June","July","August","September","October","November","December"],[]),j=l.useCallback(()=>{let e=v[g.getMonth()],r=g.getFullYear(),a=g<new Date,n=a?"".concat(g.getDate()).concat(p(g.getDate())," "):"";return{start:"".concat(n).concat(e," ").concat(a?r:r+t-1),end:"".concat(n).concat(e," ").concat(r+t)}},[g,t,v]);return(0,a.jsxs)(i.kC,{className:"flex-col",children:[(0,a.jsxs)("div",{className:"rounded-[20px] bg-blue text-white",children:[(0,a.jsxs)("div",{className:"p-6 md:p-8 md:pb-9 xl:p-10 xl:pb-11",children:[(0,a.jsx)(c.Z,{variant:"text-lg",withMargin:"h3",children:"Buy between ".concat(j().start," and ").concat(j().end)}),(0,a.jsx)(c.Z,{variant:"h2",withMargin:"h3",children:b(r)}),n>0&&(0,a.jsxs)(c.Z,{variant:"text-sm",children:["Recommended household income: ",b(n)]})]}),(0,a.jsxs)("div",{className:"border-t border-white p-6 md:p-8 md:pb-9 xl:p-10 xl:pb-11",children:[(0,a.jsx)(c.Z,{variant:"text-lg",withMargin:"h3",children:"Or continue to rent while you save"}),(0,a.jsxs)("div",{className:"flex gap-8",children:[(0,a.jsxs)("div",{className:"flex w-1/2 flex-col gap-1 md:gap-2",children:[(0,a.jsx)(c.Z,{variant:"text-sm",children:"Rent per week"}),(0,a.jsx)(c.Z,{variant:"h4",children:b(s)})]}),(0,a.jsxs)("div",{className:"flex w-1/2 flex-col gap-1 md:gap-2",children:[(0,a.jsx)(c.Z,{variant:"text-sm",children:"Rent per year"}),(0,a.jsx)(c.Z,{variant:"h4",children:b(o)})]})]})]})]}),(0,a.jsxs)("div",{className:"border-b border-blue",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-between gap-1 border-t border-blue py-6 text-blue md:flex-row md:items-center md:gap-2 md:py-8",children:[(0,a.jsx)(c.Z,{variant:"text-sm",children:"Purchase price increase per year"}),(0,a.jsx)(c.Z,{variant:"h5",children:d})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-between gap-1 border-t border-blue py-6 text-blue md:flex-row md:items-center md:gap-2 md:py-8",children:[(0,a.jsx)(c.Z,{variant:"text-sm",children:"Rental price increase per year"}),(0,a.jsx)(c.Z,{variant:"h5",children:m})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-between gap-1 border-t border-blue py-6 text-blue md:flex-row md:items-center md:gap-2 md:py-8",children:[(0,a.jsx)(c.Z,{variant:"text-sm",children:"Indicative deposit for purchase (10%)"}),(0,a.jsxs)("div",{className:"flex flex-row items-baseline",children:[(0,a.jsx)(c.Z,{className:"mr-1",children:"est"}),(0,a.jsx)(c.Z,{variant:"h5",children:b(f)})]})]})]}),(0,a.jsx)("div",{className:"flex flex-col items-start gap-4 md:gap-8",children:(0,a.jsx)(u.z,{variant:"primary",size:"lg",asChild:!0,children:(0,a.jsxs)(h.r,{href:"#register",className:"group underline",children:["Register your interest",(0,a.jsx)(x.J,{name:"arrow-right",text:!0,className:"ml-2 transition-transform duration-300 group-hover:translate-x-1/4"})]})})})]})},g=r(50839),b=r(30298),v=function(e){let{radioOptions:t,yearSliderOptions:r,emitUpdate:n}=e,[i,s]=(0,l.useState)(t.reduce((e,t)=>({...e,[t.name]:t.items[0].value}),{})),o=(e,t)=>{s({...i,[e]:t}),n({name:e,value:t})},d=(e,t)=>{n({name:e,value:t[0].toString()})},c=(t,r)=>{switch(t){case 1:return"First year";case r:return"Last year";default:return e.projectCompletionDate.getFullYear()+(t-1)}},m=Array.from({length:r.max-r.min+1},(e,t)=>t+r.min).map(t=>({value:t,trackLabel:c(t,r.max),thumbLabel:e.projectCompletionDate.getFullYear()+(t-1),onTimeline:[r.max,r.min].includes(t)}));return(0,l.useEffect)(()=>{let e=t.filter(e=>{let t=e.items.find(t=>t.value===i[e.name]);return!t||t.disabled});if(e.length){let t={...i};e.forEach(e=>{let r=e.items.find(e=>!e.disabled);r&&(t[e.name]=r.value)}),s(t)}},[t]),(0,a.jsxs)("div",{className:"rounded-3xl border border-blue-300 bg-white p-6 md:p-8 md:pb-9 xl:p-10 xl:pb-11",children:[t.map((e,t)=>(0,a.jsx)(g.Z,{onChange:t=>o(e.name,t),options:e.items,label:e.label,id:"pricing-tool-question-".concat(t),value:i[e.name]},"pricing-tool-question-".concat(t))),(0,a.jsx)(b.Z,{id:"tool-year-slider",label:r.label,helpText:r.helpText,onValueChange:e=>d("year",e),step:1,min:r.min,minSelectable:r.minSelectable,max:r.max,value:[Math.max(r.min,r.minSelectable)],valueMetadata:m})]})};function j(e){return({Studio:{bedrooms:"studio",bathrooms:"1"},"1B1B":{bedrooms:"1",bathrooms:"1"},"2B1B":{bedrooms:"2",bathrooms:"1"},"2B1B+S":{bedrooms:"2",bathrooms:"1",study:!0},"2B2B":{bedrooms:"2",bathrooms:"2"},"2B2B+S":{bedrooms:"2",bathrooms:"2",study:!0},"3B1B":{bedrooms:"3",bathrooms:"1"},"3B2B":{bedrooms:"3",bathrooms:"2"}})[e]}function w(e){var t,r,n,s,o,d,c;let m;let{projects:u,sliderHelpText:h,priceIncreasePerYear:x,rentIncreasePerYear:p}=e,g=u.filter(e=>{let{availability:t,apartmentTypologies:r}=e;return t&&t>0&&r.some(e=>{let{availability:t}=e;return t&&t>0})}),[b,w]=l.useState((null===(t=g[0])||void 0===t?void 0:t.id)||void 0),[y,N]=l.useState(j(null===(n=g[0])||void 0===n?void 0:null===(r=n.apartmentTypologies[0])||void 0===r?void 0:r.variant).bedrooms||void 0),[k,_]=l.useState(j(g[0].apartmentTypologies[0].variant).bathrooms),[C,B]=l.useState(1),S=new Map;
1g&&g.forEach(e=>{S.set(e.id,e)});let L=null==g?void 0:g.map(e=>({value:e.id,label:e.name,disabled:!(e.availability&&e.availability>0)})),T=[{value:"studio",label:"Studio",disabled:!0},{value:"1",label:"1 Bedroom",disabled:!0},{value:"2",label:"2 Bedroom",disabled:!0},{value:"3",label:"3 Bedroom",disabled:!0}],Z=[{value:"1",label:"1 Bathroom",disabled:!0},{value:"2",label:"2 Bathroom",disabled:!0}],F=(c=S.get(b||""),m=new Map,void 0===c||c.apartmentTypologies.forEach(e=>{let{variant:t,availability:r}=e,{bedrooms:a,bathrooms:n}=j(t);!m.get(a)&&r>0&&m.set(a,new Map);let l=m.get(a);l&&r>0&&!l.get(n)&&l.set(n,!0)}),m),R=l.useMemo(()=>(e,t)=>{let r=S.get(b||"");if(r){let a;let{apartmentTypologies:n}=r;return(a=n.find(r=>{let{variant:a,availability:n}=r,{bedrooms:l,bathrooms:i}=j(a);return l===e&&i===t&&n>0}))||(a=n.find(t=>{let{variant:r,availability:a}=t,{bedrooms:n}=j(r);return n===e&&a>0}))?a:n.find(e=>e.availability>0)}},[S,b]);T=T.map(e=>F.get(e.value)?{...e,disabled:!1}:{...e,disabled:!0}),Z=Z.map(e=>{let t=F.get(y||"");return t&&t.get(e.value)?{...e,disabled:!1}:{...e,disabled:!0}});let H=R(y,k);if(H){let{variant:e}=H,{bedrooms:t,bathrooms:r}=j(e);y!==t&&N(t),k!==r&&_(r)}let V=null==H?void 0:H.lowestVariantIncome,E=Math.min(C,(null==H?void 0:H.lowestVariantCost.length)||0),P=null==H?void 0:null===(s=H.lowestVariantCost[E-1])||void 0===s?void 0:s.rent,z=null==H?void 0:null===(o=H.lowestVariantCost[E-1])||void 0===o?void 0:o.price,I=S.get(b||""),M=new Date((null==I?void 0:I.completionDate)||""),A=Math.abs(new Date().getTime()-new Date((null==I?void 0:I.completionDate)||Date.now()).getTime())/1e3/60/60/24/365,D=A-A%1,q=e=>e.apartmentTypologies.findIndex(e=>e.availability>0),O=e=>e.map((e,t)=>({projectIndex:t,typologyIndex:q(e)})).filter(e=>{let{typologyIndex:t}=e;return t>=0})[0],W=()=>{let{projectIndex:e,typologyIndex:t}=O(g),r=g[e],a=r.apartmentTypologies[t],n=r.id,l=j(null==a?void 0:a.variant).bedrooms,i=j(null==a?void 0:a.variant).bathrooms;w(n),N(l),_(i)};return l.useEffect(()=>{W()},[]),(0,a.jsx)(i.kC,{asChild:!0,className:"flex-col lg:flex-row",children:(0,a.jsxs)("article",{children:[(0,a.jsx)("section",{className:"w-full flex-auto lg:w-[60%]",children:(0,a.jsx)(v,{projectCompletionDate:M,emitUpdate:e=>{switch(e.name){case"project":w(e.value);break;case"bedroom":N(e.value);break;case"bathroom":_(e.value);break;case"year":B(parseInt(e.value,10))}},radioOptions:[{name:"project",label:"Iâd like to live in...",items:L},{name:"bedroom",label:"Iâm interested in...",items:T},{name:"bathroom",label:"Iâd have to have...",items:Z}],yearSliderOptions:{name:"year",label:"Iâd like to purchase within...",min:1,minSelectable:D?0+D:1,max:(null==H?void 0:null===(d=H.lowestVariantCost)||void 0===d?void 0:d.length)||1,helpText:h}})}),(0,a.jsx)("section",{className:"w-full flex-auto lg:w-[40%]",children:(0,a.jsx)(f,{projectCompletionDate:M,yearSelected:C,income:V,rentPerWeek:P,price:z,rentPerYear:P?52*P:void 0,depositRequired:z?.1*z:void 0,priceIncreasePerYear:x,rentIncreasePerYear:p})})]})})}let y=e=>{let{title:t,introduction:r,toolProjectIds:u,toolSliderHelpText:h,toolYearlyPriceIncrease:x,toolYearlyRentIncrease:p,blocks:f}=e,[g,b]=l.useState(!0),[v,j]=l.useState(1),[y,N]=l.useState();return l.useEffect(()=>{let e=[setTimeout(()=>j(5),200),setTimeout(()=>j(12),600),setTimeout(()=>j(18),1e3),setTimeout(()=>j(26),1400),setTimeout(()=>j(38),3e3),setTimeout(()=>j(48),4e3),setTimeout(()=>j(51),8e4),setTimeout(()=>j(0),1e4)];return()=>e.forEach(clearTimeout)},[]),l.useEffect(()=>{let e="/".concat("api/projects","?id=").concat(u.join(",")||"a0O9h0000014a5xEAA,a0O2w000001PfghEAC,a0O2w000001PfgmEAC");n.Z.get(e).then(e=>{e.data&&e.data.responseObject&&e.data.responseObject.length>0&&(N(e.data.responseObject),b(!1))},e=>{console.error(e)})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.HO,{title:t,introduction:r}),(0,a.jsx)(i.gO,{children:(0,a.jsx)(o.W,{children:g||!(y&&y.length)?(0,a.jsxs)("div",{children:[0!==v&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c.Z,{variant:"h5",className:"mb-4 text-blue",children:["Loading:"," "]}),(0,a.jsx)(d.E,{value:v,className:"h-5"})]}),0===v&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c.Z,{variant:"h5",className:"mb-4 text-[#AD0000]",children:["Error Loading Pricing Data:"," "]}),(0,a.jsxs)(c.Z,{variant:"text-md",className:"mt-3 text-[#AD0000]",children:["Please contact us at"," ",(0,a.jsx)("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"})," ","for pricing information."]})]})]}):(0,a.jsx)(w,{projects:y,sliderHelpText:h,priceIncreasePerYear:x,rentIncreasePerYear:p})})}),f&&f.length>0&&(0,a.jsx)(m.h,{blocks:f})]})};var N=r(22939);function k(e){var t;let{content:r}=e,{entry:n}=r,l={title:n.title,introduction:null===(t=n.introduction)||void 0===t?void 0:t.renderHtml,toolProjectIds:n.toolProjectIds,toolSliderHelpText:n.tool
1SliderHelpText,toolYearlyPriceIncrease:n.toolYearlyPriceIncrease,toolYearlyRentIncrease:n.toolYearlyRentIncrease,blocks:(0,N.g)(n.contentBlocks)};return(0,a.jsx)(y,{...l})}},49329:function(e,t,r){r.r(t),r.d(t,{default:function(){return o}});var a=r(37821),n=r(58504),l=r(24031),i=r(22939),s=r(23760);function o(e){var t;let{content:r}=e,o=(0,n.useSearchParams)(),{entry:d}=r,c=o.get("name"),m=(0,i.g)(d.contentBlocks),u={masthead:{title:c?"".concat(d.title," ").concat(c):d.title,introduction:null===(t=d.introduction)||void 0===t?void 0:t.renderHtml},anchorLinks:(0,s.V)(m),blocks:m};return(0,a.jsx)(l.B,{...u})}},23760:function(e,t,r){r.d(t,{V:function(){return n},w:function(){return a}});let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?{id:(e.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)||[]).map(e=>e.toLowerCase()).join("-"),text:e,visible:t}:null},n=e=>(null==e?void 0:e.length)?e.map(e=>e.props.anchor).filter(Boolean):[]},59657:function(e,t,r){r.d(t,{x:function(){return a}});let a=e=>(null==e?void 0:e.length)?e.map(e=>{switch(e.__typename){case"default_Entry":return{id:e.id,title:e.title,href:e.href,thumbnail:e.thumbnail,linkText:"Read more",description:""};case"article_Entry":return{id:e.id,title:e.title,href:e.href,thumbnail:e.thumbnail,postDate:e.postDate,metadata:[e.metadata[0],...e.categories.map(e=>({text:e.title,href:e.href}))].filter(Boolean),linkText:"Read more",description:""};case"external_Entry":return{id:e.id,title:e.title,href:e.href,postDate:e.postDate,metadata:[e.metadata[0],...e.categories.map(e=>({text:e.title,href:e.href}))].filter(Boolean),linkText:"Read more",description:""};case"profile_Entry":return{id:e.id,title:e.title,href:e.href,thumbnail:e.thumbnail,linkText:"View profile",description:"<p>".concat(e.role,"</p>")};case"project_Entry":return{id:e.id,title:e.suburb?"".concat(e.title,"\n").concat(e.suburb):e.title,href:e.href,thumbnail:e.thumbnail,linkText:"View project",variant:"large",geolocation:e.geolocation[0],status:e.status[0],description:e.description,tenureTypes:e.tenureTypes};case"apartment_Entry":return{id:e.id,title:e.title,href:e.href,thumbnail:e.thumbnail,linkText:"View apartment",description:e.description||""};default:return null}}).filter(Boolean):[]},22939:function(e,t,r){r.d(t,{g:function(){return s}});var a=r(25032),n=r(59657),l=r(23760);let i=e=>e?"commonLink_Register_LinkType"===e.__typename?{...e,href:"#register"}:e:null,s=e=>(null==e?void 0:e.length)?e.map(e=>{var t,r,s,o,d,c,m,u,h,x,p,f,g,b,v,j,w,y,N,k;switch(e.__typename){case"contentBlocks_listingTable_BlockType":return{component:"block-listing-table",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,text:null===(t=e.vizy)||void 0===t?void 0:t.renderHtml,items:(null===(r=e.children)||void 0===r?void 0:r.map(e=>{var t;return{id:e.id,heading:e.heading,text:null===(t=e.vizy)||void 0===t?void 0:t.renderHtml}}))||[]}};case"contentBlocks_image_BlockType":let _=e.img?(0,a.k)(e.img[0]):null;return{component:"block-image",id:e.id,withEdge:"fullBleed"===e.layout,props:{img:_,caption:e.caption||null,credit:e.credit,layout:e.layout}};case"contentBlocks_video_BlockType":let C=null===(s=e.videoEmbed[0])||void 0===s?void 0:s.embeddedAsset;if(!C)return null;return{component:"block-video",id:e.id,withEdge:"fullBleed"===e.layout,props:{title:C.title,src:C.src,layout:e.layout}};case"contentBlocks_richText_BlockType":return{component:"block-rich-text",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,variant:e.interviewLayout?"interview":"default",text:null===(o=e.vizy)||void 0===o?void 0:o.renderHtml,textSecondary:null===(d=e.vizySecondary)||void 0===d?void 0:d.renderHtml,showIconsText:e.showIconsText,iconsText:e.iconsText}};case"contentBlocks_pathway_BlockType":return{component:"block-pathway",id:e.id,withEdge:!0,props:{items:e.items.map(e=>e.text)}};case"contentBlocks_accordion_BlockType":return{component:"block-accordion",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,text:null===(c=e.vizy)||void 0===c?void 0:c.renderHtml,items:(null===(m=e.children)||void 0===m?void 0:m.map(e=>{var t;return{id:e.id,heading:e.heading,text:null===(t=e.vizy)||void 0===t?void 0:t.renderHtml}}))||[]}};case"contentBlocks_imageCarousel_BlockType":return{component:"block-carousel",id:e.id,props:{type:"image",anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,text:e.text,items:e.children.map(e=>{let t=e.img?(0,a.k)(e.img[0]):null;return t?{id:e.id,caption:e.caption||null,credit:e.credit,...t}:null}
1).filter(Boolean)}};case"contentBlocks_testimonial_BlockType":return{component:"block-testimonial",id:e.id,props:{heading:e.heading,whiteBackground:e.whiteBackground,items:e.testimonials.map(e=>{var t;let r=e.image?(0,a.k)(e.image[0]):null,n=i(null===(t=e.link)||void 0===t?void 0:t[0]);return{id:e.id,text:e.text,caption:e.caption||null,img:r,href:null==n?void 0:n.href,linkText:null==n?void 0:n.text}}).filter(Boolean)}};case"contentBlocks_cardCarousel_BlockType":return{component:"block-carousel",id:e.id,props:{type:"card",anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,text:e.text,items:(0,n.x)(e.entries)}};case"contentBlocks_cardGrid_BlockType":return{component:"block-card-grid",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,variant:e.entries.every(e=>["article_Entry","external_Entry"].includes(e.__typename))?"masonry":"default",items:(0,n.x)(e.entries),showFilters:e.showFilters,completeProjects:e.completeProjects}};case"contentBlocks_customGrid_BlockType":return{component:"block-card-grid",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,whiteBackground:e.whiteBackground,items:e.children.map(t=>{var r,n;let l=t.img?(0,a.k)(t.img[0]):null,s=i(null===(r=t.link)||void 0===r?void 0:r[0]);return{title:t.heading,thumbnail:l,description:null===(n=t.vizy)||void 0===n?void 0:n.renderHtml,href:s?s.href:null,linkText:s?s.text:null,variant:e.cardVariant,tenureTypes:t.tenureTypes,status:t.status[0],whiteBackground:e.whiteBackground}})}};case"contentBlocks_storyteller_BlockType":return{component:"block-storyteller",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,panels:e.children.map(e=>{var t;let r=e.img?(0,a.k)(e.img[0]):null;return{heading:e.heading,text:null===(t=e.vizy)||void 0===t?void 0:t.renderHtml,img:r}})}};case"contentBlocks_callout_BlockType":return{component:"block-callout",id:e.id,withEdge:!0,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,text:e.text,link:i(null===(u=e.link)||void 0===u?void 0:u[0])}};case"contentBlocks_map_BlockType":return{component:"block-map",id:e.id,props:{locations:(0,n.x)(e.entries)}};case"contentBlocks_homeIntro_BlockType":return{component:"block-home-intro",id:e.id,props:{heading:e.heading,image:{src:null!==(g=null===(h=e.image[0])||void 0===h?void 0:h.url)&&void 0!==g?g:"",alt:null!==(b=null===(x=e.image[0])||void 0===x?void 0:x.alt)&&void 0!==b?b:"",width:null===(p=e.image[0])||void 0===p?void 0:p.width,height:null===(f=e.image[0])||void 0===f?void 0:f.height},tiles:e.homeIntroCards.map((e,t)=>{var r,a,n,l;return{index:t,title:e.title,description:e.description,link:{label:null!==(n=null===(r=e.link[0])||void 0===r?void 0:r.label)&&void 0!==n?n:"",target:null!==(l=null===(a=e.link[0])||void 0===a?void 0:a.target)&&void 0!==l?l:""}}})}};case"contentBlocks_locationList_BlockType":let B=1;return{component:"block-location-list",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,cards:e.locationListCards.map((e,t)=>({index:t,heading:e.heading,items:e.locationItem.map((e,t)=>({number:B++,text:e.text}))})),image:{src:null!==(w=null===(v=e.image[0])||void 0===v?void 0:v.url)&&void 0!==w?w:"",alt:null!==(y=null===(j=e.image[0])||void 0===j?void 0:j.alt)&&void 0!==y?y:""}}};case"contentBlocks_logoGrid_BlockType":return{component:"block-logo-grid",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),largeHeading:e.largeHeading,heading:e.heading,link:i(null===(N=e.link)||void 0===N?void 0:N[0]),logos:e.logos}};case"contentBlocks_typologyList_BlockType":return{component:"block-typology-list",id:e.id,props:{items:e.typologyListItem.map((e,t)=>{var r,a,n,l,i,s;return{index:t,title:e.heading,description:e.text,list:e.list.map(e=>e.text.renderHtml),buttons:[{href:null!==(l=null===(r=e.buttonOne[0])||void 0===r?void 0:r.url)&&void 0!==l?l:"",children:"".concat(e.heading," details")},{href:null!==(i=null===(a=e.linkOne[0])||void 0===a?void 0:a.url)&&void 0!==i?i:"",children:"Find apartments"},...!1!==e.show3dTourButton?[{href:null!==(s=null===(n=e.linkTwo[0])||void 0===n?void 0:n.url)&&void 0!==s?s:"",children:"View 3D tour"}]:[]],images:e.images.map(e=>({image:{src:e.image[0].url,alt:e.image[0].alt},caption:e.caption||null,credit:e.imageCredit}))}})}};case"contentBlocks_collapsibleContent_BlockType":return{component:"block-collapsible-content",id:e.id,props:{anchor:null!==(k=(0,l.w)(e.anchor,e.anchorVisible))&&void 0!==k?k:void 0,heading:e.heading,text:e.text,cards:e.cards.map((e,t)=>({index:t,heading:e.heading,items:e.items.map((e,t)=>{var r,a;return{icon:null!==(a=null===(r=e.icon[0])||void 0===r?void 0:r.url)&&void 0!==a?a:"",text:e.text}})}))}};case"contentBlocks_dTour_BlockType":return{component:"block-3d-tour",id:e.id,props:{anchor:(0,l.w)(e.anchor,e.anchorVisible),heading:e.heading,largeHeading:e.largeHeading,text:e.text,src:e.commonUrl}};default:return null}}
1).filter(Boolean):[]},25032:function(e,t,r){r.d(t,{k:function(){return a}});let a=e=>{if(!e)return null;let t=e.focalPoint?e.focalPoint.map(e=>"".concat(100*e,"%")).join(" "):"50% 50%";return{src:e.url,alt:e.altText||e.title,position:t,width:e.width?e.width/2:void 0,height:e.height?e.height/2:void 0}}}}]);
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.