1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{13673:()=>{},64269:(e,r,l)=>{"use strict";l.d(r,{Ho:()=>a,YH:()=>i,Yq:()=>c,Zt:()=>d,a_:()=>s,cn:()=>n,rH:()=>u});var t=l(2821),o=l(75889);function n(){for(var e=arguments.length,r=Array(e),l=0;l<e;l++)r[l]=arguments[l];return(0,o.QP)((0,t.$)(r))}function i(e){return e>=85?"var(--score-ring-high)":e>=70?"var(--score-ring-mid)":"var(--score-ring-low)"}function u(e){return e>=90?"Excellent":e>=80?"Great":e>=70?"Good":e>=60?"Fair":"Needs Care"}function s(e){var r;return null!=(r=({"Tier 5":"#000000","Tier 4":"#262626","Tier 3":"#404040","Tier 2":"#737373","Tier 1":"#a3a3a3"})[e])?r:"#737373"}function a(e,r){var l,t,o,n,i,u,s,a,d,c,_,h,p,v,m,f,w,x,y;let g=[],k={hd_eye_bag_output:null!=(c=null==(l=e.hd_eye_bag)?void 0:l.ui_score)?c:0,hd_dark_circle_output:null!=(_=null==(t=e.hd_dark_circle)?void 0:t.ui_score)?_:0,hd_droopy_upper_eyelid_output:null!=(h=null==(o=e.hd_droopy_upper_eyelid)?void 0:o.ui_score)?h:0,hd_droopy_lower_eyelid_output:null!=(p=null==(n=e.hd_droopy_lower_eyelid)?void 0:n.ui_score)?p:0,hd_firmness_output:null!=(v=null==(i=e.hd_firmness)?void 0:i.ui_score)?v:0,hd_texture_output:null!=(m=null==(s=e.hd_texture)||null==(u=s.whole)?void 0:u.ui_score)?m:0,hd_wrinkle_output:null!=(f=null==(d=e.hd_wrinkle)||null==(a=d.whole)?void 0:a.ui_score)?f:0},b={hd_eye_bag_output:"Eye Bags",hd_dark_circle_output:"Dark Circles",hd_droopy_upper_eyelid_output:"Upper Eyelid",hd_droopy_lower_eyelid_output:"Lower Eyelid",hd_firmness_output:"Firmness",hd_texture_output:"Skin Texture",hd_wrinkle_output:"Wrinkles"},j=Object.keys(b);for(let[e,l]of Object.entries(r)){let r=null!=(x=null==(w=e.split("/").pop())?void 0:w.replace(".png",""))?x:"",t=j.find(e=>r.startsWith(e));t&&!g.find(e=>e.key===t)&&g.push({key:t,label:b[t],base64:l,score:null!=(y=k[t])?y:0})}return j.map(e=>g.find(r=>r.key===e)).filter(Boolean)}function d(e){var r,l,t,o,n,i,u,s,a,d,c,_,h,p,v,m,f,w,x,y,g,k,b,j,E,S,N,T,P,D,I,C,L,O,A,B;return{dark_circle:null!=(b=null==(r=e.hd_dark_circle)?void 0:r.ui_score)?b:80,droopy_upper_eyelid:null!=(j=null==(l=e.hd_droopy_upper_eyelid)?void 0:l.ui_score)?j:80,droopy_lower_eyelid:null!=(E=null==(t=e.hd_droopy_lower_eyelid)?void 0:t.ui_score)?E:80,eye_bag:null!=(S=null==(o=e.hd_eye_bag)?void 0:o.ui_score)?S:80,firmness:null!=(N=null==(n=e.hd_firmness)?void 0:n.ui_score)?N:80,texture_whole:null!=(T=null==(u=e.hd_texture)||null==(i=u.whole)?void 0:i.ui_score)?T:80,wrinkle_whole:null!=(P=null==(a=e.hd_wrinkle)||null==(s=a.whole)?void 0:s.ui_score)?P:80,wrinkle_forehead:null!=(D=null==(c=e.hd_wrinkle)||null==(d=c.forehead)?void 0:d.ui_score)?D:80,wrinkle_glabellar:null!=(I=null==(h=e.hd_wrinkle)||null==(_=h.glabellar)?void 0:_.ui_score)?I:80,wrinkle_crowfeet:null!=(C=null==(v=e.hd_wrinkle)||null==(p=v.crowfeet)?void 0:p.ui_score)?C:80,wrinkle_periocular:null!=(L=null==(f=e.hd_wrinkle)||null==(m=f.periocular)?void 0:m.ui_score)?L:80,wrinkle_nasolabial:null!=(O=null==(x=e.hd_wrinkle)||null==(w=x.nasolabial)?void 0:w.ui_score)?O:80,wrinkle_marionette:null!=(A=null==(g=e.hd_wrinkle)||null==(y=g.marionette)?void 0:y.ui_score)?A:80,overall_score:null!=(B=null==(k=e.all)?void 0:k.score)?B:75}}function c(e){return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}},75317:(e,r,l)=>{Promise.resolve().then(l.t.bind(l,13673,23)),Promise.resolve().then(l.bind(l,91430))},77321:(e,r,l)=>{"use strict";l.d(r,{Jz:()=>u,bU:()=>s,pi:()=>i});var t=l(95704);let o="phc_UlmvNEpf26TJM5jyEAjMxBIZcSKF1RxITy93wcIXDIq",n="true"===t.env.NEXT_PUBLIC_POSTHOG_DISABLED||"1"===t.env.NEXT_PUBLIC_POSTHOG_DISABLED,i=!!o.length&&!n,u="https://us.i.posthog.com",s=o},91430:(e,r,l)=>{"use strict";l.d(r,{Providers:()=>j});var t=l(95155),o=l(12115),n=l(17067),i=l(99776),u=l(5379),s=l(18720);let a=e=>{let{...r}=e,{theme:l="system"}=(0,u.D)();return(0,t.jsx)(s.l$,{theme:l,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...r})};var d=l(33300);function c(e){let{delayDuration:r=0,...l}=e;return(0,t.jsx)(d.Kq,{"data-slot":"tooltip-provider",delayDuration:r,...l})}var _=l(64269),h=l(52056),p=l(48314);class v extends o.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}
1render(){if(this.state.hasError){var e;return(0,t.jsx)("div",{className:"flex items-center justify-center min-h-screen p-8 bg-background",children:(0,t.jsxs)("div",{className:"flex flex-col items-center w-full max-w-2xl p-8",children:[(0,t.jsx)(h.A,{size:48,className:"text-destructive mb-6 flex-shrink-0"}),(0,t.jsx)("h2",{className:"text-xl mb-4",children:"An unexpected error occurred."}),(0,t.jsx)("div",{className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:(0,t.jsx)("pre",{className:"text-sm text-muted-foreground whitespace-break-spaces",children:null==(e=this.state.error)?void 0:e.stack})}),(0,t.jsxs)("button",{onClick:()=>window.location.reload(),className:(0,_.cn)("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[(0,t.jsx)(p.A,{size:16}),"Reload Page"]})]})})}return this.props.children}constructor(e){super(e),this.state={hasError:!1,error:null}}}let m=(0,o.createContext)(void 0);function f(e){let{children:r,defaultTheme:l="light",switchable:n=!1}=e,[i,u]=(0,o.useState)(()=>n&&localStorage.getItem("theme")||l);(0,o.useEffect)(()=>{let e=document.documentElement;"dark"===i?e.classList.add("dark"):e.classList.remove("dark"),n&&localStorage.setItem("theme",i)},[i,n]);let s=n?()=>{u(e=>"light"===e?"dark":"light")}:void 0;return(0,t.jsx)(m.Provider,{value:{theme:i,toggleTheme:s,switchable:n},children:r})}var w=l(20063);function x(){let e=(0,w.usePathname)();return(0,o.useEffect)(()=>{window.scrollTo({top:0,behavior:"smooth"})},[e]),null}var y=l(26302),g=l(77321);function k(){let e=(0,w.usePathname)(),r=(0,w.useSearchParams)(),l=(0,y.sf)();return(0,o.useEffect)(()=>{if(!e)return;let t=null==r?void 0:r.toString(),o="".concat(window.location.origin).concat(e).concat(t?"?".concat(t):"");l.capture("$pageview",{$current_url:o})},[e,r,l]),null}function b(e){let{children:r}=e;return g.pi?(0,t.jsxs)(y.so,{apiKey:g.bU,options:{api_host:g.Jz,capture_pageview:!1,capture_pageleave:!0,persistence:"localStorage+cookie"},children:[(0,t.jsx)(o.Suspense,{fallback:null,children:(0,t.jsx)(k,{})}),r]}):(0,t.jsx)(t.Fragment,{children:r})}function j(e){let{children:r}=e,[l]=(0,o.useState)(()=>new n.E);return(0,t.jsx)(v,{children:(0,t.jsx)(b,{children:(0,t.jsx)(f,{defaultTheme:"light",children:(0,t.jsx)(c,{children:(0,t.jsxs)(i.Ht,{client:l,children:[(0,t.jsx)(a,{}),(0,t.jsx)(x,{}),r]})})})})})}}},e=>{e.O(0,[2978,8229,4909,2010,535,8441,1255,7358],()=>e(e.s=75317)),_N_E=e.O()}]);
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.