1import{Q as e}from"./QButton-651d0066.js";import{u as t}from"./useResendCountdown-4dc233ae.js";import{s as a,q as n,J as l,a as s,g as i,i as d,t as o,d as c,e as r,l as m,f as u,b as x}from"./index-3466a5b7.js";const p={class:"education-sheet flex flex-col w-full overflow-hidden"},k={class:"flex justify-end px-6 pt-6"},f={class:"flex flex-col items-center gap-5 px-6 sm:px-10 pt-4 pb-6"},g={class:"flex flex-col gap-2 pb-5 text-center"},b={class:"text-2xl font-bold leading-[34px]"},_={class:"font-bold text-black dark:text-dark-content break-all"},h={class:"text-base font-medium leading-6 text-content dark:text-dark-content/60"},v={class:"font-bold text-main dark:text-dark-main"},y=a({__name:"EducationCheckEmailModal",props:{email:{type:String,required:!0},context:{type:String,default:"extend",validator:e=>["extend","activation"].includes(e)}},emits:["close","resend"],setup(a,{emit:y}){const j=y,{remaining:C,label:q,start:w}=t();n(()=>w());const $=()=>{C.value>0||(w(),j("resend"))};return(t,n)=>{const y=l("i18n-t");return s(),i("div",p,[d("div",k,[d("button",{"data-testid":"btn-close-education-check-email",onClick:n[0]||(n[0]=e=>j("close"))},[...n[2]||(n[2]=[d("i",{class:"ri-close-line ri-lg"},null,-1)])])]),d("div",f,[n[3]||(n[3]=d("div",{class:"flex items-center justify-center h-12 w-12 rounded-full bg-turquoise dark:bg-dark-neutral"},[d("i",{class:"ri-mail-line text-[28px] leading-none text-main dark:text-dark-main"})],-1)),d("div",g,[d("h3",b,o(t.$t("page_education.modal.check_email_title")),1),c(y,{keypath:"activation"===a.context?"page_education.modal.check_email_desc_activation":"page_education.modal.check_email_desc",tag:"p",class:"text-base font-medium leading-6 text-content dark:text-dark-content/60"},{email:r(()=>[d("span",_,o(a.email),1)]),_:1},8,["keypath"])]),c(e,{"data-testid":"btn-education-check-email-close",variant:"outlined",block:"",onClick:n[1]||(n[1]=e=>j("close"))},{default:r(()=>[m(o(t.$t("general.aria.close")),1)]),_:1}),d("p",h,[u(C)>0?(s(),x(y,{key:0,keypath:"page_education.modal.resend_in",tag:"span"},{time:r(()=>[d("span",v,o(u(q)),1)]),_:1})):(s(),i("button",{key:1,"data-testid":"btn-education-check-email-resend",class:"font-bold text-main dark:text-dark-main",onClick:$},o(t.$t("page_education.modal.resend")),1))])])])}}},[["__scopeId","data-v-9aaf7c07"]]);export{y 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.