@das-fed/utils 6.4.0-dev.7 → 6.4.0-dev.9

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 (69) hide show
  1. package/api-services/index.js +1 -1
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +76 -76
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +76 -76
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +73 -73
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +76 -76
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +73 -73
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +76 -76
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js.gz +0 -0
  16. package/api-services/modules/gateway-edge/index.js +76 -76
  17. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  18. package/api-services/modules/index.js +1 -1
  19. package/api-services/modules/index.js.gz +0 -0
  20. package/api-services/modules/iot/index.js +70 -70
  21. package/api-services/modules/iot/index.js.gz +0 -0
  22. package/api-services/modules/justauth/index.js +76 -76
  23. package/api-services/modules/justauth/index.js.gz +0 -0
  24. package/api-services/modules/knowledge/index.js +76 -76
  25. package/api-services/modules/knowledge/index.js.gz +0 -0
  26. package/api-services/modules/link/index.js +76 -76
  27. package/api-services/modules/link/index.js.gz +0 -0
  28. package/api-services/modules/permission/index.js +76 -76
  29. package/api-services/modules/permission/index.js.gz +0 -0
  30. package/api-services/modules/platformManage/index.js +70 -70
  31. package/api-services/modules/platformManage/index.js.gz +0 -0
  32. package/api-services/modules/portal/index.js +76 -76
  33. package/api-services/modules/portal/index.js.gz +0 -0
  34. package/api-services/modules/space-manage/index.js +76 -76
  35. package/api-services/modules/space-manage/index.js.gz +0 -0
  36. package/api-services/modules/super-admin/index.js +73 -73
  37. package/api-services/modules/super-admin/index.js.gz +0 -0
  38. package/api-services/modules/supplier/index.js +73 -73
  39. package/api-services/modules/supplier/index.js.gz +0 -0
  40. package/api-services/modules/supplychain-manage/index.js +76 -76
  41. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  42. package/api-services/modules/systemConfiguration/index.js +76 -76
  43. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  44. package/api-services/modules/tool/index.js +76 -76
  45. package/api-services/modules/tool/index.js.gz +0 -0
  46. package/api-services/src/create-service/index.js +81 -81
  47. package/api-services/src/create-service/index.js.gz +0 -0
  48. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  49. package/common-info/index.js.gz +0 -0
  50. package/common-info/set-personal-info/index.js.gz +0 -0
  51. package/common-info/type.d.ts +104 -104
  52. package/common-tools/get-url-params/index.js.gz +0 -0
  53. package/create-api-service/index.js +81 -81
  54. package/create-api-service/index.js.gz +0 -0
  55. package/create-api-service/sso/index.js.gz +0 -0
  56. package/curring-http/index.js.gz +0 -0
  57. package/curring-http/type.d.ts +87 -87
  58. package/directive/auth/index.js.gz +0 -0
  59. package/hooks/use-get-auth/index.js.gz +0 -0
  60. package/nextTiken/index.js.gz +0 -0
  61. package/package.json +3 -3
  62. package/pinyin-first-character/index.js.gz +0 -0
  63. package/style/index.js.gz +0 -0
  64. package/token-tools/index.js.gz +0 -0
  65. package/use-low-code/index.js +12 -12
  66. package/use-low-code/index.js.gz +0 -0
  67. package/use-low-code/style.css +1 -1
  68. package/webSocket-service/index.js.gz +0 -0
  69. package/webSocket-service/type.d.ts +28 -28
@@ -8,22 +8,22 @@ function Pr(t, e) {
8
8
  return t.apply(e, arguments);
9
9
  };
10
10
  }
11
- const { toString: Cn } = Object.prototype, { getPrototypeOf: Nt } = Object, et = /* @__PURE__ */ ((t) => (e) => {
11
+ const { toString: Cn } = Object.prototype, { getPrototypeOf: _t } = Object, et = /* @__PURE__ */ ((t) => (e) => {
12
12
  const r = Cn.call(e);
13
13
  return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
14
- })(/* @__PURE__ */ Object.create(null)), re = (t) => (t = t.toLowerCase(), (e) => et(e) === t), tt = (t) => (e) => typeof e === t, { isArray: Ae } = Array, _e = tt("undefined");
15
- function Nn(t) {
16
- return t !== null && !_e(t) && t.constructor !== null && !_e(t.constructor) && K(t.constructor.isBuffer) && t.constructor.isBuffer(t);
14
+ })(/* @__PURE__ */ Object.create(null)), re = (t) => (t = t.toLowerCase(), (e) => et(e) === t), tt = (t) => (e) => typeof e === t, { isArray: Ae } = Array, Ne = tt("undefined");
15
+ function _n(t) {
16
+ return t !== null && !Ne(t) && t.constructor !== null && !Ne(t.constructor) && K(t.constructor.isBuffer) && t.constructor.isBuffer(t);
17
17
  }
18
18
  const xr = re("ArrayBuffer");
19
- function _n(t) {
19
+ function Nn(t) {
20
20
  let e;
21
21
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && xr(t.buffer), e;
22
22
  }
23
23
  const Mn = tt("string"), K = tt("function"), Tr = tt("number"), rt = (t) => t !== null && typeof t == "object", In = (t) => t === !0 || t === !1, Je = (t) => {
24
24
  if (et(t) !== "object")
25
25
  return !1;
26
- const e = Nt(t);
26
+ const e = _t(t);
27
27
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
28
28
  }, Un = re("Date"), Bn = re("File"), Ln = re("Blob"), kn = re("FileList"), jn = (t) => rt(t) && K(t.pipe), Hn = (t) => {
29
29
  let e;
@@ -53,7 +53,7 @@ function Dr(t, e) {
53
53
  return o;
54
54
  return null;
55
55
  }
56
- const Fr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Cr = (t) => !_e(t) && t !== Fr;
56
+ const Fr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Cr = (t) => !Ne(t) && t !== Fr;
57
57
  function bt() {
58
58
  const { caseless: t } = Cr(this) && this || {}, e = {}, r = (n, o) => {
59
59
  const i = t && Dr(e, o) || o;
@@ -76,7 +76,7 @@ const qn = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
76
76
  do {
77
77
  for (o = Object.getOwnPropertyNames(t), i = o.length; i-- > 0; )
78
78
  a = o[i], (!n || n(a, t, e)) && !s[a] && (e[a] = t[a], s[a] = !0);
79
- t = r !== !1 && Nt(t);
79
+ t = r !== !1 && _t(t);
80
80
  } while (t && (!r || r(t, e)) && t !== Object.prototype);
81
81
  return e;
82
82
  }, Yn = (t, e, r) => {
@@ -92,7 +92,7 @@ const qn = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
92
92
  for (; e-- > 0; )
93
93
  r[e] = t[e];
94
94
  return r;
95
- }, Kn = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Nt(Uint8Array)), Zn = (t, e) => {
95
+ }, Kn = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && _t(Uint8Array)), Zn = (t, e) => {
96
96
  const n = (t && t[Symbol.iterator]).call(t);
97
97
  let o;
98
98
  for (; (o = n.next()) && !o.done; ) {
@@ -110,14 +110,14 @@ const qn = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
110
110
  function(r, n, o) {
111
111
  return n.toUpperCase() + o;
112
112
  }
113
- ), qt = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), ro = re("RegExp"), Nr = (t, e) => {
113
+ ), qt = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), ro = re("RegExp"), _r = (t, e) => {
114
114
  const r = Object.getOwnPropertyDescriptors(t), n = {};
115
115
  Ie(r, (o, i) => {
116
116
  let a;
117
117
  (a = e(o, i, t)) !== !1 && (n[i] = a || o);
118
118
  }), Object.defineProperties(t, n);
119
119
  }, no = (t) => {
120
- Nr(t, (e, r) => {
120
+ _r(t, (e, r) => {
121
121
  if (K(t) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
122
122
  return !1;
123
123
  const n = t[r];
@@ -139,11 +139,11 @@ const qn = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
139
139
  };
140
140
  return Ae(t) ? n(t) : n(String(t).split(e)), r;
141
141
  }, io = () => {
142
- }, ao = (t, e) => (t = +t, Number.isFinite(t) ? t : e), it = "abcdefghijklmnopqrstuvwxyz", Jt = "0123456789", _r = {
142
+ }, ao = (t, e) => (t = +t, Number.isFinite(t) ? t : e), it = "abcdefghijklmnopqrstuvwxyz", Jt = "0123456789", Nr = {
143
143
  DIGIT: Jt,
144
144
  ALPHA: it,
145
145
  ALPHA_DIGIT: it + it.toUpperCase() + Jt
146
- }, so = (t = 16, e = _r.ALPHA_DIGIT) => {
146
+ }, so = (t = 16, e = Nr.ALPHA_DIGIT) => {
147
147
  let r = "";
148
148
  const { length: n } = e;
149
149
  for (; t--; )
@@ -163,7 +163,7 @@ const co = (t) => {
163
163
  const i = Ae(n) ? [] : {};
164
164
  return Ie(n, (a, s) => {
165
165
  const u = r(a, o + 1);
166
- !_e(u) && (i[s] = u);
166
+ !Ne(u) && (i[s] = u);
167
167
  }), e[o] = void 0, i;
168
168
  }
169
169
  }
@@ -173,15 +173,15 @@ const co = (t) => {
173
173
  }, fo = re("AsyncFunction"), lo = (t) => t && (rt(t) || K(t)) && K(t.then) && K(t.catch), d = {
174
174
  isArray: Ae,
175
175
  isArrayBuffer: xr,
176
- isBuffer: Nn,
176
+ isBuffer: _n,
177
177
  isFormData: Hn,
178
- isArrayBufferView: _n,
178
+ isArrayBufferView: Nn,
179
179
  isString: Mn,
180
180
  isNumber: Tr,
181
181
  isBoolean: In,
182
182
  isObject: rt,
183
183
  isPlainObject: Je,
184
- isUndefined: _e,
184
+ isUndefined: Ne,
185
185
  isDate: Un,
186
186
  isFile: Bn,
187
187
  isBlob: Ln,
@@ -208,7 +208,7 @@ const co = (t) => {
208
208
  hasOwnProperty: qt,
209
209
  hasOwnProp: qt,
210
210
  // an alias to avoid ESLint no-prototype-builtins detection
211
- reduceDescriptors: Nr,
211
+ reduceDescriptors: _r,
212
212
  freezeMethods: no,
213
213
  toObjectSet: oo,
214
214
  toCamelCase: to,
@@ -217,7 +217,7 @@ const co = (t) => {
217
217
  findKey: Dr,
218
218
  global: Fr,
219
219
  isContextDefined: Cr,
220
- ALPHABET: _r,
220
+ ALPHABET: Nr,
221
221
  generateString: so,
222
222
  isSpecCompliantForm: uo,
223
223
  toJSONObject: co,
@@ -319,10 +319,10 @@ function nt(t, e, r) {
319
319
  if (d.endsWith(l, "{}"))
320
320
  l = n ? l : l.slice(0, -2), y = JSON.stringify(y);
321
321
  else if (d.isArray(y) && yo(y) || (d.isFileList(y) || d.endsWith(l, "[]")) && (b = d.toArray(y)))
322
- return l = Ur(l), b.forEach(function(P, _) {
322
+ return l = Ur(l), b.forEach(function(P, N) {
323
323
  !(d.isUndefined(P) || P === null) && e.append(
324
324
  // eslint-disable-next-line no-nested-ternary
325
- a === !0 ? Gt([l], _, i) : a === null ? l : l + "[]",
325
+ a === !0 ? Gt([l], N, i) : a === null ? l : l + "[]",
326
326
  c(P)
327
327
  );
328
328
  }), !1;
@@ -367,10 +367,10 @@ function Vt(t) {
367
367
  return e[n];
368
368
  });
369
369
  }
370
- function _t(t, e) {
370
+ function Nt(t, e) {
371
371
  this._pairs = [], t && nt(t, this, e);
372
372
  }
373
- const Br = _t.prototype;
373
+ const Br = Nt.prototype;
374
374
  Br.append = function(e, r) {
375
375
  this._pairs.push([e, r]);
376
376
  };
@@ -390,7 +390,7 @@ function Lr(t, e, r) {
390
390
  return t;
391
391
  const n = r && r.encode || mo, o = r && r.serialize;
392
392
  let i;
393
- if (o ? i = o(e, r) : i = d.isURLSearchParams(e) ? e.toString() : new _t(e, r).toString(n), i) {
393
+ if (o ? i = o(e, r) : i = d.isURLSearchParams(e) ? e.toString() : new Nt(e, r).toString(n), i) {
394
394
  const a = t.indexOf("#");
395
395
  a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
396
396
  }
@@ -454,7 +454,7 @@ const kr = {
454
454
  silentJSONParsing: !0,
455
455
  forcedJSONParsing: !0,
456
456
  clarifyTimeoutError: !1
457
- }, vo = typeof URLSearchParams < "u" ? URLSearchParams : _t, go = typeof FormData < "u" ? FormData : null, So = typeof Blob < "u" ? Blob : null, bo = {
457
+ }, vo = typeof URLSearchParams < "u" ? URLSearchParams : Nt, go = typeof FormData < "u" ? FormData : null, So = typeof Blob < "u" ? Blob : null, bo = {
458
458
  isBrowser: !0,
459
459
  classes: {
460
460
  URLSearchParams: vo,
@@ -636,7 +636,7 @@ function at(t, e, r, n, o) {
636
636
  function Co(t) {
637
637
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, r, n) => r.toUpperCase() + n);
638
638
  }
639
- function No(t, e) {
639
+ function _o(t, e) {
640
640
  const r = d.toCamelCase(" " + e);
641
641
  ["get", "set", "has"].forEach((n) => {
642
642
  Object.defineProperty(t, n + r, {
@@ -751,7 +751,7 @@ class Z {
751
751
  }).accessors, o = this.prototype;
752
752
  function i(a) {
753
753
  const s = Te(a);
754
- n[s] || (No(o, a), n[s] = !0);
754
+ n[s] || (_o(o, a), n[s] = !0);
755
755
  }
756
756
  return d.isArray(e) ? e.forEach(i) : i(e), this;
757
757
  }
@@ -783,7 +783,7 @@ function Be(t, e, r) {
783
783
  d.inherits(Be, D, {
784
784
  __CANCEL__: !0
785
785
  });
786
- function _o(t, e, r) {
786
+ function No(t, e, r) {
787
787
  const n = r.config.validateStatus;
788
788
  !r.status || !n || n(r.status) ? t(r) : e(new D(
789
789
  "Request failed with status code " + r.status,
@@ -936,7 +936,7 @@ const jo = typeof XMLHttpRequest < "u", Ho = jo && function(t) {
936
936
  config: t,
937
937
  request: f
938
938
  };
939
- _o(function(P) {
939
+ No(function(P) {
940
940
  r(P), c();
941
941
  }, function(P) {
942
942
  n(P), c();
@@ -1761,14 +1761,14 @@ function Bt() {
1761
1761
  }
1762
1762
  return pt = e, pt;
1763
1763
  }
1764
- var Ni = $e, Ve = Ni("%Object.getOwnPropertyDescriptor%", !0);
1764
+ var _i = $e, Ve = _i("%Object.getOwnPropertyDescriptor%", !0);
1765
1765
  if (Ve)
1766
1766
  try {
1767
1767
  Ve([], "length");
1768
1768
  } catch {
1769
1769
  Ve = null;
1770
1770
  }
1771
- var Kr = Ve, sr = Bt(), _i = Vr, ve = Le, ur = Kr, Mi = function(e, r, n) {
1771
+ var Kr = Ve, sr = Bt(), Ni = Vr, ve = Le, ur = Kr, Mi = function(e, r, n) {
1772
1772
  if (!e || typeof e != "object" && typeof e != "function")
1773
1773
  throw new ve("`obj` must be an object or a function`");
1774
1774
  if (typeof r != "string" && typeof r != "symbol")
@@ -1792,7 +1792,7 @@ var Kr = Ve, sr = Bt(), _i = Vr, ve = Le, ur = Kr, Mi = function(e, r, n) {
1792
1792
  else if (s || !o && !i && !a)
1793
1793
  e[r] = n;
1794
1794
  else
1795
- throw new _i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
1795
+ throw new Ni("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
1796
1796
  }, $t = Bt(), Zr = function() {
1797
1797
  return !!$t;
1798
1798
  };
@@ -1939,8 +1939,8 @@ var xt = Ji, br = xt.custom, wr = on(br) ? br : null, ra = function t(e, r, n, o
1939
1939
  return f && !Sa(P) ? "[" + Dt(P, f) + "]" : "[ " + ee.call(P, ", ") + " ]";
1940
1940
  }
1941
1941
  if (ia(e)) {
1942
- var _ = He(e, h);
1943
- return !("cause" in Error.prototype) && "cause" in e && !rn.call(e, "cause") ? "{ [" + String(e) + "] " + ee.call(mr.call("[cause]: " + h(e.cause), _), ", ") + " }" : _.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + ee.call(_, ", ") + " }";
1942
+ var N = He(e, h);
1943
+ return !("cause" in Error.prototype) && "cause" in e && !rn.call(e, "cause") ? "{ [" + String(e) + "] " + ee.call(mr.call("[cause]: " + h(e.cause), N), ", ") + " }" : N.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + ee.call(N, ", ") + " }";
1944
1944
  }
1945
1945
  if (typeof e == "object" && a) {
1946
1946
  if (wr && typeof e[wr] == "function" && xt)
@@ -2256,14 +2256,14 @@ var un = $e, Re = zi, wa = ra, Oa = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2256
2256
  }
2257
2257
  };
2258
2258
  return o;
2259
- }, Na = String.prototype.replace, _a = /%20/g, vt = {
2259
+ }, _a = String.prototype.replace, Na = /%20/g, vt = {
2260
2260
  RFC1738: "RFC1738",
2261
2261
  RFC3986: "RFC3986"
2262
2262
  }, zt = {
2263
2263
  default: vt.RFC3986,
2264
2264
  formatters: {
2265
2265
  RFC1738: function(t) {
2266
- return Na.call(t, _a, "+");
2266
+ return _a.call(t, Na, "+");
2267
2267
  },
2268
2268
  RFC3986: function(t) {
2269
2269
  return String(t);
@@ -2386,7 +2386,7 @@ var un = $e, Re = zi, wa = ra, Oa = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2386
2386
  isRegExp: Ha,
2387
2387
  maybeMap: qa,
2388
2388
  merge: Ua
2389
- }, ln = Ca, Ye = fn, Ne = zt, Ja = Object.prototype.hasOwnProperty, Ar = {
2389
+ }, ln = Ca, Ye = fn, _e = zt, Ja = Object.prototype.hasOwnProperty, Ar = {
2390
2390
  brackets: function(e) {
2391
2391
  return e + "[]";
2392
2392
  },
@@ -2399,7 +2399,7 @@ var un = $e, Re = zi, wa = ra, Oa = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2399
2399
  }
2400
2400
  }, ne = Array.isArray, Ga = Array.prototype.push, pn = function(t, e) {
2401
2401
  Ga.apply(t, ne(e) ? e : [e]);
2402
- }, Va = Date.prototype.toISOString, $r = Ne.default, J = {
2402
+ }, Va = Date.prototype.toISOString, $r = _e.default, J = {
2403
2403
  addQueryPrefix: !1,
2404
2404
  allowDots: !1,
2405
2405
  charset: "utf-8",
@@ -2409,7 +2409,7 @@ var un = $e, Re = zi, wa = ra, Oa = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2409
2409
  encoder: Ye.encode,
2410
2410
  encodeValuesOnly: !1,
2411
2411
  format: $r,
2412
- formatter: Ne.formatters[$r],
2412
+ formatter: _e.formatters[$r],
2413
2413
  // deprecated
2414
2414
  indices: !1,
2415
2415
  serializeDate: function(e) {
@@ -2420,12 +2420,12 @@ var un = $e, Re = zi, wa = ra, Oa = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2420
2420
  }, Ya = function(e) {
2421
2421
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2422
2422
  }, St = {}, Qa = function t(e, r, n, o, i, a, s, u, c, p, f, h, g, y, l, w) {
2423
- for (var b = e, A = w, P = 0, _ = !1; (A = A.get(St)) !== void 0 && !_; ) {
2423
+ for (var b = e, A = w, P = 0, N = !1; (A = A.get(St)) !== void 0 && !N; ) {
2424
2424
  var C = A.get(e);
2425
2425
  if (P += 1, typeof C < "u") {
2426
2426
  if (C === P)
2427
2427
  throw new RangeError("Cyclic object value");
2428
- _ = !0;
2428
+ N = !0;
2429
2429
  }
2430
2430
  typeof A.get(St) > "u" && (P = 0);
2431
2431
  }
@@ -2490,13 +2490,13 @@ var un = $e, Re = zi, wa = ra, Oa = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2490
2490
  var r = e.charset || J.charset;
2491
2491
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
2492
2492
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
2493
- var n = Ne.default;
2493
+ var n = _e.default;
2494
2494
  if (typeof e.format < "u") {
2495
- if (!Ja.call(Ne.formatters, e.format))
2495
+ if (!Ja.call(_e.formatters, e.format))
2496
2496
  throw new TypeError("Unknown format option provided.");
2497
2497
  n = e.format;
2498
2498
  }
2499
- var o = Ne.formatters[n], i = J.filter;
2499
+ var o = _e.formatters[n], i = J.filter;
2500
2500
  return (typeof e.filter == "function" || ne(e.filter)) && (i = e.filter), {
2501
2501
  addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : J.addQueryPrefix,
2502
2502
  allowDots: typeof e.allowDots > "u" ? J.allowDots : !!e.allowDots,
@@ -2740,7 +2740,7 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2740
2740
  } }, P = function(E, v, m) {
2741
2741
  var O = String(E);
2742
2742
  return !O || O.length >= v ? E : "" + Array(v + 1 - O.length).join(m) + E;
2743
- }, _ = { s: P, z: function(E) {
2743
+ }, N = { s: P, z: function(E) {
2744
2744
  var v = -E.utcOffset(), m = Math.abs(v), O = Math.floor(m / 60), S = m % 60;
2745
2745
  return (v <= 0 ? "+" : "-") + P(O, 2, "0") + ":" + P(S, 2, "0");
2746
2746
  }, m: function E(v, m) {
@@ -2766,15 +2766,15 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2766
2766
  var R = v.split("-");
2767
2767
  if (!S && R.length > 1) return E(R[0]);
2768
2768
  } else {
2769
- var N = v.name;
2770
- U[N] = v, S = N;
2769
+ var _ = v.name;
2770
+ U[_] = v, S = _;
2771
2771
  }
2772
2772
  return !O && S && (C = S), S || !O && C;
2773
2773
  }, F = function(E, v) {
2774
2774
  if (B(E)) return E.clone();
2775
2775
  var m = typeof v == "object" ? v : {};
2776
2776
  return m.date = E, m.args = arguments, new W(m);
2777
- }, x = _;
2777
+ }, x = N;
2778
2778
  x.l = L, x.i = B, x.w = function(E, v) {
2779
2779
  return F(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
2780
2780
  };
@@ -2792,8 +2792,8 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2792
2792
  if (typeof S == "string" && !/Z$/i.test(S)) {
2793
2793
  var R = S.match(w);
2794
2794
  if (R) {
2795
- var N = R[2] - 1 || 0, I = (R[7] || "0").substring(0, 3);
2796
- return $ ? new Date(Date.UTC(R[1], N, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I)) : new Date(R[1], N, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I);
2795
+ var _ = R[2] - 1 || 0, I = (R[7] || "0").substring(0, 3);
2796
+ return $ ? new Date(Date.UTC(R[1], _, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I)) : new Date(R[1], _, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I);
2797
2797
  }
2798
2798
  }
2799
2799
  return new Date(S);
@@ -2819,7 +2819,7 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2819
2819
  }, v.valueOf = function() {
2820
2820
  return this.$d.getTime();
2821
2821
  }, v.startOf = function(m, O) {
2822
- var S = this, $ = !!x.u(O) || O, R = x.p(m), N = function(fe, V) {
2822
+ var S = this, $ = !!x.u(O) || O, R = x.p(m), _ = function(fe, V) {
2823
2823
  var oe = x.w(S.$u ? Date.UTC(S.$y, V, fe) : new Date(S.$y, V, fe), S);
2824
2824
  return $ ? oe : oe.endOf(c);
2825
2825
  }, I = function(fe, V) {
@@ -2827,12 +2827,12 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2827
2827
  }, j = this.$W, q = this.$M, Q = this.$D, he = "set" + (this.$u ? "UTC" : "");
2828
2828
  switch (R) {
2829
2829
  case g:
2830
- return $ ? N(1, 0) : N(31, 11);
2830
+ return $ ? _(1, 0) : _(31, 11);
2831
2831
  case f:
2832
- return $ ? N(1, q) : N(0, q + 1);
2832
+ return $ ? _(1, q) : _(0, q + 1);
2833
2833
  case p:
2834
2834
  var ce = this.$locale().weekStart || 0, Pe = (j < ce ? j + 7 : j) - ce;
2835
- return N($ ? Q - Pe : Q + (6 - Pe), q);
2835
+ return _($ ? Q - Pe : Q + (6 - Pe), q);
2836
2836
  case c:
2837
2837
  case y:
2838
2838
  return I(he + "Hours", 0);
@@ -2848,11 +2848,11 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2848
2848
  }, v.endOf = function(m) {
2849
2849
  return this.startOf(m, !1);
2850
2850
  }, v.$set = function(m, O) {
2851
- var S, $ = x.p(m), R = "set" + (this.$u ? "UTC" : ""), N = (S = {}, S[c] = R + "Date", S[y] = R + "Date", S[f] = R + "Month", S[g] = R + "FullYear", S[u] = R + "Hours", S[s] = R + "Minutes", S[a] = R + "Seconds", S[i] = R + "Milliseconds", S)[$], I = $ === c ? this.$D + (O - this.$W) : O;
2851
+ var S, $ = x.p(m), R = "set" + (this.$u ? "UTC" : ""), _ = (S = {}, S[c] = R + "Date", S[y] = R + "Date", S[f] = R + "Month", S[g] = R + "FullYear", S[u] = R + "Hours", S[s] = R + "Minutes", S[a] = R + "Seconds", S[i] = R + "Milliseconds", S)[$], I = $ === c ? this.$D + (O - this.$W) : O;
2852
2852
  if ($ === f || $ === g) {
2853
2853
  var j = this.clone().set(y, 1);
2854
- j.$d[N](I), j.init(), this.$d = j.set(y, Math.min(this.$D, j.daysInMonth())).$d;
2855
- } else N && this.$d[N](I);
2854
+ j.$d[_](I), j.init(), this.$d = j.set(y, Math.min(this.$D, j.daysInMonth())).$d;
2855
+ } else _ && this.$d[_](I);
2856
2856
  return this.init(), this;
2857
2857
  }, v.set = function(m, O) {
2858
2858
  return this.clone().$set(m, O);
@@ -2861,14 +2861,14 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2861
2861
  }, v.add = function(m, O) {
2862
2862
  var S, $ = this;
2863
2863
  m = Number(m);
2864
- var R = x.p(O), N = function(q) {
2864
+ var R = x.p(O), _ = function(q) {
2865
2865
  var Q = F($);
2866
2866
  return x.w(Q.date(Q.date() + Math.round(q * m)), $);
2867
2867
  };
2868
2868
  if (R === f) return this.set(f, this.$M + m);
2869
2869
  if (R === g) return this.set(g, this.$y + m);
2870
- if (R === c) return N(1);
2871
- if (R === p) return N(7);
2870
+ if (R === c) return _(1);
2871
+ if (R === p) return _(7);
2872
2872
  var I = (S = {}, S[s] = n, S[u] = o, S[a] = r, S)[R] || 1, j = this.$d.getTime() + m * I;
2873
2873
  return x.w(j, this);
2874
2874
  }, v.subtract = function(m, O) {
@@ -2876,10 +2876,10 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2876
2876
  }, v.format = function(m) {
2877
2877
  var O = this, S = this.$locale();
2878
2878
  if (!this.isValid()) return S.invalidDate || l;
2879
- var $ = m || "YYYY-MM-DDTHH:mm:ssZ", R = x.z(this), N = this.$H, I = this.$m, j = this.$M, q = S.weekdays, Q = S.months, he = S.meridiem, ce = function(V, oe, xe, je) {
2879
+ var $ = m || "YYYY-MM-DDTHH:mm:ssZ", R = x.z(this), _ = this.$H, I = this.$m, j = this.$M, q = S.weekdays, Q = S.months, he = S.meridiem, ce = function(V, oe, xe, je) {
2880
2880
  return V && (V[oe] || V(O, $)) || xe[oe].slice(0, je);
2881
2881
  }, Pe = function(V) {
2882
- return x.s(N % 12 || 12, V, "0");
2882
+ return x.s(_ % 12 || 12, V, "0");
2883
2883
  }, fe = he || function(V, oe, xe) {
2884
2884
  var je = V < 12 ? "AM" : "PM";
2885
2885
  return xe ? je.toLowerCase() : je;
@@ -2912,17 +2912,17 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2912
2912
  case "dddd":
2913
2913
  return q[O.$W];
2914
2914
  case "H":
2915
- return String(N);
2915
+ return String(_);
2916
2916
  case "HH":
2917
- return x.s(N, 2, "0");
2917
+ return x.s(_, 2, "0");
2918
2918
  case "h":
2919
2919
  return Pe(1);
2920
2920
  case "hh":
2921
2921
  return Pe(2);
2922
2922
  case "a":
2923
- return fe(N, I, !0);
2923
+ return fe(_, I, !0);
2924
2924
  case "A":
2925
- return fe(N, I, !1);
2925
+ return fe(_, I, !1);
2926
2926
  case "m":
2927
2927
  return String(I);
2928
2928
  case "mm":
@@ -2942,10 +2942,10 @@ var ys = Ct(ds, { path: "/" }), yn = { exports: {} };
2942
2942
  }, v.utcOffset = function() {
2943
2943
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2944
2944
  }, v.diff = function(m, O, S) {
2945
- var $, R = this, N = x.p(O), I = F(m), j = (I.utcOffset() - this.utcOffset()) * n, q = this - I, Q = function() {
2945
+ var $, R = this, _ = x.p(O), I = F(m), j = (I.utcOffset() - this.utcOffset()) * n, q = this - I, Q = function() {
2946
2946
  return x.m(R, I);
2947
2947
  };
2948
- switch (N) {
2948
+ switch (_) {
2949
2949
  case g:
2950
2950
  $ = Q() / 12;
2951
2951
  break;
@@ -3049,8 +3049,8 @@ var hn = { exports: {} };
3049
3049
  var A = Math.abs(l) <= 16 ? 60 * l : l, P = this;
3050
3050
  if (w) return P.$offset = A, P.$u = l === 0, P;
3051
3051
  if (l !== 0) {
3052
- var _ = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
3053
- (P = this.local().add(A + _, r)).$offset = A, P.$x.$localOffset = _;
3052
+ var N = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
3053
+ (P = this.local().add(A + N, r)).$offset = A, P.$x.$localOffset = N;
3054
3054
  } else P = this.utc();
3055
3055
  return P;
3056
3056
  };
@@ -3094,14 +3094,14 @@ var mn = { exports: {} };
3094
3094
  y === void 0 && (y = {});
3095
3095
  var l = new Date(h), w = function(b, A) {
3096
3096
  A === void 0 && (A = {});
3097
- var P = A.timeZoneName || "short", _ = b + "|" + P, C = n[_];
3098
- return C || (C = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: P }), n[_] = C), C;
3097
+ var P = A.timeZoneName || "short", N = b + "|" + P, C = n[N];
3098
+ return C || (C = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: P }), n[N] = C), C;
3099
3099
  }(g, y);
3100
3100
  return w.formatToParts(l);
3101
3101
  }, c = function(h, g) {
3102
3102
  for (var y = u(h, g), l = [], w = 0; w < y.length; w += 1) {
3103
- var b = y[w], A = b.type, P = b.value, _ = r[A];
3104
- _ >= 0 && (l[_] = parseInt(P, 10));
3103
+ var b = y[w], A = b.type, P = b.value, N = r[A];
3104
+ N >= 0 && (l[N] = parseInt(P, 10));
3105
3105
  }
3106
3106
  var C = l[3], U = C === 24 ? 0 : C, M = l[0] + "-" + l[1] + "-" + l[2] + " " + U + ":" + l[4] + ":" + l[5] + ":000", B = +h;
3107
3107
  return (a.utc(M).valueOf() - (B -= B % 1e3)) / 6e4;
@@ -3133,7 +3133,7 @@ var mn = { exports: {} };
3133
3133
  if (M === F) return [L, M];
3134
3134
  var x = c(L -= 60 * (F - M) * 1e3, B);
3135
3135
  return F === x ? [L, F] : [U - 60 * Math.min(F, x) * 1e3, Math.max(F, x)];
3136
- }(a.utc(h, l).valueOf(), b, w), P = A[0], _ = A[1], C = a(P).utcOffset(_);
3136
+ }(a.utc(h, l).valueOf(), b, w), P = A[0], N = A[1], C = a(P).utcOffset(N);
3137
3137
  return C.$x.$timezone = w, C;
3138
3138
  }, a.tz.guess = function() {
3139
3139
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -3188,7 +3188,7 @@ const vn = Rr(), gn = vn.sso ?? !0, Sn = vn.noRedireLogin ?? !1, bn = () => {
3188
3188
  const p = new URL(location.href).searchParams;
3189
3189
  c = p.get("project") || p.get("projectId") || 0, c || (c = Tn().id ?? 0), (c || c === 0) && (s.project = c);
3190
3190
  }
3191
- if (o.microAppName === "iot/iot") {
3191
+ if (new URL(location.href).searchParams.get("app") === "iot") {
3192
3192
  const { instanceInfo: c } = Dn();
3193
3193
  c != null && c.instanceId && (s.instance = c.instanceId);
3194
3194
  }