// node_modules/@arcgis/core/core/screenUtils.js var n = /^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i; var t = "screenUtils.toPt: input not recognized!"; var r = 96; function u(n2) { return n2 ? n2 / 72 * r : 0; } function e(n2) { return n2 ? 72 * n2 / r : 0; } function o(r2) { if (typeof r2 == "string") { const u2 = r2.match(n); if (u2) { const n2 = Number(u2[1]), t2 = u2[3] && u2[3].toLowerCase(), o2 = r2.charAt(0) === "-", c2 = t2 === "px" ? e(n2) : n2; return o2 ? -c2 : c2; } return console.warn(t), null; } return r2; } function c(n2 = 0, t2 = 0) { return { x: n2, y: t2 }; } function i(n2 = 0, t2 = 0) { return [n2, t2]; } export { u, e, o, c, i }; //# sourceMappingURL=chunk-WEMIK25H.js.map