PageSourceSearch

https://proctorgroup.com/_nuxt/unsubscribe.148300c2.js

js proctorgroup.com collected 2026-10-02 14:31:36 UTC 2,108 bytes, 1 lines download raw bytes

1import{_ as m}from"./Grid.vue.17f1f293.js";import{d as h,u as v,I as f,r as u,U as g,a as y,o,e as r,j as s,b as n,F as k,v as x,t as N,f as U,n as l,y as E,z as T}from"./entry.35eda4b9.js";import{u as P}from"./index.0fad1969.js";import"./FilterBar.vue.a46b8ba5.js";import"./Empty.vue.4fe572e9.js";import"./products.config.d7a4f1f9.js";import"./index.8060c324.js";const S={class:"section",style:{"padding-top":"12.5rem"}},$={class:"container"},C={class:"columns is-centered"},I={class:"column is-half"},O={class:"listing-card p-lg"},w={class:"card-content has-text-centered"},A=s("h3",{class:"title is-4 mb-3 has-text-color-primary"}," Unsubscribe ",-1),B={key:0,class:"mb-5 has-text-success"},F={class:"mb-5"},G={key:2,class:"has-text-grey"},R={style:{"padding-top":"5rem"}},D=h({__name:"unsubscribe",setup(V){const d=v(),a=f(()=>d.query.t),t=u(null),c=u(!1);async function _(){const e=await l(`/user-unsubscribe/resolver?t=${a.value}`,"$n73Gg0hJvu");e.error.value?(console.error("Error"),console.error(e)):t.value=e.data.value}async function b(){if(!t.value)return;const e=await l("/user-unsubscribe",{method:"POST",body:{user_id:t.value.user_id,email:t.value.email}},"$mANol4dJrt");e.error.value?(console.error("Error unsubscribing"),console.error(e)):(E().$toast.success("<p>You have been unsubscribed.</p>",{toastId:"email-unsubcribe-alert",autoClose:5e3,position:T.POSITION.TOP_CENTER,dangerouslyHTMLString:!0}),c.value=!0)}return g(()=>{a.value&&_()}),y({title:"Unsubscribe",link:[{rel:"canonical",href:"https://proctorgroup.com"}]}),P({title:"Unsubscribe | A. Proctor Group"}),(e,Y)=>{var i;const p=m;return o(),r("section",S,[s("div",$,[s("div",C,[s("div",I,[s("div",O,[s("div",w,[A,n(c)?(o(),r("p",B," You have successfully unsubscribed. ")):(i=n(t))!=null&&i.email?(o(),r(k,{key:1},[s("p",F,[x(" You are unsubscribing the email: "),s("strong",null,N(n(t).email),1)]),s("div",{class:"buttons is-centered pt-md"},[s("button",{class:"button is-danger is-rounded",onClick:b}," Unsubscribe ")])],64)):(o(),r("p",G,"Loading or invalid token…"))])])])]),s("div",R,[U(p)])])])}}});export{D 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.