31 lines
876 B
JavaScript
31 lines
876 B
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 39c0420b837da380.f3eff5e6e8.js
|
|
* Module id: 903476
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e) => {
|
|
"use strict";
|
|
function r(e) {
|
|
if ("number" == typeof e) return !0;
|
|
if ("string" == typeof e) {
|
|
if (
|
|
e.startsWith("calc(") ||
|
|
e.startsWith("var(") ||
|
|
(e.includes(" ") && "" !== e.trim())
|
|
)
|
|
return !0;
|
|
let r =
|
|
/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
|
|
return e
|
|
.trim()
|
|
.split(/\s+/)
|
|
.every((e) => r.test(e));
|
|
}
|
|
return !1;
|
|
}
|
|
e.s(["isNumberLike", () => r]);
|
|
};
|
|
|
|
export default moduleFactory;
|