PageSourceSearch

https://typemyvibe.ai/assets/email-preferences-PWLHYkOD.js

js typemyvibe.ai collected 2026-10-05 13:46:01 UTC 1,584 bytes, 1 lines download raw bytes

1import{_ as v,c as n,a as l,u as p,t as d,b as u,d as _,w as y,r as f,e as w,f as k,o as a,g}from"./index-B90RbB2p.js";const b={class:"email-preferences ph-no-capture"},C=["disabled"],h={key:1,role:"status"},x={key:2},N={__name:"email-preferences",setup(V){const s=typeof window<"u"&&window.__tmvMarketingConfirm||"";typeof window<"u"&&delete window.__tmvMarketingConfirm;const o=f(!1),i=f(!1),r=f("");async function m(){if(!(o.value||i.value)){o.value=!0;try{const t=await fetch(`${w}/marketing/guest/confirm`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:s})}),e=await t.json();if(!t.ok)throw Error(e.error||"Please try again.");i.value=!0,r.value="Confirmed. Follow-ups begin after your report is ready."}catch(t){r.value=t.message}finally{o.value=!1}}}return(t,e)=>{const c=k("router-link");return a(),n("main",b,[e[1]||(e[1]=l("h1",null,"Confirm your follow-up emails",-1)),e[2]||(e[2]=l("p",null,"Get up to four report tips and upgrade offers over the next week. You can unsubscribe anytime.",-1)),e[3]||(e[3]=l("p",null,"Your report delivery does not depend on this choice.",-1)),p(s)&&!i.value?(a(),n("button",{key:0,class:"tmv-btn tmv-btn--pow",disabled:o.value,onClick:m},d(o.value?"Confirming…":"Confirm follow-up emails"),9,C)):u("",!0),r.value?(a(),n("p",h,d(r.value),1)):u("",!0),p(s)?u("",!0):(a(),n("p",x,"Open the confirmation link from your email to continue.")),_(c,{to:"/reports"},{default:y(()=>[...e[0]||(e[0]=[g("Return to your reports",-1)])]),_:1})])}}},O=v(N,[["__scopeId","data-v-ba9a300b"]]);export{O 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.