import { TypeNativePopoverController as e } from "../internal/controllers/type-native-popover.controller.js";
import { scopedRegistry as t } from "../internal/decorators/scoped-registry.js";
import { useStyles as n } from "../internal/styles/index.js";
import { popoverStyles as r } from "../internal/styles/popover2.js";
import { __decorate as i } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
import { ProgressRing as a } from "../progress-ring/progress-ring2.js";
import o from "./page-loader.js";
import { LitElement as s, html as c } from "lit";
import { state as l } from "lit/decorators/state.js";
//#region src/page-loader/page-loader.ts
var u = class extends s {
	constructor(...t) {
		super(...t), this.position = "center", this.popoverType = "manual", this.typeNativePopoverController = new e(this), this.anchor = globalThis.document?.body;
	}
	static {
		this.styles = n([r, o]);
	}
	static {
		this.metadata = {
			tag: "nve-page-loader",
			version: "0.2.3"
		};
	}
	static {
		this.elementDefinitions = { [a.metadata.tag]: a };
	}
	render() {
		return c`<div internal-host><nve-progress-ring part="progress-ring" status="accent" size="xl"></nve-progress-ring><slot></slot></div>`;
	}
};
i([l()], u.prototype, "anchor", void 0), u = i([t()], u);
//#endregion
export { u as PageLoader };

//# sourceMappingURL=page-loader2.js.map