import{s as i,A as e,r as l,ax as t}from"./CibDhUcP.js";import{g as p}from"./5LXQy1qV.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};
