(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{1432:function(e,t,s){Promise.resolve().then(s.bind(s,8973))},8973:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return o}});var n=s(7437),a=s(2265),i=s(4033),l=s(3922),r=s(8013),c=s(5925);function o(){let{uniqueLink:e}=(0,i.useParams)(),[t,s]=(0,a.useState)(null),[o,d]=(0,a.useState)(!0),[u,m]=(0,a.useState)("");return((0,a.useEffect)(()=>{(async()=>{try{let{client:t}=await r.yj.getByLink(e);s(t)}catch(e){m(e.message||"Interview not found"),c.default.error("Interview not found")}finally{d(!1)}})()},[e]),o)?(0,n.jsx)("div",{className:"min-h-screen flex items-center justify-center",style:{background:"var(--bg-primary)"},children:(0,n.jsxs)("div",{className:"flex gap-1.5",children:[(0,n.jsx)("div",{className:"typing-dot"}),(0,n.jsx)("div",{className:"typing-dot",style:{animationDelay:"0.2s"}}),(0,n.jsx)("div",{className:"typing-dot",style:{animationDelay:"0.4s"}})]})}):u||!t?(0,n.jsx)("div",{className:"min-h-screen flex items-center justify-center",style:{background:"var(--bg-primary)"},children:(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("p",{className:"text-2xl mb-2",children:"\uD83D\uDE15"}),(0,n.jsx)("p",{className:"font-semibold",style:{color:"var(--text-primary)"},children:"Interview not found"}),(0,n.jsx)("p",{className:"text-sm mt-1",style:{color:"var(--text-secondary)"},children:"This link may be invalid or expired."})]})}):(0,n.jsx)(l.Z,{client:t,user:null,onBack:()=>window.close(),onClientUpdate:s})}}},function(e){e.O(0,[114,666,922,971,938,744],function(){return e(e.s=1432)}),_N_E=e.O()}]);