1import{a as m}from"./axios-42ANG6Sg.js";import{_ as c,t as d}from"./index-BV6QtbyE.js";import"./vue-core-BJYLVuRU.js";import{o as p,q as r,t as a,y as e,z as f,B as u,D as _}from"./vendor-C61o6woY.js";import"./toastr-ZJ-XgUIA.js";import"./tables-Zwqw6ld6.js";import"./bootstrap-82v6EwEu.js";import"./jarallax-DStYVGbw.js";import"./highlight-CohLJnU_.js";import"./typed-D7S6yrmg.js";import"./mitt-DJ65BbbF.js";const b={data(){return{state:!1,redirect:""}},created(){const{uid:i,token:t}=this.$route.params;m.get(`${this.$state.capiUrl}users/confirm/${i}/${t}`).then(s=>{const o=s.data.message==="tfa_required";if((s.data.state||o)&&d("email_confirm"),o){this.$router.replace({path:"/login",query:{step:"tfa"}});return}this.state=s.data.state}).catch(s=>{this.state=!1})}},h={class:"section-border border-primary"},y={class:"container d-flex flex-column"},x={class:"row align-items-center justify-content-center gx-0 min-vh-100"},g={key:0,class:"col-12 col-md-5 col-lg-4 order-md-1 mb-auto mb-md-0 pb-8 py-md-11"},v={class:"text-center"},k={key:1,class:"col-12 col-md-5 col-lg-4 order-md-1 mb-auto mb-md-0 pb-8 py-md-11"};function $(i,t,s,o,n,C){const l=p("router-link");return r(),a("section",h,[e("div",y,[e("div",x,[t[3]||(t[3]=e("div",{class:"col-8 col-md-6 col-lg-7 offset-md-1 order-md-2 mt-auto mt-md-0 pt-8 pb-4 py-md-11"},[e("img",{src:"/assets/img/illustrations/illustration-4.png",alt:"...",class:"img-fluid"})],-1)),n.state?(r(),a("div",g,[t[1]||(t[1]=e("h1",{class:"text-center form-title mb-3"},"Verification successfully",-1)),e("div",v,[f(l,{class:"btn btn-primary",to:{path:"/dashboard"}},{default:u(()=>[...t[0]||(t[0]=[_("Console",-1)])]),_:1})])])):(r(),a("div",k,[...t[2]||(t[2]=[e("h1",{class:"text-center form-title mb-3"},"Your link is not valid",-1),e("div",{class:"text-center"},[e("p",null,"You may have already clicked on it?"),e("a",{class:"btn btn-primary",href:"/"},"Home")],-1)])]))])])])}const R=c(b,[["render",$],["__file","/app/src/components/Confirm.vue"]]);export{R as default}; 2//# sourceMappingURL=Confirm-DoiVKEtd.js.map
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.