@das-fed/upf-utils 6.4.0-dev.268 → 6.4.0-dev.269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-services/modules/authentication/es5.js +857 -860
- package/api-services/modules/authentication/index.js +670 -674
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/es5.js +1153 -1141
- package/api-services/modules/bems/index.js +964 -946
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/es5.js +1109 -1102
- package/api-services/modules/contract/index.js +927 -917
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/es5.js +855 -858
- package/api-services/modules/duty-manage/index.js +669 -673
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/es5.js +1355 -1367
- package/api-services/modules/gateway-edge/es5.js +1122 -1134
- package/api-services/modules/gateway-edge/index.js +930 -948
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1068 -1086
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/knowledge/es5.js +1122 -1134
- package/api-services/modules/knowledge/index.js +930 -948
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/es5.js +1134 -1122
- package/api-services/modules/link/index.js +948 -930
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/es5.js +1102 -1109
- package/api-services/modules/permission/index.js +917 -927
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/es5.js +1237 -1228
- package/api-services/modules/platformManage/index.js +1030 -1016
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/es5.js +1122 -1134
- package/api-services/modules/portal/index.js +930 -948
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/es5.js +1122 -1110
- package/api-services/modules/space-manage/index.js +936 -918
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/supplier/es5.js +1114 -1126
- package/api-services/modules/supplier/index.js +920 -938
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/es5.js +1122 -1134
- package/api-services/modules/supplychain-manage/index.js +930 -948
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/common-info/es5.js +1293 -1281
- package/common-info/getPermissionMethod/es5.js +916 -913
- package/common-info/getPermissionMethod/index.js +713 -709
- package/common-info/getPermissionMethod/index.js.gz +0 -0
- package/common-info/index.js +1073 -1055
- package/common-info/index.js.gz +0 -0
- package/common-tools/timezone-format/es5.d.ts +15 -0
- package/common-tools/timezone-format/es5.js +433 -390
- package/common-tools/timezone-format/index.d.ts +15 -0
- package/common-tools/timezone-format/index.js +311 -280
- package/common-tools/timezone-format/index.js.gz +0 -0
- package/create-api-service/es5.js +1121 -1133
- package/create-api-service/index.js +930 -948
- package/create-api-service/index.js.gz +0 -0
- package/esm-map.json +5 -1
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import f from "dayjs";
|
|
2
|
-
import { ref as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { ref as Ze } from "vue";
|
|
3
|
+
import ye from "dayjs/plugin/utc";
|
|
4
|
+
import Ie from "dayjs/plugin/timezone";
|
|
5
5
|
import "@das-fed/upf-utils/config";
|
|
6
|
-
const
|
|
7
|
-
function
|
|
6
|
+
const te = "/api/admin/basic-application/sys-info/v1/license/time-zone-packed-data";
|
|
7
|
+
function pe() {
|
|
8
8
|
if (typeof localStorage > "u")
|
|
9
9
|
return null;
|
|
10
10
|
try {
|
|
@@ -13,18 +13,18 @@ function Ie() {
|
|
|
13
13
|
return null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
const e =
|
|
16
|
+
function De() {
|
|
17
|
+
const e = pe();
|
|
18
18
|
if (!(e == null || e === ""))
|
|
19
19
|
return e.trim().startsWith("Bearer ") ? e.trim() : `Bearer ${e.trim()}`;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
const t = e.authorization !== void 0 ? e.authorization === "" || e.authorization == null ? void 0 : e.authorization :
|
|
21
|
+
function ne(e = {}) {
|
|
22
|
+
const t = e.authorization !== void 0 ? e.authorization === "" || e.authorization == null ? void 0 : e.authorization : De(), n = { ...e.headers || {} };
|
|
23
23
|
if (t != null && t !== "" && (n.Authorization = t), Object.keys(n).length !== 0)
|
|
24
24
|
return { headers: n };
|
|
25
25
|
}
|
|
26
|
-
let
|
|
27
|
-
const
|
|
26
|
+
let S = null, w = null;
|
|
27
|
+
const H = [
|
|
28
28
|
"utc",
|
|
29
29
|
"uct",
|
|
30
30
|
"zulu",
|
|
@@ -43,8 +43,8 @@ const Y = [
|
|
|
43
43
|
"etc/gmt+0",
|
|
44
44
|
"etc/gmt-0",
|
|
45
45
|
"etc/greenwich"
|
|
46
|
-
],
|
|
47
|
-
function
|
|
46
|
+
], we = { u: [1 / 0], o: [0] };
|
|
47
|
+
function oe(e) {
|
|
48
48
|
if (!e || typeof e != "object")
|
|
49
49
|
throw new Error("Invalid IANA response: expected an object");
|
|
50
50
|
const t = e;
|
|
@@ -57,7 +57,7 @@ function te(e) {
|
|
|
57
57
|
links: Array.isArray(n) ? n : []
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function Ae(e, t) {
|
|
61
61
|
if (typeof fetch != "function")
|
|
62
62
|
throw new Error("fetch is not available. Pass preloadFromApi options.fetchJson.");
|
|
63
63
|
const n = await fetch(e, t);
|
|
@@ -65,68 +65,68 @@ async function we(e, t) {
|
|
|
65
65
|
throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
|
|
66
66
|
return n.json();
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
return w =
|
|
68
|
+
function re(e) {
|
|
69
|
+
return w = oe(e), S = Me(w), w;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Ee() {
|
|
72
72
|
return w;
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
75
|
-
const t = e.url ??
|
|
74
|
+
async function ze(e = {}) {
|
|
75
|
+
const t = e.url ?? te, n = ne({
|
|
76
76
|
authorization: e.authorization,
|
|
77
77
|
headers: e.headers
|
|
78
|
-
}),
|
|
79
|
-
return
|
|
78
|
+
}), r = await (e.fetchJson ?? Ae)(t, n), s = e.parseResponse ? e.parseResponse(r) : oe(r);
|
|
79
|
+
return re(s);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
|
|
81
|
+
function Se() {
|
|
82
|
+
S = null, w = null;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function J(e) {
|
|
85
85
|
return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
let t = 1, n = 0,
|
|
87
|
+
function _e(e) {
|
|
88
|
+
let t = 1, n = 0, o = 0, r = 1;
|
|
89
89
|
const s = e.split("."), i = s[0], c = s[1] || "";
|
|
90
90
|
e.charCodeAt(0) === 45 && (t = -1);
|
|
91
91
|
for (let a = 0; a < i.length; a++) {
|
|
92
92
|
const u = i.charCodeAt(a);
|
|
93
|
-
u !== 45 && (n = 60 * n +
|
|
93
|
+
u !== 45 && (n = 60 * n + J(u));
|
|
94
94
|
}
|
|
95
95
|
for (let a = 0; a < c.length; a++)
|
|
96
|
-
|
|
97
|
-
return (n +
|
|
96
|
+
r = r / 60, o += J(c.charCodeAt(a)) * r;
|
|
97
|
+
return (n + o) * t;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function O(e) {
|
|
100
100
|
const t = [];
|
|
101
101
|
for (const n of e)
|
|
102
|
-
t.push(
|
|
102
|
+
t.push(_e(n));
|
|
103
103
|
return t;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function B(e) {
|
|
106
106
|
const t = e.trim();
|
|
107
107
|
return t ? t.split(" ") : [];
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Ce(e) {
|
|
110
110
|
let t = 0;
|
|
111
111
|
const n = [];
|
|
112
|
-
for (const
|
|
113
|
-
t +=
|
|
112
|
+
for (const o of e)
|
|
113
|
+
t += o, n.push(Math.round(t * 6e4));
|
|
114
114
|
return n.push(1 / 0), n;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Le(e, t) {
|
|
117
117
|
const n = [];
|
|
118
|
-
for (const
|
|
119
|
-
n.push(e[
|
|
118
|
+
for (const o of t)
|
|
119
|
+
n.push(e[o]);
|
|
120
120
|
return n;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function _(e) {
|
|
123
123
|
return typeof e == "string" ? e.trim().toLowerCase() : "";
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function ve(e) {
|
|
126
126
|
const t = e.split("|");
|
|
127
127
|
if (t.length < 5)
|
|
128
128
|
throw new Error("Invalid packed zone format");
|
|
129
|
-
const n =
|
|
129
|
+
const n = _(t[0]), o = O(B(t[2])), r = O(t[3].split("")), s = Ce(O(B(t[4]))), i = Le(o, r);
|
|
130
130
|
return {
|
|
131
131
|
name: n,
|
|
132
132
|
rule: {
|
|
@@ -135,15 +135,15 @@ function Se(e) {
|
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
const
|
|
140
|
-
if (!
|
|
141
|
-
const s = e[
|
|
142
|
-
s && !i ? e[
|
|
138
|
+
function be(e, t, n) {
|
|
139
|
+
const o = _(t), r = _(n);
|
|
140
|
+
if (!o || !r) return;
|
|
141
|
+
const s = e[o], i = e[r];
|
|
142
|
+
s && !i ? e[r] = s : i && !s && (e[o] = i);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
const t =
|
|
146
|
-
|
|
144
|
+
function ke(e) {
|
|
145
|
+
const t = H.map((n) => e[n]).find(Boolean) || we;
|
|
146
|
+
H.forEach((n) => {
|
|
147
147
|
e[n] || (e[n] = t);
|
|
148
148
|
});
|
|
149
149
|
}
|
|
@@ -151,29 +151,29 @@ function Me(e) {
|
|
|
151
151
|
if (!e || !Array.isArray(e.zones))
|
|
152
152
|
throw new TypeError("packed iana data must contain zones array");
|
|
153
153
|
const t = {};
|
|
154
|
-
for (const
|
|
155
|
-
const
|
|
156
|
-
t[
|
|
154
|
+
for (const o of e.zones) {
|
|
155
|
+
const r = ve(o);
|
|
156
|
+
t[r.name] = r.rule;
|
|
157
157
|
}
|
|
158
158
|
const n = e.links || [];
|
|
159
|
-
for (const
|
|
160
|
-
const
|
|
161
|
-
|
|
159
|
+
for (const o of n) {
|
|
160
|
+
const r = o.split("|");
|
|
161
|
+
r.length < 2 || be(t, r[0], r[1]);
|
|
162
162
|
}
|
|
163
|
-
return
|
|
163
|
+
return ke(t), t;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
if (!
|
|
165
|
+
function Ne() {
|
|
166
|
+
if (!S)
|
|
167
167
|
throw new Error(
|
|
168
168
|
"IANA data not loaded. Await dayjsTimezoneIanaPlugin.preloadFromApi({ url: ... }) before dayjs.extend(dayjsTimezoneIanaPlugin)."
|
|
169
169
|
);
|
|
170
|
-
return
|
|
170
|
+
return S;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
const
|
|
174
|
-
if (
|
|
172
|
+
function Oe(e, t, n) {
|
|
173
|
+
const o = _(t), r = n[o];
|
|
174
|
+
if (r === void 0)
|
|
175
175
|
throw Error("Unknown Time Zone " + t);
|
|
176
|
-
const s =
|
|
176
|
+
const s = r.o, i = r.u, c = i.length - 1;
|
|
177
177
|
for (let a = 0; a < c; a++) {
|
|
178
178
|
let u = s[a];
|
|
179
179
|
const l = s[a && a - 1];
|
|
@@ -184,24 +184,24 @@ function ke(e, t, n) {
|
|
|
184
184
|
}
|
|
185
185
|
const Ue = (e, t, n) => {
|
|
186
186
|
var a, u;
|
|
187
|
-
let
|
|
188
|
-
const
|
|
189
|
-
const z = Z || T ||
|
|
187
|
+
let o = "";
|
|
188
|
+
const r = n.tz, s = (a = r == null ? void 0 : r.guess) == null ? void 0 : a.bind(r), i = (u = r == null ? void 0 : r.setDefault) == null ? void 0 : u.bind(r), c = (l, T, Z) => {
|
|
189
|
+
const z = Z || T || o, g = Z ? T : void 0;
|
|
190
190
|
return (typeof n.utc == "function" ? n.utc(l, g) : n(l, g).utc()).tz(z);
|
|
191
191
|
};
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}, c.guess = () => s ? s() : typeof Intl < "u" && typeof Intl.DateTimeFormat == "function" ? Intl.DateTimeFormat().resolvedOptions().timeZone ||
|
|
195
|
-
var
|
|
196
|
-
const Z = l || ((
|
|
192
|
+
r && Object.assign(c, r), c.setDefault = (l) => {
|
|
193
|
+
o = l, i == null || i(l);
|
|
194
|
+
}, c.guess = () => s ? s() : typeof Intl < "u" && typeof Intl.DateTimeFormat == "function" ? Intl.DateTimeFormat().resolvedOptions().timeZone || o || "UTC" : o || "UTC", n.tz = c, t.prototype.tz = function(l = o, T) {
|
|
195
|
+
var y;
|
|
196
|
+
const Z = l || ((y = c.guess) == null ? void 0 : y.call(c)) || "UTC", z = this.utc().valueOf(), g = Oe(z, Z, Ne());
|
|
197
197
|
return this.utcOffset(-g, T);
|
|
198
198
|
};
|
|
199
199
|
}, d = Ue;
|
|
200
|
-
d.preloadFromApi =
|
|
201
|
-
d.preloadFromData =
|
|
202
|
-
d.getCachedPackedData =
|
|
203
|
-
d.clearIanaCache =
|
|
204
|
-
function
|
|
200
|
+
d.preloadFromApi = ze;
|
|
201
|
+
d.preloadFromData = re;
|
|
202
|
+
d.getCachedPackedData = Ee;
|
|
203
|
+
d.clearIanaCache = Se;
|
|
204
|
+
function Pe(e) {
|
|
205
205
|
if (!e || typeof e != "object")
|
|
206
206
|
throw new Error("Invalid IANA response: expected an object");
|
|
207
207
|
const t = e;
|
|
@@ -214,14 +214,14 @@ function Oe(e) {
|
|
|
214
214
|
links: Array.isArray(n) ? n : []
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function se(e, t) {
|
|
218
218
|
if (!e || typeof e.tz != "object" || typeof e.tz.load != "function")
|
|
219
219
|
throw new Error("moment.tz.load is missing. Import moment-timezone before calling loadIanaData.");
|
|
220
220
|
if (!t || !Array.isArray(t.zones))
|
|
221
221
|
throw new Error("Invalid packed IANA data: zones must be an array");
|
|
222
222
|
e.tz.load(t);
|
|
223
223
|
}
|
|
224
|
-
async function
|
|
224
|
+
async function Fe(e, t) {
|
|
225
225
|
if (typeof fetch != "function")
|
|
226
226
|
throw new Error("fetch is not available. Pass loadIanaFromApi options.fetchJson in Node or polyfill fetch.");
|
|
227
227
|
const n = await fetch(e, t);
|
|
@@ -229,21 +229,21 @@ async function Ne(e, t) {
|
|
|
229
229
|
throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
|
|
230
230
|
return n.json();
|
|
231
231
|
}
|
|
232
|
-
async function
|
|
233
|
-
let
|
|
234
|
-
typeof t == "string" ? (
|
|
235
|
-
const s =
|
|
236
|
-
authorization:
|
|
237
|
-
headers:
|
|
238
|
-
}), c = await (
|
|
239
|
-
return
|
|
232
|
+
async function W(e, t, n) {
|
|
233
|
+
let o = te, r = {};
|
|
234
|
+
typeof t == "string" ? (o = t, r = n ?? {}) : t != null && (r = t);
|
|
235
|
+
const s = ne({
|
|
236
|
+
authorization: r.authorization,
|
|
237
|
+
headers: r.headers
|
|
238
|
+
}), c = await (r.fetchJson ?? Fe)(o, s), a = r.parseResponse ? r.parseResponse(c) : Pe(c);
|
|
239
|
+
return se(e, a), a;
|
|
240
240
|
}
|
|
241
|
-
f.extend(
|
|
242
|
-
f.extend(
|
|
243
|
-
const
|
|
241
|
+
f.extend(ye);
|
|
242
|
+
f.extend(Ie);
|
|
243
|
+
const D = "zh-CN", je = "YYYY.MM.DD HH:mm:ss", b = "YYYY-MM-DD HH:mm:ss", ae = "YYYY-MM-DD HH:mm", j = "UTC", x = "timeZone", ie = "timezonechange", xe = "__UPF_TIMEZONE_CHANGE__", Re = "ianatimezonedatachange", K = {
|
|
244
244
|
zh: "夏令时",
|
|
245
245
|
default: "DST"
|
|
246
|
-
},
|
|
246
|
+
}, Ve = [
|
|
247
247
|
"UTC",
|
|
248
248
|
"UCT",
|
|
249
249
|
"Zulu",
|
|
@@ -262,27 +262,54 @@ const p = "zh-CN", Fe = "YYYY.MM.DD HH:mm:ss", b = "YYYY-MM-DD HH:mm:ss", re = "
|
|
|
262
262
|
"Etc/GMT+0",
|
|
263
263
|
"Etc/GMT-0",
|
|
264
264
|
"Etc/Greenwich"
|
|
265
|
-
],
|
|
266
|
-
var
|
|
267
|
-
const
|
|
265
|
+
], I = /* @__PURE__ */ new Set();
|
|
266
|
+
var X, ee;
|
|
267
|
+
const Ge = (ee = (X = f.tz) == null ? void 0 : X.guess) == null ? void 0 : ee.bind(f.tz);
|
|
268
268
|
let C = !1;
|
|
269
|
-
const m = (e) => (e || "").trim(),
|
|
269
|
+
const m = (e) => (e || "").trim(), U = (e) => {
|
|
270
270
|
const t = m(e);
|
|
271
|
-
t &&
|
|
272
|
-
},
|
|
271
|
+
t && I.add(t);
|
|
272
|
+
}, $e = () => Ve.forEach(U), p = () => typeof window > "u" ? void 0 : window, Ye = (e) => ({
|
|
273
|
+
version: typeof e.version == "string" ? e.version : void 0,
|
|
274
|
+
zones: Array.isArray(e.zones) ? e.zones.filter((t) => typeof t == "string") : [],
|
|
275
|
+
links: Array.isArray(e.links) ? e.links.filter((t) => typeof t == "string") : []
|
|
276
|
+
}), P = (e, t, n = Date.now()) => ({
|
|
277
|
+
...Ye(e),
|
|
278
|
+
source: t,
|
|
279
|
+
timestamp: n
|
|
280
|
+
}), k = (e, t = "iana") => {
|
|
281
|
+
const n = P(e, t);
|
|
282
|
+
try {
|
|
283
|
+
const o = p();
|
|
284
|
+
o && (o.__UPF_IANA_TIMEZONE_DATA__ = n, o.dispatchEvent(new CustomEvent(Re, { detail: n })));
|
|
285
|
+
} catch {
|
|
286
|
+
}
|
|
287
|
+
return n;
|
|
288
|
+
}, He = () => {
|
|
289
|
+
var o;
|
|
290
|
+
const e = p(), t = e == null ? void 0 : e.__UPF_IANA_TIMEZONE_DATA__;
|
|
291
|
+
if (t && Array.isArray(t.zones) && t.zones.length)
|
|
292
|
+
return P(
|
|
293
|
+
t,
|
|
294
|
+
t.source === "fallback" ? "fallback" : "iana",
|
|
295
|
+
Number(t.timestamp || Date.now())
|
|
296
|
+
);
|
|
297
|
+
const n = (o = d.getCachedPackedData) == null ? void 0 : o.call(d);
|
|
298
|
+
return n ? P(n, "iana") : null;
|
|
299
|
+
}, zt = He, R = () => {
|
|
273
300
|
try {
|
|
274
|
-
return typeof sessionStorage > "u" ? "" : m(sessionStorage.getItem(
|
|
301
|
+
return typeof sessionStorage > "u" ? "" : m(sessionStorage.getItem(x));
|
|
275
302
|
} catch {
|
|
276
303
|
return "";
|
|
277
304
|
}
|
|
278
|
-
},
|
|
305
|
+
}, Je = (e) => {
|
|
279
306
|
try {
|
|
280
|
-
typeof sessionStorage < "u" && sessionStorage.setItem(
|
|
307
|
+
typeof sessionStorage < "u" && sessionStorage.setItem(x, e);
|
|
281
308
|
} catch {
|
|
282
309
|
}
|
|
283
|
-
},
|
|
310
|
+
}, V = () => {
|
|
284
311
|
var t;
|
|
285
|
-
const e =
|
|
312
|
+
const e = p();
|
|
286
313
|
if (!(e != null && e.name)) return "";
|
|
287
314
|
try {
|
|
288
315
|
const n = (t = JSON.parse(e.name || "{}")) == null ? void 0 : t.parentData;
|
|
@@ -290,20 +317,20 @@ const m = (e) => (e || "").trim(), O = (e) => {
|
|
|
290
317
|
} catch {
|
|
291
318
|
return "";
|
|
292
319
|
}
|
|
293
|
-
},
|
|
320
|
+
}, ce = (e, t) => ({
|
|
294
321
|
timeZone: m(e),
|
|
295
322
|
source: t,
|
|
296
323
|
timestamp: Date.now()
|
|
297
|
-
}),
|
|
298
|
-
let
|
|
299
|
-
const
|
|
324
|
+
}), L = Ze(R() || V()), F = /* @__PURE__ */ new Set();
|
|
325
|
+
let q = !1;
|
|
326
|
+
const Be = () => {
|
|
300
327
|
if (!(typeof Intl > "u" || typeof Intl.DateTimeFormat != "function"))
|
|
301
328
|
try {
|
|
302
329
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
303
330
|
} catch {
|
|
304
331
|
return;
|
|
305
332
|
}
|
|
306
|
-
},
|
|
333
|
+
}, We = (e) => {
|
|
307
334
|
if (!e) return !1;
|
|
308
335
|
if (typeof Intl > "u" || typeof Intl.DateTimeFormat != "function") return !0;
|
|
309
336
|
try {
|
|
@@ -311,275 +338,279 @@ const Ge = () => {
|
|
|
311
338
|
} catch {
|
|
312
339
|
return !1;
|
|
313
340
|
}
|
|
314
|
-
},
|
|
341
|
+
}, A = (e) => {
|
|
315
342
|
const t = m(e);
|
|
316
|
-
return t ?
|
|
317
|
-
},
|
|
343
|
+
return t ? I.size ? I.has(t) : We(t) : !1;
|
|
344
|
+
}, M = (e) => (I.clear(), e.zones.forEach((t) => {
|
|
318
345
|
const n = t.split("|")[0];
|
|
319
|
-
|
|
346
|
+
U(n);
|
|
320
347
|
}), (e.links || []).forEach((t) => {
|
|
321
348
|
t.split("|").forEach((n) => {
|
|
322
|
-
|
|
349
|
+
U(n);
|
|
323
350
|
});
|
|
324
|
-
}),
|
|
325
|
-
const n = d.preloadFromData(e),
|
|
326
|
-
return C || (f.extend(d), C = !0),
|
|
327
|
-
},
|
|
328
|
-
const t = await d.preloadFromApi(e), n =
|
|
329
|
-
return C || (f.extend(d), C = !0),
|
|
330
|
-
},
|
|
331
|
-
const { url: n, ...
|
|
332
|
-
return
|
|
333
|
-
},
|
|
351
|
+
}), $e(), Array.from(I)), St = () => Array.from(I), _t = async (e, t = {}) => {
|
|
352
|
+
const n = d.preloadFromData(e), o = M(n);
|
|
353
|
+
return C || (f.extend(d), C = !0), G(t.defaultTimeZone), t.syncRuntimeSnapshot !== !1 && k(n, t.runtimeSource || "iana"), { data: n, knownTimeZones: o };
|
|
354
|
+
}, Ct = async (e = {}) => {
|
|
355
|
+
const t = await d.preloadFromApi(e), n = M(t);
|
|
356
|
+
return C || (f.extend(d), C = !0), G(e.defaultTimeZone), e.syncRuntimeSnapshot !== !1 && k(t, e.runtimeSource || "iana"), { data: t, knownTimeZones: n };
|
|
357
|
+
}, Lt = (e, t) => (se(e, t), M(t), k(t, "iana"), t), vt = async (e, t = {}) => {
|
|
358
|
+
const { url: n, ...o } = t, r = n ? await W(e, n, o) : await W(e, o);
|
|
359
|
+
return M(r), k(r, "iana"), r;
|
|
360
|
+
}, Ke = () => {
|
|
334
361
|
var n;
|
|
335
|
-
const e = (n = f.tz) == null ? void 0 : n.guess, t = typeof e == "function" ? e :
|
|
362
|
+
const e = (n = f.tz) == null ? void 0 : n.guess, t = typeof e == "function" ? e : Ge;
|
|
336
363
|
try {
|
|
337
364
|
return t == null ? void 0 : t();
|
|
338
365
|
} catch {
|
|
339
366
|
return;
|
|
340
367
|
}
|
|
341
|
-
},
|
|
342
|
-
var
|
|
368
|
+
}, G = (e) => {
|
|
369
|
+
var o, r;
|
|
343
370
|
const t = m(e), n = f.tz;
|
|
344
|
-
return t ?
|
|
345
|
-
},
|
|
346
|
-
|
|
371
|
+
return t ? A(t) ? ((r = n == null ? void 0 : n.setDefault) == null || r.call(n, t), !0) : !1 : ((o = n == null ? void 0 : n.setDefault) == null || o.call(n, j), !0);
|
|
372
|
+
}, qe = (e) => {
|
|
373
|
+
F.forEach((t) => {
|
|
347
374
|
try {
|
|
348
375
|
t(e.timeZone, e);
|
|
349
376
|
} catch {
|
|
350
377
|
}
|
|
351
378
|
});
|
|
352
|
-
},
|
|
379
|
+
}, Qe = (e) => {
|
|
353
380
|
var t;
|
|
354
381
|
try {
|
|
355
|
-
(t =
|
|
382
|
+
(t = p()) == null || t.dispatchEvent(new CustomEvent(ie, { detail: e }));
|
|
356
383
|
} catch {
|
|
357
384
|
}
|
|
358
385
|
}, $ = (e, t = {}) => {
|
|
359
|
-
const n = m(e),
|
|
360
|
-
|
|
386
|
+
const n = m(e), o = ce(n, t.source), r = L.value !== n;
|
|
387
|
+
r && (L.value = n);
|
|
361
388
|
try {
|
|
362
|
-
const s =
|
|
363
|
-
s && (s.__UPF_TIMEZONE_SNAPSHOT__ =
|
|
389
|
+
const s = p();
|
|
390
|
+
s && (s.__UPF_TIMEZONE_SNAPSHOT__ = o);
|
|
364
391
|
} catch {
|
|
365
392
|
}
|
|
366
|
-
return t.persist !== !1 &&
|
|
367
|
-
},
|
|
393
|
+
return t.persist !== !1 && Je(n), t.syncDefault !== !1 && G(n), t.notify !== !1 && r && qe(o), t.dispatchEvent !== !1 && Qe(o), n;
|
|
394
|
+
}, bt = (e, t = {}) => $(m(e), {
|
|
368
395
|
persist: !0,
|
|
369
396
|
notify: !0,
|
|
370
397
|
dispatchEvent: !0,
|
|
371
398
|
syncDefault: !0,
|
|
372
399
|
...t
|
|
373
|
-
}),
|
|
374
|
-
const t =
|
|
375
|
-
return t ||
|
|
376
|
-
},
|
|
377
|
-
var n,
|
|
378
|
-
if (typeof e == "string") return
|
|
400
|
+
}), kt = (e = "sync") => {
|
|
401
|
+
const t = R() || V();
|
|
402
|
+
return t || L.value ? $(t, { source: e, dispatchEvent: !1 }) : "";
|
|
403
|
+
}, Mt = (e) => (F.add(e), () => F.delete(e)), Xe = (e) => {
|
|
404
|
+
var n, o, r, s;
|
|
405
|
+
if (typeof e == "string") return ce(e);
|
|
379
406
|
if (!e || typeof e != "object") return null;
|
|
380
407
|
const t = "timeZone" in e ? e.timeZone : e != null && e.detail && "timeZone" in e.detail ? e.detail.timeZone : e != null && e.params && "timeZone" in e.params ? e.params.timeZone : void 0;
|
|
381
408
|
return t == null ? null : {
|
|
382
409
|
timeZone: m(t),
|
|
383
|
-
source: e.source || ((n = e.detail) == null ? void 0 : n.source) || ((
|
|
384
|
-
timestamp: Number(e.timestamp || ((
|
|
410
|
+
source: e.source || ((n = e.detail) == null ? void 0 : n.source) || ((o = e.params) == null ? void 0 : o.source),
|
|
411
|
+
timestamp: Number(e.timestamp || ((r = e.detail) == null ? void 0 : r.timestamp) || ((s = e.params) == null ? void 0 : s.timestamp) || Date.now())
|
|
385
412
|
};
|
|
386
|
-
},
|
|
387
|
-
const n =
|
|
413
|
+
}, Y = (e, t) => {
|
|
414
|
+
const n = Xe(e);
|
|
388
415
|
n && $(n.timeZone, {
|
|
389
416
|
source: n.source || t,
|
|
390
417
|
dispatchEvent: !1
|
|
391
418
|
});
|
|
392
|
-
},
|
|
393
|
-
|
|
394
|
-
},
|
|
395
|
-
e.key ===
|
|
396
|
-
},
|
|
419
|
+
}, et = (e) => {
|
|
420
|
+
Y(e.detail, "window-event");
|
|
421
|
+
}, tt = (e) => {
|
|
422
|
+
e.key === x && Y({ timeZone: e.newValue || "", source: "storage" }, "storage");
|
|
423
|
+
}, nt = (e) => {
|
|
397
424
|
const t = e.data;
|
|
398
|
-
!t || t.type !==
|
|
399
|
-
},
|
|
400
|
-
const e =
|
|
401
|
-
return !e ||
|
|
425
|
+
!t || t.type !== xe || Y(t.detail || t, "message");
|
|
426
|
+
}, ot = () => {
|
|
427
|
+
const e = p();
|
|
428
|
+
return !e || q ? !1 : (q = !0, e.addEventListener(ie, et), e.addEventListener("storage", tt), e.addEventListener("message", nt), !0);
|
|
402
429
|
};
|
|
403
|
-
|
|
404
|
-
const
|
|
405
|
-
const t = m(
|
|
406
|
-
return
|
|
430
|
+
ot();
|
|
431
|
+
const rt = () => {
|
|
432
|
+
const t = m(L.value) || R() || V() || Ke() || Be();
|
|
433
|
+
return A(t) ? m(t) : j;
|
|
407
434
|
}, h = (e) => {
|
|
408
|
-
const t = m(e) ||
|
|
409
|
-
return
|
|
410
|
-
},
|
|
435
|
+
const t = m(e) || rt();
|
|
436
|
+
return A(t) ? t : j;
|
|
437
|
+
}, st = () => {
|
|
411
438
|
var e;
|
|
412
|
-
return typeof window < "u" && ((e = window.navigator) != null && e.language) ? window.navigator.language :
|
|
413
|
-
},
|
|
414
|
-
const
|
|
439
|
+
return typeof window < "u" && ((e = window.navigator) != null && e.language) ? window.navigator.language : D;
|
|
440
|
+
}, at = (e, t = []) => {
|
|
441
|
+
const o = e || st() || D, r = o.toLowerCase();
|
|
415
442
|
if (!t.length)
|
|
416
|
-
return
|
|
417
|
-
const s = t.find((a) => a.toLowerCase() ===
|
|
443
|
+
return r === "en" ? "en-US" : r === "zh" || r === "zh-cn" ? D : o;
|
|
444
|
+
const s = t.find((a) => a.toLowerCase() === r);
|
|
418
445
|
if (s) return s;
|
|
419
|
-
const i =
|
|
420
|
-
return c || (i === "en" ? t.find((a) => a.toLowerCase().startsWith("en-")) ||
|
|
446
|
+
const i = r.split("-")[0], c = t.find((a) => a.toLowerCase().split("-")[0] === i);
|
|
447
|
+
return c || (i === "en" ? t.find((a) => a.toLowerCase().startsWith("en-")) || o : i === "zh" ? t.find((a) => a.toLowerCase().startsWith("zh-")) || D : o);
|
|
421
448
|
}, E = (e) => {
|
|
422
449
|
if (f.isDayjs(e)) return e;
|
|
423
450
|
if (e == null || e === "") return f();
|
|
424
451
|
const t = f(e);
|
|
425
452
|
return t.isValid() ? t : f();
|
|
426
|
-
}, v = (e) => e == null || e === "",
|
|
453
|
+
}, v = (e) => e == null || e === "", fe = (e) => f.isDayjs(e) ? e : v(e) ? f() : f(e), ue = (e, t = !1) => {
|
|
427
454
|
const n = m(e);
|
|
428
455
|
return n ? h(n) : t ? h() : "";
|
|
429
|
-
},
|
|
430
|
-
const n = t.format || b,
|
|
431
|
-
if (!
|
|
456
|
+
}, it = (e, t) => E(e).tz(h(t)).utcOffset(), ct = (e, t, n = ae) => E(e).tz(h(t)).format(n), ft = (e, t) => fe(e).format(t.format), le = (e, t) => {
|
|
457
|
+
const n = t.format || b, o = ue(t.timeZone, t.useClientTimeZone);
|
|
458
|
+
if (!o) return ft(e, { format: n });
|
|
432
459
|
if (t.inputMode === "local")
|
|
433
|
-
return v(e) ? f().tz(
|
|
434
|
-
const
|
|
435
|
-
return
|
|
436
|
-
},
|
|
460
|
+
return v(e) ? f().tz(o).format(n) : f.tz(e, o).format(n);
|
|
461
|
+
const r = fe(e);
|
|
462
|
+
return r.isValid() ? r.tz(o).format(n) : r.format(n);
|
|
463
|
+
}, ut = (e) => typeof e == "function", lt = (e, t) => {
|
|
437
464
|
var a, u;
|
|
438
|
-
const { moment: n } = t,
|
|
439
|
-
if (!
|
|
440
|
-
const
|
|
441
|
-
if (!s || typeof n.tz != "function") return n(
|
|
465
|
+
const { moment: n } = t, o = t.format || b;
|
|
466
|
+
if (!ut(n)) return le(e, { ...t, dateLibrary: "dayjs" });
|
|
467
|
+
const r = v(e) ? void 0 : e, s = ue(t.timeZone, t.useClientTimeZone);
|
|
468
|
+
if (!s || typeof n.tz != "function") return n(r).format(o);
|
|
442
469
|
if (t.inputMode === "local")
|
|
443
|
-
return v(e) ? ((u = (a = n()).tz) == null ? void 0 : u.call(a, s).format(
|
|
444
|
-
const i = n(
|
|
445
|
-
return (typeof i.tz == "function" ? i.tz(s) : n.tz(
|
|
446
|
-
},
|
|
447
|
-
const n = typeof t == "string" ? { format: t } : t || {},
|
|
470
|
+
return v(e) ? ((u = (a = n()).tz) == null ? void 0 : u.call(a, s).format(o)) || n().format(o) : n.tz(r, s).format(o);
|
|
471
|
+
const i = n(r);
|
|
472
|
+
return (typeof i.tz == "function" ? i.tz(s) : n.tz(r, s)).format(o);
|
|
473
|
+
}, mt = (e, t = {}) => {
|
|
474
|
+
const n = typeof t == "string" ? { format: t } : t || {}, o = {
|
|
448
475
|
...n,
|
|
449
476
|
format: n.format || b
|
|
450
477
|
};
|
|
451
|
-
return
|
|
452
|
-
},
|
|
453
|
-
const n =
|
|
454
|
-
return `UTC${
|
|
455
|
-
},
|
|
478
|
+
return o.dateLibrary === "moment" ? lt(e, o) : le(e, o);
|
|
479
|
+
}, Nt = (e, t = b, n = {}) => mt(e, { ...n, format: t }), Q = (e) => String(e).padStart(2, "0"), me = (e) => `UTC${e}`, de = (e, t) => {
|
|
480
|
+
const n = it(e, t), o = n >= 0 ? "+" : "-", r = Math.abs(n);
|
|
481
|
+
return `UTC${o}${Q(Math.floor(r / 60))}:${Q(r % 60)}`;
|
|
482
|
+
}, dt = (e, t = /* @__PURE__ */ new Date()) => {
|
|
456
483
|
const n = e.currentUtcOffsetText || e.baseUtcOffsetText;
|
|
457
|
-
return n ? `UTC${n}` :
|
|
458
|
-
},
|
|
484
|
+
return n ? `UTC${n}` : de(t, e.timeZoneId);
|
|
485
|
+
}, ht = (e, t) => {
|
|
459
486
|
const n = e.match(/([+-]\d{1,2})(?::?(\d{2}))?/) || [];
|
|
460
487
|
if (!n[1]) return t;
|
|
461
|
-
const
|
|
462
|
-
return `UTC${
|
|
463
|
-
},
|
|
464
|
-
var
|
|
465
|
-
const
|
|
488
|
+
const o = n[1].startsWith("-") ? "-" : "+", r = n[1].replace(/[+-]/, "").padStart(2, "0"), s = n[2] || "00";
|
|
489
|
+
return `UTC${o}${r}:${s}`;
|
|
490
|
+
}, Tt = (e, t, n) => {
|
|
491
|
+
var r, s;
|
|
492
|
+
const o = me(n.format("Z"));
|
|
466
493
|
try {
|
|
467
|
-
const i = Intl.DateTimeFormat.supportedLocalesOf([t])[0] || t, c = (s = (
|
|
468
|
-
return c ? /^(gmt|utc)/i.test(c) ?
|
|
494
|
+
const i = Intl.DateTimeFormat.supportedLocalesOf([t])[0] || t, c = (s = (r = new Intl.DateTimeFormat(i, { timeZone: e, timeZoneName: "long" }).formatToParts(n.toDate()).find((a) => a.type === "timeZoneName")) == null ? void 0 : r.value) == null ? void 0 : s.trim();
|
|
495
|
+
return c ? /^(gmt|utc)/i.test(c) ? ht(c, o) : c : o;
|
|
469
496
|
} catch {
|
|
470
|
-
return
|
|
497
|
+
return o;
|
|
471
498
|
}
|
|
472
|
-
},
|
|
499
|
+
}, he = (e, t) => {
|
|
473
500
|
const n = t.year();
|
|
474
501
|
return Array.from(
|
|
475
502
|
new Set(
|
|
476
|
-
Array.from({ length: 12 }, (
|
|
477
|
-
const s = `${
|
|
503
|
+
Array.from({ length: 12 }, (o, r) => {
|
|
504
|
+
const s = `${r + 1}`.padStart(2, "0"), i = `${n}-${s}-15 12:00:00`;
|
|
478
505
|
return f.tz(i, e).utcOffset();
|
|
479
506
|
})
|
|
480
507
|
)
|
|
481
508
|
);
|
|
482
|
-
},
|
|
509
|
+
}, Te = (e, t) => {
|
|
483
510
|
const n = h(e);
|
|
484
|
-
if (!
|
|
485
|
-
const
|
|
486
|
-
return
|
|
487
|
-
},
|
|
511
|
+
if (!A(n)) return !1;
|
|
512
|
+
const o = E(t).tz(n);
|
|
513
|
+
return he(n, o).length > 1;
|
|
514
|
+
}, N = (e, t) => {
|
|
488
515
|
const n = h(e);
|
|
489
|
-
if (!
|
|
490
|
-
const
|
|
491
|
-
return
|
|
492
|
-
},
|
|
516
|
+
if (!A(n)) return !1;
|
|
517
|
+
const o = E(t).tz(n), r = he(n, o);
|
|
518
|
+
return r.length <= 1 ? !1 : o.utcOffset() === Math.max(...r);
|
|
519
|
+
}, Ot = (e, t) => N(e, t), ge = (e) => {
|
|
493
520
|
if (e === 1 || e === "1") return !0;
|
|
494
521
|
if (e === 0 || e === "0") return !1;
|
|
495
|
-
},
|
|
496
|
-
const n =
|
|
497
|
-
return typeof n == "boolean" ? n :
|
|
498
|
-
},
|
|
499
|
-
const n =
|
|
500
|
-
return typeof n == "boolean" ? n :
|
|
501
|
-
},
|
|
502
|
-
const
|
|
522
|
+
}, gt = (e, t) => {
|
|
523
|
+
const n = ge(e.dynamicOffsetFlag);
|
|
524
|
+
return typeof n == "boolean" ? n : Te(e.timeZoneId, t);
|
|
525
|
+
}, Zt = (e, t) => {
|
|
526
|
+
const n = ge(e.currentDstFlag);
|
|
527
|
+
return typeof n == "boolean" ? n : N(e.timeZoneId, t);
|
|
528
|
+
}, Ut = (e, t = /* @__PURE__ */ new Date()) => e.map((n) => {
|
|
529
|
+
const o = n.tzShowName || dt(n, t), r = gt(n, t);
|
|
503
530
|
return {
|
|
504
531
|
value: n.timeZoneId,
|
|
505
|
-
zoneName:
|
|
506
|
-
label:
|
|
507
|
-
hasDST:
|
|
508
|
-
isDST:
|
|
532
|
+
zoneName: o,
|
|
533
|
+
label: o,
|
|
534
|
+
hasDST: r,
|
|
535
|
+
isDST: r ? Zt(n, t) : !1
|
|
509
536
|
};
|
|
510
|
-
}),
|
|
537
|
+
}), yt = (e) => {
|
|
511
538
|
const t = e.toLowerCase().split("-")[0];
|
|
512
|
-
return
|
|
513
|
-
},
|
|
539
|
+
return K[t] || K.default;
|
|
540
|
+
}, It = (e) => typeof e.showDaylightSavingLabel == "boolean" ? e.showDaylightSavingLabel : e.showDaylightSavingMarker ?? !0, Pt = (e, t, n = {}) => {
|
|
514
541
|
const {
|
|
515
|
-
showZoneLabel:
|
|
516
|
-
zoneLabel:
|
|
542
|
+
showZoneLabel: o = !0,
|
|
543
|
+
zoneLabel: r,
|
|
517
544
|
hasDST: s,
|
|
518
545
|
isDST: i,
|
|
519
546
|
standardTimeLabel: c,
|
|
520
547
|
daylightSavingLabel: a,
|
|
521
|
-
format: u =
|
|
522
|
-
} = n, l = h(t), T =
|
|
523
|
-
return
|
|
524
|
-
},
|
|
525
|
-
const t =
|
|
548
|
+
format: u = ae
|
|
549
|
+
} = n, l = h(t), T = ct(e, l, u), Z = typeof s == "boolean" ? s : Te(l, e), g = (typeof i == "boolean" ? i : N(l, e)) ? a : c, y = Z && g ? `[${g}]` : "";
|
|
550
|
+
return o ? [T, r || de(e, l), y].filter(Boolean).join(" ") : [T, y].filter(Boolean).join(" ");
|
|
551
|
+
}, Ft = (e = {}) => {
|
|
552
|
+
const t = at(e.locale, e.supportedLocales), n = h(e.timeZone), o = E(e.value).tz(n), r = Tt(n, t, o), s = me(o.format("Z")), i = N(n, o), c = i ? yt(t) : "", a = It(e), u = i && a ? `${r} - ${c}` : r;
|
|
526
553
|
return {
|
|
527
|
-
formattedValue:
|
|
554
|
+
formattedValue: o.format(e.format || je),
|
|
528
555
|
locale: t,
|
|
529
556
|
timeZone: n,
|
|
530
|
-
timeZoneName:
|
|
557
|
+
timeZoneName: r,
|
|
531
558
|
timeZoneLabel: u,
|
|
532
559
|
offsetLabel: s,
|
|
533
|
-
offsetMinutes:
|
|
560
|
+
offsetMinutes: o.utcOffset(),
|
|
534
561
|
isDaylightSavingTime: i,
|
|
535
562
|
daylightSavingLabel: c
|
|
536
563
|
};
|
|
537
564
|
};
|
|
538
565
|
export {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
566
|
+
Re as IANA_TIMEZONE_DATA_CHANGE_EVENT,
|
|
567
|
+
ie as TIMEZONE_CHANGE_EVENT,
|
|
568
|
+
te as TIME_ZONE_PACKED_DATA_URL,
|
|
569
|
+
xe as UPF_TIMEZONE_MESSAGE_TYPE,
|
|
570
|
+
_t as applyDayjsIanaTimeZoneData,
|
|
571
|
+
Lt as applyMomentIanaTimeZoneData,
|
|
572
|
+
oe as assertPackedIanaData,
|
|
573
|
+
Pe as assertPackedIanaTzData,
|
|
574
|
+
ne as buildIanaFetchInit,
|
|
575
|
+
Ut as buildTimeZoneDisplayOptions,
|
|
576
|
+
Se as clearDayjsIanaCache,
|
|
577
|
+
L as clientTimeZone,
|
|
550
578
|
Me as createIanaDbFromPackedData,
|
|
551
579
|
d as dayjsTimezoneIanaPlugin,
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
580
|
+
Pt as formatClientLocalDateTimeLine,
|
|
581
|
+
ct as formatInTimeZone,
|
|
582
|
+
mt as formatLocalDateTime,
|
|
583
|
+
de as formatTimeZoneOffsetLabel,
|
|
584
|
+
pe as getAccessTokenFromLocalStorage,
|
|
585
|
+
Ee as getCachedDayjsPackedIanaData,
|
|
586
|
+
rt as getClientTimeZone,
|
|
587
|
+
De as getDefaultIanaAuthorization,
|
|
588
|
+
St as getKnownTimeZoneIds,
|
|
589
|
+
He as getRuntimeIanaTimeZoneDataSnapshot,
|
|
590
|
+
zt as getRuntimeNameZoneDataSnapshot,
|
|
591
|
+
Ft as getTimeZoneDisplayInfo,
|
|
592
|
+
it as getZoneUtcOffset,
|
|
593
|
+
ot as initClientTimeZoneSync,
|
|
594
|
+
Ot as isDaylightSavingTime,
|
|
595
|
+
A as isKnownTimeZone,
|
|
596
|
+
Ct as loadDayjsIanaTimeZoneData,
|
|
597
|
+
se as loadIanaData,
|
|
598
|
+
W as loadIanaFromApi,
|
|
599
|
+
se as loadMomentIanaData,
|
|
600
|
+
W as loadMomentIanaFromApi,
|
|
601
|
+
vt as loadMomentIanaTimeZoneData,
|
|
602
|
+
at as normalizeLocaleCode,
|
|
603
|
+
Mt as onClientTimeZoneChange,
|
|
604
|
+
ze as preloadDayjsIanaFromApi,
|
|
605
|
+
re as preloadDayjsIanaFromData,
|
|
606
|
+
M as rebuildKnownTimeZoneIds,
|
|
577
607
|
h as resolveTimeZone,
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
608
|
+
dt as resolveUtcOffsetFallback,
|
|
609
|
+
bt as setClientTimeZone,
|
|
610
|
+
G as setDefaultTimeZone,
|
|
611
|
+
k as setRuntimeIanaTimeZoneDataSnapshot,
|
|
612
|
+
kt as syncClientTimeZone,
|
|
613
|
+
Te as timeZoneHasDST,
|
|
614
|
+
N as timeZoneIsDST,
|
|
615
|
+
Nt as toLocalDate
|
|
585
616
|
};
|