import { L as e, M as t } from "./vidstack-D9mvYVIz-DesuYgKV.js";
//#region node_modules/vidstack/prod/chunks/vidstack-ijoHbXQB.js
var n = {
	add: Symbol(0),
	remove: Symbol(0),
	reset: Symbol(0),
	select: Symbol(0),
	readonly: Symbol(0),
	setReadonly: Symbol(0),
	onReset: Symbol(0),
	onRemove: Symbol(0),
	onUserSelect: Symbol(0)
}, r = class {
	#e;
	#t;
	constructor(e) {
		this.#t = e;
	}
	start() {
		e(this.#e) && this.#n();
	}
	stop() {
		t(this.#e) && window.cancelAnimationFrame(this.#e), this.#e = void 0;
	}
	#n() {
		this.#e = window.requestAnimationFrame(() => {
			e(this.#e) || (this.#t(), this.#n());
		});
	}
};
//#endregion
export { r as n, n as t };
