'use strict';
import { editPassword } from '../passwords/passwords-api.js';
import { getRelativeLoginUrl } from '../../../fd-toolbox/routing/login-routers.js';
import EditPasswordForm from './EditPasswordForm.js';

var __defProp=Object['defineProperty'],__name=(_0x5206a2,_0x17cfcb)=>__defProp(_0x5206a2,'name',{'value':_0x17cfcb,'configurable':!![]});function getEditPasswordFormCurrentPasswordInputId(){return EditPasswordForm['displayName']+'PasswordInput';}__name(getEditPasswordFormCurrentPasswordInputId,'getEditPasswordFormCurrentPasswordInputId');function getEditPasswordFormNewPasswordInputId(){return EditPasswordForm['displayName']+'NewPasswordInput';}__name(getEditPasswordFormNewPasswordInputId,'getEditPasswordFormNewPasswordInputId');function getEditPasswordFormEditButtonId(){return EditPasswordForm['displayName']+'EditButton';}__name(getEditPasswordFormEditButtonId,'getEditPasswordFormEditButtonId');async function onEditPassword(_0x967412,_0x267caa){await editPassword(_0x967412),_0x267caa['push'](getRelativeLoginUrl());}__name(onEditPassword,'onEditPassword');

export { getEditPasswordFormCurrentPasswordInputId, getEditPasswordFormEditButtonId, getEditPasswordFormNewPasswordInputId, onEditPassword };
