import{s as i,A as e,r as l,ay as t}from"./CChoqk00.js";import{g as p}from"./4Fu3KWqy.js";const w=()=>{const r=i(),{t:n}=e(),a=l("");return{passwordError:a,isPasswordValid:()=>{const o=r.signUpData.password;if(!o){a.value=n("PasswordInvalid");return}const s=p(o);return a.value=s?"":n("PasswordInvalid"),s},openMailTool:o=>{const s=o==="google"?"https://mail.google.com/":"https://outlook.office.com/";window.open(s,"_blank")},openSSO:o=>{const s=o==="google"?`${location.origin}${t.SSO_GOOGLE}`:`${location.origin}${t.SSO_MICROSOFT}`;window.open(s,"_blank")}}};export{w as u};
