import { containerQueries as e } from "../../theme/containerQueries.js";
//#region src/components/data-table/tableBreakpoints.ts
var t = /\(min-width:\s*(\d+(?:\.\d+)?)px\)/i, n = [
	"sm",
	"md",
	"lg",
	"xl",
	"xxl"
];
function r(e, n) {
	let r = t.exec(n);
	if (r == null) throw Error(`[DataTable] Format de media query inattendu pour le point de rupture « ${e} » : ${n}`);
	let [, i] = r;
	if (i == null) throw Error(`[DataTable] Impossible d'extraire la valeur numérique pour le point de rupture « ${e} » à partir de la media query : ${n}`);
	return Number.parseFloat(i);
}
function i(t) {
	let n = e[t];
	if (n == null) throw Error(`[DataTable] Aucun container query défini pour le point de rupture « ${t} ».`);
	return n;
}
function a() {
	let e = {};
	for (let t of n) e[t] = r(t, i(t));
	return e;
}
var o = Object.freeze(a()), s = Object.entries(o).map(([e, t]) => [e, t]), c = {
	parseMinWidth: r,
	requireContainerQuery: i,
	computeBreakpoints: a
};
//#endregion
export { o as DATA_TABLE_BREAKPOINTS, s as DATA_TABLE_BREAKPOINT_ENTRIES, c as __test };

//# sourceMappingURL=tableBreakpoints.js.map