'use strict';
import { z } from 'zod';
import { forgotPassword } from '../passwords/passwords-api.js';
import { formMessages } from '../constants/form-constants.js';

var __defProp=Object['defineProperty'],__name=(_0x1cf8ed,_0x3e6170)=>__defProp(_0x1cf8ed,'name',{'value':_0x3e6170,'configurable':!![]});const forgotPasswordSchema=z['object']({'email':z['string']()['email'](formMessages['invalidEmailAdress'])});function getForgotPasswordEmailInputId(){return 'ForgotPasswordFormEmailInput';}__name(getForgotPasswordEmailInputId,'getForgotPasswordEmailInputId');function getForgotPasswordSendButtonId(){return 'ForgotPasswordFormSendButton';}__name(getForgotPasswordSendButtonId,'getForgotPasswordSendButtonId');function getForgotPasswordSuccessMessageId(){return 'ForgotPasswordFormSuccessMessage';}__name(getForgotPasswordSuccessMessageId,'getForgotPasswordSuccessMessageId');async function onForgotPassword(_0x5a0cd1,_0x16a35e){await forgotPassword(_0x5a0cd1),_0x16a35e(!![]);}__name(onForgotPassword,'onForgotPassword');

export { forgotPasswordSchema, getForgotPasswordEmailInputId, getForgotPasswordSendButtonId, getForgotPasswordSuccessMessageId, onForgotPassword };
