import isFocusableInput from "./isFocusableInput.mjs";
//#region src/utilities/form/final-form-scroll/getAllInputs.js
const getAllInputs = () => {
	if (typeof document === "undefined") return [];
	return Array.prototype.slice.call(document.forms).reduce((accumulator, form) => accumulator.concat(Array.prototype.slice.call(form).filter(isFocusableInput)), []);
};
//#endregion
export { getAllInputs as default };

//# sourceMappingURL=getAllInputs.mjs.map