import { t as useElementList } from "./useElementList.js";
const FOCUSABLE_SELECTORS = [
	"a[href]:not([tabindex^=\"-\"])",
	"area[href]:not([tabindex^=\"-\"])",
	"input:not([type=\"hidden\"]):not([type=\"radio\"]):not([disabled]):not([tabindex^=\"-\"])",
	"input[type=\"radio\"]:not([disabled]):not([tabindex^=\"-\"])",
	"select:not([disabled]):not([tabindex^=\"-\"])",
	"textarea:not([disabled]):not([tabindex^=\"-\"])",
	"button:not([disabled]):not([tabindex^=\"-\"])",
	"iframe:not([tabindex^=\"-\"])",
	"audio[controls]:not([tabindex^=\"-\"])",
	"video[controls]:not([tabindex^=\"-\"])",
	"[contenteditable]:not([tabindex^=\"-\"])",
	"[tabindex]:not([tabindex^=\"-\"])"
].join(",");
const useFocusableElements = (ref) => useElementList(ref, FOCUSABLE_SELECTORS, { attributeFilter: [
	"href",
	"tabindex",
	"type",
	"disabled",
	"controls",
	"contenteditable"
] });
export { useFocusableElements as n, FOCUSABLE_SELECTORS as t };

//# sourceMappingURL=useFocusableElements.js.map