1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[65738],{18015:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/caregiver/home",function(){return n(61206)}])},75150:function(e,r,n){"use strict";var t=n(15311),i=n(10823),s=n(99915),l=n(20867),a=n(97898);r.Z=e=>{let{children:r,heading:n,subheading:o,PreElement:c,withoutBorder:x,backDestination:u,variant:h}=e;return(0,t.jsxs)(i.xu,{sx:{position:"relative"},children:[(0,t.jsxs)(i.kC,{alignItems:"center",flexWrap:"wrap",sx:{borderBottom:x?"none":"default",borderColor:"gray",px:1,pt:4},children:[(0,t.jsxs)(i.kC,{alignItems:"center",onClick:()=>u?(0,a.JT)(u):window.history.back(),sx:{cursor:"pointer"},children:[(0,t.jsx)(i.kC,{fontSize:3,children:(0,t.jsx)(s.Z,{name:"caret-left",color:"labradorBlack"})}),(0,t.jsx)(l.Z,{as:"h2",pl:[1,1,1],sx:{fontSize:5,fontWeight:"book"},children:n})]}),(0,t.jsx)(l.Z,{as:"h5",fontSize:1,width:1,pl:3,pb:[3,3,4],children:o}),!!c&&c]}),(0,t.jsx)(i.xu,{variant:h||"layout.dashboard",children:r})]})}},61206:function(e,r,n){"use strict";n.r(r),n.d(r,{CAREGIVER_PROFILE_QUERY:function(){return g},__N_SSP:function(){return v}});var t=n(3247),i=n(15311);n(20132);var s=n(10823),l=n(94923),a=n(5724),o=n(84565),c=n(89865),x=n(81719),u=n(20867),h=n(99915),d=n(75150),j=n(39683),f=n(8286);function p(){let e=(0,t._)(["\n query getCaregiver {\n currentUser {\n ... on CurrentCaregiver {\n ...CaregiverParts\n slug\n }\n }\n }\n ","\n"]);return p=function(){return e},e}var v=!0;let g=(0,o.ZP)(p(),c.Qv.profile),m=e=>{let{label:r}=e,{t:n}=(0,a.Z)("caregiver/home");return(0,i.jsxs)(s.kC,{pt:1,sx:{alignItems:"center",cursor:"pointer",fontSize:3},children:[(0,i.jsx)(h.Z,{name:"edit",fontSize:3}),(0,i.jsx)(s.xv,{pl:1,sx:{color:"springGreen",fontSize:4},children:r})]})};function b(e){let{children:r,icon:n}=e;return(0,i.jsxs)(s.kC,{sx:{justifyContent:["space-between","space-between","flex-end"],flexDirection:["row","row","column-reverse"],borderBottom:"default",height:"100%"},children:[r,(0,i.jsx)(s.xu,{mb:3,sx:{fontSize:[5,5,6]},children:n})]})}let Z=e=>{let{caregiver:r}=e,{t:n}=(0,a.Z)("caregiver/home");return(0,i.jsx)(b,{icon:(0,i.jsx)(s.Ee,{variant:"avatar",src:r.avatar.profile,alt:"".concat(r.name," avatar"),sx:{width:["avatarSmallMobile","avatarSmallMobile","avatarSmallDesktop"],height:["avatarSmallMobile","avatarSmallMobile","avatarSmallDesktop"]}}),children:(0,i.jsxs)(s.xu,{pb:3,children:[(0,i.jsx)(u.Z,{as:"h3",children:n("accountInfo")}),(0,i.jsx)(j.Z,{href:"/user/edit",children:(0,i.jsx)(s.xu,{children:(0,i.jsx)(m,{label:n("editAccountInfo")})})})]})})},w=e=>{let{caregiver:r}=e,{t:n}=(0,a.Z)("caregiver/home");return(0,i.jsx)(b,{icon:(0,i.jsx)(h.Z,{name:"house"}),children:(0,i.jsxs)(s.xu,{pb:3,children:[(0,i.jsx)(u.Z,{as:"h3",children:n("servicesAndRates")}),(0,i.jsx)(j.Z,{href:"/caregiver/rates",children:(0,i.jsx)(s.xu,{children:(0,i.jsx)(m,{label:n("editServicesAndRates")})})})]})})},S=e=>{let{caregiver:r}=e,{t:n}=(0,a.Z)("caregiver/home"),[t,l]=r.slug.split(/-(.+)/);return(0,i.jsx)(b,{icon:(0,i.jsx)(h.Z,{name:"user"}),children:(0,i.jsxs)(s.xu,{pb:3,children:[(0,i.jsx)(u.Z,{as:"h3",children:n("dogSitterProfile")}),(0,i.jsx)(j.Z,{href:"/caregiver/profile",children:(0,i.jsx)(s.xu,{sx:{cursor:"pointer"},children:(0,i.jsx)(m,{label:n("editProfile")})})}),r.caregiverStatus==f.w8.ACTIVE&&(0,i.jsx)(j.Z,{href:{pathname:"/sitterprofile",query:{id:t,title:l}},children:(0,i.jsxs)(s.kC,{pt:1,sx:{alignItems:"center",cursor:"pointer",fontSize:3},children:[(0,i.jsx)(h.Z,{name:"eye-open",color:"springGreen"}),(0,i.jsx)(s.xv,{pl:1,sx:{color:"springGreen",fontSize:4},children:n("viewProfile")})]})})]})})};r.default=function(){let{t:e}=(0,a.Z)("caregiver/home"),{data:r}=(0,x.a)(g),n=r?r.currentUser:null;return(0,i.jsx)(l.Z,{title:e("title"),children:n&&(0,i.jsx)(d.Z,{heading:e("profile"),subheading:e("dogSitter"),variant:"layout.dashboardFull",children:(0,i.jsx)(s.xu,{children:(0,i.jsxs)(s.kC,{sx:{flexDirection:["column","column","row"],flexWrap:"wrap"},children:[(0,i.jsx)(s.xu,{width:[1,1,1/3],pt:3,px:[0,0,1],children:(0,i.jsx)(Z,{caregiver:n})}),(0,i.jsx)(s.xu,{width:[1,1,1/3],pt:3,px:[0,0,1],children:(0,i.jsx)(w,{caregiver:n})}),(0,i.jsx)(s.xu,{width:[1,1,1/3],pt:3,px:[0,0,1],children:(0,i.jsx)(S,{caregiver:n})})]})})})})}}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=18015)}),_N_E=e.O()}]); 2//# sourceMappingURL=home-3498c9aeeab65c61.js.map
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.