1import{u as h,aj as f,ak as y,ae as g,ao as b,an as x,al as v,ai as B,W as C,p as w,m as t,aa as a,ab as s,t as U,aw as k,B as D,l as N,r as P,ag as A,x as E,e as S,a9 as T}from"./DCYG6sLf.js";const V={class:"section"},q={class:"container"},F={class:"columns is-centered"},R={class:"column is-half"},$={class:"title"},j={class:"is-table"},L=h({__name:"settings",setup(H){const{t:e}=f(),i=y(),r=g(),u=b(),d=x(),p=A(),{vueApp:{config:{globalProperties:{$buefy:o}}}}=v();B({title:e("Settings")});const c=N(()=>r.value),_=()=>o.dialog.confirm({cancelText:e("Cancel"),confirmText:e("Delete {type}",{type:e("user account")}),message:e("User account delete confirm"),onConfirm:async()=>{try{await E(c.value),o.toast.open(e("Your user account has been deleted successfully."))}catch(n){n instanceof S&&n.code==="auth/requires-recent-login"&&(await T(p),await u.push(i({name:"login",query:{destination:d.fullPath,reauthenticate:1}})))}},title:e("Delete {type}",{type:e("user account")}),type:"is-danger"});return(n,l)=>{const m=D;return C(),w("div",V,[t("div",q,[t("div",F,[t("div",R,[t("h1",$,a(s(e)("Settings")),1),t("dl",j,[t("dt",null,a(s(e)("Email")),1),t("dd",null,a(s(c).email),1)]),l[0]||(l[0]=t("hr",null,null,-1)),U(m,{type:"is-danger is-outlined",onClick:_},{default:k(()=>[P(a(s(e)("Delete {type}",{type:s(e)("account")})),1)]),_:1})])])])])}}});export{L 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.