UNPKG

@anoki/fse-marche-ui

Version:

FSE UI components library

21 lines (20 loc) 755 B
import s from "./index.es133.js"; import t from "./index.es132.js"; import o from "./index.es122.js"; import n from "./index.es134.js"; import { isUndefined as i, isString as m, isNumber as l } from "./index.es124.js"; import c from "./index.es135.js"; function S(e, f) { if (i(e) || e === null) return f; if (e instanceof s) return e; if (m(e)) { const r = e.toLowerCase(); return r === "default" ? f : r === "local" || r === "system" ? c.instance : r === "utc" || r === "gmt" ? o.utcInstance : o.parseSpecifier(r) || t.create(e); } else return l(e) ? o.instance(e) : typeof e == "object" && "offset" in e && typeof e.offset == "function" ? e : new n(e); } export { S as normalizeZone }; //# sourceMappingURL=index.es125.js.map