Your IP : 216.73.217.77


Current Path : /home/users/unlimited/www/whatsapp-crm/public/build/assets/
Upload File :
Current File : /home/users/unlimited/www/whatsapp-crm/public/build/assets/VerifyEmail-311aef53.js

import{r as m,c as s,a as e,f,g as h,u as p,t as a,d as u,k as y,O as _,K as v,o,l as g}from"./app-f1493ab2.js";import{l as x}from"./index-114bea05.js";/* empty css              */const k={class:"flex h-screen justify-center"},C={class:"flex justify-center"},b={class:"w-[20em] mt-40"},w={class:"flex justify-center mb-5"},N=["src","alt"],V={key:1,class:"text-2xl mb-2"},j={class:"text-2xl text-center"},B={class:"py-2 text-center bg-slate-50 rounded-md my-4 px-4"},E={class:"text-center text-sm text-slate-500 flex items-center justify-center"},T={key:0,class:"flex items-center gap-x-1"},$=["disabled"],S={class:"border-b hover:border-none hover:underline"},D={__name:"VerifyEmail",props:["flash","config","companyConfig"],setup(l){const i=l,n=m(!1),c=()=>{n.value=!0,_.visit("/email/verification-notification",{method:"post",data:{},onFinish:()=>{n.value=!1,d(v().props.flash.status.message)}})},d=t=>{x(t,{autoClose:3e3})};return(t,r)=>(o(),s("div",k,[e("div",C,[e("div",b,[e("div",w,[f(p(g),{href:"/"},{default:h(()=>[i.companyConfig.logo?(o(),s("img",{key:0,class:"max-w-[180px]",src:"/media/"+i.companyConfig.logo,alt:i.companyConfig.company_name},null,8,N)):(o(),s("h4",V,a(i.companyConfig.company_name),1))]),_:1})]),e("h1",j,a(t.$t("Verify your email")),1),e("div",B,a(t.$t("We've sent you a verification link to your email, click on it to continue")),1),e("div",E,[n.value?(o(),s("span",T,r[0]||(r[0]=[u(' Processing <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><g fill="none" stroke="black" stroke-linecap="round" stroke-width="2"><path stroke-dasharray="60" stroke-dashoffset="60" stroke-opacity="0.3" d="M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="1.3s" values="60;0"></animate></path><path stroke-dasharray="15" stroke-dashoffset="15" d="M12 3C16.9706 3 21 7.02944 21 12"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.3s" values="15;0"></animate><animateTransform attributeName="transform" dur="1.5s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"></animateTransform></path></g></svg>',2)]))):(o(),s("button",{key:1,onClick:c,disabled:n.value,class:"text-sm text-primary-600 dark:text-primary-500 ml-1"},[y(a(t.$t("Email not received?"))+" ",1),e("span",S,a(t.$t("Resend email")),1)],8,$))])])])]))}};export{D as default};