//#region src/primitives/utils.ts
function e(e) {
	if (typeof e == "string") {
		let t = document.querySelector(e);
		if (t === null) throw Error(`Container not found: ${e}`);
		return t;
	}
	return e;
}
var t = 0;
function n(e) {
	return t += 1, `${e}-${String(t)}`;
}
//#endregion
export { n, e as t };

//# sourceMappingURL=utils-C_mWfcFX.js.map