1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61099],{81619:function(e,t,n){n.d(t,{Z:function(){return SimpleLinkButton}});var r=n(31549),i=n(98975),s=n.n(i);let o={primary:"bg-green text-white hover:bg-darkgreen shadow-soft hover:shadow-lift",accent:"bg-accent text-white hover:bg-accent-dark shadow-soft hover:shadow-lift",ghost:"bg-white text-forestgreen ring-1 ring-forestgreen/20 hover:ring-forestgreen/40 hover:bg-mist shadow-soft"};function SimpleLinkButton(e){let{children:t,className:n="",href:i,internal:l=!0,variant:c="primary",download:a=!1,type:u="button",disabled:d=!1,onClick:h=null,id:f}=e,x="group py-3 px-6 block mx-auto rounded-full font-semibold text-center text-base md:text-lg transition-all duration-200 ease-out hover:-translate-y-0.5 active:translate-y-0 disabled:opacity-60 disabled:hover:translate-y-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-green focus-visible:ring-offset-2 ".concat(o[c]||o.primary," ").concat(n);return null==i?(0,r.jsx)("button",{type:u,disabled:d,onClick:h,id:f,className:x,children:t}):l?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(s(),{href:i,className:x,children:t})}):(0,r.jsx)("a",{href:i,className:x,download:a||void 0,children:t})}},64819:function(e,t,n){n.d(t,{T:function(){return o},Z:function(){return CareTypeChoices}});var r=n(31549);n(44194);var i=n(65472),s=n(8073);let o=[{value:"hourly",apiValue:"hourly",text:"Hourly care",sub:"Visits during the day",icon:s.T3},{value:"livein",apiValue:"live_in",text:"Live-in care",sub:"A carer living with you",icon:s.tv},{value:"overnight",apiValue:"nightly",text:"Overnight care",sub:"Sleeping or waking nights",icon:s.kL}];function CareTypeChoices(e){let{legend:t="What type of care?",name:n,value:l,defaultValue:c="",onChange:a=null,types:u=null,valueFormat:d="marketing",includeUnsure:h=!1,layout:f="tiles",showDescriptions:x=!1,hideLegend:v=!1,className:g=""}=e,m=o.filter(e=>!u||u.includes(e.value)).map(e=>({...e,value:"api"===d?e.apiValue:e.value,sub:x?e.sub:void 0}));return h&&m.push({value:"",apiValue:"",text:"Not sure yet",sub:void 0,icon:s.QM}),(0,r.jsx)(i.Z,{legend:t,name:n,value:l,defaultValue:c,onChange:a,options:m,layout:f,hideLegend:v,className:g})}},65472:function(e,t,n){n.d(t,{Z:function(){return ChoiceGroup}});var r=n(31549),i=n(44194);function ChoiceGroup(e){let{legend:t,name:n,options:s,value:o,defaultValue:l="",onChange:c=null,layout:a="tiles",hideLegend:u=!1,className:d=""}=e,h=(0,i.useId)(),f=(0,i.useRef)(null),[x]=(0,i.useState)(()=>{var e,t;return"undefined"==typeof document?void 0:null===(t=document.getElementById(h))||void 0===t?void 0:null===(e=t.querySelector("input:checked"))||void 0===e?void 0:e.value}),[v,g]=(0,i.useState)(!1),m=void 0===o?null!=x?x:l:v||void 0===x?o:x,p=(0,i.useRef)({value:void 0===o?l:o,onChange:c});(0,i.useEffect)(()=>{let{value:e,onChange:t}=p.current;if(void 0!==x){var n;let e=[...(null===(n=f.current)||void 0===n?void 0:n.querySelectorAll("input"))||[]].find(e=>e.value===x);e&&(e.checked=!0)}void 0!==x&&x!==String(null!=e?e:"")&&(null==t||t(x)),g(!0)},[x]);let j="rows"===a?"grid-cols-1":3===s.length?"grid-cols-3":s.length>4?"grid-cols-2 sm:grid-cols-3":"grid-cols-2";return(0,r.jsxs)("fieldset",{ref:f,id:h,className:"min-w-0 ".concat(d),children:[(0,r.jsx)("legend",{className:u?"sr-only":"mb-2 text-sm font-semibold text-normalbig",children:t}),(0,r.jsx)("div",{className:"grid gap-2 ".concat(j),children:s.map(e=>{let{value:t,text:i,sub:s,icon:l}=e;return(0,r.jsxs)("label",{className:"relative min-w-0 cursor-pointer",children:[(0,r.jsx)("input",{className:"peer sr-only",type:"radio",name:n||"".concat(h,"-choice"),value:t,...void 0===o?{defaultChecked:m===t}:{checked:m===t},onChange:()=>null==c?void 0:c(t),onClick:()=>{void 0!==o&&o===t&&(null==c||c(t))}}),(0,r.jsxs)("span",{className:"flex h-full rounded-xl border border-black/[0.08] bg-white px-3 py-3 text-normalbig transition-colors hover:border-green/60 hover:bg-mintgreen/30 peer-checked:border-green peer-checked:bg-green peer-checked:text-white peer-checked:shadow-soft peer-focus-visible:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-green peer-focus-visible:ring-offset-2 ".concat("rows"===a?"items-center gap-3 text-left":"flex-col items-center gap-2 text-center"),children:[l&&(0,r.jsx)("span",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-lightgreen text-forestgreen",children:(0,r.jsx)(l,{className:"h-5 w-5"})}),(0,r.jsxs)("span",{className:"min-w-0",children:[(0,r.jsx)("span",{className:"block text-sm font-semibold leading-tight",children:i}),s&&(0,r.jsx)("span",{className:"mt-1 block text-xs leading-snug opacity-85",children:s})]})]})]},t)})})]})}},8073:function(e,t,n){n.d(t,{Km:function(){return ClipboardIcon},LZ:function(){return ArrowRightIcon},QM:function(){return SparkleIcon},T3:function(){return o},Tk:function(){return PersonIcon},W1:function(){return SearchIcon},Y4:function(){return ArrowLeftIcon},iK:function(){return RouteIcon},kL:function(){return c},nQ:function(){return CheckIcon},qW:function(){return PhoneIcon},t0:function(){return PeopleIcon},tE:function(){return MapPinIcon},tv:function(){return l},yx:function(){return CarIcon}});var r=n(31549);n(44194);var i=n(75737);let s={fill:"none",stroke:"currentColor",strokeWidth:1.8,strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24","aria-hidden":!0},MapPinIcon=e=>{let{className:t="w-5 h-5"}=e;return(0,r.jsxs)("svg",{...s,className:t,children:[(0,r.jsx)("path",{d:"M12 21s-6-5.2-6-10.5a6 6 0 0 1 12 0C18 15.8 12 21 12 21Z"}),(0,r.jsx)("circle",{cx:"12",cy:"10.5",r:"2.3"})]})},o=i.jNH,l=i.pqA,c=i.bnw,PersonIcon=e=>{let{className:t="w-5 h-5"}=e;return(0,r.jsxs)("svg",{...s,className:t,children:[(0,r.jsx)("circle",{cx:"12",cy:"8",r:"3.5"}),(0,r.jsx)("path",{d:"M5.5 20a6.5 6.5 0 0 1 13 0"})]})},PeopleIcon=e=>{let{className:t="w-5 h-5"}=e;return(0,r.jsxs)("svg",{...s,className:t,children:[(0,r.jsx)("circle",{cx:"9",cy:"8.5",r:"3"}),(0,r.jsx)("circle",{cx:"16.5",cy:"9.5",r:"2.5"}),(0,r.jsx)("path",{d:"M3.5 19.5a5.5 5.5 0 0 1 11 0"}),(0,r.jsx)("path",{d:"M14.5 19.5a4.5 4.5 0 0 1 6-4.2"})]})},CarIcon=e=>{let{className:t="w-5 h-5"}=e;return(0,r.jsxs)("svg",{...s,className:t,children:[(0,r.jsx)("path",{d:"M4 13.5 5.8 8.6A2 2 0 0 1 7.7 7.3h8.6a2 2 0 0 1 1.9 1.3L20 13.5"}),(0,r.jsx)("path",{d:"M3.5 13.5h17v4.2a1 1 0 0 1-1 1h-1.2a1 1 0 0 1-1-1V17H6.7v.7a1 1 0 0 1-1 1H4.5a1 1 0 0 1-1-1v-4.2Z"}
1),(0,r.jsx)("circle",{cx:"7.5",cy:"15.5",r:"0.9",fill:"currentColor",stroke:"none"}),(0,r.jsx)("circle",{cx:"16.5",cy:"15.5",r:"0.9",fill:"currentColor",stroke:"none"})]})},SparkleIcon=e=>{let{className:t="w-5 h-5"}=e;return(0,r.jsx)("svg",{...s,className:t,children:(0,r.jsx)("path",{d:"M12 4.5 13.6 10l5.4 2-5.4 2L12 19.5 10.4 14 5 12l5.4-2L12 4.5Z"})})},CheckIcon=e=>{let{className:t="w-4 h-4"}=e;return(0,r.jsx)("svg",{...s,strokeWidth:2.6,className:t,children:(0,r.jsx)("path",{d:"M5 12.5 9.5 17 19 7.5"})})},ArrowRightIcon=e=>{let{className:t="w-4 h-4"}=e;return(0,r.jsx)("svg",{...s,strokeWidth:2.2,className:t,children:(0,r.jsx)("path",{d:"M5 12h14M13 6l6 6-6 6"})})},ArrowLeftIcon=e=>{let{className:t="w-4 h-4"}=e;return(0,r.jsx)("svg",{...s,strokeWidth:2.2,className:t,children:(0,r.jsx)("path",{d:"M19 12H5M11 6l-6 6 6 6"})})},PhoneIcon=e=>{let{className:t="w-5 h-5"}=e;return(0,r.jsx)("svg",{...s,className:t,children:(0,r.jsx)("path",{d:"M6.6 3.8h2.9l1.4 3.8-1.9 1.4a11.5 11.5 0 0 0 5.9 5.9l1.4-1.9 3.8 1.4v2.9a1.9 1.9 0 0 1-2.1 1.9A15.6 15.6 0 0 1 4.7 5.9a1.9 1.9 0 0 1 1.9-2.1Z"})})},ClipboardIcon=e=>{let{className:t="w-5 h-5"}=e;return(0,r.jsxs)("svg",{...s,className:t,children:[(0,r.jsx)("rect",{x:"6",y:"5",width:"12",height:"15.5",rx:"2"}),(0,r.jsx)("path",{d:"M9.5 5V4a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v1"}),(0,r.jsx)("path",{d:"M9.5 11h5M9.5 14.5h5"})]})},SearchIcon=e=>{let{className:t="w-5 h-5"}=e;return(0,r.jsxs)("svg",{...s,className:t,children:[(0,r.jsx)("circle",{cx:"11",cy:"11",r:"6"}),(0,r.jsx)("path",{d:"m20 20-4.5-4.5"})]})},RouteIcon=e=>{let{className:t="w-4 h-4"}=e;return(0,r.jsxs)("svg",{...s,className:t,children:[(0,r.jsx)("circle",{cx:"6",cy:"18",r:"2"}),(0,r.jsx)("circle",{cx:"18",cy:"6",r:"2"}),(0,r.jsx)("path",{d:"M8 18h5a3 3 0 0 0 0-6h-2a3 3 0 0 1 0-6h5"})]})};(0,i.UeM)("hourly"),(0,i.UeM)("livein"),(0,i.UeM)("overnight")},83942:function(e,t,n){n.d(t,{ZP:function(){return ProcessIcon},kB:function(){return ChatIcon}});var r=n(31549);n(44194);let i="#2F5235",s="#CFE3D1",o="#4D8053";function ChatIcon(e){let{className:t="w-12 h-12"}=e;return(0,r.jsxs)("svg",{className:t,viewBox:"0 0 48 48",fill:"none","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M8 15.5A5.5 5.5 0 0 1 13.5 10h13A5.5 5.5 0 0 1 32 15.5v5A5.5 5.5 0 0 1 26.5 26H16l-6 5.2c-.9.8-2 .1-2-1V15.5Z",fill:s,stroke:i,strokeWidth:"2",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M20 22.6c-2.6-1.8-4.2-3.3-4.2-5 0-1.2 1-2.2 2.2-2.2.8 0 1.5.4 2 1.1.5-.7 1.2-1.1 2-1.1 1.2 0 2.2 1 2.2 2.2 0 1.7-1.6 3.2-4.2 5Z",fill:o}),(0,r.jsx)("path",{d:"M36 22h-1v4.5c0 3-2.5 5.5-5.5 5.5H23a4.5 4.5 0 0 0 4.5 4.5h6l4.6 4c.8.7 1.9.1 1.9-1v-13A4.5 4.5 0 0 0 36 22Z",fill:"#fff",stroke:i,strokeWidth:"2",strokeLinejoin:"round"})]})}let l={search:function(e){let{className:t="w-12 h-12"}=e;return(0,r.jsxs)("svg",{className:t,viewBox:"0 0 48 48",fill:"none","aria-hidden":"true",children:[(0,r.jsx)("circle",{cx:"21",cy:"20",r:"12.5",fill:s,stroke:i,strokeWidth:"2"}),(0,r.jsx)("circle",{cx:"21",cy:"20",r:"12.5",fill:"none",stroke:"#fff",strokeWidth:"0"}),(0,r.jsx)("path",{d:"M21 25.4c-3.4-2.3-5.4-4.3-5.4-6.5 0-1.6 1.3-2.9 2.8-2.9 1 0 2 .6 2.6 1.5.6-.9 1.6-1.5 2.6-1.5 1.5 0 2.8 1.3 2.8 2.9 0 2.2-2 4.2-5.4 6.5Z",fill:o}),(0,r.jsx)("path",{d:"M30.2 29.2 39 38",stroke:i,strokeWidth:"2.5",strokeLinecap:"round"})]})},connect:ChatIcon,book:function(e){let{className:t="w-12 h-12"}=e;return(0,r.jsxs)("svg",{className:t,viewBox:"0 0 48 48",fill:"none","aria-hidden":"true",children:[(0,r.jsx)("rect",{x:"9",y:"11",width:"30",height:"28",rx:"5",fill:s,stroke:i,strokeWidth:"2"}),(0,r.jsx)("path",{d:"M9 19.5h30",stroke:i,strokeWidth:"2"}),(0,r.jsx)("path",{d:"M17.5 7.5v6M30.5 7.5v6",stroke:i,strokeWidth:"2.5",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M18 30l4.2 4.2L30.5 25.5",stroke:o,strokeWidth:"2.8",strokeLinecap:"round",strokeLinejoin:"round"})]})},manage:function(e){let{className:t="w-12 h-12"}=e;return(0,r.jsxs)("svg",{className:t,viewBox:"0 0 48 48",fill:"none","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M24 6.5 37.5 11v9.3c0 8.7-5.6 15.4-13.5 18.5C16.1 35.7 10.5 29 10.5 20.3V11L24 6.5Z",fill:s,stroke:i,strokeWidth:"2",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M24 28.4c-3.9-2.7-6.2-4.9-6.2-7.4 0-1.9 1.5-3.4 3.3-3.4 1.1 0 2.2.7 2.9 1.7.7-1 1.8-1.7 2.9-1.7 1.8 0 3.3 1.5 3.3 3.4
10 2.5-2.3 4.7-6.2 7.4Z",fill:"#fff",stroke:o,strokeWidth:"2",strokeLinejoin:"round"})]})}};function ProcessIcon(e){let{type:t,className:n}=e,i=l[t];return i?(0,r.jsx)(i,{className:n}):null}},54750:function(e,t,n){n.d(t,{Z:function(){return CountUp}});var r=n(31549),i=n(44194);function formatValue(e,t){return e.toLocaleString("en-GB",{minimumFractionDigits:t,maximumFractionDigits:t})}function CountUp(e){let{value:t,decimals:n=0,prefix:s="",suffix:o="",duration:l=1400,className:c=""}=e,a=(0,i.useRef)(null),[u,d]=(0,i.useState)(()=>formatValue(t,n));return(0,i.useEffect)(()=>{let e,r;let i=a.current;if(!i||"undefined"==typeof IntersectionObserver||window.matchMedia("(prefers-reduced-motion: reduce)").matches||i.getBoundingClientRect().top<=window.innerHeight)return;let s=new IntersectionObserver(i=>{i.forEach(i=>{if(!i.isIntersecting)return;s.disconnect();let o=performance.now(),tick=r=>{let i=Math.min(Math.max((r-o)/l,0),1);d(formatValue(t*(1-Math.pow(1-i,3)),n)),i<1&&(e=requestAnimationFrame(tick))};e=requestAnimationFrame(tick),r=setTimeout(()=>{e&&cancelAnimationFrame(e),d(formatValue(t,n))},l+50)})},{threshold:.4});return s.observe(i),()=>{s.disconnect(),e&&cancelAnimationFrame(e),clearTimeout(r)}},[t,n,l]),(0,r.jsxs)("span",{ref:a,className:c,children:[s,u,o]})}},724:function(e,t,n){n.d(t,{Z:function(){return Reveal}});var r=n(31549),i=n(44194);function Reveal(e){let{as:t="div",delay:n=0,className:s="",children:o,...l}=e,c=(0,i.useRef)(null),[a,u]=(0,i.useState)("static");return(0,i.useEffect)(()=>{var e,t;let n=c.current;if(!n||"undefined"==typeof IntersectionObserver||(null===(e=(t=window).matchMedia)||void 0===e?void 0:e.call(t,"(prefers-reduced-motion: reduce)").matches)||!function(e){let t=e.getBoundingClientRect();return t.top>window.innerHeight}(n))return;u("pending");let r=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(u("visible"),r.disconnect())})},{threshold:.15,rootMargin:"0px 0px -40px 0px"});return r.observe(n),()=>r.disconnect()},[]),(0,r.jsx)(t,{ref:c,className:"reveal ".concat("pending"===a?"is-pending ":"visible"===a?"is-visible ":"").concat(s),style:n?{"--reveal-delay":"".concat(n,"ms")}:void 0,...l,children:o})}},68805:function(e,t,n){n.d(t,{Z:function(){return Text}});var r=n(31549);function Text(e){let{className:t="",children:n,divMode:i=!1}=e;return i?(0,r.jsx)("div",{className:"text-lg leading-loose md:text-lg text-normalbig "+t,children:n}):(0,r.jsx)("p",{className:"text-lg leading-loose md:text-lg text-normalbig "+t,children:n})}},48910:function(e,t,n){n.d(t,{F:function(){return VettingNote},Z:function(){return TrustStats}});var r=n(31549);n(44194);var i=n(98975),s=n.n(i),o=n(88734),l=n(724),c=n(54750);let a=[{value:4.8,decimals:1,suffix:"",caption:"/5",label:"Average Google Review"},{value:3500,suffix:"+",caption:"",label:"Vetted Carers"},{value:2,suffix:" Million+",caption:"",label:"Hours of Care Delivered"},{value:1350,suffix:"+",caption:"",label:"Families Helped"}];function VettingNote(e){let{linkToVetting:t=!0,className:n=""}=e;return(0,r.jsxs)("p",{className:"text-sm md:text-base text-normallight max-w-3xl ".concat(n),children:["Vetted means we check identity and right to work and require an enhanced DBS certificate before a carer can use the platform, and we interview carers about their experience and approach to care. You choose your carer, and remain responsible for checking their skills, training and documents suit your needs.",t&&(0,r.jsxs)(r.Fragment,{children:[" ",(0,r.jsx)(s(),{href:"/best-carers",className:"text-forestgreen font-semibold underline decoration-forestgreen/30 decoration-2 underline-offset-4 transition-colors hover:decoration-forestgreen",children:"See what we check, and what you check"}),"."]})]})}function TrustStats(e){let{linkToVetting:t=!0,showVettingNote:n=!0}=e;return(0,r.jsxs)(o.Z,{colour:"cream",feather:!1,children:[(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 text-center gap-5 py-10 xl:px-20",children:a.map((e,t)=>(0,r.jsxs)(l.Z,{delay:90*t,className:"p-5 rounded-2xl bg-white ring-1 ring-forestgreen/10 shadow-soft flex flex-col gap-1 transition-all duration-200 ease-out hover:-translate-y-1 hover:shadow-lift",children:[(0,r.jsxs)("div",{className:"font-display text-3xl font-semibold text-forestgreen",children:[(0,r.jsx)(c.Z,{value:e.value,decimals:e.decimals||0,suffix:e.suffix}),e.caption&&(0,r.jsx)("span",{className:"text-base font-sans font-semibold text-granite",children:e.caption})]}),(0,r.jsx)("div",{className:"text-normallight",children:e.label})]},e.label))}),n&&(0,r.jsx)(VettingNote,{linkToVetting:t,className:"text-center pb-10 mx-auto"})]})}}}]);
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.