PageSourceSearch

https://agedcarereviews.com.au/_next/static/chunks/787-c108948421278c72.js

js agedcarereviews.com.au collected 2026-10-07 00:15:50 UTC 15,750 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[787],{4319:function(e,t){t.Z={src:"/_next/static/media/detailsIcon.88801c95.png",height:571,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAZklEQVR42kXMMQsBAQCG4Q+hZDMpZKbOxnJdBgYXpSz+glISq7/+5Mqgp3d9o60jFi6eComfSr9pIlEZOzmbeSsM4upoprbVNbKPm9rG3UeMlDHXM1Rbe1j8p6XYWUq0GjF18LKSL74AScpxbtjoAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},5810:function(e,t){t.Z={src:"/_next/static/media/enquiryIcon.d4a58f52.png",height:407,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAQAAADSmGXeAAAAUUlEQVR42gXAOwqCABgA4P8ODT2glqBcioKCplbxBT5w0MFJ8CRe+0NCbzW4u0mUurBoPBXeKok8tGovR+Hj6h9+Vqmdi6/ZFBH2zg5OHkbZBkX8L/2rZr6lAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5}},3242:function(e,t,a){var n=a(5893),r=a(4040);t.Z=function(e){var t=e.background,a=void 0===t?"":t,l=e.height,i=void 0===l?"100vh":l;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{style:{height:i,width:"100%",top:0,left:0,zIndex:1e3,background:a},className:"fixed flex items-center justify-center",children:(0,n.jsx)(r.PuffLoader,{color:"#132f54",loading:!0,size:200})})})}},6675:function(e,t,a){var n=a(6042),r=a(9534),l=a(5893),i=a(1664),s=a.n(i);a(7294);t.Z=function(e){var t,a=e.type,i=void 0===a?"":a,o=e.hrefText,c=void 0===o?"":o,d=e.onClickFnc,u=e.className,m=e.padding,h=void 0===m?"py-2 px-4":m,f=e.bgColor,g=void 0===f?"orange-acr":f,b=e.colorShade,x=void 0===b?"":b,v=e.styleType,p=void 0===v?"primary":v,y=(0,r.Z)(e,["type","hrefText","onClickFnc","className","padding","bgColor","colorShade","styleType"]);return"primary"==p?t="text-white bg-".concat(g).concat(x," hover:bg-").concat(g,"_v"):"secondary"==p?t="text-".concat(g," border border-").concat(g," bg-transparent hover:bg-").concat(g," hover:text-white"):"active"==p&&(t="text-white border border-".concat(g," bg-").concat(g)),""==c?(0,l.jsx)("button",(0,n.Z)({onClick:d,type:i,className:"font-semibold rounded shadow-md ".concat(u," ").concat(h," ").concat(t)},y)):(0,l.jsx)(s(),{href:c,children:(0,l.jsx)("button",(0,n.Z)({onClick:d,type:i,className:"font-semibold rounded shadow-md ".concat(u," ").concat(h," ").concat(t)},y))})}},1451:function(e,t,a){var n=a(6042),r=a(9396),l=a(9534),i=a(5893);t.Z=function(e){var t=e.className,a=e.children,s=(0,l.Z)(e,["className","children"]);return(0,i.jsx)("label",(0,r.Z)((0,n.Z)({className:"".concat(t," font-bold text-blue-acr block font-medium text-sm")},s),{children:a}))}},7055:function(e,t,a){var n=a(5893);t.Z=function(e){var t=e.message,a=e.role,r=void 0===a?"alert":a,l=e.textAlign,i=void 0===l?"left":l,s=e.absolute,o=void 0!==s&&s,c="red";switch(r){case"alert":c="red";break;case"success":c="green";break;case"information":c="blue";break;case"warning":c="yellow"}return(0,n.jsx)("div",{className:"bg-".concat(c,"-100 py-5 px-6 text-base text-").concat(c,"-700 ").concat(o?"absolute":"mb-3"," w-full text-").concat(i),role:r,children:t})}},4021:function(e,t,a){var n=a(5893);t.Z=function(e){var t=e.modalId,a=void 0===t?"ModalCenteredScrollable":t,r=e.title,l=e.content,i=e.onSave,s=(e.saveBtnLabel,e.closeButton),o=void 0===s||s,c=e.centered,d=void 0===c||c,u=e.large,m=void 0!==u&&u;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{"data-bs-backdrop":"static","data-bs-keyboard":"false",className:"modal fade fixed top-0 left-0 hidden w-full h-full outline-none overflow-x-hidden overflow-y-auto",id:a,tabIndex:"-1","aria-labelledby":"ModalCenteredScrollable","aria-modal":"true",role:"dialog",children:(0,n.jsx)("div",{className:"modal-dialog modal-dialog   ".concat(d&&"-centered"," modal-dialog-scrollable ").concat(m&&"modal-lg"," relative w-auto pointer-events-none"),children:(0,n.jsxs)("div",{className:"modal-content border-none shadow-lg relative flex flex-col w-full pointer-events-auto bg-white bg-clip-padding rounded-md outline-none text-current",children:[(0,n.jsxs)("div",{className:"modal-header flex flex-shrink-0 items-center justify-between p-4 border-b border-gray-200 rounded-t-md bg-blue-acr",children:[(0,n.jsx)("h5",{className:"text-xl font-medium font-bold leading-normal text-white",id:"ModalCenteredScrollableLabel",children:r}),o&&(0,n.jsx)("button",{type:"button",className:"box-content w-4 h-4 p-1 text-white border-none rounded-none focus:shadow-none focus:outline-none focus:opacity-100 hover:text-black hover:opacity-75 hover:no-underline","data-bs-dismiss":"modal","aria-label":"Close",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",viewBox:"0 0 20 20",fill:"white",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),(0,n.jsx)("div",{className:"modal-body relative p-4",children:l}),i&&(0,n.jsxs)("div",{className:"modal-footer flex flex-shrink-0 flex-wrap items-center justify-end p-4 border-t border-gray-200 rounded-b-md",children:[(0,n.jsx)("button",{type:"button",className:"inline-block px-6 py-2.5 bg-red-400 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:shadow-lg focus:shadow-lg focus:outline-none focus:ring-0 active:bg-purple-800 active:shadow-lg transition duration-150 ease-in-out","data-bs-dismiss":"modal",children:"Close"}),(0,n.jsx)("button",{type:"button","data-bs-dismiss":"modal",className:"inline-block px-6 py-2.5 bg-red-400 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:shadow-lg focus:shadow-lg focus:outline-none focus:ring-0 transition duration-150 ease-in-out",children:"Save changes"})]})]})})})})}},3230:function(e,t,a){var n=a(5893),r=a(7814),l=a(9417),i=a(4288);t.Z=function(e){var t=e.label,a=void 0===t?"":t,s=(e.labelColumn,e.ratingValue),o=e.starSize,c=void 0===o?13:o,d=e.showStarsIfNoReview,u=void 0===d||d,m=e.smallText,h=void 0!==m&&m,f=e.justifyCenter,g=void 0===f?"":f,b=[i.Tab,i.Tab,i.Tab,i.Tab,i.Tab],x=[];return s>0?b.map((function(e,t){t<=(s>0?s-1:s)?x.push(l.Tab):x.push(i.Tab)})):x=b,(0,n.jsxs)("div",{className:"flex ".concat(g),children:[null!=s||u?(0,n.jsx)("div",{className:"flex",children:x.map((function(e,t){return(0,n.jsx)("div",{children:(0,n.jsx)(r.G,{className:"p-1 rounded bg-gray-200 ".concat(e==i.Tab?"text-gray-400":"text-yellow-500"),style:{fontSize:c},icon:e})},t)}))}):(0,n.jsx)("p",{className:"text-right",children:"Not Yet Reviewed"}),a&&(0,n.jsx)("span",{className:"".concat(a&&"ml-2"," text-right mb-3 md:mb-0 md:ml-5 ").concat(h&&"text-sm mt-2"),children:a})]})}},3384:function(e,t,a){var n=a(5893);a(7294);t.Z=function(e){var t=e.message,a=void 0===t?"":t;return(0,n.jsxs)("div",{className:"success-checkmark",children:[(0,n.jsxs)("div",{className:"check-icon",children:[(0,n.jsx)("span",{className:"icon-line line-tip"}),(0,n.jsx)("span",{className:"icon-line line-long"}),(0,n.jsx)("div",{className:"icon-circle"}),(0,n.jsx)("div",{className:"icon-fix"})]}),(0,n.jsx)("br",{}),(0,n.jsx)("p",{className:"lg:text-xl text-md font-bold text-blue-acr",children:a})]})}},9256:function(e,t,a){a.d(t,{Z:function(){return y}});var n=a(5893),r=a(5571),l=a(7294),i=a(9100),s=a(7536),o=a(6042),c=a(9396);var d=function(e){var t=e.title,a=e.array,r=e.name,l=e.register,i=e.validation,s=e.errors,d=s&&"ring-2 ring-red-500";return(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-bold my-4",children:t}),a.map((function(e,t){return(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("input",(0,c.Z)((0,o.Z)({id:e.stateValue},l(r,(0,o.Z)({},i))),{className:"mr-4 focus:ring-orange-acr ".concat(d),value:e.stateValue,type:"checkbox"})),(0,n.jsx)("label",{htmlFor:e.stateValue,children:e.label})]},t)})),s&&"required"===s.type&&(0,n.jsx)("span",{className:"text-red-600",role:"alert",children:"This is required"})]})};var u=function(e){var t=e.title,a=e.array,r=e.name,l=e.register,i=e.validation,s=e.errors,c=s&&"ring-2 ring-red-500";return(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-bold my-4",children:t}),a.map((function(e,t){return(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("input",(0,o.Z)({id:e.stateValue,className:"mr-4 focus:ring-orange-acr ".concat(c),type:"radio",value:e.stateValue},l(r,(0,o.Z)({},i)))),(0,n.jsx)("label",{htmlFor:e.stateValue,children:e.label})]},t)})),s&&"required"===s.type&&(0,n.jsx)("span",{className:"text-red-600",role:"alert",children:"This is required"})]})}
1,m=a(1451),h=a(6675),f=a(2952),g=a(7055),b=a(3384),x=a(7322),v=a(3242),p=a(1163);var y=function(e){var t=e.business_id,a=e.business_name,o=e.slug,c=e.enquiry,y=void 0!==c&&c,j=e.submitId,w=(0,p.useRouter)(),N=(0,l.useState)(""),A=N[0],k=N[1],_=(0,l.useState)(!1),q=_[0],Z=_[1],S=(0,l.useState)(!1),C=S[0],V=S[1],T=(0,l.useState)([]),F=T[0],L=T[1],M=(0,s.cI)(),R=M.register,B=M.handleSubmit,Q=M.formState,W=Q.isSubmitting,E=Q.errors,I=(0,f.a)().unlockReviews;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("form",{className:"relative",onSubmit:B((function(e){return V(!1),L([]),e.submitId=j,new Promise((function(a){I({business_id:t,data:e,setSuccess:Z}).then((function(){a(),o&&w.push({pathname:"/facility/".concat(o),query:{from:j}})})).catch((function(e){422===e.response.status?L(Object.values(e.response.data).flat()):V(e),a()}))}))})),children:[q&&(0,n.jsx)(b.Z,{message:y?"Sending enquiry":"Unlocking information"}),W&&(0,n.jsx)(v.Z,{background:"rgba(255, 255, 255, 0.85)",height:"100%"}),(0,n.jsx)("h3",{className:"text-lg font-bold",children:y?"Get in touch with ".concat(a,"!"):"Register to get access to reviews and other resources that make aged care placement less stressful & time consuming."}),y&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:"Our team will c
1ontact you to help you in your aged care search."}),(0,n.jsx)("p",{children:"Please complete this form and we will connect you with the aged care facility."})]}),(0,n.jsx)(u,{validation:{required:!0},errors:E.timeline,title:"Aged care placement timeline:",array:i.g3,name:"timeline",register:R}),(0,n.jsx)(d,{validation:{required:!0},errors:E.concerns,title:"What\u2019s concerning you the most?",array:i.b8,name:"concerns",register:R}),!y&&(0,n.jsx)(d,{validation:{required:!1},errors:E.call_preferences,title:"As part of the FREE service Aged Care Reviews offers, we will assist you with information on vacancies, prices and any other information you need to make your placement journey easier and less stressful. When is it best for us to call you?",array:i.tr,name:"call_preferences",register:R}),C&&(0,n.jsx)(g.Z,{message:"Error submitting the Information Reveal Form. Please try again."}),F.length>0&&(0,n.jsx)("div",{className:"mt-3",children:(0,n.jsx)(x.Z,{className:"mt-4",errors:F})}),(0,n.jsxs)("div",{className:"lg:grid lg:grid-cols-1 mb-4",children:[(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsx)(m.Z,{htmlFor:"first_name",children:"First Name"}),(0,n.jsx)(r.Z,{className:"block mt-1 w-50",register:R,validation:{required:!0,minLength:2,maxLength:12},name:"first_name",errors:E.first_name})]}),(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsx)(m.Z,{htmlFor:"last_name",children:"Last Name (Optional)"}),(0,n.jsx)(r.Z,{className:"block mt-1 w-50",register:R,validation:{required:!1,minLength:2,maxLength:12},name:"last_name",errors:E.last_name})]}),(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsx)(m.Z,{htmlFor:"email",children:"Email"}),(0,n.jsx)(r.Z,{type:"email",className:"block mt-1 w-50",register:R,validation:{required:!0,minLength:6,maxLength:50},onChange:function(e){return k(e.target.value)},name:"email",errors:E.email})]}),A.includes("@")&&(0,n.jsxs)("div",{className:"mt-4 transition ease-in-out delay-150",children:[(0,n.jsx)(m.Z,{htmlFor:"phone",children:"Phone"}),(0,n.jsx)(r.Z,{className:"block mt-1 w-50",register:R,validation:{required:!0,minLength:6,maxLength:12},errors:E.phone,name:"phone",type:"tel"})]})]}),W,(0,n.jsx)("div",{className:"modal-footer flex flex-shrink-0 flex-wrap items-center justify-end p-4 border-t border-gray-200 rounded-b-md",children:(0,n.jsx)(h.Z,{id:j,type:"submit",bgColor:"green-acr",children:y?"Send Enquiry":"Start Reading Reviews Now!"})})]}),(0,n.jsx)("div",{className:"h-48"})]})}},7322:function(e,t,a){var n=a(6042),r=a(9396),l=a(9534),i=a(5893);t.Z=function(e){var t=e.errors,a=void 0===t?[]:t,s=e.label,o=void 0===s?"Whoops! Something went wrong.":s,c=(0,l.Z)(e,["errors","label"]);return(0,i.jsx)(i.Fragment,{children:a.length>0&&(0,i.jsxs)("div",(0,r.Z)((0,n.Z)({},c),{children:[(0,i.jsx)("div",{className:"font-medium text-red-600",children:o}),(0,i.jsx)("ul",{className:"mt-3 list-disc list-inside text-sm text-red-600",children:a.map((function(e){return(0,i.jsx)("li",{children:e},e)}))})]}))})}},9100:function(e,t,a){a.d(t,{Ef:function(){return m},KB:function(){return h},Ok:function(){return n},Xi:function(){return u},b8:function(){return l},g3:function(){return r},qy:function(){return d},t7:function(){return o},tr:function(){return i},vh:function(){return s}});var n="Updated as of March 2022",r=[{stateValue:"urgent",label:"Urgent \u2013 next 2 weeks"},{stateValue:"medium",label:"Short to medium term \u2013 next 3 months"},{stateValue:"long",label:"Long term \u2013 next 12 months"}],l=[{stateValue:"vacancies",label:"Vacancies"},{stateValue:"fees",label:"Fees, prices & finances"},{stateValue:"preparation",label:"Getting prepared"},{stateValue:"dont_know",label:"I don\u2019t know where to start"},{stateValue:"other",label:"Other"}],i=[{stateValue:"Week_day_AM",label:"Week day AM"},{stateValue:"Week_day_PM",label:"Week day PM"},{stateValue:"Weekend_AM",label:"Weekend AM"},{stateValue:"Weekend_PM",label:"Weekend PM"},{stateValue:"No_preference",label:"No preference"}],s=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=a?1e3*e:e,l=new Date(r);if(n){var i=new Date,s=i-l,o=Math.ceil(s/864e5);if(0==o)t="Today";else if(o<31)t="".concat(o," ").concat(1==o?"day":"days"," ago");else if(o<365&&o>30){var c=o/30;t="".concat(Math.floor(c)," ").concat(c<2?"month":"months"," ago")}else if(o>365){var d=o/365;t="".concat(Math.floor(d)," ").concat(d<2?"year":"years"," ago")}}return n?t:l.toDateString()},o=function(e){return e.redirectTo&&"facility"==e.redirectTo?"/facility/".concat(e.slug):e.redirectTo&&"submit"==e.redirectTo?"/facility/".concat(e.slug,"/submit_review"):"/my-profile"}
1,c={quality_building:0,quality_staff:0,quality_food:0,quality_lifestyle:0,quality_information:0,helpfulness:0,quality_ambiance:0,overall_quality:0},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return[{label:"Quality of Building",column:"quality_building",stars:e.quality_building},{label:"Quality of Staff & Care",column:"quality_staff",stars:e.quality_staff},{label:"Quality of Food",column:"quality_food",stars:e.quality_food},{label:"Quality of Lifestyle & Wellbeing",column:"quality_lifestyle",stars:e.quality_lifestyle},{label:"Overall Quality",column:"overall_quality",stars:e.overall_quality}]},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return[{label:"Quality of information provided",column:"quality_information",stars:e.quality_information},{label:"Helpfulness of staff",column:"helpfulness",stars:e.helpfulness},{label:"Quality of ambiance & general environment",column:"quality_ambiance",stars:e.quality_ambiance},{label:"Overall Quality",column:"overall_quality",stars:e.overall_quality}]},m=function(e){return e&&e>0?{itemProp:"aggregateRating",itemScope:!0,itemType:"https://schema.org/AggregateRating"}:null},h=function(e){return e&&e>0?{itemProp:"itemReviewed",itemScope:!0,itemType:"https://schema.org/LocalBusiness"}:null}}}]);

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.