Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

35 lines
984 B
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 2cd465e94e439d21.d295534e06.js
* Module id: 362727
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
function t(e) {
let t =
"string" == typeof e && e.includes("var(--mantine-scale)")
? e
.match(/^calc\((.*?)\)$/)?.[1]
.split("*")[0]
.trim()
: e;
return "number" == typeof t
? t
: "string" == typeof t
? t.includes("calc") || t.includes("var")
? t
: t.includes("px")
? Number(t.replace("px", ""))
: t.includes("rem")
? 16 * Number(t.replace("rem", ""))
: t.includes("em")
? 16 * Number(t.replace("em", ""))
: Number(t)
: NaN;
}
e.s(["px", () => t]);
};
export default moduleFactory;