1import{r as m,az as d,au as p,at as f,aD as _,l as g,h as r,q as x,$ as h,e as v,g as y}from"./cNgkd_f_.js";import{u as S}from"./DOrsg20d.js";const b={class:"min-h-dvh flex items-center justify-center"},q={class:"text-center"},I=m({__name:"confirm",setup(w){const c=S(),s=d(),i=p(),u=f(),l=y(()=>{const e=u.query.next||"/";return e.startsWith("/")?e:"/"});let n=!1;return _(async()=>{if(!s.value||n)return;n=!0;const e=localStorage.getItem("coffeed_pending_tag");if(e){localStorage.removeItem("coffeed_pending_tag");const t=s.value.user_metadata||{},a=String(t.full_name||t.name||"").trim().slice(0,100),o={tags:[e]};a&&(o.display_name=a),await c.from("profiles").update(o).eq("id",s.value.id)}i.replace(l.value)}),(e,t)=>{const a=v;return h(),g("div",b,[r("div",q,[x(a,{name:"i-lucide-loader",class:"text-4xl text-primary-600 animate-spin mb-3"}),t[0]||(t[0]=r("p",{class:"text-stone-500"},"Confirming your session...",-1))])])}}});export{I as default};
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.