PageSourceSearch

https://cosready.ai/_next/static/chunks/app/%5Blocale%5D/(beauty)/profile/%5BproId%5D/page-1779497671b120bb.js

js cosready.ai collected 2026-10-05 11:57:54 UTC 3,939 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1800],{18849:(e,t,s)=>{"use strict";s.d(t,{default:()=>n});var a=s(95155),l=s(12115),r=s(34663);function n(e){let{fallbackHref:t,className:s="",label:n="Back"}=e,c=null!=t?t:"/",i=(0,r.rd)(),[d,o]=(0,l.useState)(!1);(0,l.useEffect)(()=>{o(window.history.length>1)},[]);let u="size-10 grid place-items-center rounded-full bg-white/80 backdrop-blur-md text-ink border border-white/40 shadow-[0_4px_14px_rgba(0,0,0,0.18)] active:scale-95 transition-transform hover:bg-white ".concat(s),x=(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"M15 18l-6-6 6-6"})});return d?(0,a.jsx)("button",{type:"button",onClick:()=>{window.history.length>1?i.back():i.push(c)},className:u,"aria-label":n,children:x}):(0,a.jsx)(r.N_,{href:c,className:u,"aria-label":n,children:x})}},47882:(e,t,s)=>{"use strict";s.d(t,{default:()=>b});var a=s(95155),l=s(52896),r=s(12115),n=s(34663),c=s(96958),i=s(62013),d=s(73339),o=s(63295),u=s(61826),x=s(9059),m=s(28034),h=s(18849);function b(e){let{proId:t}=e,{t:s}=(0,i.WD)("beauty"),b=(0,c.Ym)(),[p,f]=(0,r.useState)(null),[j,v]=(0,r.useState)(!1),[w,k]=(0,r.useState)(0);(0,l.k)((0,r.useCallback)(()=>k(e=>e+1),[]));let[N,g]=(0,r.useState)(!0);return((0,r.useEffect)(()=>{if(!t)return;let e=!1;return(async()=>{g(!0);try{let s=await (0,d.AJ)("".concat(d.BZ.publicProDetail(t),"?locale=").concat(encodeURIComponent(b)),{cache:"no-store"});if(e)return;if(!(0,o.sB)(s.pro)&&s.pro.canonical_path&&!0!==s.pro.is_flagged)return void window.location.replace(s.pro.canonical_path);f(s.pro),v(!1),g(!1)}catch(t){if(e)return;t instanceof d.Aq&&t.httpStatus,v(!0),g(!1)}})(),()=>{e=!0}},[t,b,w]),N)?(0,a.jsx)("div",{className:"max-w-2xl mx-auto px-4 py-8",children:(0,a.jsxs)("div",{className:"animate-pulse",children:[(0,a.jsxs)("div",{className:"flex gap-4 mb-6",children:[(0,a.jsx)("div",{className:"size-20 rounded-2xl bg-black/5"}),(0,a.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,a.jsx)("div",{className:"h-4 bg-black/5 rounded w-2/3"}),(0,a.jsx)("div",{className:"h-2 bg-black/5 rounded w-1/3"}),(0,a.jsx)("div",{className:"h-2 bg-black/5 rounded w-3/4"})]})]}),(0,a.jsx)("div",{className:"h-32 bg-black/5 rounded-2xl mb-4"}),(0,a.jsx)("div",{className:"h-32 bg-black/5 rounded-2xl"})]})}):j||!p?(0,a.jsxs)("div",{className:"max-w-md mx-auto px-6 py-16 text-center",children:[(0,a.jsx)("p",{className:"font-semibold text-base mb-4",children:s("discovery.profile.notFoundTitle")}),(0,a.jsx)(n.N_,{href:"/beautymap",className:"inline-block px-6 py-3 rounded-full bg-[#9666e9] text-white font-bold text-sm",children:s("discovery.profile.backToDiscovery")})]}):(0,o.sB)(p)?(0,a.jsx)(u.A,{locale:b}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.default,{fallbackHref:"/beautymap",className:"md:hidden fixed top-[88px] left-3 z-30"}),p.is_unclaimed_stub?null:(0,a.jsx)("div",{className:"max-w-2xl mx-auto px-4 pt-3",children:(0,a.jsx)(m.default,{stubId:p.id})}),(0,a.jsx)(x.default,{pro:p})]})}},52896:(e,t,s)=>{"use strict";s.d(t,{k:()=>r});var a=s(12115);let l="cosready:public-refresh";function r(e){(0,a.useEffect)(()=>(window.addEventListener(l,e),()=>window.removeEventListener(l,e)),[e])}},59585:(e,t,s)=>{Promise.resolve().then(s.bind(s,47882))},61826:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var a=s(95155),l=s(28964),r=s(63295);function n(e){let{locale:t="en"}=e,s=(0,r.Lm)(t);return(0,a.jsxs)("section",{role:"status",lang:t,className:"mx-auto max-w-xl px-6 py-16 text-center",children:[(0,a.jsx)(l.A,{label:s.label}),(0,a.jsx)("h1",{className:"mt-4 text-xl font-semibold",children:s.title}),(0,a.jsx)("p",{className:"mt-3 text-sm text-black/60",children:s.message})]})}}},e=>{e.O(0,[7925,2545,6958,4707,2013,2581,1602,6164,3339,1497,6737,820,299,625,6341,2492,9724,8441,2968,7358],()=>e(e.s=59585)),_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.