1import{p as x,d as S,u as B,$ as L,k as c,x as P,v as R,c as l,a as o,h as s,t,F as z,n as b,g as $,ad as E,m as F,e as _,b as k,w,_ as M,j as T,o as r,i as U}from"./CYMs3uwY.js";import{u as j}from"./B5_aDKRw.js";import"./BhCObGnq.js";import"./rOmQOW4P.js";const q=x("/img/bg/contact-verify/whois_verification_smile.webp"),O=x("/img/bg/contact-verify/whois_verification_sign.png"),W={class:"verify-page"},G={class:"verify-card"},H={key:0,class:"verify-success"},J={key:1,class:"verify-loading"},K={key:2,class:"verify-error"},Q={class:"verify-error-title"},X={class:"verify-title"},Y={class:"verify-desc"},Z={class:"info-data"},oo={class:"info-section-title"},so={class:"info-row"},to={class:"info-label"},eo={class:"info-value"},no={class:"info-row"},ao={class:"info-label"},io={class:"info-value"},co={class:"info-row"},lo={class:"info-label"},ro={class:"info-value"},uo={key:0,class:"info-row"},_o={class:"info-label"},fo={class:"info-value"},ho={class:"info-row"},po={class:"info-label"},vo={class:"info-value"},mo={class:"info-row"},yo={class:"info-label"},go={class:"info-value"},bo={class:"info-row"},ko={class:"info-label"},wo={class:"info-value"},xo={class:"info-row"},Ao={class:"info-label"},Co={class:"info-value"},Io={class:"info-row"},Vo={class:"info-label"},Do={class:"info-value"},No={class:"info-checkbox"},So={class:"info-submit"},Bo=S({__name:"[token]",setup(Lo){const{t:e}=B(),h=L().params.token,{fetchContactLookup:A,fetchContactVerify:C}=j(),n=c(),p=c(!0),v=c(""),d=c(!1);P(async()=>{const{data:i}=await A(h);i.value?n.value=i.value:v.value=e("Invalid or expired verification link."),p.value=!1});const I=R(()=>{var u;if(!n.value)return"";const i=((u=n.value.phoneCode)==null?void 0:u.phoneCode)??"",a=n.value.phoneNumber??"";return i?`+${i}.${a}`:a}),f=c(!1),m=c(!1),V=async()=>{if(!d.value)return;f.value=!0,await C(h)&&(m.value=!0),f.value=!1};return(i,a)=>{var y,g;const u=M,D=T("DynaButton");return r(),l("div",W,[o("div",G,[s(m)?(r(),l("div",H,[a[1]||(a[1]=o("img",{src:q,width:"136",height:"130",alt:""},null,-1)),o("p",null,t(s(e)("Thank you for verifying your contact information.")),1)])):s(p)?(r(),l("div",J,a[2]||(a[2]=[o("i",{class:"fa-light fa-spinner fa-spin fa-2x"},null,-1)]))):s(v)?(r(),l("div",K,[a[3]||(a[3]=o("img",{src:O,width:"136",height:"130",alt:""},null,-1)),o("h1",Q,t(s(e)("Whois Accuracy Verification")),1),o("p",null,t(s(e)("Sorry, we cannot find the contact record information you requested. Please make sure you copied the link correctly, without any spaces.")),1)])):s(n)?(r(),l(z,{key:3},[o("h1",X,t(s(e)("Account Info Verification")),1),o("p",Y,t(s(e)("Please confirm the contact information below. If any changes are needed, please update them through your Dynadot account, or if you are not the Dynadot account holder, please contact the person who manages the account.")),1),o("div",Z,[o("h2",oo,t(s(e)("Account Contact Information")),1),o("div",so,[o("span",to,t(s(e)("Account Name"))+":",1),o("span",eo,t(s(n).name),1)]),o("div",no,[o("span",ao,t(s(e)("Account Organization"))+":",1),o("span",io,t(s(n).organization||"-"),1)]),o("div",co,[o("span",lo,t(s(e)("Account Street"))+":",1),o("span",ro,t(s(n).address1),1)]),s(n).address2?(r(),l("div",uo,[o("span",_o,t(s(e)("Account Street"))+":",1),o("span",fo,t(s(n).address2),1)])):b("",!0),o("div",ho,[o("span",po,t(s(e)("Account City"))+":",1),o("span",vo,t(s(n).city),1)]),o("div",mo,[o("span",yo,t(s(e)("Account Postal Code"))+":",1),o("span",go,t(s(n).zip),1)]),o("div",bo,[o("span",ko,t(s(e)("Account Country"))+":",1),o("span",wo,t(((y=s(n).country)==null?void 0:y.iso2)||((g=s(n).country)==null?void 0:g.name)),1)]),o("div",xo,[o("span",Ao,t(s(e)("Account Phone"))+":",1),o("span",Co,t(s(I)),1)]),o("div",Io,[o("span",Vo,t(s(e)("Account Email"))+":",1),o("span",Do,t(s(n).email),1)])]),o("div",No,[$(o("input",{id:"agree_checkbox","onUpdate:modelValue":a[0]||(a[0]=N=>F(d)?d.value=N:null),type:"checkbox"},null,512),[[E,s(d)]]),a[5]||(a[5]=o("label",{for:"agree_checkbox"},null,-1)),o("p",null,[_(t(s(e)("I have read and agree to abide by the"))+"Â ",1),k(u,{to:"/terms-of-use"},{default:w(()=>[_(t(s(e)("Service Agreement")),1)]),_:1}),a[4]||(a[4]=_(". "))])]),o("div",So,[k(D,{type:"dark",disabled:!s(d),loading:s(f),onClick:V},{default:w(()=>[_(t(s(e)("I confirm this contact information is accurate.")),1)]),_:1},8,["disabled","loading"])])],64)):b("",!0)])])}}}),Fo=U(Bo,[["__scopeId","data-v-0e2f7696"]]);export{Fo 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.