(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{28566:function(e,t,a){Promise.resolve().then(a.bind(a,64404)),Promise.resolve().then(a.bind(a,27640)),Promise.resolve().then(a.bind(a,90239)),Promise.resolve().then(a.t.bind(a,84080,23)),Promise.resolve().then(a.bind(a,10912)),Promise.resolve().then(a.bind(a,61481)),Promise.resolve().then(a.t.bind(a,78758,23)),Promise.resolve().then(a.bind(a,88726)),Promise.resolve().then(a.bind(a,72198)),Promise.resolve().then(a.bind(a,49760)),Promise.resolve().then(a.t.bind(a,49714,23))},42883:function(e,t,a){"use strict";a.d(t,{gQ:function(){return o},ib:function(){return i},kS:function(){return l},x4:function(){return s},y1:function(){return r}}),a(74590);var n=a(58064),l=(0,n.$)("c765cd5b604679ea5eaa92edcbe49c5b34e45ab3"),s=(0,n.$)("f489c85dcb805a78608e8da8b027a2edaddb2985"),r=(0,n.$)("547e3ddbcf4e819292b40a5677f924fe5a52f964"),i=(0,n.$)("27374917e367bdd9147f656f5ce78007e0e675e5"),o=(0,n.$)("568172e21573302d73407cf63d07f379f57bcafe")},54200:function(e,t,a){"use strict";a.d(t,{BA:function(){return i},Nq:function(){return s},a1:function(){return o},c4:function(){return l},eG:function(){return r},r:function(){return d}}),a(74590);var n=a(58064),l=(0,n.$)("8c38e6d2907aaa61bd4ea072a60114dfc785e532"),s=(0,n.$)("86156b91000883f7e7e9e99f1f70cf8cba7a1da6"),r=(0,n.$)("d00235614222363525f06493b4e8bfbe64165575"),i=(0,n.$)("00a35076009903cd848cad3aef2e9a1e9b449cac"),o=(0,n.$)("ed28f385a551e267223f79612e84d5f2110af5ae"),d=(0,n.$)("d920d263b0851badc77698b015451578e9dad73f")},68677:function(e,t,a){"use strict";var n=a(57437),l=a(56800),s=a.n(l);t.Z=e=>{let{children:t,className:a,...l}=e;return(0,n.jsx)("button",{type:"button",className:s()("flex h-9 min-w-[114px] items-center justify-center rounded-[5px] bg-main\n        px-3 py-[6px] text-sm font-semibold leading-[150%] text-white transition-opacity\n        hover:opacity-80 disabled:cursor-default disabled:opacity-60 disabled:hover:opacity-60 lg:w-full lg:text-xl lg:font-normal lg:py-4 lg:h-[52px] lg:rounded-xl",a),...l,children:t})}},46689:function(e,t,a){"use strict";var n=a(57437),l=a(80420);t.default=e=>{let{className:t,src:a,loading:s="lazy",...r}=e;return(0,n.jsxs)(l.Avatar,{className:"h-[auto] w-[auto] overflow-visible !rounded-none",...r,children:[(0,n.jsx)(l.AvatarImage,{src:a,className:t,loading:s}),(0,n.jsx)(l.AvatarFallback,{className:t})]})}},72198:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return M}});var n=a(57437),l=a(2265),s=a(13304),r=a(49354);let i=s.fC;s.xz;let o=s.h_;s.x8;let d=l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,r.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 lg:-z-20 lg:hidden",a),...l})});d.displayName=s.aV.displayName;let c=l.forwardRef((e,t)=>{let{className:a,children:l,scrollable:i=!1,overlayClass:c,...u}=e;return(0,n.jsx)(o,{children:i?(0,n.jsx)(d,{className:(0,r.cn)("z-40 grid max-h-screen place-items-center bg-black/30 backdrop-blur-sm",c),children:(0,n.jsx)(s.VY,{ref:t,className:(0,r.cn)("fixed left-[50%] top-[50%] z-[100] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-slate-200 bg-white p-6 shadow-lg duration-200 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 dark:border-slate-800 dark:bg-slate-950 sm:rounded-lg lg:h-full lg:min-w-full",a),...u,children:l})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(s.VY,{ref:t,className:(0,r.cn)("fixed left-[50%] top-[50%] z-40 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-slate-200 bg-white p-6 shadow-lg duration-200 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 dark:border-slate-800 dark:bg-slate-950 sm:rounded-lg lg:overflow-y-auto lg:data-[state=closed]:animate-none lg:data-[state=open]:animate-none",a),...u,children:l})]})})});c.displayName=s.VY.displayName;let u=l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,n.jsx)(s.Dx,{ref:t,className:a,...l})});u.displayName=s.Dx.displayName;let x=l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,n.jsx)(s.dk,{ref:t,className:(0,r.cn)("text-sm text-slate-500 dark:text-slate-400",a),...l})});x.displayName=s.dk.displayName;var h=a(7824),m=a(74300),f=e=>{let{children:t,...a}=e;return(0,n.jsx)("button",{type:"button",...a,children:t})},p=a(56800),g=a.n(p);let C=e=>{let[t,a]=(0,l.useState)(0),[n,s]=(0,l.useState)([]),r=(0,l.useCallback)(t=>{e&&e.scrollTo(t)},[e]),i=(0,l.useCallback)(e=>{s(e.scrollSnapList())},[]),o=(0,l.useCallback)(e=>{a(e.selectedScrollSnap())},[]);return(0,l.useEffect)(()=>{e&&(i(e),o(e),e.on("reInit",i).on("reInit",o).on("select",o))},[e,i,o]),{selectedIndex:t,scrollSnaps:n,onDotButtonClick:r}},w=(0,a(46240).QS)({selectedIndex:0,carouselApi:null});var b=a(18032),L=()=>{let[e,t]=(0,m.Z)({containScroll:!1},[(0,b.Z)()]),{selectedIndex:a,scrollSnaps:s,onDotButtonClick:r}=C(t);return(0,l.useEffect)(()=>{w({...w(),selectedIndex:a})},[a]),(0,l.useEffect)(()=>{t&&w({...w(),carouselApi:t})},[t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:e,className:"mb-10 h-[540px] w-full min-w-[276px] max-w-[336px] self-center   overflow-hidden rounded-[30px] shadow-[0px_4px_8px_0px_#00000026]",children:(0,n.jsx)("div",{className:"flex h-full",children:h.h6.map((e,t)=>(0,n.jsx)("img",{src:e,alt:"",width:325,height:540,className:"min-h-[540px] min-w-0 flex-[0_0_100%] bg-white object-cover object-[0_28%]"},"slide ".concat(t+1)))})}),(0,n.jsx)("div",{className:"flex gap-1 self-center",children:s.map((e,t)=>(0,n.jsx)(f,{onClick:()=>r(t),className:g()("h-2 w-2 rounded-[50%] border-[1px] border-main",{"bg-main":a===t})},t))})]})},v=a(68677),j=a(16773),N=a(16463),y=e=>{let{...t}=e;return(0,n.jsxs)("div",{...t,children:[(0,n.jsx)("svg",{width:"375",height:"863",viewBox:"0 0 375 863",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute",children:(0,n.jsx)("path",{d:"M815.531 -339C97.246 -231.103 650.057 216.032 14.6278 476.084C-331.875 617.891 -93.2691 1106.2 -560 1137.65",stroke:"#D9C2BD",strokeOpacity:"0.54"})}),(0,n.jsx)("svg",{width:"375",height:"863",viewBox:"0 0 375 863",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute",children:(0,n.jsx)("path",{d:"M847.591 -327.902C129.307 -220.005 682.118 227.13 46.6886 487.182C-299.814 628.989 -61.2083 1117.3 -527.939 1148.74",stroke:"#D9C2BD",strokeOpacity:"0.54"})}),(0,n.jsx)("svg",{width:"375",height:"863",viewBox:"0 0 375 863",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute",children:(0,n.jsx)("path",{d:"M879.652 -315.571C161.368 -207.674 714.179 239.461 78.7494 499.513C-267.754 641.32 -29.1475 1129.63 -495.878 1161.07",stroke:"#D9C2BD",strokeOpacity:"0.54"})}),(0,n.jsx)("svg",{width:"375",height:"863",viewBox:"0 0 375 863",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute",children:(0,n.jsx)("path",{d:"M905.547 -295.841C187.263 -187.944 740.074 259.191 104.645 519.242C-241.858 661.05 -3.2522 1149.36 -469.983 1180.8",stroke:"#D9C2BD",strokeOpacity:"0.54"})})]})},k=a(31725),V=a(54200),H=a(59272);let P=e=>{let{onClick:t}=e,[a,s]=(0,l.useState)(0),r=h.xh[a],i=0!==a;return(0,n.jsxs)("div",{className:"relative flex h-screen w-screen gap-[32px] p-[35px]",children:[(0,n.jsx)("div",{className:"flex flex-1 justify-center self-center",children:(0,n.jsxs)("div",{className:"w-[388px]",children:[i&&(0,n.jsxs)("span",{className:"mb-[20px] flex w-fit cursor-pointer items-center gap-[6px] text-right text-xl tracking-[0.06px] text-[#bc9b76]",onClick:()=>{i&&s(e=>e-1)},children:[(0,n.jsx)(H.Z,{}),"Back"]}),(0,n.jsx)("div",{className:"mb-12 text-5xl/[57.6px] font-semibold tracking-[1%] text-[#0C1421]",children:a+1+""}),(0,n.jsx)("div",{className:"mb-12 text-4xl/[43.2px] font-semibold tracking-[1%] text-[#0C1421]",children:r.name}),(0,n.jsx)("div",{className:"mb-12 text-sm/[17px] font-light text-[#313957]",children:r.description}),a!==h.SZ.length-1?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.Z,{className:"mb-12 h-[52px] w-full rounded-xl text-xl/[100%] !font-normal tracking-[1%]",onClick:()=>{s(e=>e+1)},children:"Next"}),(0,n.jsx)(v.Z,{className:"h-[52px] w-full rounded-xl border-[1px] !border-main bg-white text-xl/[100%] !font-normal tracking-[1%] !text-main",onClick:t,children:"Skip"})]}):(0,n.jsx)(v.Z,{className:"h-[52px] w-full rounded-xl text-xl/[100%] !font-normal tracking-[1%]",onClick:t,children:"Get Started"})]})}),(0,n.jsx)("ul",{className:"flex flex-1 justify-center",children:h.SZ.map((e,t)=>(0,n.jsx)("li",{className:g()("flex-1",{hidden:a!==t}),children:(0,n.jsx)("div",{className:"relative h-full w-full flex-1",children:(0,n.jsx)("img",{className:"absolute left-1/2 top-1/2 mx-auto max-h-full max-w-[630px] -translate-x-1/2 -translate-y-1/2",src:e,alt:"onboarding"})})},"slide ".concat(t+1)))})]})},Z=()=>{let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{t(window.innerWidth>=1024);let e=()=>{t(window.innerWidth>=1024)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),{isDesktop:e}};var M=()=>{let[e,t]=(0,l.useState)(!0),a=(0,N.useRouter)(),{selectedIndex:s,carouselApi:r}=(0,j.l)(w),{isDesktop:o}=Z(),d=h.xh[s],m=()=>{(0,V.c4)(),t(!1),a.push("/profiles/add")};return(0,n.jsx)(i,{open:e,children:o?(0,n.jsxs)(c,{scrollable:!1,className:"hidden min-h-full min-w-full overflow-y-auto p-0 lg:block",children:[(0,n.jsx)(k.f,{asChild:!0,children:(0,n.jsx)(u,{children:"Onboarding"})}),(0,n.jsx)(k.f,{asChild:!0,children:(0,n.jsx)(x,{children:"Complete the onboarding process to better understand how the app works and how to get the most out of it."})}),(0,n.jsx)(P,{onClick:m})]}):(0,n.jsxs)(c,{scrollable:!0,overlayClass:"overflow-x-hidden",className:"relative left-[initial] top-[initial] flex w-screen translate-x-[initial]   translate-y-[initial] flex-col justify-start sm:w-full sm:max-w-[375px] lg:hidden",onOpenAutoFocus:e=>e.preventDefault(),children:[(0,n.jsx)(k.f,{asChild:!0,children:(0,n.jsx)(u,{children:"Onboarding"})}),(0,n.jsx)(k.f,{asChild:!0,children:(0,n.jsx)(x,{children:"Complete the onboarding process to better understand how the app works and how to get the most out of it."})}),(0,n.jsx)(y,{className:"absolute left-0 top-0 z-[-1]"}),(0,n.jsx)(L,{}),(0,n.jsxs)("div",{className:"mb-6 mt-[14px] text-center text-[26px] font-semibold leading-9 text-charcoal",children:[s+1+"."," ",d.name]}),(0,n.jsx)("div",{className:"mb-6 text-center text-sm font-light leading-[18px] text-charcoal",children:d.description}),(0,n.jsx)("div",{className:"flex gap-4 self-center",children:s!==h.xh.length-1?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.Z,{className:"border-[1px] !border-main bg-white !font-medium !text-main",onClick:m,children:"Skip"}),(0,n.jsx)(v.Z,{className:"!font-medium",onClick:()=>{(null==r?void 0:r.canScrollNext)&&r.scrollNext()},children:"Next"})]}):(0,n.jsx)(v.Z,{className:"!font-medium",onClick:m,children:"Get Started"})})]})})}},59272:function(e,t,a){"use strict";var n=a(57437);t.Z=e=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"8",viewBox:"0 0 16 8",fill:"none",...e,children:(0,n.jsx)("path",{d:"M0.183015 4.45668L3.44933 7.81213C3.69398 8.06345 4.0897 8.06252 4.33323 7.80994C4.57673 7.55739 4.57579 7.14891 4.33114 6.89755L2.13851 4.64516L15.3747 4.64516C15.7199 4.64516 15.9997 4.35632 15.9997 4C15.9997 3.64368 15.7199 3.35484 15.3747 3.35484L2.13855 3.35484L4.33111 1.10245C4.57576 0.851095 4.5767 0.442611 4.3332 0.190063C4.08967 -0.0625505 3.69392 -0.0634212 3.44929 0.18787L0.183546 3.54271C-0.0612354 3.7949 -0.0610161 4.20532 0.183015 4.45668Z",fill:"#BC9B76"})})},49760:function(e,t,a){"use strict";a.d(t,{default:function(){return H}});var n=a(57437),l=()=>(0,n.jsx)("svg",{width:"161",height:"19",viewBox:"0 0 161 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87428 0.27636C3.33345 0.703375 3.09952 1.54512 3.09952 3.06459C3.09952 4.64909 3.16811 4.70455 4.2469 3.99201C4.92188 3.54605 5.0265 3.32896 5.10266 2.2167L5.14354 1.61936H7.33897C9.90125 1.61936 10.6456 1.85249 11.5042 2.92362C11.9377 3.46464 12.0326 3.71672 12.0326 4.32754C12.0326 5.25325 11.8859 5.46745 9.87809 7.47469C7.69871 9.65312 7.22692 10.7514 7.92068 12.0302C8.0736 12.3118 9.37511 13.9055 10.8132 15.5716L13.428 18.601H15.921C17.9451 18.601 18.4048 18.5573 18.365 18.369C18.3235 18.1719 16.4344 16.2454 11.9115 11.7877C11.3952 11.2789 10.9728 10.7896 10.9728 10.7007C10.9728 10.6116 11.5611 9.84171 12.2803 8.98989C13.8147 7.17243 14.3001 6.15575 14.3022 4.7549C14.3041 3.58462 14.0191 2.7707 13.2886 1.85915C12.0867 0.359476 10.9006 0.00260674 7.10777 4.67004e-05C4.68735 -0.00165999 4.17044 0.0425427 3.87428 0.27636ZM5.73918 4.93854C2.34884 7.48459 1.16044 8.67347 0.504382 10.1755C-0.364855 12.1659 -0.131838 13.991 1.36908 16.9472L2.16549 18.5156L4.6766 18.5624C6.86793 18.6032 7.18756 18.5754 7.18756 18.3431C7.18756 18.1967 6.45671 16.9852 5.56355 15.651C3.72454 12.9039 3.40234 12.2811 3.40234 11.4736C3.40234 10.1351 4.04007 9.31946 7.23676 6.56963C8.65592 5.34883 9.84311 4.25825 9.87491 4.14595C9.92684 3.96231 8.80172 2.89938 8.55538 2.89938C8.49997 2.89938 7.23268 3.81707 5.73918 4.93854ZM31.8293 2.99444C31.7668 3.06732 31.7158 5.9204 31.7158 9.33465V15.5422L33.0406 15.4929L34.3654 15.4436L34.4055 10.2808L34.4455 5.11808L35.6168 5.11911C37.0839 5.1203 37.8561 5.35719 38.4036 5.97433C38.9653 6.60752 38.9826 7.45011 38.4484 8.16573C38.0636 8.68132 37.578 8.92248 36.523 9.12216L35.9552 9.22969V10.2291C35.9552 11.1803 35.9794 11.2446 36.4583 11.5631C36.7351 11.7471 37.2971 12.4608 37.7074 13.1488C38.1178 13.8369 38.6925 14.614 38.9849 14.8758C39.6181 15.4427 40.8545 15.7486 41.8884 15.594C42.6076 15.4864 42.6172 15.4769 42.6151 14.8669C42.6113 13.7331 42.498 13.5307 41.8094 13.4266C41.3241 13.3532 41.0633 13.1815 40.6767 12.6808C40.4004 12.3229 39.9224 11.7073 39.6146 11.3127L39.0548 10.595L39.6206 10.3075C40.3733 9.92482 41.2033 8.9672 41.4182 8.23366C41.6515 7.43646 41.5293 6.00642 41.1577 5.18806C40.7773 4.34973 39.6903 3.50492 38.6451 3.23492C37.7274 2.99786 31.9996 2.79595 31.8293 2.99444ZM48.8947 3.11101C48.8541 3.23031 48.8389 6.05387 48.8608 9.38568L48.9006 15.4436L53.3293 15.4888L57.758 15.534V14.4221V13.3102H54.6542H51.5503V11.7781V10.246L54.2378 10.1994L56.9253 10.1528L56.9704 9.08615L57.0154 8.01947H54.2829H51.5503V6.56878V5.11808H54.6614H57.7724L57.7274 4.0514L57.6823 2.98472L53.3255 2.93949C49.9123 2.90399 48.9526 2.94102 48.8947 3.11101ZM63.3602 4.00669V5.11808H65.4019H67.4438L67.4838 10.2808L67.5239 15.4436L68.8487 15.4929L70.1735 15.5422V10.3302V5.11808H72.3005H74.4274L74.3824 4.0514L74.3373 2.98472L68.8487 2.94L63.3602 2.89511V4.00669ZM80.5384 3.11357C80.4982 3.2315 80.4833 6.05387 80.5052 9.38568L80.545 15.4436L84.9737 15.4888L89.4024 15.534V14.4221V13.3102H86.3743H83.3461V11.7783V10.2462L85.9579 10.1996L88.5697 10.1528L88.6148 9.08615L88.6598 8.01947H86.003H83.3461V6.56878V5.11808H86.3743H89.4024V4.00873V2.89938H85.0069C81.6202 2.89938 80.5945 2.94853 80.5384 3.11357ZM96.3077 3.16938C96.2572 3.31786 96.2158 6.03799 96.2158 9.21415C96.2158 12.3903 96.2572 15.1104 96.3077 15.2589C96.4425 15.6549 98.8659 15.6549 99.0007 15.2589C99.0513 15.1104 99.0926 12.768 99.0926 10.0535V5.11808L100.266 5.11911C102.414 5.12081 103.332 5.71714 103.332 7.11185C103.332 8.04046 102.906 8.58541 101.95 8.87981C100.425 9.34932 100.535 9.25443 100.484 10.1479C100.439 10.9335 100.467 11.0002 101.13 11.6706C101.511 12.0561 102.145 12.9054 102.539 13.558C103.488 15.1273 104.235 15.5858 105.845 15.5858C106.467 15.5858 107.035 15.5154 107.107 15.4294C107.18 15.3432 107.203 14.8696 107.159 14.3769C107.081 13.5068 107.065 13.4809 106.606 13.4797C105.969 13.4783 105.418 13.0377 104.705 11.9601C104.377 11.4653 103.993 10.9645 103.85 10.8471C103.62 10.6573 103.669 10.5911 104.295 10.2499C105.707 9.4792 106.373 7.94232 106.052 6.1962C105.726 4.42926 104.461 3.38954 102.257 3.07807C101.562 2.97977 99.9595 2.89938 98.6964 2.89938C96.7417 2.89938 96.386 2.93966 96.3077 3.16938ZM113.476 9.21415V15.5289H114.763H116.05V11.2325V6.93589L116.694 7.8901C117.048 8.41474 118.427 10.3506 119.76 12.192L122.182 15.54L123.469 15.4917L124.756 15.4436V9.21415V2.98472H123.469H122.182V7.37109C122.182 9.78368 122.14 11.7037 122.088 11.6378C122.036 11.5721 121.797 11.2054 121.556 10.8229C121.1 10.0977 118.076 5.85077 116.684 3.98057L115.88 2.89938H114.678H113.476V9.21415ZM132.192 3.16938C132.141 3.31786 132.1 6.03799 132.1 9.21415C132.1 12.3903 132.141 15.1104 132.192 15.2589C132.265 15.4755 132.535 15.5289 133.554 15.5289H134.825V9.21415V2.89938H133.554C132.535 2.89938 132.265 2.9528 132.192 3.16938ZM141.033 4.00669V5.11808H143.075H145.116L145.156 10.2808L145.197 15.4436L146.47 15.4936C147.388 15.5296 147.779 15.4818 147.869 15.3229C147.937 15.2016 147.994 12.8559 147.995 10.1102L147.998 5.11808H150.049H152.1L152.055 4.0514L152.01 2.98472L146.521 2.94L141.033 2.89511V4.00669ZM158.216 3.28339C158.171 3.49468 158.152 6.31704 158.175 9.55549L158.218 15.4436L159.542 15.4929L160.867 15.5422V9.22081V2.89938H159.583C158.377 2.89938 158.294 2.92276 158.216 3.28339Z",fill:"white"})}),s=e=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",...e,children:(0,n.jsx)("path",{d:"M5.31396 24.2442H26.2442M5.31396 8.54651H26.2442H5.31396ZM5.31396 16.3953H26.2442H5.31396Z",stroke:"white",strokeWidth:"2.61628",strokeLinecap:"round",strokeLinejoin:"round"})});let r=(0,a(46240).QS)({isOpen:!1}),i=()=>r({isOpen:!r().isOpen});var o=a(16773),d=a(95127),c=a(87138),u=a(2265),x=a(54887),h=e=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,n.jsx)("path",{d:"M15 19L8 12L15 5",stroke:"#AE8965",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),m=a(44539),f=a(7824),p=e=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,n.jsx)("path",{d:"M9 5L16 12L9 19",stroke:"#AE8965",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),g=e=>{let{linkInfo:{name:t,href:a,description:l}}=e;return(0,n.jsxs)(c.default,{href:a,className:"group flex cursor-pointer justify-between   gap-3 rounded-md p-[10px] transition-colors hover:bg-main/5",children:[(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("div",{className:"text-xl/[150%] font-extrabold text-main",children:t}),(0,n.jsx)("div",{className:"whitespace-pre-wrap text-xs/[150%] font-light text-[#818181]",children:l})]}),(0,n.jsx)(p,{className:"min-h-6 min-w-6 -translate-x-2   transition-[transform] group-hover:translate-x-0"})]})},C=e=>{let{isLoggedIn:t}=e;return(0,n.jsx)("ul",{className:"flex flex-col gap-[60px]",children:f.og.filter(e=>t||!e.needLogin).map(e=>(0,n.jsx)("li",{onClick:i,children:(0,n.jsx)(g,{linkInfo:e})},e.name))})},w=a(42883),b=a(16463),L=e=>{let{isLoggedIn:t}=e,l=(0,b.useRouter)();(0,u.useEffect)(()=>(document.documentElement.classList.add("overflow-hidden"),()=>{document.documentElement.classList.remove("overflow-hidden")}),[]);let s=async()=>{let e=await (0,w.kS)();(null==e?void 0:e.serverError)?(await Promise.resolve().then(a.bind(a,88726))).default.error(e.serverError,{id:"NavMenuToast"}):(l.replace("/auth/login"),l.refresh(),i())};return(0,n.jsxs)(m.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed left-0 top-0 z-10 flex h-full min-h-dvh w-full flex-col   overflow-auto bg-white px-[38px] pb-10 pt-[52px]",children:[(0,n.jsx)(h,{className:"mb-12 ml-2 min-h-6 min-w-6 cursor-pointer",onClick:i}),(0,n.jsx)(C,{isLoggedIn:t}),t?(0,n.jsx)("button",{className:"mt-16 w-fit border-none bg-none   px-[10px] text-lg/[150%] text-main outline-none",onClick:s,children:"Logout"}):(0,n.jsx)(c.default,{href:"/auth/login",children:(0,n.jsx)("button",{onClick:i,className:"mt-16 w-fit border-none bg-none px-[10px] text-lg/[150%] text-main outline-none",children:"Login"})})]})},v=e=>(0,n.jsx)("svg",{viewBox:"0 0 271 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.52669 0.797836C5.61559 1.51719 5.22152 2.93521 5.22152 5.49494C5.22152 8.16421 5.33706 8.25765 7.15441 7.05728C8.29149 6.30601 8.46774 5.9403 8.59604 4.06657L8.6649 3.06028H12.3634C16.6798 3.06028 17.9337 3.45302 19.3802 5.25745C20.1105 6.16887 20.2704 6.59352 20.2704 7.62253C20.2704 9.182 20.0232 9.54283 16.6408 12.9243C12.9694 16.5941 12.1746 18.4442 13.3433 20.5986C13.6009 21.073 15.7935 23.7578 18.2161 26.5645L22.6211 31.6678H26.8207C30.2307 31.6678 31.0051 31.5942 30.938 31.2771C30.8681 30.945 27.6857 27.6996 20.0663 20.19C19.1966 19.3329 18.4849 18.5086 18.4849 18.3588C18.4849 18.2088 19.4761 16.9118 20.6877 15.4768C23.2725 12.4151 24.0903 10.7024 24.0938 8.34247C24.0969 6.37099 23.6169 4.99984 22.3862 3.46423C20.3615 0.937856 18.3633 0.336667 11.9739 0.332354C7.89639 0.329479 7.0256 0.403944 6.52669 0.797836ZM9.66833 8.65183C3.9569 12.941 1.95489 14.9438 0.84969 17.4742C-0.614642 20.8271 -0.222096 23.9018 2.30637 28.8818L3.64802 31.5241L7.87828 31.6028C11.5698 31.6716 12.1083 31.6247 12.1083 31.2334C12.1083 30.9867 10.8771 28.9459 9.37246 26.6982C6.27443 22.0704 5.73165 21.0212 5.73165 19.661C5.73165 17.406 6.80598 16.032 12.1912 11.3996C14.5819 9.34301 16.5819 7.5058 16.6355 7.31662C16.7229 7.00726 14.8275 5.21663 14.4126 5.21663C14.3192 5.21663 12.1843 6.76258 9.66833 8.65183ZM53.6202 5.37677C53.5149 5.49954 53.4289 10.3059 53.4289 16.0576V26.515L55.6608 26.4319L57.8926 26.3488L57.9602 17.6516L58.0275 8.95429L60.0007 8.95602C62.4723 8.95803 63.7731 9.3571 64.6954 10.3967C65.6417 11.4634 65.6708 12.8829 64.7709 14.0884C64.1226 14.957 63.3046 15.3632 61.5273 15.6996L60.5708 15.8808V17.5644C60.5708 19.1668 60.6116 19.2752 61.4184 19.8117C61.8846 20.1216 62.8314 21.324 63.5226 22.4829C64.2139 23.6422 65.1821 24.9512 65.6746 25.3923C66.7413 26.3474 68.8242 26.8626 70.566 26.6021C71.7776 26.421 71.7937 26.4049 71.7901 25.3773C71.7837 23.4674 71.5929 23.1264 70.4329 22.951C69.6154 22.8274 69.1759 22.5381 68.5247 21.6946C68.0592 21.0917 67.254 20.0546 66.7355 19.3899L65.7925 18.1809L66.7457 17.6964C68.0136 17.0518 69.4119 15.4386 69.7738 14.2028C70.1669 12.8599 69.961 10.4508 69.3351 9.07218C68.6941 7.65991 66.863 6.23672 65.1023 5.78188C63.5563 5.38252 53.9072 5.04239 53.6202 5.37677ZM82.3689 5.57314C82.3006 5.77411 82.2748 10.5307 82.3118 16.1436L82.3789 26.3488L89.8396 26.425L97.3002 26.5012V24.6281V22.7549H92.0714H86.8425V20.1739V17.5929L91.37 17.5144L95.8974 17.4359L95.9734 15.639L96.0491 13.842H91.446H86.8425V11.3982V8.95429H92.0836H97.3245L97.2487 7.15734L97.1727 5.36038L89.8332 5.28419C84.0832 5.22439 82.4664 5.28678 82.3689 5.57314ZM106.738 7.08201V8.95429H110.177H113.617L113.684 17.6516L113.752 26.3488L115.984 26.4319L118.216 26.515V17.7347V8.95429H121.799H125.382L125.306 7.15734L125.23 5.36038L115.984 5.28505L106.738 5.20944V7.08201ZM135.676 5.57745C135.609 5.77612 135.584 10.5307 135.621 16.1436L135.688 26.3488L143.148 26.425L150.609 26.5012V24.6281V22.7549H145.508H140.406V20.1742V17.5932L144.806 17.5147L149.206 17.4359L149.282 15.639L149.358 13.842H144.882H140.406V11.3982V8.95429H145.508H150.609V7.08546V5.21663H143.204C137.499 5.21663 135.771 5.29943 135.676 5.57745ZM162.242 5.67147C162.157 5.92161 162.087 10.504 162.087 15.8546C162.087 21.2052 162.157 25.7876 162.242 26.0377C162.469 26.7048 166.551 26.7048 166.778 26.0377C166.864 25.7876 166.933 21.8415 166.933 17.2686V8.95429L168.91 8.95602C172.529 8.95889 174.075 9.96347 174.075 12.313C174.075 13.8774 173.357 14.7954 171.747 15.2914C169.179 16.0823 169.363 15.9225 169.277 17.4276C169.201 18.751 169.249 18.8634 170.365 19.9928C171.007 20.6423 172.075 22.0729 172.74 23.1724C174.337 25.8161 175.596 26.5883 178.308 26.5883C179.356 26.5883 180.313 26.4699 180.435 26.325C180.557 26.1798 180.596 25.3819 180.522 24.5519C180.391 23.0861 180.364 23.0424 179.59 23.0404C178.517 23.0381 177.589 22.2958 176.387 20.4804C175.836 19.6469 175.188 18.8033 174.948 18.6055C174.56 18.2858 174.643 18.1743 175.697 17.5995C178.076 16.3011 179.198 13.7121 178.656 10.7705C178.108 7.79389 175.977 6.04236 172.265 5.51765C171.093 5.35204 168.394 5.21663 166.266 5.21663C162.973 5.21663 162.374 5.28448 162.242 5.67147ZM191.164 15.8546V26.4926H193.332H195.501V19.2547V12.0166L196.585 13.6241C197.181 14.5079 199.505 17.7692 201.75 20.8711L205.831 26.5113L207.999 26.4299L210.167 26.3488V15.8546V5.36038H207.999H205.831V12.7498C205.831 16.814 205.759 20.0486 205.672 19.9376C205.585 19.8269 205.182 19.209 204.776 18.5647C204.006 17.3431 198.913 10.1886 196.568 7.03802L195.214 5.21663H193.189H191.164V15.8546ZM222.692 5.67147C222.607 5.92161 222.538 10.504 222.538 15.8546C222.538 21.2052 222.607 25.7876 222.692 26.0377C222.817 26.4026 223.271 26.4926 224.988 26.4926H227.129V15.8546V5.21663H224.988C223.271 5.21663 222.817 5.30662 222.692 5.67147ZM237.586 7.08201V8.95429H241.026H244.466L244.533 17.6516L244.601 26.3488L246.747 26.4331C248.292 26.4937 248.952 26.4132 249.102 26.1456C249.217 25.9411 249.313 21.9896 249.316 17.3641L249.319 8.95429H252.775H256.23L256.155 7.15734L256.079 5.36038L246.833 5.28505L237.586 5.20944V7.08201ZM266.534 5.86353C266.457 6.21947 266.426 10.9741 266.465 16.4296L266.536 26.3488L268.768 26.4319L271 26.515V15.8658V5.21663H268.837C266.805 5.21663 266.665 5.25601 266.534 5.86353Z",fill:"#4B4F36"})}),j=e=>{let{href:t,name:a}=e,l=(0,b.usePathname)();return(0,n.jsxs)(c.default,{href:t,className:"relative font-medium text-base text-gray500 py-[20px]",children:[a,l===t&&(0,n.jsx)("span",{className:"absolute left-1/2 bottom-[20px] transform -translate-x-1/2 w-full h-[3px] bg-main mb-[-28px]"})]})},N=()=>{let e=f.og.slice(0,6);return(0,n.jsx)("ul",{className:"flex lg:gap-6 xl:gap-8 2xl:gap-11",children:e.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(j,{href:e.href,name:e.name})},e.name))})},y=a(46689),k=a(88726),V=e=>{let{isLoggedIn:t,avatarUrl:a}=e,l=(0,b.useRouter)(),s="Log-out",r=async e=>{e.stopPropagation(),k.default.loading("Logging out...",{id:s});try{await (0,w.kS)(),k.default.success("Logout successfully",{id:s}),l.push("/auth/login")}catch(e){k.default.dismiss(s),k.default.error("Failed to logout",{id:s})}};return console.log(a),(0,n.jsxs)("header",{className:"relative mb-[5px] hidden items-center whitespace-nowrap py-6 shadow-header-bottom lg:flex lg:px-[30px] xl:px-[70px] ".concat(!t&&"justify-between"),children:[(0,n.jsx)(c.default,{href:"/",className:"lg:mr-10 xl:mr-[70px] 2xl:mr-[120px]",children:(0,n.jsx)(v,{className:"h-[28px] lg:w-[180px] xl:h-[32px] xl:w-[271px]"})}),(0,n.jsxs)("div",{className:"flex ".concat(t&&"flex-1 lg:gap-4 xl:justify-between"),children:[t&&(0,n.jsx)("nav",{className:"flex items-center",children:(0,n.jsx)(N,{})}),(0,n.jsxs)("div",{className:"flex items-center lg:flex-1 lg:justify-end lg:gap-3 xl:gap-8",children:[t&&(0,n.jsx)(c.default,{href:"/profile",children:(0,n.jsx)(y.default,{src:a||"",alt:"profile photo",className:"h-8 w-8 rounded-full bg-slate-100 object-cover"})}),t?(0,n.jsx)("button",{onClick:e=>r(e),className:"text-sm font-medium text-main",children:"Logout"}):(0,n.jsx)(c.default,{href:"/auth/login",className:"text-sm font-medium text-main",children:"Login"})]})]})]})},H=e=>{let{isLoggedIn:t,avatarUrl:a}=e,[h,m]=(0,u.useState)(!1),{isOpen:f}=(0,o.l)(r);return(0,u.useEffect)(()=>{m(!0)},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("header",{className:"flex items-center bg-ebony px-[14px] py-6 lg:hidden",children:[(0,n.jsx)(s,{onClick:i,className:"cursor-pointer"}),(0,n.jsx)(c.default,{href:"/",className:"mx-auto flex",children:(0,n.jsx)(l,{})}),h&&(0,x.createPortal)((0,n.jsx)(d.M,{children:f&&(0,n.jsx)(L,{isLoggedIn:t},"navMenu")}),document.body)]}),(0,n.jsx)(V,{avatarUrl:a,isLoggedIn:t})]})}},80420:function(e,t,a){"use strict";a.d(t,{Avatar:function(){return i},AvatarFallback:function(){return d},AvatarImage:function(){return o}});var n=a(57437),l=a(2265),s=a(44458),r=a(49354);let i=l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,n.jsx)(s.fC,{ref:t,className:(0,r.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...l})});i.displayName=s.fC.displayName;let o=l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,n.jsx)(s.Ee,{ref:t,className:(0,r.cn)("aspect-square h-full w-full",a),...l})});o.displayName=s.Ee.displayName;let d=l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,n.jsx)(s.NY,{ref:t,className:(0,r.cn)("flex h-full w-full items-center justify-center bg-slate-100 dark:bg-slate-800",a),...l})});d.displayName=s.NY.displayName},49354:function(e,t,a){"use strict";a.d(t,{cn:function(){return s}});var n=a(44839),l=a(96164);function s(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,l.m6)((0,n.W)(t))}},7824:function(e,t,a){"use strict";a.d(t,{A$:function(){return o},SZ:function(){return h},U3:function(){return l},Zy:function(){return d},dn:function(){return c},dv:function(){return f},h6:function(){return x},og:function(){return r},p_:function(){return i},vx:function(){return n},xh:function(){return m},zE:function(){return u},zl:function(){return s}});let n=[{label:"First Name",id:"firstName"},{label:"Last Name",id:"lastName"},{label:"Email",id:"email",type:"email"},{label:"Password",id:"password",type:"password"},{label:"Repeat Password",id:"repeatPassword",type:"password"}],l=[{label:"Password",id:"password"},{label:"Repeat password",id:"repeatPassword"}],s=[{label:"First name",id:"firstName"},{label:"Last name",id:"lastName"},{label:"Email",id:"email"},{label:"Password",id:"password",type:"password"}],r=[{name:"Home",href:"/dashboard",description:"",needLogin:!0},{name:"Family",href:"/family",description:"View & add family members – be they person or pet",needLogin:!0},{name:"Reterniti Pet Map",href:"/map",description:"",needLogin:!0},{name:"Your plan",href:"/your-plan",description:"Click here to select or upgrade the plan that suits you.",needLogin:!0},{name:"Contact Us",href:"/contact-us",description:"Get in Touch.",needLogin:!1},{name:"Privacy Policy",href:"/privacy-policy",description:"",needLogin:!1},{name:"Your Profile",href:"/profile",description:"Create & manage your own profile here.",needLogin:!0}],i={longitude:-122.431297,latitude:37.773972},o=[{id:"email",label:"Your email",type:"email",placeholder:"email@example.com"},{id:"subject",label:"Subject",placeholder:"Let us know how we can help you"}],d=[{src:"/images/profilePlaceholderPhoto1.webp"},{src:"/images/profilePlaceholderPhoto2.webp"},{src:"/images/profilePlaceholderPhoto3.webp"},{src:"/images/profilePlaceholderPhoto3.webp"},{src:"/images/profilePlaceholderPhoto4.webp"},{src:"/images/profilePlaceholderPhoto3.webp"}],c=Array(6).fill({fullName:"Family Member",avatarSrc:"/images/familyPlaceholderPhoto.webp"}),u=10,x=["/images/onboarding-1.png","/images/onboarding-2.png","/images/onboarding-3.png"],h=["/images/onboarding-desktop-1.png","/images/onboarding-desktop-2.png","/images/onboarding-desktop-3.png"],m=[{name:"Create a Profile for your Pet",description:"Create your own profile, then one for your departed pet. Capture their character! Add more than one if you like."},{name:"Add a Pet Memory & Place",description:"Upload your favourite photos of them. Create their own bespoke life map of their favourite places & things they loved doing."},{name:"Share with Friends & Family!",description:"Share the memories with people important to you and your departed pet. Who’s sent you a comment? Have friends send a photo you’ve never seen. Relive and relove."}],f=(e,t)=>"Hi"+"".concat(e?", ".concat(e,", "):"!")+"\n\nAs you know it's a really sad time. I've been remembering your pet and all the good times we shared. I've found this great app that helps people through the grief of losing pets.\n\nI've created a map of their favorite places and a slideshow. I'd love you to see it. Just click the link here and it'll take you to Reterniti's app.\n\nYou can help me remember other things too by adding photos you have or other moments you remember.\n\nCan you do this for me?"+"".concat(t?"\n\n"+"".concat(t):"")},49714:function(){}},function(e){e.O(0,[352,9140,231,6061,2498,6987,3956,3304,8726,4300,8471,6318,2971,7023,1744],function(){return e(e.s=28566)}),_N_E=e.O()}]);