import { Y as e } from "./vidstack-D9mvYVIz-DesuYgKV.js";
import { n as t, t as n } from "./vidstack-CI5oafcm-DAV7Lilr.js";
//#region node_modules/vidstack/prod/providers/vidstack-audio.js
var r = class extends t {
	$$PROVIDER_TYPE = "AUDIO";
	get type() {
		return "audio";
	}
	airPlay;
	constructor(t, r) {
		super(t, r), e(() => {
			this.airPlay = new n(this.media, r);
		}, this.scope);
	}
	setup() {
		super.setup(), this.type === "audio" && this.ctx.notify("provider-setup", this);
	}
	get audio() {
		return this.media;
	}
};
//#endregion
export { r as AudioProvider };
