123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- import {
- g,
- l
- } from "./chunk-5UVJ64RB.js";
- import {
- o
- } from "./chunk-HZRKBTHJ.js";
- import {
- x
- } from "./chunk-YXWMMD76.js";
- // node_modules/@arcgis/core/intl/date.js
- var r = { year: "numeric", month: "numeric", day: "numeric" };
- var n = { year: "numeric", month: "long", day: "numeric" };
- var a = { year: "numeric", month: "short", day: "numeric" };
- var h = { year: "numeric", month: "long", weekday: "long", day: "numeric" };
- var m = { hour: "numeric", minute: "numeric" };
- var i = { ...m, second: "numeric" };
- var s = { "short-date": r, "short-date-short-time": { ...r, ...m }, "short-date-short-time-24": { ...r, ...m, hour12: false }, "short-date-long-time": { ...r, ...i }, "short-date-long-time-24": { ...r, ...i, hour12: false }, "short-date-le": r, "short-date-le-short-time": { ...r, ...m }, "short-date-le-short-time-24": { ...r, ...m, hour12: false }, "short-date-le-long-time": { ...r, ...i }, "short-date-le-long-time-24": { ...r, ...i, hour12: false }, "long-month-day-year": n, "long-month-day-year-short-time": { ...n, ...m }, "long-month-day-year-short-time-24": { ...n, ...m, hour12: false }, "long-month-day-year-long-time": { ...n, ...i }, "long-month-day-year-long-time-24": { ...n, ...i, hour12: false }, "day-short-month-year": a, "day-short-month-year-short-time": { ...a, ...m }, "day-short-month-year-short-time-24": { ...a, ...m, hour12: false }, "day-short-month-year-long-time": { ...a, ...i }, "day-short-month-year-long-time-24": { ...a, ...i, hour12: false }, "long-date": h, "long-date-short-time": { ...h, ...m }, "long-date-short-time-24": { ...h, ...m, hour12: false }, "long-date-long-time": { ...h, ...i }, "long-date-long-time-24": { ...h, ...i, hour12: false }, "long-month-year": { month: "long", year: "numeric" }, "short-month-year": { month: "short", year: "numeric" }, year: { year: "numeric" }, "short-time": m, "long-time": i };
- var l2 = o()({ shortDate: "short-date", shortDateShortTime: "short-date-short-time", shortDateShortTime24: "short-date-short-time-24", shortDateLongTime: "short-date-long-time", shortDateLongTime24: "short-date-long-time-24", shortDateLE: "short-date-le", shortDateLEShortTime: "short-date-le-short-time", shortDateLEShortTime24: "short-date-le-short-time-24", shortDateLELongTime: "short-date-le-long-time", shortDateLELongTime24: "short-date-le-long-time-24", longMonthDayYear: "long-month-day-year", longMonthDayYearShortTime: "long-month-day-year-short-time", longMonthDayYearShortTime24: "long-month-day-year-short-time-24", longMonthDayYearLongTime: "long-month-day-year-long-time", longMonthDayYearLongTime24: "long-month-day-year-long-time-24", dayShortMonthYear: "day-short-month-year", dayShortMonthYearShortTime: "day-short-month-year-short-time", dayShortMonthYearShortTime24: "day-short-month-year-short-time-24", dayShortMonthYearLongTime: "day-short-month-year-long-time", dayShortMonthYearLongTime24: "day-short-month-year-long-time-24", longDate: "long-date", longDateShortTime: "long-date-short-time", longDateShortTime24: "long-date-short-time-24", longDateLongTime: "long-date-long-time", longDateLongTime24: "long-date-long-time-24", longMonthYear: "long-month-year", shortMonthYear: "short-month-year", year: "year" });
- var g2 = l2.apiValues;
- var y = l2.toJSON.bind(l2);
- var d = l2.fromJSON.bind(l2);
- var u = { ar: "ar-u-nu-latn-ca-gregory" };
- var c = /* @__PURE__ */ new WeakMap();
- var D = s["short-date-short-time"];
- function T(t) {
- const o3 = t || D;
- let r2 = c.get(o3);
- if (!r2) {
- const t2 = l(), n2 = u[l()] || t2;
- r2 = new Intl.DateTimeFormat(n2, o3), c.set(o3, r2);
- }
- return r2;
- }
- function S(t) {
- return t ? s[t] : null;
- }
- function L(t, o3) {
- return T(o3).format(t);
- }
- g(() => {
- c = /* @__PURE__ */ new WeakMap(), D = s["short-date-short-time"];
- });
- // node_modules/@arcgis/core/intl/number.js
- var a2 = { ar: "ar-u-nu-latn" };
- var e = /* @__PURE__ */ new WeakMap();
- var o2 = {};
- function i2(n2) {
- const i3 = n2 || o2;
- if (!e.has(i3)) {
- const t = l(), o3 = a2[l()] || t;
- e.set(i3, new Intl.NumberFormat(o3, n2));
- }
- return x(e.get(i3));
- }
- function u2(t = {}) {
- const n2 = {};
- return null != t.digitSeparator && (n2.useGrouping = t.digitSeparator), null != t.places && (n2.minimumFractionDigits = n2.maximumFractionDigits = t.places), n2;
- }
- function m2(t, n2) {
- return -0 === t && (t = 0), i2(n2).format(t);
- }
- g(() => {
- e = /* @__PURE__ */ new WeakMap(), o2 = {};
- });
- export {
- S,
- L,
- u2 as u,
- m2 as m
- };
- //# sourceMappingURL=chunk-TV3CFJQR.js.map
|