@das-fed/upf-utils 6.4.0-dev.289 → 6.4.0-dev.291

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.
Files changed (71) hide show
  1. package/api-services/modules/app-manage/es5.js +1120 -1110
  2. package/api-services/modules/app-manage/index.js +932 -918
  3. package/api-services/modules/app-manage/index.js.gz +0 -0
  4. package/api-services/modules/authentication/es5.js +860 -857
  5. package/api-services/modules/authentication/index.js +674 -670
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/es5.js +854 -856
  8. package/api-services/modules/bems/index.js +670 -674
  9. package/api-services/modules/bems/index.js.gz +0 -0
  10. package/api-services/modules/contract/es5.js +1134 -1122
  11. package/api-services/modules/contract/index.js +948 -930
  12. package/api-services/modules/contract/index.js.gz +0 -0
  13. package/api-services/modules/duty-manage/es5.js +850 -848
  14. package/api-services/modules/duty-manage/index.js +670 -666
  15. package/api-services/modules/duty-manage/index.js.gz +0 -0
  16. package/api-services/modules/enterpriseright/es5.js +1122 -1134
  17. package/api-services/modules/enterpriseright/index.js +930 -948
  18. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  19. package/api-services/modules/es5.js +1367 -1355
  20. package/api-services/modules/file/es5.js +1221 -1224
  21. package/api-services/modules/file/index.js +993 -997
  22. package/api-services/modules/file/index.js.gz +0 -0
  23. package/api-services/modules/gateway-edge/es5.js +1134 -1122
  24. package/api-services/modules/gateway-edge/index.js +948 -930
  25. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  26. package/api-services/modules/index.js +1086 -1068
  27. package/api-services/modules/index.js.gz +0 -0
  28. package/api-services/modules/iot/es5.js +1241 -1229
  29. package/api-services/modules/iot/index.js +1039 -1021
  30. package/api-services/modules/iot/index.js.gz +0 -0
  31. package/api-services/modules/justauth/es5.js +1151 -1139
  32. package/api-services/modules/justauth/index.js +962 -944
  33. package/api-services/modules/justauth/index.js.gz +0 -0
  34. package/api-services/modules/knowledge/es5.js +852 -850
  35. package/api-services/modules/knowledge/index.js +671 -667
  36. package/api-services/modules/knowledge/index.js.gz +0 -0
  37. package/api-services/modules/link/es5.js +1133 -1124
  38. package/api-services/modules/link/index.js +947 -933
  39. package/api-services/modules/link/index.js.gz +0 -0
  40. package/api-services/modules/permission/es5.js +1122 -1134
  41. package/api-services/modules/permission/index.js +930 -948
  42. package/api-services/modules/permission/index.js.gz +0 -0
  43. package/api-services/modules/portal/es5.js +1133 -1124
  44. package/api-services/modules/portal/index.js +947 -933
  45. package/api-services/modules/portal/index.js.gz +0 -0
  46. package/api-services/modules/space-manage/es5.js +857 -860
  47. package/api-services/modules/space-manage/index.js +670 -674
  48. package/api-services/modules/space-manage/index.js.gz +0 -0
  49. package/api-services/modules/supplier/es5.js +1114 -1126
  50. package/api-services/modules/supplier/index.js +920 -938
  51. package/api-services/modules/supplier/index.js.gz +0 -0
  52. package/api-services/modules/supplychain-manage/es5.js +1134 -1122
  53. package/api-services/modules/supplychain-manage/index.js +948 -930
  54. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  55. package/browser-importmap.json +18 -0
  56. package/browser.d.ts +5 -0
  57. package/browser.js +120 -0
  58. package/browser.js.gz +0 -0
  59. package/common-info/getPermissionMethod/es5.js +1376 -1388
  60. package/common-info/getPermissionMethod/index.js +1137 -1155
  61. package/common-info/getPermissionMethod/index.js.gz +0 -0
  62. package/common-tools/timezone-format/es5.d.ts +1 -1
  63. package/common-tools/timezone-format/es5.js +389 -373
  64. package/common-tools/timezone-format/index.d.ts +1 -1
  65. package/common-tools/timezone-format/index.js +284 -279
  66. package/common-tools/timezone-format/index.js.gz +0 -0
  67. package/create-api-service/es5.js +849 -851
  68. package/create-api-service/index.js +667 -671
  69. package/create-api-service/index.js.gz +0 -0
  70. package/package.json +7 -7
  71. package/release-meta.json +4 -4
@@ -1,10 +1,10 @@
1
1
  import f from "dayjs";
2
- import { ref as Se } from "vue";
3
- import Me from "dayjs/plugin/utc";
4
- import _e from "dayjs/plugin/timezone";
2
+ import { ref as Le } from "vue";
3
+ import Ce from "dayjs/plugin/utc";
4
+ import ke from "dayjs/plugin/timezone";
5
5
  import "@das-fed/upf-utils/config";
6
- const re = "/api/admin/basic-application/sys-info/v1/license/time-zone-packed-data";
7
- function Le() {
6
+ const se = "/api/admin/basic-application/sys-info/v1/license/time-zone-packed-data";
7
+ function be() {
8
8
  if (typeof localStorage > "u")
9
9
  return null;
10
10
  try {
@@ -13,18 +13,18 @@ function Le() {
13
13
  return null;
14
14
  }
15
15
  }
16
- function Ce() {
17
- const e = Le();
16
+ function Ne() {
17
+ const e = be();
18
18
  if (!(e == null || e === ""))
19
19
  return e.trim().startsWith("Bearer ") ? e.trim() : `Bearer ${e.trim()}`;
20
20
  }
21
- function oe(e = {}) {
22
- const t = e.authorization !== void 0 ? e.authorization === "" || e.authorization == null ? void 0 : e.authorization : Ce(), n = { ...e.headers || {} };
21
+ function ae(e = {}) {
22
+ const t = e.authorization !== void 0 ? e.authorization === "" || e.authorization == null ? void 0 : e.authorization : Ne(), 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 L = null, S = null;
27
- const J = [
26
+ let C = null, _ = null;
27
+ const K = [
28
28
  "utc",
29
29
  "uct",
30
30
  "zulu",
@@ -43,8 +43,8 @@ const J = [
43
43
  "etc/gmt+0",
44
44
  "etc/gmt-0",
45
45
  "etc/greenwich"
46
- ], be = { u: [1 / 0], o: [0] };
47
- function se(e) {
46
+ ], Pe = { u: [1 / 0], o: [0] };
47
+ function ie(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 se(e) {
57
57
  links: Array.isArray(n) ? n : []
58
58
  };
59
59
  }
60
- async function ke(e, t) {
60
+ async function Oe(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 ke(e, t) {
65
65
  throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
66
66
  return n.json();
67
67
  }
68
- function ae(e) {
69
- return S = se(e), L = xe(S), S;
68
+ function ce(e) {
69
+ return _ = ie(e), C = $e(_), _;
70
70
  }
71
- function Ne() {
72
- return S;
71
+ function Ye() {
72
+ return _;
73
73
  }
74
- async function Oe(e = {}) {
75
- const t = e.url ?? re, n = oe({
74
+ async function ve(e = {}) {
75
+ const t = e.url ?? se, n = ae({
76
76
  authorization: e.authorization,
77
77
  headers: e.headers
78
- }), o = await (e.fetchJson ?? ke)(t, n), s = e.parseResponse ? e.parseResponse(o) : se(o);
79
- return ae(s);
78
+ }), o = await (e.fetchJson ?? Oe)(t, n), s = e.parseResponse ? e.parseResponse(o) : ie(o);
79
+ return ce(s);
80
80
  }
81
- function ve() {
82
- L = null, S = null;
81
+ function Ue() {
82
+ C = null, _ = null;
83
83
  }
84
- function W(e) {
84
+ function X(e) {
85
85
  return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48;
86
86
  }
87
- function Pe(e) {
87
+ function Ve(e) {
88
88
  let t = 1, n = 0, r = 0, o = 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 + W(u));
93
+ u !== 45 && (n = 60 * n + X(u));
94
94
  }
95
95
  for (let a = 0; a < c.length; a++)
96
- o = o / 60, r += W(c.charCodeAt(a)) * o;
96
+ o = o / 60, r += X(c.charCodeAt(a)) * o;
97
97
  return (n + r) * t;
98
98
  }
99
- function U(e) {
99
+ function V(e) {
100
100
  const t = [];
101
101
  for (const n of e)
102
- t.push(Pe(n));
102
+ t.push(Ve(n));
103
103
  return t;
104
104
  }
105
- function K(e) {
105
+ function q(e) {
106
106
  const t = e.trim();
107
107
  return t ? t.split(" ") : [];
108
108
  }
109
- function Ye(e) {
109
+ function Fe(e) {
110
110
  let t = 0;
111
111
  const n = [];
112
112
  for (const r of e)
113
113
  t += r, n.push(Math.round(t * 6e4));
114
114
  return n.push(1 / 0), n;
115
115
  }
116
- function Ue(e, t) {
116
+ function xe(e, t) {
117
117
  const n = [];
118
118
  for (const r of t)
119
119
  n.push(e[r]);
120
120
  return n;
121
121
  }
122
- function C(e) {
122
+ function k(e) {
123
123
  return typeof e == "string" ? e.trim().toLowerCase() : "";
124
124
  }
125
- function Fe(e) {
125
+ function je(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 = C(t[0]), r = U(K(t[2])), o = U(t[3].split("")), s = Ye(U(K(t[4]))), i = Ue(r, o);
129
+ const n = k(t[0]), r = V(q(t[2])), o = V(t[3].split("")), s = Fe(V(q(t[4]))), i = xe(r, o);
130
130
  return {
131
131
  name: n,
132
132
  rule: {
@@ -135,42 +135,42 @@ function Fe(e) {
135
135
  }
136
136
  };
137
137
  }
138
- function Ve(e, t, n) {
139
- const r = C(t), o = C(n);
138
+ function Re(e, t, n) {
139
+ const r = k(t), o = k(n);
140
140
  if (!r || !o) return;
141
141
  const s = e[r], i = e[o];
142
142
  s && !i ? e[o] = s : i && !s && (e[r] = i);
143
143
  }
144
- function je(e) {
145
- const t = J.map((n) => e[n]).find(Boolean) || be;
146
- J.forEach((n) => {
144
+ function He(e) {
145
+ const t = K.map((n) => e[n]).find(Boolean) || Pe;
146
+ K.forEach((n) => {
147
147
  e[n] || (e[n] = t);
148
148
  });
149
149
  }
150
- function xe(e) {
150
+ function $e(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
154
  for (const r of e.zones) {
155
- const o = Fe(r);
155
+ const o = je(r);
156
156
  t[o.name] = o.rule;
157
157
  }
158
158
  const n = e.links || [];
159
159
  for (const r of n) {
160
160
  const o = r.split("|");
161
- o.length < 2 || Ve(t, o[0], o[1]);
161
+ o.length < 2 || Re(t, o[0], o[1]);
162
162
  }
163
- return je(t), t;
163
+ return He(t), t;
164
164
  }
165
- function Re() {
166
- if (!L)
165
+ function Ge() {
166
+ if (!C)
167
167
  throw new Error(
168
168
  "IANA data not loaded. Await dayjsTimezoneIanaPlugin.preloadFromApi({ url: ... }) before dayjs.extend(dayjsTimezoneIanaPlugin)."
169
169
  );
170
- return L;
170
+ return C;
171
171
  }
172
- function He(e, t, n) {
173
- const r = C(t), o = n[r];
172
+ function Be(e, t, n) {
173
+ const r = k(t), o = n[r];
174
174
  if (o === void 0)
175
175
  throw Error("Unknown Time Zone " + t);
176
176
  const s = o.o, i = o.u, c = i.length - 1;
@@ -182,26 +182,26 @@ function He(e, t, n) {
182
182
  }
183
183
  return s[c];
184
184
  }
185
- const Ge = (e, t, n) => {
185
+ const Je = (e, t, n) => {
186
186
  var a, u;
187
187
  let r = "";
188
188
  const o = n.tz, s = (a = o == null ? void 0 : o.guess) == null ? void 0 : a.bind(o), i = (u = o == null ? void 0 : o.setDefault) == null ? void 0 : u.bind(o), c = (m, y, I) => {
189
- const _ = I || y || r, g = I ? y : void 0;
190
- return (typeof n.utc == "function" ? n.utc(m, g) : n(m, g).utc()).tz(_);
189
+ const L = I || y || r, g = I ? y : void 0;
190
+ return (typeof n.utc == "function" ? n.utc(m, g) : n(m, g).utc()).tz(L);
191
191
  };
192
192
  o && Object.assign(c, o), c.setDefault = (m) => {
193
193
  r = m, i == null || i(m);
194
194
  }, c.guess = () => s ? s() : typeof Intl < "u" && typeof Intl.DateTimeFormat == "function" ? Intl.DateTimeFormat().resolvedOptions().timeZone || r || "UTC" : r || "UTC", n.tz = c, t.prototype.tz = function(m = r, y) {
195
195
  var A;
196
- const I = m || ((A = c.guess) == null ? void 0 : A.call(c)) || "UTC", _ = this.utc().valueOf(), g = He(_, I, Re());
196
+ const I = m || ((A = c.guess) == null ? void 0 : A.call(c)) || "UTC", L = this.utc().valueOf(), g = Be(L, I, Ge());
197
197
  return this.utcOffset(-g, y);
198
198
  };
199
- }, T = Ge;
200
- T.preloadFromApi = Oe;
201
- T.preloadFromData = ae;
202
- T.getCachedPackedData = Ne;
203
- T.clearIanaCache = ve;
204
- function $e(e) {
199
+ }, T = Je;
200
+ T.preloadFromApi = ve;
201
+ T.preloadFromData = ce;
202
+ T.getCachedPackedData = Ye;
203
+ T.clearIanaCache = Ue;
204
+ function We(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,7 +214,7 @@ function $e(e) {
214
214
  links: Array.isArray(n) ? n : []
215
215
  };
216
216
  }
217
- function ie(e, t) {
217
+ function fe(e, t) {
218
218
  const n = e == null ? void 0 : e.tz;
219
219
  if (!n || typeof n.load != "function")
220
220
  throw new Error("moment.tz.load is missing. Import moment-timezone before calling loadIanaData.");
@@ -222,7 +222,7 @@ function ie(e, t) {
222
222
  throw new Error("Invalid packed IANA data: zones must be an array");
223
223
  e.tz.load(t);
224
224
  }
225
- async function Be(e, t) {
225
+ async function Ke(e, t) {
226
226
  if (typeof fetch != "function")
227
227
  throw new Error("fetch is not available. Pass loadIanaFromApi options.fetchJson in Node or polyfill fetch.");
228
228
  const n = await fetch(e, t);
@@ -230,21 +230,21 @@ async function Be(e, t) {
230
230
  throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
231
231
  return n.json();
232
232
  }
233
- async function q(e, t, n) {
234
- let r = re, o = {};
233
+ async function Q(e, t, n) {
234
+ let r = se, o = {};
235
235
  typeof t == "string" ? (r = t, o = n ?? {}) : t != null && (o = t);
236
- const s = oe({
236
+ const s = ae({
237
237
  authorization: o.authorization,
238
238
  headers: o.headers
239
- }), c = await (o.fetchJson ?? Be)(r, s), a = o.parseResponse ? o.parseResponse(c) : $e(c);
240
- return ie(e, a), a;
239
+ }), c = await (o.fetchJson ?? Ke)(r, s), a = o.parseResponse ? o.parseResponse(c) : We(c);
240
+ return fe(e, a), a;
241
241
  }
242
- f.extend(Me);
243
- f.extend(_e);
244
- const E = "zh-CN", Je = "YYYY.MM.DD HH:mm:ss", w = "YYYY-MM-DD HH:mm:ss", We = "YYYY-MM-DD HH:mm:ss.SSS", Ke = "YYYY-MM-DDTHH:mm:ssZ", ce = "YYYY-MM-DD HH:mm", O = "UTC", j = "timeZone", fe = "timezonechange", qe = "__UPF_TIMEZONE_CHANGE__", Xe = "ianatimezonedatachange", X = {
242
+ f.extend(Ce);
243
+ f.extend(ke);
244
+ const E = "zh-CN", Xe = "YYYY.MM.DD HH:mm:ss", w = "YYYY-MM-DD HH:mm:ss", qe = "YYYY-MM-DD HH:mm:ss.SSS", Qe = "YYYY-MM-DDTHH:mm:ssZ", ue = "YYYY-MM-DD HH:mm", O = "UTC", R = "timeZone", le = "timezonechange", et = "__UPF_TIMEZONE_CHANGE__", tt = "ianatimezonedatachange", ee = {
245
245
  zh: "夏令时",
246
246
  default: "DST"
247
- }, Qe = [
247
+ }, nt = [
248
248
  "UTC",
249
249
  "UCT",
250
250
  "Zulu",
@@ -263,47 +263,47 @@ const E = "zh-CN", Je = "YYYY.MM.DD HH:mm:ss", w = "YYYY-MM-DD HH:mm:ss", We = "
263
263
  "Etc/GMT+0",
264
264
  "Etc/GMT-0",
265
265
  "Etc/Greenwich"
266
- ], et = f, p = /* @__PURE__ */ new Set();
267
- var te, ne;
268
- const tt = (ne = (te = f.tz) == null ? void 0 : te.guess) == null ? void 0 : ne.bind(f.tz);
266
+ ], rt = f, p = /* @__PURE__ */ new Set();
267
+ var re, oe;
268
+ const ot = (oe = (re = f.tz) == null ? void 0 : re.guess) == null ? void 0 : oe.bind(f.tz);
269
269
  let b = !1;
270
270
  const l = (e) => (e || "").trim(), F = (e) => {
271
271
  const t = l(e);
272
272
  t && p.add(t);
273
- }, nt = () => Qe.forEach(F), D = () => typeof window > "u" ? void 0 : window, rt = (e) => ({
273
+ }, st = () => nt.forEach(F), D = () => typeof window > "u" ? void 0 : window, at = (e) => ({
274
274
  version: typeof e.version == "string" ? e.version : void 0,
275
275
  zones: Array.isArray(e.zones) ? e.zones.filter((t) => typeof t == "string") : [],
276
276
  links: Array.isArray(e.links) ? e.links.filter((t) => typeof t == "string") : []
277
- }), k = (e, t, n = Date.now()) => ({
278
- ...rt(e),
277
+ }), N = (e, t, n = Date.now()) => ({
278
+ ...at(e),
279
279
  source: t,
280
280
  timestamp: n
281
- }), v = (e, t = "iana") => {
282
- const n = k(e, t);
281
+ }), Y = (e, t = "iana") => {
282
+ const n = N(e, t);
283
283
  try {
284
284
  const r = D();
285
- r && (r.__UPF_IANA_TIMEZONE_DATA__ = n, r.dispatchEvent(new CustomEvent(Xe, { detail: n })));
285
+ r && (r.__UPF_IANA_TIMEZONE_DATA__ = n, r.dispatchEvent(new CustomEvent(tt, { detail: n })));
286
286
  } catch {
287
287
  }
288
288
  return n;
289
- }, ot = () => {
289
+ }, it = () => {
290
290
  var r;
291
291
  const e = D(), t = e == null ? void 0 : e.__UPF_IANA_TIMEZONE_DATA__;
292
292
  if (t && Array.isArray(t.zones) && t.zones.length)
293
- return k(
293
+ return N(
294
294
  t,
295
295
  t.source === "fallback" ? "fallback" : "iana",
296
296
  Number(t.timestamp || Date.now())
297
297
  );
298
298
  const n = (r = T.getCachedPackedData) == null ? void 0 : r.call(T);
299
- return n ? k(n, "iana") : null;
300
- }, Vt = ot, jt = () => {
299
+ return n ? N(n, "iana") : null;
300
+ }, Gt = it, Bt = () => {
301
301
  var t, n;
302
302
  const e = D();
303
303
  if (!(e != null && e.name)) return null;
304
304
  try {
305
305
  const r = (n = (t = JSON.parse(e.name || "{}")) == null ? void 0 : t.parentData) == null ? void 0 : n.ianaTimeZoneData;
306
- return !r || !Array.isArray(r.zones) || !r.zones.length ? null : k(
306
+ return !r || !Array.isArray(r.zones) || !r.zones.length ? null : N(
307
307
  r,
308
308
  r.source === "fallback" ? "fallback" : "iana",
309
309
  Number(r.timestamp || Date.now())
@@ -311,18 +311,18 @@ const l = (e) => (e || "").trim(), F = (e) => {
311
311
  } catch {
312
312
  return null;
313
313
  }
314
- }, x = () => {
314
+ }, H = () => {
315
315
  try {
316
- return typeof sessionStorage > "u" ? "" : l(sessionStorage.getItem(j));
316
+ return typeof sessionStorage > "u" ? "" : l(sessionStorage.getItem(R));
317
317
  } catch {
318
318
  return "";
319
319
  }
320
- }, st = (e) => {
320
+ }, ct = (e) => {
321
321
  try {
322
- typeof sessionStorage < "u" && sessionStorage.setItem(j, e);
322
+ typeof sessionStorage < "u" && sessionStorage.setItem(R, e);
323
323
  } catch {
324
324
  }
325
- }, R = () => {
325
+ }, $ = () => {
326
326
  var t;
327
327
  const e = D();
328
328
  if (!(e != null && e.name)) return "";
@@ -332,20 +332,20 @@ const l = (e) => (e || "").trim(), F = (e) => {
332
332
  } catch {
333
333
  return "";
334
334
  }
335
- }, ue = (e, t) => ({
335
+ }, me = (e, t) => ({
336
336
  timeZone: l(e),
337
337
  source: t,
338
338
  timestamp: Date.now()
339
- }), N = Se(x() || R()), V = /* @__PURE__ */ new Set();
340
- let Q = !1;
341
- const le = () => {
339
+ }), P = Le(H() || $()), x = /* @__PURE__ */ new Set();
340
+ let te = !1;
341
+ const de = () => {
342
342
  if (!(typeof Intl > "u" || typeof Intl.DateTimeFormat != "function"))
343
343
  try {
344
344
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
345
345
  } catch {
346
346
  return;
347
347
  }
348
- }, at = (e) => {
348
+ }, ft = (e) => {
349
349
  if (!e) return !1;
350
350
  if (typeof Intl > "u" || typeof Intl.DateTimeFormat != "function") return !0;
351
351
  try {
@@ -355,69 +355,69 @@ const le = () => {
355
355
  }
356
356
  }, z = (e) => {
357
357
  const t = l(e);
358
- return t ? p.size ? p.has(t) : at(t) : !1;
359
- }, P = (e) => (p.clear(), e.zones.forEach((t) => {
358
+ return t ? p.size ? p.has(t) : ft(t) : !1;
359
+ }, v = (e) => (p.clear(), e.zones.forEach((t) => {
360
360
  const n = t.split("|")[0];
361
361
  F(n);
362
362
  }), (e.links || []).forEach((t) => {
363
363
  t.split("|").forEach((n) => {
364
364
  F(n);
365
365
  });
366
- }), nt(), Array.from(p)), xt = () => Array.from(p), Rt = async (e, t = {}) => {
367
- const n = T.preloadFromData(e), r = P(n);
368
- return b || (f.extend(T), b = !0), H(t.defaultTimeZone), t.syncRuntimeSnapshot !== !1 && v(n, t.runtimeSource || "iana"), { data: n, knownTimeZones: r };
369
- }, Ht = async (e = {}) => {
370
- const t = await T.preloadFromApi(e), n = P(t);
371
- return b || (f.extend(T), b = !0), H(e.defaultTimeZone), e.syncRuntimeSnapshot !== !1 && v(t, e.runtimeSource || "iana"), { data: t, knownTimeZones: n };
372
- }, Gt = (e, t) => (ie(e, t), P(t), v(t, "iana"), t), $t = async (e, t = {}) => {
373
- const { url: n, ...r } = t, o = n ? await q(e, n, r) : await q(e, r);
374
- return P(o), v(o, "iana"), o;
375
- }, me = () => {
366
+ }), st(), Array.from(p)), Jt = () => Array.from(p), Wt = async (e, t = {}) => {
367
+ const n = T.preloadFromData(e), r = v(n);
368
+ return b || (f.extend(T), b = !0), G(t.defaultTimeZone), t.syncRuntimeSnapshot !== !1 && Y(n, t.runtimeSource || "iana"), { data: n, knownTimeZones: r };
369
+ }, Kt = async (e = {}) => {
370
+ const t = await T.preloadFromApi(e), n = v(t);
371
+ return b || (f.extend(T), b = !0), G(e.defaultTimeZone), e.syncRuntimeSnapshot !== !1 && Y(t, e.runtimeSource || "iana"), { data: t, knownTimeZones: n };
372
+ }, Xt = (e, t) => (fe(e, t), v(t), Y(t, "iana"), t), qt = async (e, t = {}) => {
373
+ const { url: n, ...r } = t, o = n ? await Q(e, n, r) : await Q(e, r);
374
+ return v(o), Y(o, "iana"), o;
375
+ }, Te = () => {
376
376
  var n;
377
- const e = (n = f.tz) == null ? void 0 : n.guess, t = typeof e == "function" ? e : tt;
377
+ const e = (n = f.tz) == null ? void 0 : n.guess, t = typeof e == "function" ? e : ot;
378
378
  try {
379
379
  return t == null ? void 0 : t();
380
380
  } catch {
381
381
  return;
382
382
  }
383
- }, H = (e) => {
383
+ }, G = (e) => {
384
384
  var r, o;
385
385
  const t = l(e), n = f.tz;
386
386
  return t ? z(t) ? ((o = n == null ? void 0 : n.setDefault) == null || o.call(n, t), !0) : !1 : ((r = n == null ? void 0 : n.setDefault) == null || r.call(n, O), !0);
387
- }, it = (e) => {
388
- V.forEach((t) => {
387
+ }, ut = (e) => {
388
+ x.forEach((t) => {
389
389
  try {
390
390
  t(e.timeZone, e);
391
391
  } catch {
392
392
  }
393
393
  });
394
- }, ct = (e) => {
394
+ }, lt = (e) => {
395
395
  var t;
396
396
  try {
397
- (t = D()) == null || t.dispatchEvent(new CustomEvent(fe, { detail: e }));
397
+ (t = D()) == null || t.dispatchEvent(new CustomEvent(le, { detail: e }));
398
398
  } catch {
399
399
  }
400
- }, G = (e, t = {}) => {
401
- const n = l(e), r = ue(n, t.source), o = N.value !== n;
402
- o && (N.value = n);
400
+ }, B = (e, t = {}) => {
401
+ const n = l(e), r = me(n, t.source), o = P.value !== n;
402
+ o && (P.value = n);
403
403
  try {
404
404
  const s = D();
405
405
  s && (s.__UPF_TIMEZONE_SNAPSHOT__ = r);
406
406
  } catch {
407
407
  }
408
- return t.persist !== !1 && st(n), t.syncDefault !== !1 && H(n), t.notify !== !1 && o && it(r), t.dispatchEvent !== !1 && ct(r), n;
409
- }, Bt = (e, t = {}) => G(l(e), {
408
+ return t.persist !== !1 && ct(n), t.syncDefault !== !1 && G(n), t.notify !== !1 && o && ut(r), t.dispatchEvent !== !1 && lt(r), n;
409
+ }, Qt = (e, t = {}) => B(l(e), {
410
410
  persist: !0,
411
411
  notify: !0,
412
412
  dispatchEvent: !0,
413
413
  syncDefault: !0,
414
414
  ...t
415
- }), Jt = (e = "sync") => {
416
- const t = x() || R();
417
- return t || N.value ? G(t, { source: e, dispatchEvent: !1 }) : "";
418
- }, Wt = (e) => (V.add(e), () => V.delete(e)), ft = (e) => {
415
+ }), en = (e = "sync") => {
416
+ const t = H() || $();
417
+ return t || P.value ? B(t, { source: e, dispatchEvent: !1 }) : "";
418
+ }, tn = (e) => (x.add(e), () => x.delete(e)), mt = (e) => {
419
419
  var n, r, o, s;
420
- if (typeof e == "string") return ue(e);
420
+ if (typeof e == "string") return me(e);
421
421
  if (!e || typeof e != "object") return null;
422
422
  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;
423
423
  return t == null ? null : {
@@ -425,41 +425,41 @@ const le = () => {
425
425
  source: e.source || ((n = e.detail) == null ? void 0 : n.source) || ((r = e.params) == null ? void 0 : r.source),
426
426
  timestamp: Number(e.timestamp || ((o = e.detail) == null ? void 0 : o.timestamp) || ((s = e.params) == null ? void 0 : s.timestamp) || Date.now())
427
427
  };
428
- }, $ = (e, t) => {
429
- const n = ft(e);
430
- n && G(n.timeZone, {
428
+ }, J = (e, t) => {
429
+ const n = mt(e);
430
+ n && B(n.timeZone, {
431
431
  source: n.source || t,
432
432
  dispatchEvent: !1
433
433
  });
434
- }, ut = (e) => {
435
- $(e.detail, "window-event");
436
- }, lt = (e) => {
437
- e.key === j && $({ timeZone: e.newValue || "", source: "storage" }, "storage");
438
- }, mt = (e) => {
434
+ }, dt = (e) => {
435
+ J(e.detail, "window-event");
436
+ }, Tt = (e) => {
437
+ e.key === R && J({ timeZone: e.newValue || "", source: "storage" }, "storage");
438
+ }, ht = (e) => {
439
439
  const t = e.data;
440
- !t || t.type !== qe || $(t.detail || t, "message");
441
- }, dt = () => {
440
+ !t || t.type !== et || J(t.detail || t, "message");
441
+ }, Zt = () => {
442
442
  const e = D();
443
- return !e || Q ? !1 : (Q = !0, e.addEventListener(fe, ut), e.addEventListener("storage", lt), e.addEventListener("message", mt), !0);
443
+ return !e || te ? !1 : (te = !0, e.addEventListener(le, dt), e.addEventListener("storage", Tt), e.addEventListener("message", ht), !0);
444
444
  };
445
- dt();
446
- const Tt = () => {
447
- const t = l(N.value) || x() || R() || me() || le();
445
+ Zt();
446
+ const yt = () => {
447
+ const t = l(P.value) || H() || $() || Te() || de();
448
448
  return z(t) ? l(t) : O;
449
449
  }, d = (e) => {
450
- const t = l(e) || Tt();
450
+ const t = l(e) || yt();
451
451
  return z(t) ? t : O;
452
- }, de = () => {
453
- const e = me() || le();
452
+ }, he = () => {
453
+ const e = Te() || de();
454
454
  return z(e) ? l(e) : O;
455
- }, Te = (e = {}) => {
455
+ }, Ze = (e = {}) => {
456
456
  const t = l(e.timeZone);
457
- return t ? d(t) : e.useClientTimeZone ? d() : de();
458
- }, B = (e) => e === "instant" || e === "local" ? e : "none", he = (e = {}) => B(e.timeZoneMode) !== "none", ht = () => {
457
+ return t ? d(t) : e.useClientTimeZone ? d() : he();
458
+ }, W = (e) => e === "instant" || e === "local" ? e : "none", ye = (e = {}) => W(e.timeZoneMode) !== "none", gt = () => {
459
459
  var e;
460
460
  return typeof window < "u" && ((e = window.navigator) != null && e.language) ? window.navigator.language : E;
461
- }, Ze = (e, t = []) => {
462
- const r = e || ht() || E, o = r.toLowerCase();
461
+ }, ge = (e, t = []) => {
462
+ const r = e || gt() || E, o = r.toLowerCase();
463
463
  if (!t.length)
464
464
  return o === "en" ? "en-US" : o === "zh" || o === "zh-cn" ? E : r;
465
465
  const s = t.find((a) => a.toLowerCase() === o);
@@ -471,71 +471,76 @@ const Tt = () => {
471
471
  if (e == null || e === "") return f();
472
472
  const t = f(e);
473
473
  return t.isValid() ? t : f();
474
- }, h = (e) => e == null || e === "", Z = (e) => f.isDayjs(e) ? e : h(e) ? f() : f(e), Zt = (e, t = {}) => {
475
- const n = B(t.timeZoneMode);
476
- if (n === "none") return Z(e);
477
- const r = Te(t);
474
+ }, Z = (e) => e == null || e === "", h = (e) => f.isDayjs(e) ? e : Z(e) ? f() : f(e), De = /(?:[zZ]|[+-]\d{2}:?\d{2})$/, Dt = /^\d{4}[-/]\d{1,2}[-/]\d{1,2}(?:[ T]\d{1,2}:\d{2}(?::\d{2}(?:\.\d{1,3})?)?)?$/, It = (e) => {
475
+ if (typeof e != "string") return !1;
476
+ const t = e.trim();
477
+ return Dt.test(t) && !De.test(t);
478
+ }, At = (e) => typeof e == "string" && De.test(e.trim()), S = (e) => f(e.format(qe)), j = (e, t) => h(e).tz(t, !0), Et = (e, t = {}) => {
479
+ const n = W(t.timeZoneMode);
480
+ if (n === "none") return h(e);
481
+ const r = Ze(t);
478
482
  if (n === "local")
479
- return h(e) ? f().tz(r) : f.isDayjs(e) ? e.tz(r) : f.tz(e, r);
480
- const o = Z(e);
481
- return o.isValid() ? o.tz(r) : o;
482
- }, ye = (e, t = !1) => {
483
+ return Z(e) ? S(f().tz(r)) : f.isDayjs(e) ? S(e.tz(r)) : S(j(e, r));
484
+ if (It(e)) return S(j(e, r));
485
+ const o = h(e);
486
+ return o.isValid() ? S(o.tz(r)) : o;
487
+ }, Ie = (e, t = !1) => {
483
488
  const n = l(e);
484
489
  return n ? d(n) : t ? d() : "";
485
- }, Kt = () => et, qt = (e, t = {}) => he(t) ? h(e) ? null : Zt(e, t) : e, yt = (e, t = {}) => {
486
- const n = B(t.timeZoneMode), r = t.timeZoneValueFormat || (n === "instant" ? Ke : w);
490
+ }, nn = () => rt, rn = (e, t = {}) => ye(t) ? Z(e) ? null : Et(e, t) : e, pt = (e, t = {}) => {
491
+ const n = W(t.timeZoneMode), r = t.timeZoneValueFormat || (n === "instant" ? Qe : w);
487
492
  return e.format(r);
488
- }, Xt = (e, t = {}) => {
489
- if (!he(t) || h(e)) return e;
490
- const n = Te(t), r = Z(e);
493
+ }, on = (e, t = {}) => {
494
+ if (!ye(t) || Z(e)) return e;
495
+ const n = Ze(t), r = h(e);
491
496
  if (!r.isValid()) return e;
492
- const o = r.format(We), s = f.tz(o, n);
493
- return yt(s, t);
494
- }, gt = (e, t) => M(e).tz(d(t)).utcOffset(), Dt = (e, t, n = ce) => M(e).tz(d(t)).format(n), It = /^(\d{4}-\d{2}-\d{2})/, At = (e = {}) => {
497
+ const o = r.tz(n, !At(e));
498
+ return pt(o, t);
499
+ }, wt = (e, t) => M(e).tz(d(t)).utcOffset(), zt = (e, t, n = ue) => M(e).tz(d(t)).format(n), St = /^(\d{4}-\d{2}-\d{2})/, _t = (e = {}) => {
495
500
  const t = l(e.timeZone);
496
- return t ? d(t) : e.useClientTimeZone === !1 ? de() : d();
497
- }, Et = (e, t, n) => {
498
- if (h(e)) return "";
501
+ return t ? d(t) : e.useClientTimeZone === !1 ? he() : d();
502
+ }, Mt = (e, t, n) => {
503
+ if (Z(e)) return "";
499
504
  if (n === "instant") {
500
- const o = Z(e);
505
+ const o = h(e);
501
506
  return o.isValid() ? o.tz(t).format("YYYY-MM-DD") : "";
502
507
  }
503
508
  if (typeof e == "string") {
504
- const o = e.trim().match(It);
509
+ const o = e.trim().match(St);
505
510
  if (o != null && o[1]) return o[1];
506
511
  }
507
- const r = Z(e);
512
+ const r = h(e);
508
513
  return r.isValid() ? r.format("YYYY-MM-DD") : "";
509
- }, ge = (e, t = {}, n) => {
510
- const r = At(t), o = Et(e, r, t.inputMode || "date");
514
+ }, Ae = (e, t = {}, n) => {
515
+ const r = _t(t), o = Mt(e, r, t.inputMode || "date");
511
516
  if (!o) return;
512
- const s = f.tz(o, r);
517
+ const s = j(o, r);
513
518
  if (s.isValid())
514
519
  return (n === "start" ? s.startOf("day") : s.endOf("day")).valueOf();
515
- }, Qt = (e, t = {}) => ge(e, t, "start"), en = (e, t = {}) => ge(e, t, "end"), pt = (e, t) => Z(e).format(t.format), De = (e, t) => {
516
- const n = t.format || w, r = ye(t.timeZone, t.useClientTimeZone);
517
- if (!r) return pt(e, { format: n });
520
+ }, sn = (e, t = {}) => Ae(e, t, "start"), an = (e, t = {}) => Ae(e, t, "end"), Lt = (e, t) => h(e).format(t.format), Ee = (e, t) => {
521
+ const n = t.format || w, r = Ie(t.timeZone, t.useClientTimeZone);
522
+ if (!r) return Lt(e, { format: n });
518
523
  if (t.inputMode === "local")
519
- return h(e) ? f().tz(r).format(n) : f.tz(e, r).format(n);
520
- const o = Z(e);
524
+ return Z(e) ? f().tz(r).format(n) : f.tz(e, r).format(n);
525
+ const o = h(e);
521
526
  return o.isValid() ? o.tz(r).format(n) : o.format(n);
522
- }, wt = (e) => typeof e == "function" && typeof (e == null ? void 0 : e.tz) == "function", zt = (e, t) => {
527
+ }, Ct = (e) => typeof e == "function" && typeof (e == null ? void 0 : e.tz) == "function", kt = (e, t) => {
523
528
  var a, u;
524
529
  const { moment: n } = t, r = t.format || w;
525
- if (!wt(n)) return De(e, { ...t, dateLibrary: "dayjs" });
526
- const o = h(e) ? void 0 : e, s = ye(t.timeZone, t.useClientTimeZone);
530
+ if (!Ct(n)) return Ee(e, { ...t, dateLibrary: "dayjs" });
531
+ const o = Z(e) ? void 0 : e, s = Ie(t.timeZone, t.useClientTimeZone);
527
532
  if (!s || typeof n.tz != "function") return n(o).format(r);
528
533
  if (t.inputMode === "local")
529
- return h(e) ? ((u = (a = n()).tz) == null ? void 0 : u.call(a, s).format(r)) || n().format(r) : n.tz(o, s).format(r);
534
+ return Z(e) ? ((u = (a = n()).tz) == null ? void 0 : u.call(a, s).format(r)) || n().format(r) : n.tz(o, s).format(r);
530
535
  const i = n(o);
531
536
  return (typeof i.tz == "function" ? i.tz(s) : n.tz(o, s)).format(r);
532
- }, Ie = (e, t = {}) => {
537
+ }, pe = (e, t = {}) => {
533
538
  const n = typeof t == "string" ? { format: t } : t || {}, r = {
534
539
  ...n,
535
540
  format: n.format || w
536
541
  };
537
- return r.dateLibrary === "moment" ? zt(e, r) : De(e, r);
538
- }, St = (e, t, n) => new Intl.DateTimeFormat(n, {
542
+ return r.dateLibrary === "moment" ? kt(e, r) : Ee(e, r);
543
+ }, bt = (e, t, n) => new Intl.DateTimeFormat(n, {
539
544
  timeZone: t,
540
545
  year: "numeric",
541
546
  month: "2-digit",
@@ -544,7 +549,7 @@ const Tt = () => {
544
549
  minute: "2-digit",
545
550
  second: "2-digit",
546
551
  hourCycle: "h23"
547
- }).formatToParts(e).reduce((o, s) => (s.type !== "literal" && (o[s.type] = s.value), o), {}), Mt = (e, t, n) => {
552
+ }).formatToParts(e).reduce((o, s) => (s.type !== "literal" && (o[s.type] = s.value), o), {}), Nt = (e, t, n) => {
548
553
  const r = {
549
554
  YYYY: t.year || "0000",
550
555
  YY: (t.year || "0000").slice(-2),
@@ -561,36 +566,36 @@ const Tt = () => {
561
566
  SSS: n
562
567
  };
563
568
  return e.replace(/YYYY|SSS|YY|MM|DD|HH|mm|ss|M|D|H|m|s/g, (o) => r[o] ?? o);
564
- }, tn = (e, t = {}) => {
565
- const n = typeof t == "string" ? { format: t } : t || {}, r = n.format || w, o = Ze(n.locale || E), s = d(n.timeZone), i = Z(e);
569
+ }, cn = (e, t = {}) => {
570
+ const n = typeof t == "string" ? { format: t } : t || {}, r = n.format || w, o = ge(n.locale || E), s = d(n.timeZone), i = h(e);
566
571
  if (!i.isValid()) return i.format(r);
567
572
  try {
568
- const c = i.toDate(), a = St(c, s, o), u = String(c.getMilliseconds()).padStart(3, "0");
569
- return Mt(r, a, u);
573
+ const c = i.toDate(), a = bt(c, s, o), u = String(c.getMilliseconds()).padStart(3, "0");
574
+ return Nt(r, a, u);
570
575
  } catch {
571
- return Ie(e, { format: r, timeZone: s });
576
+ return pe(e, { format: r, timeZone: s });
572
577
  }
573
- }, nn = (e, t = w, n = {}) => Ie(e, { ...n, format: t }), ee = (e) => String(e).padStart(2, "0"), Ae = (e) => `UTC${e}`, Ee = (e, t) => {
574
- const n = gt(e, t), r = n >= 0 ? "+" : "-", o = Math.abs(n);
575
- return `UTC${r}${ee(Math.floor(o / 60))}:${ee(o % 60)}`;
576
- }, _t = (e, t = /* @__PURE__ */ new Date()) => {
578
+ }, fn = (e, t = w, n = {}) => pe(e, { ...n, format: t }), ne = (e) => String(e).padStart(2, "0"), we = (e) => `UTC${e}`, ze = (e, t) => {
579
+ const n = wt(e, t), r = n >= 0 ? "+" : "-", o = Math.abs(n);
580
+ return `UTC${r}${ne(Math.floor(o / 60))}:${ne(o % 60)}`;
581
+ }, Pt = (e, t = /* @__PURE__ */ new Date()) => {
577
582
  const n = e.currentUtcOffsetText || e.baseUtcOffsetText;
578
- return n ? `UTC${n}` : Ee(t, e.timeZoneId);
579
- }, Lt = (e, t) => {
583
+ return n ? `UTC${n}` : ze(t, e.timeZoneId);
584
+ }, Ot = (e, t) => {
580
585
  const n = e.match(/([+-]\d{1,2})(?::?(\d{2}))?/) || [];
581
586
  if (!n[1]) return t;
582
587
  const r = n[1].startsWith("-") ? "-" : "+", o = n[1].replace(/[+-]/, "").padStart(2, "0"), s = n[2] || "00";
583
588
  return `UTC${r}${o}:${s}`;
584
- }, Ct = (e, t, n) => {
589
+ }, Yt = (e, t, n) => {
585
590
  var o, s;
586
- const r = Ae(n.format("Z"));
591
+ const r = we(n.format("Z"));
587
592
  try {
588
593
  const i = Intl.DateTimeFormat.supportedLocalesOf([t])[0] || t, c = (s = (o = new Intl.DateTimeFormat(i, { timeZone: e, timeZoneName: "long" }).formatToParts(n.toDate()).find((a) => a.type === "timeZoneName")) == null ? void 0 : o.value) == null ? void 0 : s.trim();
589
- return c ? /^(gmt|utc)/i.test(c) ? Lt(c, r) : c : r;
594
+ return c ? /^(gmt|utc)/i.test(c) ? Ot(c, r) : c : r;
590
595
  } catch {
591
596
  return r;
592
597
  }
593
- }, pe = (e, t) => {
598
+ }, Se = (e, t) => {
594
599
  const n = t.year();
595
600
  return Array.from(
596
601
  new Set(
@@ -600,38 +605,38 @@ const Tt = () => {
600
605
  })
601
606
  )
602
607
  );
603
- }, we = (e, t) => {
608
+ }, _e = (e, t) => {
604
609
  const n = d(e);
605
610
  if (!z(n)) return !1;
606
611
  const r = M(t).tz(n);
607
- return pe(n, r).length > 1;
608
- }, Y = (e, t) => {
612
+ return Se(n, r).length > 1;
613
+ }, U = (e, t) => {
609
614
  const n = d(e);
610
615
  if (!z(n)) return !1;
611
- const r = M(t).tz(n), o = pe(n, r);
616
+ const r = M(t).tz(n), o = Se(n, r);
612
617
  return o.length <= 1 ? !1 : r.utcOffset() === Math.max(...o);
613
- }, rn = (e, t) => Y(e, t), ze = (e) => {
618
+ }, un = (e, t) => U(e, t), Me = (e) => {
614
619
  if (e === 1 || e === "1") return !0;
615
620
  if (e === 0 || e === "0") return !1;
616
- }, bt = (e, t) => {
617
- const n = ze(e.dynamicOffsetFlag);
618
- return typeof n == "boolean" ? n : we(e.timeZoneId, t);
619
- }, kt = (e, t) => {
620
- const n = ze(e.currentDstFlag);
621
- return typeof n == "boolean" ? n : Y(e.timeZoneId, t);
622
- }, on = (e, t = /* @__PURE__ */ new Date()) => e.map((n) => {
623
- const r = n.tzShowName || _t(n, t), o = bt(n, t);
621
+ }, vt = (e, t) => {
622
+ const n = Me(e.dynamicOffsetFlag);
623
+ return typeof n == "boolean" ? n : _e(e.timeZoneId, t);
624
+ }, Ut = (e, t) => {
625
+ const n = Me(e.currentDstFlag);
626
+ return typeof n == "boolean" ? n : U(e.timeZoneId, t);
627
+ }, ln = (e, t = /* @__PURE__ */ new Date()) => e.map((n) => {
628
+ const r = n.tzShowName || Pt(n, t), o = vt(n, t);
624
629
  return {
625
630
  value: n.timeZoneId,
626
631
  zoneName: r,
627
632
  label: r,
628
633
  hasDST: o,
629
- isDST: o ? kt(n, t) : !1
634
+ isDST: o ? Ut(n, t) : !1
630
635
  };
631
- }), Nt = (e) => {
636
+ }), Vt = (e) => {
632
637
  const t = e.toLowerCase().split("-")[0];
633
- return X[t] || X.default;
634
- }, Ot = (e) => typeof e.showDaylightSavingLabel == "boolean" ? e.showDaylightSavingLabel : e.showDaylightSavingMarker ?? !0, sn = (e, t, n = {}) => {
638
+ return ee[t] || ee.default;
639
+ }, Ft = (e) => typeof e.showDaylightSavingLabel == "boolean" ? e.showDaylightSavingLabel : e.showDaylightSavingMarker ?? !0, mn = (e, t, n = {}) => {
635
640
  const {
636
641
  showZoneLabel: r = !0,
637
642
  zoneLabel: o,
@@ -639,13 +644,13 @@ const Tt = () => {
639
644
  isDST: i,
640
645
  standardTimeLabel: c,
641
646
  daylightSavingLabel: a,
642
- format: u = ce
643
- } = n, m = d(t), y = Dt(e, m, u), I = typeof s == "boolean" ? s : we(m, e), g = (typeof i == "boolean" ? i : Y(m, e)) ? a : c, A = I && g ? `[${g}]` : "";
644
- return r ? [y, o || Ee(e, m), A].filter(Boolean).join(" ") : [y, A].filter(Boolean).join(" ");
645
- }, an = (e = {}) => {
646
- const t = Ze(e.locale, e.supportedLocales), n = d(e.timeZone), r = M(e.value).tz(n), o = Ct(n, t, r), s = Ae(r.format("Z")), i = Y(n, r), c = i ? Nt(t) : "", a = Ot(e), u = i && a ? `${o} - ${c}` : o;
647
+ format: u = ue
648
+ } = n, m = d(t), y = zt(e, m, u), I = typeof s == "boolean" ? s : _e(m, e), g = (typeof i == "boolean" ? i : U(m, e)) ? a : c, A = I && g ? `[${g}]` : "";
649
+ return r ? [y, o || ze(e, m), A].filter(Boolean).join(" ") : [y, A].filter(Boolean).join(" ");
650
+ }, dn = (e = {}) => {
651
+ const t = ge(e.locale, e.supportedLocales), n = d(e.timeZone), r = M(e.value).tz(n), o = Yt(n, t, r), s = we(r.format("Z")), i = U(n, r), c = i ? Vt(t) : "", a = Ft(e), u = i && a ? `${o} - ${c}` : o;
647
652
  return {
648
- formattedValue: r.format(e.format || Je),
653
+ formattedValue: r.format(e.format || Xe),
649
654
  locale: t,
650
655
  timeZone: n,
651
656
  timeZoneName: o,
@@ -657,65 +662,65 @@ const Tt = () => {
657
662
  };
658
663
  };
659
664
  export {
660
- Xe as IANA_TIMEZONE_DATA_CHANGE_EVENT,
661
- fe as TIMEZONE_CHANGE_EVENT,
662
- re as TIME_ZONE_PACKED_DATA_URL,
663
- qe as UPF_TIMEZONE_MESSAGE_TYPE,
664
- Rt as applyDayjsIanaTimeZoneData,
665
- Gt as applyMomentIanaTimeZoneData,
666
- se as assertPackedIanaData,
667
- $e as assertPackedIanaTzData,
668
- oe as buildIanaFetchInit,
669
- on as buildTimeZoneDisplayOptions,
670
- ve as clearDayjsIanaCache,
671
- N as clientTimeZone,
672
- xe as createIanaDbFromPackedData,
665
+ tt as IANA_TIMEZONE_DATA_CHANGE_EVENT,
666
+ le as TIMEZONE_CHANGE_EVENT,
667
+ se as TIME_ZONE_PACKED_DATA_URL,
668
+ et as UPF_TIMEZONE_MESSAGE_TYPE,
669
+ Wt as applyDayjsIanaTimeZoneData,
670
+ Xt as applyMomentIanaTimeZoneData,
671
+ ie as assertPackedIanaData,
672
+ We as assertPackedIanaTzData,
673
+ ae as buildIanaFetchInit,
674
+ ln as buildTimeZoneDisplayOptions,
675
+ Ue as clearDayjsIanaCache,
676
+ P as clientTimeZone,
677
+ $e as createIanaDbFromPackedData,
673
678
  T as dayjsTimezoneIanaPlugin,
674
- sn as formatClientLocalDateTimeLine,
675
- Dt as formatInTimeZone,
676
- Ie as formatLocalDateTime,
677
- tn as formatLocalDateTimeIntl,
678
- Ee as formatTimeZoneOffsetLabel,
679
- Xt as fromTimeZonePickerValue,
680
- Le as getAccessTokenFromLocalStorage,
681
- Ne as getCachedDayjsPackedIanaData,
682
- Tt as getClientTimeZone,
683
- Ce as getDefaultIanaAuthorization,
684
- xt as getKnownTimeZoneIds,
685
- ot as getRuntimeIanaTimeZoneDataSnapshot,
686
- Vt as getRuntimeNameZoneDataSnapshot,
687
- Kt as getTimeZoneDayjs,
688
- an as getTimeZoneDisplayInfo,
689
- gt as getZoneUtcOffset,
690
- dt as initClientTimeZoneSync,
691
- rn as isDaylightSavingTime,
679
+ mn as formatClientLocalDateTimeLine,
680
+ zt as formatInTimeZone,
681
+ pe as formatLocalDateTime,
682
+ cn as formatLocalDateTimeIntl,
683
+ ze as formatTimeZoneOffsetLabel,
684
+ on as fromTimeZonePickerValue,
685
+ be as getAccessTokenFromLocalStorage,
686
+ Ye as getCachedDayjsPackedIanaData,
687
+ yt as getClientTimeZone,
688
+ Ne as getDefaultIanaAuthorization,
689
+ Jt as getKnownTimeZoneIds,
690
+ it as getRuntimeIanaTimeZoneDataSnapshot,
691
+ Gt as getRuntimeNameZoneDataSnapshot,
692
+ nn as getTimeZoneDayjs,
693
+ dn as getTimeZoneDisplayInfo,
694
+ wt as getZoneUtcOffset,
695
+ Zt as initClientTimeZoneSync,
696
+ un as isDaylightSavingTime,
692
697
  z as isKnownTimeZone,
693
- wt as isMomentTimezoneFormatInstance,
694
- he as isTimeZonePickerModeEnabled,
695
- Ht as loadDayjsIanaTimeZoneData,
696
- ie as loadIanaData,
697
- q as loadIanaFromApi,
698
- ie as loadMomentIanaData,
699
- q as loadMomentIanaFromApi,
700
- $t as loadMomentIanaTimeZoneData,
701
- Ze as normalizeLocaleCode,
702
- Wt as onClientTimeZoneChange,
703
- Oe as preloadDayjsIanaFromApi,
704
- ae as preloadDayjsIanaFromData,
705
- jt as readInjectedParentIanaTimeZoneDataSnapshot,
706
- P as rebuildKnownTimeZoneIds,
707
- Te as resolvePickerTimeZone,
698
+ Ct as isMomentTimezoneFormatInstance,
699
+ ye as isTimeZonePickerModeEnabled,
700
+ Kt as loadDayjsIanaTimeZoneData,
701
+ fe as loadIanaData,
702
+ Q as loadIanaFromApi,
703
+ fe as loadMomentIanaData,
704
+ Q as loadMomentIanaFromApi,
705
+ qt as loadMomentIanaTimeZoneData,
706
+ ge as normalizeLocaleCode,
707
+ tn as onClientTimeZoneChange,
708
+ ve as preloadDayjsIanaFromApi,
709
+ ce as preloadDayjsIanaFromData,
710
+ Bt as readInjectedParentIanaTimeZoneDataSnapshot,
711
+ v as rebuildKnownTimeZoneIds,
712
+ Ze as resolvePickerTimeZone,
708
713
  d as resolveTimeZone,
709
- _t as resolveUtcOffsetFallback,
710
- Bt as setClientTimeZone,
711
- H as setDefaultTimeZone,
712
- v as setRuntimeIanaTimeZoneDataSnapshot,
713
- Jt as syncClientTimeZone,
714
- et as timeZoneDayjs,
715
- we as timeZoneHasDST,
716
- Y as timeZoneIsDST,
717
- nn as toLocalDate,
718
- qt as toTimeZonePickerValue,
719
- en as toTimestampAtZoneEndOfDay,
720
- Qt as toTimestampAtZoneStartOfDay
714
+ Pt as resolveUtcOffsetFallback,
715
+ Qt as setClientTimeZone,
716
+ G as setDefaultTimeZone,
717
+ Y as setRuntimeIanaTimeZoneDataSnapshot,
718
+ en as syncClientTimeZone,
719
+ rt as timeZoneDayjs,
720
+ _e as timeZoneHasDST,
721
+ U as timeZoneIsDST,
722
+ fn as toLocalDate,
723
+ rn as toTimeZonePickerValue,
724
+ an as toTimestampAtZoneEndOfDay,
725
+ sn as toTimestampAtZoneStartOfDay
721
726
  };