@das-fed/utils 6.4.0-dev.8 → 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 (49) 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/gateway-edge/index.js +76 -76
  16. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  17. package/api-services/modules/index.js +1 -1
  18. package/api-services/modules/index.js.gz +0 -0
  19. package/api-services/modules/iot/index.js +70 -70
  20. package/api-services/modules/iot/index.js.gz +0 -0
  21. package/api-services/modules/justauth/index.js +76 -76
  22. package/api-services/modules/justauth/index.js.gz +0 -0
  23. package/api-services/modules/knowledge/index.js +76 -76
  24. package/api-services/modules/knowledge/index.js.gz +0 -0
  25. package/api-services/modules/link/index.js +76 -76
  26. package/api-services/modules/link/index.js.gz +0 -0
  27. package/api-services/modules/permission/index.js +76 -76
  28. package/api-services/modules/permission/index.js.gz +0 -0
  29. package/api-services/modules/platformManage/index.js +70 -70
  30. package/api-services/modules/platformManage/index.js.gz +0 -0
  31. package/api-services/modules/portal/index.js +76 -76
  32. package/api-services/modules/portal/index.js.gz +0 -0
  33. package/api-services/modules/space-manage/index.js +76 -76
  34. package/api-services/modules/space-manage/index.js.gz +0 -0
  35. package/api-services/modules/super-admin/index.js +73 -73
  36. package/api-services/modules/super-admin/index.js.gz +0 -0
  37. package/api-services/modules/supplier/index.js +73 -73
  38. package/api-services/modules/supplier/index.js.gz +0 -0
  39. package/api-services/modules/supplychain-manage/index.js +76 -76
  40. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  41. package/api-services/modules/systemConfiguration/index.js +76 -76
  42. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  43. package/api-services/modules/tool/index.js +76 -76
  44. package/api-services/modules/tool/index.js.gz +0 -0
  45. package/api-services/src/create-service/index.js +81 -81
  46. package/api-services/src/create-service/index.js.gz +0 -0
  47. package/create-api-service/index.js +81 -81
  48. package/create-api-service/index.js.gz +0 -0
  49. package/package.json +3 -3
@@ -3190,7 +3190,7 @@ const Pn = tt(), xn = Pn.sso ?? !0, Tn = Pn.noRedireLogin ?? !1, Dn = () => {
3190
3190
  const p = new URL(location.href).searchParams;
3191
3191
  c = p.get("project") || p.get("projectId") || 0, c || (c = Bn().id ?? 0), (c || c === 0) && (s.project = c);
3192
3192
  }
3193
- if (o.microAppName === "iot/iot") {
3193
+ if (new URL(location.href).searchParams.get("app") === "iot") {
3194
3194
  const { instanceInfo: c } = Ln();
3195
3195
  c != null && c.instanceId && (s.instance = c.instanceId);
3196
3196
  }
Binary file
@@ -8,22 +8,22 @@ function Pr(t, e) {
8
8
  return t.apply(e, arguments);
9
9
  };
10
10
  }
11
- const { toString: Dn } = Object.prototype, { getPrototypeOf: Nt } = Object, et = /* @__PURE__ */ ((t) => (e) => {
11
+ const { toString: Dn } = Object.prototype, { getPrototypeOf: _t } = Object, et = /* @__PURE__ */ ((t) => (e) => {
12
12
  const r = Dn.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");
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
15
  function Fn(t) {
16
- return t !== null && !_e(t) && t.constructor !== null && !_e(t.constructor) && K(t.constructor.isBuffer) && t.constructor.isBuffer(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
19
  function Cn(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
- const Nn = tt("string"), K = tt("function"), Tr = tt("number"), rt = (t) => t !== null && typeof t == "object", _n = (t) => t === !0 || t === !1, Je = (t) => {
23
+ const _n = tt("string"), K = tt("function"), Tr = tt("number"), rt = (t) => t !== null && typeof t == "object", Nn = (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
  }, Mn = re("Date"), In = re("File"), Un = re("Blob"), Bn = re("FileList"), Ln = (t) => rt(t) && K(t.pipe), kn = (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 zn = (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
  }, Gn = (t, e, r) => {
@@ -92,7 +92,7 @@ const zn = (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
- }, Yn = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Nt(Uint8Array)), Qn = (t, e) => {
95
+ }, Yn = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && _t(Uint8Array)), Qn = (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 zn = (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), eo = re("RegExp"), Nr = (t, e) => {
113
+ ), qt = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), eo = 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
  }, to = (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 zn = (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
  }, no = () => {
142
- }, oo = (t, e) => (t = +t, Number.isFinite(t) ? t : e), it = "abcdefghijklmnopqrstuvwxyz", Jt = "0123456789", _r = {
142
+ }, oo = (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
- }, io = (t = 16, e = _r.ALPHA_DIGIT) => {
146
+ }, io = (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 so = (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
  }
@@ -176,12 +176,12 @@ const so = (t) => {
176
176
  isBuffer: Fn,
177
177
  isFormData: kn,
178
178
  isArrayBufferView: Cn,
179
- isString: Nn,
179
+ isString: _n,
180
180
  isNumber: Tr,
181
- isBoolean: _n,
181
+ isBoolean: Nn,
182
182
  isObject: rt,
183
183
  isPlainObject: Je,
184
- isUndefined: _e,
184
+ isUndefined: Ne,
185
185
  isDate: Mn,
186
186
  isFile: In,
187
187
  isBlob: Un,
@@ -208,7 +208,7 @@ const so = (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: to,
213
213
  toObjectSet: ro,
214
214
  toCamelCase: Xn,
@@ -217,7 +217,7 @@ const so = (t) => {
217
217
  findKey: Dr,
218
218
  global: Fr,
219
219
  isContextDefined: Cr,
220
- ALPHABET: _r,
220
+ ALPHABET: Nr,
221
221
  generateString: io,
222
222
  isSpecCompliantForm: ao,
223
223
  toJSONObject: so,
@@ -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) && lo(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 || yo, 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
- }, ho = typeof URLSearchParams < "u" ? URLSearchParams : _t, mo = typeof FormData < "u" ? FormData : null, vo = typeof Blob < "u" ? Blob : null, go = {
457
+ }, ho = typeof URLSearchParams < "u" ? URLSearchParams : Nt, mo = typeof FormData < "u" ? FormData : null, vo = typeof Blob < "u" ? Blob : null, go = {
458
458
  isBrowser: !0,
459
459
  classes: {
460
460
  URLSearchParams: ho,
@@ -793,7 +793,7 @@ function Co(t, e, r) {
793
793
  r
794
794
  ));
795
795
  }
796
- const No = te.hasStandardBrowserEnv ? (
796
+ const _o = te.hasStandardBrowserEnv ? (
797
797
  // Standard browser envs support document.cookie
798
798
  {
799
799
  write(t, e, r, n, o, i) {
@@ -820,14 +820,14 @@ const No = te.hasStandardBrowserEnv ? (
820
820
  }
821
821
  }
822
822
  );
823
- function _o(t) {
823
+ function No(t) {
824
824
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
825
825
  }
826
826
  function Mo(t, e) {
827
827
  return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
828
828
  }
829
829
  function Wr(t, e) {
830
- return t && !_o(e) ? Mo(t, e) : e;
830
+ return t && !No(e) ? Mo(t, e) : e;
831
831
  }
832
832
  const Io = te.hasStandardBrowserEnv ? (
833
833
  // Standard browser envs have full support of the APIs needed to test
@@ -958,7 +958,7 @@ const Lo = typeof XMLHttpRequest < "u", ko = Lo && function(t) {
958
958
  f
959
959
  )), f = null;
960
960
  }, te.hasStandardBrowserEnv && (s && d.isFunction(s) && (s = s(t)), s || s !== !1 && Io(h))) {
961
- const l = t.xsrfHeaderName && t.xsrfCookieName && No.read(t.xsrfCookieName);
961
+ const l = t.xsrfHeaderName && t.xsrfCookieName && _o.read(t.xsrfCookieName);
962
962
  l && i.set(t.xsrfHeaderName, l);
963
963
  }
964
964
  o === void 0 && i.setContentType(null), "setRequestHeader" in f && d.forEach(i.toJSON(), function(w, b) {
@@ -1768,7 +1768,7 @@ if (Ve)
1768
1768
  } catch {
1769
1769
  Ve = null;
1770
1770
  }
1771
- var Kr = Ve, sr = Bt(), Ci = Vr, ve = Le, ur = Kr, Ni = function(e, r, n) {
1771
+ var Kr = Ve, sr = Bt(), Ci = Vr, ve = Le, ur = Kr, _i = 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")
@@ -1805,7 +1805,7 @@ Zr.hasArrayLengthDefineBug = function() {
1805
1805
  return !0;
1806
1806
  }
1807
1807
  };
1808
- var _i = Zr, Mi = $e, cr = Ni, Ii = _i(), fr = Kr, lr = Le, Ui = Mi("%Math.floor%"), Bi = function(e, r) {
1808
+ var Ni = Zr, Mi = $e, cr = _i, Ii = Ni(), fr = Kr, lr = Le, Ui = Mi("%Math.floor%"), Bi = function(e, r) {
1809
1809
  if (typeof e != "function")
1810
1810
  throw new lr("`fn` is not a function");
1811
1811
  if (typeof r != "number" || r < 0 || r > 4294967295 || Ui(r) !== r)
@@ -1939,8 +1939,8 @@ var xt = Wi, br = xt.custom, wr = on(br) ? br : null, ea = function t(e, r, n, o
1939
1939
  return f && !va(P) ? "[" + Dt(P, f) + "]" : "[ " + ee.call(P, ", ") + " ]";
1940
1940
  }
1941
1941
  if (na(e)) {
1942
- var _ = je(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 = je(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)
@@ -2271,11 +2271,11 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2271
2271
  },
2272
2272
  RFC1738: vt.RFC1738,
2273
2273
  RFC3986: vt.RFC3986
2274
- }, Na = zt, gt = Object.prototype.hasOwnProperty, le = Array.isArray, X = function() {
2274
+ }, _a = zt, gt = Object.prototype.hasOwnProperty, le = Array.isArray, X = function() {
2275
2275
  for (var t = [], e = 0; e < 256; ++e)
2276
2276
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2277
2277
  return t;
2278
- }(), _a = function(e) {
2278
+ }(), Na = function(e) {
2279
2279
  for (; e.length > 1; ) {
2280
2280
  var r = e.pop(), n = r.obj[r.prop];
2281
2281
  if (le(n)) {
@@ -2336,7 +2336,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2336
2336
  });
2337
2337
  for (var s = "", u = 0; u < a.length; ++u) {
2338
2338
  var c = a.charCodeAt(u);
2339
- if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || i === Na.RFC1738 && (c === 40 || c === 41)) {
2339
+ if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || i === _a.RFC1738 && (c === 40 || c === 41)) {
2340
2340
  s += a.charAt(u);
2341
2341
  continue;
2342
2342
  }
@@ -2361,7 +2361,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2361
2361
  var c = s[u], p = a[c];
2362
2362
  typeof p == "object" && p !== null && n.indexOf(p) === -1 && (r.push({ obj: a, prop: c }), n.push(p));
2363
2363
  }
2364
- return _a(r), e;
2364
+ return Na(r), e;
2365
2365
  }, ka = function(e) {
2366
2366
  return Object.prototype.toString.call(e) === "[object RegExp]";
2367
2367
  }, Ha = function(e) {
@@ -2386,7 +2386,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2386
2386
  isRegExp: ka,
2387
2387
  maybeMap: za,
2388
2388
  merge: Ma
2389
- }, ln = Da, Ye = fn, Ne = zt, Wa = Object.prototype.hasOwnProperty, Ar = {
2389
+ }, ln = Da, Ye = fn, _e = zt, Wa = Object.prototype.hasOwnProperty, Ar = {
2390
2390
  brackets: function(e) {
2391
2391
  return e + "[]";
2392
2392
  },
@@ -2399,7 +2399,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2399
2399
  }
2400
2400
  }, ne = Array.isArray, qa = Array.prototype.push, pn = function(t, e) {
2401
2401
  qa.apply(t, ne(e) ? e : [e]);
2402
- }, Ja = Date.prototype.toISOString, $r = Ne.default, J = {
2402
+ }, Ja = 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 = Hi, Sa = ea, ba = 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 = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2420
2420
  }, Ga = function(e) {
2421
2421
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2422
2422
  }, St = {}, Va = 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 = Hi, Sa = ea, ba = 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 (!Wa.call(Ne.formatters, e.format))
2495
+ if (!Wa.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 ps = Ct(ls, { 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 ps = Ct(ls, { 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 ps = Ct(ls, { 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 ps = Ct(ls, { 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 ps = Ct(ls, { path: "/" }), yn = { exports: {} };
2827
2827
  }, H = 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 = (H < ce ? H + 7 : H) - 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 ps = Ct(ls, { 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 H = this.clone().set(y, 1);
2854
- H.$d[N](I), H.init(), this.$d = H.set(y, Math.min(this.$D, H.daysInMonth())).$d;
2855
- } else N && this.$d[N](I);
2854
+ H.$d[_](I), H.init(), this.$d = H.set(y, Math.min(this.$D, H.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 ps = Ct(ls, { 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, H = this.$d.getTime() + m * I;
2873
2873
  return x.w(H, this);
2874
2874
  }, v.subtract = function(m, O) {
@@ -2876,10 +2876,10 @@ var ps = Ct(ls, { 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, H = this.$M, q = S.weekdays, Q = S.months, he = S.meridiem, ce = function(V, oe, xe, He) {
2879
+ var $ = m || "YYYY-MM-DDTHH:mm:ssZ", R = x.z(this), _ = this.$H, I = this.$m, H = this.$M, q = S.weekdays, Q = S.months, he = S.meridiem, ce = function(V, oe, xe, He) {
2880
2880
  return V && (V[oe] || V(O, $)) || xe[oe].slice(0, He);
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 He = V < 12 ? "AM" : "PM";
2885
2885
  return xe ? He.toLowerCase() : He;
@@ -2912,17 +2912,17 @@ var ps = Ct(ls, { 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 ps = Ct(ls, { 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), H = (I.utcOffset() - this.utcOffset()) * n, q = this - I, Q = function() {
2945
+ var $, R = this, _ = x.p(O), I = F(m), H = (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 = Pn().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 } = xn();
3193
3193
  c != null && c.instanceId && (s.instance = c.instanceId);
3194
3194
  }