@das-fed/utils 6.4.0-dev.11 → 6.4.0-dev.13

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 +39 -39
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +39 -39
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +45 -45
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +39 -39
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +47 -47
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +239 -239
  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 +239 -239
  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 +51 -51
  21. package/api-services/modules/iot/index.js.gz +0 -0
  22. package/api-services/modules/justauth/index.js +40 -40
  23. package/api-services/modules/justauth/index.js.gz +0 -0
  24. package/api-services/modules/knowledge/index.js +239 -239
  25. package/api-services/modules/knowledge/index.js.gz +0 -0
  26. package/api-services/modules/link/index.js +239 -239
  27. package/api-services/modules/link/index.js.gz +0 -0
  28. package/api-services/modules/permission/index.js +239 -239
  29. package/api-services/modules/permission/index.js.gz +0 -0
  30. package/api-services/modules/platformManage/index.js +47 -47
  31. package/api-services/modules/platformManage/index.js.gz +0 -0
  32. package/api-services/modules/portal/index.js +39 -39
  33. package/api-services/modules/portal/index.js.gz +0 -0
  34. package/api-services/modules/space-manage/index.js +39 -39
  35. package/api-services/modules/space-manage/index.js.gz +0 -0
  36. package/api-services/modules/super-admin/index.js +47 -47
  37. package/api-services/modules/super-admin/index.js.gz +0 -0
  38. package/api-services/modules/supplier/index.js +45 -45
  39. package/api-services/modules/supplier/index.js.gz +0 -0
  40. package/api-services/modules/supplychain-manage/index.js +39 -39
  41. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  42. package/api-services/modules/systemConfiguration/index.js +239 -239
  43. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  44. package/api-services/modules/tool/index.js +239 -239
  45. package/api-services/modules/tool/index.js.gz +0 -0
  46. package/api-services/src/create-service/index.js +39 -39
  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 +39 -39
  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
@@ -2778,7 +2778,7 @@ const gn = qe(), bn = gn.sso ?? !0, wn = gn.noRedireLogin ?? !1, Sn = () => {
2778
2778
  const p = new URL(location.href).searchParams;
2779
2779
  l = p.get("project") || p.get("projectId") || 0, l || (l = _n().id ?? 0), (l || l === 0) && (s.project = l);
2780
2780
  }
2781
- if (new URL(location.href).searchParams.get("app") === "iot") {
2781
+ if (new URL(location.href).pathname.startsWith("/iot/iot") || new URL(location.href).searchParams.get("app") === "iot") {
2782
2782
  const { instanceInfo: l } = In();
2783
2783
  l != null && l.instanceId && (s.instance = l.instanceId);
2784
2784
  }
Binary file
@@ -153,10 +153,10 @@ const Pn = (t, e, r, { allOwnKeys: n } = {}) => (be(e, (o, i) => {
153
153
  r += e[Math.random() * n | 0];
154
154
  return r;
155
155
  };
156
- function zn(t) {
156
+ function Wn(t) {
157
157
  return !!(t && T(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
158
158
  }
159
- const Wn = (t) => {
159
+ const zn = (t) => {
160
160
  const e = new Array(10), r = (n, o) => {
161
161
  if (ke(n)) {
162
162
  if (e.indexOf(n) >= 0)
@@ -222,8 +222,8 @@ const Wn = (t) => {
222
222
  isContextDefined: mr,
223
223
  ALPHABET: vr,
224
224
  generateString: Hn,
225
- isSpecCompliantForm: zn,
226
- toJSONObject: Wn,
225
+ isSpecCompliantForm: Wn,
226
+ toJSONObject: zn,
227
227
  isAsyncFn: qn,
228
228
  isThenable: Gn
229
229
  };
@@ -626,7 +626,7 @@ function uo(t) {
626
626
  return e;
627
627
  }
628
628
  const fo = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
629
- function ze(t, e, r, n, o) {
629
+ function We(t, e, r, n, o) {
630
630
  if (u.isFunction(n))
631
631
  return n.call(this, e, r);
632
632
  if (o && (e = r), !!u.isString(e)) {
@@ -686,7 +686,7 @@ class F {
686
686
  has(e, r) {
687
687
  if (e = de(e), e) {
688
688
  const n = u.findKey(this, e);
689
- return !!(n && this[n] !== void 0 && (!r || ze(this, this[n], n, r)));
689
+ return !!(n && this[n] !== void 0 && (!r || We(this, this[n], n, r)));
690
690
  }
691
691
  return !1;
692
692
  }
@@ -696,7 +696,7 @@ class F {
696
696
  function i(a) {
697
697
  if (a = de(a), a) {
698
698
  const s = u.findKey(n, a);
699
- s && (!r || ze(n, n[s], s, r)) && (delete n[s], o = !0);
699
+ s && (!r || We(n, n[s], s, r)) && (delete n[s], o = !0);
700
700
  }
701
701
  }
702
702
  return u.isArray(e) ? e.forEach(i) : i(e), o;
@@ -706,7 +706,7 @@ class F {
706
706
  let n = r.length, o = !1;
707
707
  for (; n--; ) {
708
708
  const i = r[n];
709
- (!e || ze(this, this[i], i, e, !0)) && (delete this[i], o = !0);
709
+ (!e || We(this, this[i], i, e, !0)) && (delete this[i], o = !0);
710
710
  }
711
711
  return o;
712
712
  }
@@ -770,7 +770,7 @@ u.reduceDescriptors(F.prototype, ({ value: t }, e) => {
770
770
  };
771
771
  });
772
772
  u.freezeMethods(F);
773
- function We(t, e) {
773
+ function ze(t, e) {
774
774
  const r = this || Se, n = e || r, o = F.from(n.headers);
775
775
  let i = n.data;
776
776
  return u.forEach(t, function(s) {
@@ -1025,17 +1025,17 @@ function qe(t) {
1025
1025
  throw new we(null, t);
1026
1026
  }
1027
1027
  function Bt(t) {
1028
- return qe(t), t.headers = F.from(t.headers), t.data = We.call(
1028
+ return qe(t), t.headers = F.from(t.headers), t.data = ze.call(
1029
1029
  t,
1030
1030
  t.transformRequest
1031
1031
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Fr.getAdapter(t.adapter || Se.adapter)(t).then(function(n) {
1032
- return qe(t), n.data = We.call(
1032
+ return qe(t), n.data = ze.call(
1033
1033
  t,
1034
1034
  t.transformResponse,
1035
1035
  n
1036
1036
  ), n.headers = F.from(n.headers), n;
1037
1037
  }, function(n) {
1038
- return xr(n) || (qe(t), n && n.response && (n.response.data = We.call(
1038
+ return xr(n) || (qe(t), n && n.response && (n.response.data = ze.call(
1039
1039
  t,
1040
1040
  t.transformResponse,
1041
1041
  n.response
@@ -1488,13 +1488,13 @@ var No = Error, Co = EvalError, _o = RangeError, $o = ReferenceError, _r = Synta
1488
1488
  foo: {}
1489
1489
  }, Lo = Object, Mo = function() {
1490
1490
  return { __proto__: Ge }.foo === Ge.foo && !(Ge instanceof Lo);
1491
- }, ko = "Function.prototype.bind called on incompatible ", jo = Object.prototype.toString, Ho = Math.max, zo = "[object Function]", jt = function(e, r) {
1491
+ }, ko = "Function.prototype.bind called on incompatible ", jo = Object.prototype.toString, Ho = Math.max, Wo = "[object Function]", jt = function(e, r) {
1492
1492
  for (var n = [], o = 0; o < e.length; o += 1)
1493
1493
  n[o] = e[o];
1494
1494
  for (var i = 0; i < r.length; i += 1)
1495
1495
  n[i + e.length] = r[i];
1496
1496
  return n;
1497
- }, Wo = function(e, r) {
1497
+ }, zo = function(e, r) {
1498
1498
  for (var n = [], o = r, i = 0; o < e.length; o += 1, i += 1)
1499
1499
  n[i] = e[o];
1500
1500
  return n;
@@ -1504,9 +1504,9 @@ var No = Error, Co = EvalError, _o = RangeError, $o = ReferenceError, _r = Synta
1504
1504
  return r;
1505
1505
  }, Go = function(e) {
1506
1506
  var r = this;
1507
- if (typeof r != "function" || jo.apply(r) !== zo)
1507
+ if (typeof r != "function" || jo.apply(r) !== Wo)
1508
1508
  throw new TypeError(ko + r);
1509
- for (var n = Wo(arguments, 1), o, i = function() {
1509
+ for (var n = zo(arguments, 1), o, i = function() {
1510
1510
  if (this instanceof o) {
1511
1511
  var p = r.apply(
1512
1512
  this,
@@ -1698,15 +1698,15 @@ var si = function t(e) {
1698
1698
  "%URIErrorPrototype%": ["URIError", "prototype"],
1699
1699
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1700
1700
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1701
- }, Oe = wt, Ie = Xo, li = Oe.call(Function.call, Array.prototype.concat), ci = Oe.call(Function.apply, Array.prototype.splice), zt = Oe.call(Function.call, String.prototype.replace), De = Oe.call(Function.call, String.prototype.slice), ui = Oe.call(Function.call, RegExp.prototype.exec), fi = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, pi = /\\(\\)?/g, di = function(e) {
1701
+ }, Oe = wt, Ie = Xo, li = Oe.call(Function.call, Array.prototype.concat), ci = Oe.call(Function.apply, Array.prototype.splice), Wt = Oe.call(Function.call, String.prototype.replace), De = Oe.call(Function.call, String.prototype.slice), ui = Oe.call(Function.call, RegExp.prototype.exec), fi = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, pi = /\\(\\)?/g, di = function(e) {
1702
1702
  var r = De(e, 0, 1), n = De(e, -1);
1703
1703
  if (r === "%" && n !== "%")
1704
1704
  throw new ie("invalid intrinsic syntax, expected closing `%`");
1705
1705
  if (n === "%" && r !== "%")
1706
1706
  throw new ie("invalid intrinsic syntax, expected opening `%`");
1707
1707
  var o = [];
1708
- return zt(e, fi, function(i, a, s, c) {
1709
- o[o.length] = s ? zt(c, pi, "$1") : a || i;
1708
+ return Wt(e, fi, function(i, a, s, c) {
1709
+ o[o.length] = s ? Wt(c, pi, "$1") : a || i;
1710
1710
  }), o;
1711
1711
  }, yi = function(e, r) {
1712
1712
  var n = e, o;
@@ -1751,10 +1751,10 @@ var si = function t(e) {
1751
1751
  }
1752
1752
  }
1753
1753
  return s;
1754
- }, Ir = { exports: {} }, Ke, Wt;
1754
+ }, Ir = { exports: {} }, Ke, zt;
1755
1755
  function Et() {
1756
- if (Wt) return Ke;
1757
- Wt = 1;
1756
+ if (zt) return Ke;
1757
+ zt = 1;
1758
1758
  var t = ce, e = t("%Object.defineProperty%", !0) || !1;
1759
1759
  if (e)
1760
1760
  try {
@@ -1857,7 +1857,7 @@ const Pi = {}, xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1857
1857
  __proto__: null,
1858
1858
  default: Pi
1859
1859
  }, Symbol.toStringTag, { value: "Module" })), Ti = /* @__PURE__ */ Fo(xi);
1860
- var Ot = typeof Map == "function" && Map.prototype, Qe = Object.getOwnPropertyDescriptor && Ot ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Be = Ot && Qe && typeof Qe.get == "function" ? Qe.get : null, Qt = Ot && Map.prototype.forEach, At = typeof Set == "function" && Set.prototype, Xe = Object.getOwnPropertyDescriptor && At ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ue = At && Xe && typeof Xe.get == "function" ? Xe.get : null, Xt = At && Set.prototype.forEach, Fi = typeof WeakMap == "function" && WeakMap.prototype, he = Fi ? WeakMap.prototype.has : null, Ni = typeof WeakSet == "function" && WeakSet.prototype, me = Ni ? WeakSet.prototype.has : null, Ci = typeof WeakRef == "function" && WeakRef.prototype, Yt = Ci ? WeakRef.prototype.deref : null, _i = Boolean.prototype.valueOf, $i = Object.prototype.toString, Ii = Function.prototype.toString, Di = String.prototype.match, Rt = String.prototype.slice, z = String.prototype.replace, Bi = String.prototype.toUpperCase, Zt = String.prototype.toLowerCase, Mr = RegExp.prototype.test, er = Array.prototype.concat, _ = Array.prototype.join, Ui = Array.prototype.slice, tr = Math.floor, ct = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ye = Object.getOwnPropertySymbols, ut = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ae = typeof Symbol == "function" && typeof Symbol.iterator == "object", x = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ae || !0) ? Symbol.toStringTag : null, kr = Object.prototype.propertyIsEnumerable, rr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1860
+ var Ot = typeof Map == "function" && Map.prototype, Qe = Object.getOwnPropertyDescriptor && Ot ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Be = Ot && Qe && typeof Qe.get == "function" ? Qe.get : null, Qt = Ot && Map.prototype.forEach, At = typeof Set == "function" && Set.prototype, Xe = Object.getOwnPropertyDescriptor && At ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ue = At && Xe && typeof Xe.get == "function" ? Xe.get : null, Xt = At && Set.prototype.forEach, Fi = typeof WeakMap == "function" && WeakMap.prototype, he = Fi ? WeakMap.prototype.has : null, Ni = typeof WeakSet == "function" && WeakSet.prototype, me = Ni ? WeakSet.prototype.has : null, Ci = typeof WeakRef == "function" && WeakRef.prototype, Yt = Ci ? WeakRef.prototype.deref : null, _i = Boolean.prototype.valueOf, $i = Object.prototype.toString, Ii = Function.prototype.toString, Di = String.prototype.match, Rt = String.prototype.slice, W = String.prototype.replace, Bi = String.prototype.toUpperCase, Zt = String.prototype.toLowerCase, Mr = RegExp.prototype.test, er = Array.prototype.concat, _ = Array.prototype.join, Ui = Array.prototype.slice, tr = Math.floor, ct = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ye = Object.getOwnPropertySymbols, ut = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ae = typeof Symbol == "function" && typeof Symbol.iterator == "object", x = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ae || !0) ? Symbol.toStringTag : null, kr = Object.prototype.propertyIsEnumerable, rr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1861
1861
  return t.__proto__;
1862
1862
  } : null);
1863
1863
  function nr(t, e) {
@@ -1868,10 +1868,10 @@ function nr(t, e) {
1868
1868
  var n = t < 0 ? -tr(-t) : tr(t);
1869
1869
  if (n !== t) {
1870
1870
  var o = String(n), i = Rt.call(e, o.length + 1);
1871
- return z.call(o, r, "$&_") + "." + z.call(z.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
1871
+ return W.call(o, r, "$&_") + "." + W.call(W.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
1872
1872
  }
1873
1873
  }
1874
- return z.call(e, r, "$&_");
1874
+ return W.call(e, r, "$&_");
1875
1875
  }
1876
1876
  var ft = Ti, or = ft.custom, ir = Hr(or) ? or : null, Li = function t(e, r, n, o) {
1877
1877
  var i = r || {};
@@ -1894,7 +1894,7 @@ var ft = Ti, or = ft.custom, ir = Hr(or) ? or : null, Li = function t(e, r, n, o
1894
1894
  if (typeof e == "boolean")
1895
1895
  return e ? "true" : "false";
1896
1896
  if (typeof e == "string")
1897
- return Wr(e, i);
1897
+ return zr(e, i);
1898
1898
  if (typeof e == "number") {
1899
1899
  if (e === 0)
1900
1900
  return 1 / 0 / e > 0 ? "0" : "-0";
@@ -1911,7 +1911,7 @@ var ft = Ti, or = ft.custom, ir = Hr(or) ? or : null, Li = function t(e, r, n, o
1911
1911
  var f = ra(i, n);
1912
1912
  if (typeof o > "u")
1913
1913
  o = [];
1914
- else if (zr(o, e) >= 0)
1914
+ else if (Wr(o, e) >= 0)
1915
1915
  return "[Circular]";
1916
1916
  function h(U, Y, Re) {
1917
1917
  if (Y && (o = Ui.call(o), o.push(Y)), Re) {
@@ -1927,7 +1927,7 @@ var ft = Ti, or = ft.custom, ir = Hr(or) ? or : null, Li = function t(e, r, n, o
1927
1927
  return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (d.length > 0 ? " { " + _.call(d, ", ") + " }" : "");
1928
1928
  }
1929
1929
  if (Hr(e)) {
1930
- var y = ae ? z.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ut.call(e);
1930
+ var y = ae ? W.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ut.call(e);
1931
1931
  return typeof e == "object" && !ae ? ye(y) : y;
1932
1932
  }
1933
1933
  if (Zi(e)) {
@@ -1969,11 +1969,11 @@ var ft = Ti, or = ft.custom, ir = Hr(or) ? or : null, Li = function t(e, r, n, o
1969
1969
  return Ze("WeakSet");
1970
1970
  if (Qi(e))
1971
1971
  return Ze("WeakRef");
1972
- if (zi(e))
1972
+ if (Wi(e))
1973
1973
  return ye(h(Number(e)));
1974
1974
  if (qi(e))
1975
1975
  return ye(h(ct.call(e)));
1976
- if (Wi(e))
1976
+ if (zi(e))
1977
1977
  return ye(_i.call(e));
1978
1978
  if (Hi(e))
1979
1979
  return ye(h(String(e)));
@@ -1982,7 +1982,7 @@ var ft = Ti, or = ft.custom, ir = Hr(or) ? or : null, Li = function t(e, r, n, o
1982
1982
  if (typeof globalThis < "u" && e === globalThis || typeof Mt < "u" && e === Mt)
1983
1983
  return "{ [object globalThis] }";
1984
1984
  if (!ki(e) && !ar(e)) {
1985
- var q = Pe(e, h), k = rr ? rr(e) === Object.prototype : e instanceof Object || e.constructor === Object, Q = e instanceof Object ? "" : "null prototype", X = !k && x && Object(e) === e && x in e ? Rt.call(W(e), 8, -1) : Q ? "Object" : "", pe = k || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = pe + (X || Q ? "[" + _.call(er.call([], X || [], Q || []), ": ") + "] " : "");
1985
+ var q = Pe(e, h), k = rr ? rr(e) === Object.prototype : e instanceof Object || e.constructor === Object, Q = e instanceof Object ? "" : "null prototype", X = !k && x && Object(e) === e && x in e ? Rt.call(z(e), 8, -1) : Q ? "Object" : "", pe = k || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = pe + (X || Q ? "[" + _.call(er.call([], X || [], Q || []), ": ") + "] " : "");
1986
1986
  return q.length === 0 ? N + "{}" : f ? N + "{" + dt(q, f) + "}" : N + "{ " + _.call(q, ", ") + " }";
1987
1987
  }
1988
1988
  return String(e);
@@ -1992,28 +1992,28 @@ function jr(t, e, r) {
1992
1992
  return n + t + n;
1993
1993
  }
1994
1994
  function Mi(t) {
1995
- return z.call(String(t), /"/g, "&quot;");
1995
+ return W.call(String(t), /"/g, "&quot;");
1996
1996
  }
1997
1997
  function pt(t) {
1998
- return W(t) === "[object Array]" && (!x || !(typeof t == "object" && x in t));
1998
+ return z(t) === "[object Array]" && (!x || !(typeof t == "object" && x in t));
1999
1999
  }
2000
2000
  function ki(t) {
2001
- return W(t) === "[object Date]" && (!x || !(typeof t == "object" && x in t));
2001
+ return z(t) === "[object Date]" && (!x || !(typeof t == "object" && x in t));
2002
2002
  }
2003
2003
  function ar(t) {
2004
- return W(t) === "[object RegExp]" && (!x || !(typeof t == "object" && x in t));
2004
+ return z(t) === "[object RegExp]" && (!x || !(typeof t == "object" && x in t));
2005
2005
  }
2006
2006
  function ji(t) {
2007
- return W(t) === "[object Error]" && (!x || !(typeof t == "object" && x in t));
2007
+ return z(t) === "[object Error]" && (!x || !(typeof t == "object" && x in t));
2008
2008
  }
2009
2009
  function Hi(t) {
2010
- return W(t) === "[object String]" && (!x || !(typeof t == "object" && x in t));
2011
- }
2012
- function zi(t) {
2013
- return W(t) === "[object Number]" && (!x || !(typeof t == "object" && x in t));
2010
+ return z(t) === "[object String]" && (!x || !(typeof t == "object" && x in t));
2014
2011
  }
2015
2012
  function Wi(t) {
2016
- return W(t) === "[object Boolean]" && (!x || !(typeof t == "object" && x in t));
2013
+ return z(t) === "[object Number]" && (!x || !(typeof t == "object" && x in t));
2014
+ }
2015
+ function zi(t) {
2016
+ return z(t) === "[object Boolean]" && (!x || !(typeof t == "object" && x in t));
2017
2017
  }
2018
2018
  function Hr(t) {
2019
2019
  if (ae)
@@ -2043,7 +2043,7 @@ var Gi = Object.prototype.hasOwnProperty || function(t) {
2043
2043
  function H(t, e) {
2044
2044
  return Gi.call(t, e);
2045
2045
  }
2046
- function W(t) {
2046
+ function z(t) {
2047
2047
  return $i.call(t);
2048
2048
  }
2049
2049
  function Ji(t) {
@@ -2052,7 +2052,7 @@ function Ji(t) {
2052
2052
  var e = Di.call(Ii.call(t), /^function\s*([\w$]+)/);
2053
2053
  return e ? e[1] : null;
2054
2054
  }
2055
- function zr(t, e) {
2055
+ function Wr(t, e) {
2056
2056
  if (t.indexOf)
2057
2057
  return t.indexOf(e);
2058
2058
  for (var r = 0, n = t.length; r < n; r++)
@@ -2132,12 +2132,12 @@ function Yi(t) {
2132
2132
  function Zi(t) {
2133
2133
  return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
2134
2134
  }
2135
- function Wr(t, e) {
2135
+ function zr(t, e) {
2136
2136
  if (t.length > e.maxStringLength) {
2137
2137
  var r = t.length - e.maxStringLength, n = "... " + r + " more character" + (r > 1 ? "s" : "");
2138
- return Wr(Rt.call(t, 0, e.maxStringLength), e) + n;
2138
+ return zr(Rt.call(t, 0, e.maxStringLength), e) + n;
2139
2139
  }
2140
- var o = z.call(z.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, ea);
2140
+ var o = W.call(W.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, ea);
2141
2141
  return jr(o, "single", e);
2142
2142
  }
2143
2143
  function ea(t) {
@@ -2162,7 +2162,7 @@ function sr(t, e, r, n) {
2162
2162
  }
2163
2163
  function ta(t) {
2164
2164
  for (var e = 0; e < t.length; e++)
2165
- if (zr(t[e], `
2165
+ if (Wr(t[e], `
2166
2166
  `) >= 0)
2167
2167
  return !1;
2168
2168
  return !0;
@@ -2647,7 +2647,7 @@ var qr = ce, ue = Ri, na = Li, oa = Ee, xe = qr("%WeakMap%", !0), Te = qr("%Map%
2647
2647
  plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : O.plainObjects,
2648
2648
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : O.strictNullHandling
2649
2649
  };
2650
- }, za = function(t, e) {
2650
+ }, Wa = function(t, e) {
2651
2651
  var r = Ha(e);
2652
2652
  if (t === "" || t === null || typeof t > "u")
2653
2653
  return r.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
@@ -2656,10 +2656,10 @@ var qr = ce, ue = Ri, na = Li, oa = Ee, xe = qr("%WeakMap%", !0), Te = qr("%Map%
2656
2656
  o = se.merge(o, c, r);
2657
2657
  }
2658
2658
  return r.allowSparse === !0 ? o : se.compact(o);
2659
- }, Wa = Ia, qa = za, Ga = xt, Ja = {
2659
+ }, za = Ia, qa = Wa, Ga = xt, Ja = {
2660
2660
  formats: Ga,
2661
2661
  parse: qa,
2662
- stringify: Wa
2662
+ stringify: za
2663
2663
  };
2664
2664
  const Va = /* @__PURE__ */ To(Ja);
2665
2665
  /*! js-cookie v3.0.5 | MIT */
@@ -2776,7 +2776,7 @@ const Xr = ur(), Yr = Xr.sso ?? !0, Zr = Xr.noRedireLogin ?? !1, en = () => {
2776
2776
  const p = new URL(location.href).searchParams;
2777
2777
  l = p.get("project") || p.get("projectId") || 0, l || (l = un().id ?? 0), (l || l === 0) && (s.project = l);
2778
2778
  }
2779
- if (new URL(location.href).searchParams.get("app") === "iot") {
2779
+ if (new URL(location.href).pathname.startsWith("/iot/iot") || new URL(location.href).searchParams.get("app") === "iot") {
2780
2780
  const { instanceInfo: l } = fn();
2781
2781
  l != null && l.instanceId && (s.instance = l.instanceId);
2782
2782
  }
@@ -153,10 +153,10 @@ const Pn = (t, e, r, { allOwnKeys: n } = {}) => (ge(e, (o, i) => {
153
153
  r += e[Math.random() * n | 0];
154
154
  return r;
155
155
  };
156
- function zn(t) {
156
+ function Wn(t) {
157
157
  return !!(t && T(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
158
158
  }
159
- const Wn = (t) => {
159
+ const zn = (t) => {
160
160
  const e = new Array(10), r = (n, o) => {
161
161
  if (Le(n)) {
162
162
  if (e.indexOf(n) >= 0)
@@ -222,8 +222,8 @@ const Wn = (t) => {
222
222
  isContextDefined: yr,
223
223
  ALPHABET: mr,
224
224
  generateString: Hn,
225
- isSpecCompliantForm: zn,
226
- toJSONObject: Wn,
225
+ isSpecCompliantForm: Wn,
226
+ toJSONObject: zn,
227
227
  isAsyncFn: qn,
228
228
  isThenable: Gn
229
229
  };
@@ -1020,22 +1020,22 @@ const $t = (t) => `- ${t}`, Ao = (t) => c.isFunction(t) || t === null || t === !
1020
1020
  },
1021
1021
  adapters: nt
1022
1022
  };
1023
- function ze(t) {
1023
+ function We(t) {
1024
1024
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1025
1025
  throw new be(null, t);
1026
1026
  }
1027
1027
  function It(t) {
1028
- return ze(t), t.headers = F.from(t.headers), t.data = He.call(
1028
+ return We(t), t.headers = F.from(t.headers), t.data = He.call(
1029
1029
  t,
1030
1030
  t.transformRequest
1031
1031
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), xr.getAdapter(t.adapter || ve.adapter)(t).then(function(n) {
1032
- return ze(t), n.data = He.call(
1032
+ return We(t), n.data = He.call(
1033
1033
  t,
1034
1034
  t.transformResponse,
1035
1035
  n
1036
1036
  ), n.headers = F.from(n.headers), n;
1037
1037
  }, function(n) {
1038
- return Rr(n) || (ze(t), n && n.response && (n.response.data = He.call(
1038
+ return Rr(n) || (We(t), n && n.response && (n.response.data = He.call(
1039
1039
  t,
1040
1040
  t.transformResponse,
1041
1041
  n.response
@@ -1483,18 +1483,18 @@ var No = Error, Co = EvalError, _o = RangeError, $o = ReferenceError, Nr = Synta
1483
1483
  return !0;
1484
1484
  }, Lt = typeof Symbol < "u" && Symbol, Bo = Do, Uo = function() {
1485
1485
  return typeof Lt != "function" || typeof Symbol != "function" || typeof Lt("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Bo();
1486
- }, We = {
1486
+ }, ze = {
1487
1487
  __proto__: null,
1488
1488
  foo: {}
1489
1489
  }, Lo = Object, Mo = function() {
1490
- return { __proto__: We }.foo === We.foo && !(We instanceof Lo);
1491
- }, ko = "Function.prototype.bind called on incompatible ", jo = Object.prototype.toString, Ho = Math.max, zo = "[object Function]", Mt = function(e, r) {
1490
+ return { __proto__: ze }.foo === ze.foo && !(ze instanceof Lo);
1491
+ }, ko = "Function.prototype.bind called on incompatible ", jo = Object.prototype.toString, Ho = Math.max, Wo = "[object Function]", Mt = function(e, r) {
1492
1492
  for (var n = [], o = 0; o < e.length; o += 1)
1493
1493
  n[o] = e[o];
1494
1494
  for (var i = 0; i < r.length; i += 1)
1495
1495
  n[i + e.length] = r[i];
1496
1496
  return n;
1497
- }, Wo = function(e, r) {
1497
+ }, zo = function(e, r) {
1498
1498
  for (var n = [], o = r, i = 0; o < e.length; o += 1, i += 1)
1499
1499
  n[i] = e[o];
1500
1500
  return n;
@@ -1504,9 +1504,9 @@ var No = Error, Co = EvalError, _o = RangeError, $o = ReferenceError, Nr = Synta
1504
1504
  return r;
1505
1505
  }, Go = function(e) {
1506
1506
  var r = this;
1507
- if (typeof r != "function" || jo.apply(r) !== zo)
1507
+ if (typeof r != "function" || jo.apply(r) !== Wo)
1508
1508
  throw new TypeError(ko + r);
1509
- for (var n = Wo(arguments, 1), o, i = function() {
1509
+ for (var n = zo(arguments, 1), o, i = function() {
1510
1510
  if (this instanceof o) {
1511
1511
  var p = r.apply(
1512
1512
  this,
@@ -1771,7 +1771,7 @@ if (Ne)
1771
1771
  } catch {
1772
1772
  Ne = null;
1773
1773
  }
1774
- var $r = Ne, zt = St(), mi = Nr, Z = Se, Wt = $r, gi = function(e, r, n) {
1774
+ var $r = Ne, Wt = St(), mi = Nr, Z = Se, zt = $r, gi = function(e, r, n) {
1775
1775
  if (!e || typeof e != "object" && typeof e != "function")
1776
1776
  throw new Z("`obj` must be an object or a function`");
1777
1777
  if (typeof r != "string" && typeof r != "symbol")
@@ -1784,9 +1784,9 @@ var $r = Ne, zt = St(), mi = Nr, Z = Se, Wt = $r, gi = function(e, r, n) {
1784
1784
  throw new Z("`nonConfigurable`, if provided, must be a boolean or null");
1785
1785
  if (arguments.length > 6 && typeof arguments[6] != "boolean")
1786
1786
  throw new Z("`loose`, if provided, must be a boolean");
1787
- var o = arguments.length > 3 ? arguments[3] : null, i = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, s = arguments.length > 6 ? arguments[6] : !1, u = !!Wt && Wt(e, r);
1788
- if (zt)
1789
- zt(e, r, {
1787
+ var o = arguments.length > 3 ? arguments[3] : null, i = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, s = arguments.length > 6 ? arguments[6] : !1, u = !!zt && zt(e, r);
1788
+ if (Wt)
1789
+ Wt(e, r, {
1790
1790
  configurable: a === null && u ? u.configurable : !a,
1791
1791
  enumerable: o === null && u ? u.enumerable : !o,
1792
1792
  value: n,
@@ -1969,11 +1969,11 @@ var ut = Ti, rr = ut.custom, nr = kr(rr) ? rr : null, Li = function t(e, r, n, o
1969
1969
  return Xe("WeakSet");
1970
1970
  if (Qi(e))
1971
1971
  return Xe("WeakRef");
1972
- if (zi(e))
1972
+ if (Wi(e))
1973
1973
  return pe(h(Number(e)));
1974
1974
  if (qi(e))
1975
1975
  return pe(h(st.call(e)));
1976
- if (Wi(e))
1976
+ if (zi(e))
1977
1977
  return pe(_i.call(e));
1978
1978
  if (Hi(e))
1979
1979
  return pe(h(String(e)));
@@ -1982,8 +1982,8 @@ var ut = Ti, rr = ut.custom, nr = kr(rr) ? rr : null, Li = function t(e, r, n, o
1982
1982
  if (typeof globalThis < "u" && e === globalThis || typeof Ut < "u" && e === Ut)
1983
1983
  return "{ [object globalThis] }";
1984
1984
  if (!ki(e) && !or(e)) {
1985
- var z = Ae(e, h), L = er ? er(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", K = !L && x && Object(e) === e && x in e ? Ot.call(H(e), 8, -1) : V ? "Object" : "", ce = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ce + (K || V ? "[" + _.call(Yt.call([], K || [], V || []), ": ") + "] " : "");
1986
- return z.length === 0 ? N + "{}" : f ? N + "{" + ft(z, f) + "}" : N + "{ " + _.call(z, ", ") + " }";
1985
+ var W = Ae(e, h), L = er ? er(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", K = !L && x && Object(e) === e && x in e ? Ot.call(H(e), 8, -1) : V ? "Object" : "", ce = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ce + (K || V ? "[" + _.call(Yt.call([], K || [], V || []), ": ") + "] " : "");
1986
+ return W.length === 0 ? N + "{}" : f ? N + "{" + ft(W, f) + "}" : N + "{ " + _.call(W, ", ") + " }";
1987
1987
  }
1988
1988
  return String(e);
1989
1989
  };
@@ -2009,10 +2009,10 @@ function ji(t) {
2009
2009
  function Hi(t) {
2010
2010
  return H(t) === "[object String]" && (!x || !(typeof t == "object" && x in t));
2011
2011
  }
2012
- function zi(t) {
2012
+ function Wi(t) {
2013
2013
  return H(t) === "[object Number]" && (!x || !(typeof t == "object" && x in t));
2014
2014
  }
2015
- function Wi(t) {
2015
+ function zi(t) {
2016
2016
  return H(t) === "[object Boolean]" && (!x || !(typeof t == "object" && x in t));
2017
2017
  }
2018
2018
  function kr(t) {
@@ -2208,7 +2208,7 @@ function Ae(t, e) {
2208
2208
  Lr.call(t, i[l]) && n.push("[" + e(i[l]) + "]: " + e(t[i[l]], t));
2209
2209
  return n;
2210
2210
  }
2211
- var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%", !0), ia = le("WeakMap.prototype.get", !0), aa = le("WeakMap.prototype.set", !0), sa = le("WeakMap.prototype.has", !0), la = le("Map.prototype.get", !0), ua = le("Map.prototype.set", !0), ca = le("Map.prototype.has", !0), At = function(t, e) {
2211
+ var Wr = se, le = Ri, na = Li, oa = Se, Re = Wr("%WeakMap%", !0), Pe = Wr("%Map%", !0), ia = le("WeakMap.prototype.get", !0), aa = le("WeakMap.prototype.set", !0), sa = le("WeakMap.prototype.has", !0), la = le("Map.prototype.get", !0), ua = le("Map.prototype.set", !0), ca = le("Map.prototype.has", !0), At = function(t, e) {
2212
2212
  for (var r = t, n; (n = r.next) !== null; r = n)
2213
2213
  if (n.key === e)
2214
2214
  return r.next = n.next, n.next = /** @type {NonNullable<typeof list.next>} */
@@ -2274,20 +2274,20 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2274
2274
  },
2275
2275
  RFC1738: Ye.RFC1738,
2276
2276
  RFC3986: Ye.RFC3986
2277
- }, ga = Rt, Ze = Object.prototype.hasOwnProperty, W = Array.isArray, C = function() {
2277
+ }, ga = Rt, Ze = Object.prototype.hasOwnProperty, z = Array.isArray, C = function() {
2278
2278
  for (var t = [], e = 0; e < 256; ++e)
2279
2279
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2280
2280
  return t;
2281
2281
  }(), va = function(e) {
2282
2282
  for (; e.length > 1; ) {
2283
2283
  var r = e.pop(), n = r.obj[r.prop];
2284
- if (W(n)) {
2284
+ if (z(n)) {
2285
2285
  for (var o = [], i = 0; i < n.length; ++i)
2286
2286
  typeof n[i] < "u" && o.push(n[i]);
2287
2287
  r.obj[r.prop] = o;
2288
2288
  }
2289
2289
  }
2290
- }, Wr = function(e, r) {
2290
+ }, zr = function(e, r) {
2291
2291
  for (var n = r && r.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
2292
2292
  typeof e[o] < "u" && (n[o] = e[o]);
2293
2293
  return n;
@@ -2295,7 +2295,7 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2295
2295
  if (!r)
2296
2296
  return e;
2297
2297
  if (typeof r != "object") {
2298
- if (W(e))
2298
+ if (z(e))
2299
2299
  e.push(r);
2300
2300
  else if (e && typeof e == "object")
2301
2301
  (n && (n.plainObjects || n.allowPrototypes) || !Ze.call(Object.prototype, r)) && (e[r] = !0);
@@ -2306,7 +2306,7 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2306
2306
  if (!e || typeof e != "object")
2307
2307
  return [e].concat(r);
2308
2308
  var o = e;
2309
- return W(e) && !W(r) && (o = Wr(e, n)), W(e) && W(r) ? (r.forEach(function(i, a) {
2309
+ return z(e) && !z(r) && (o = zr(e, n)), z(e) && z(r) ? (r.forEach(function(i, a) {
2310
2310
  if (Ze.call(e, a)) {
2311
2311
  var s = e[a];
2312
2312
  s && typeof s == "object" && i && typeof i == "object" ? e[a] = t(s, i, n) : e.push(i);
@@ -2372,14 +2372,14 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2372
2372
  }, Pa = function(e, r) {
2373
2373
  return [].concat(e, r);
2374
2374
  }, xa = function(e, r) {
2375
- if (W(e)) {
2375
+ if (z(e)) {
2376
2376
  for (var n = [], o = 0; o < e.length; o += 1)
2377
2377
  n.push(r(e[o]));
2378
2378
  return n;
2379
2379
  }
2380
2380
  return r(e);
2381
2381
  }, qr = {
2382
- arrayToObject: Wr,
2382
+ arrayToObject: zr,
2383
2383
  assign: Sa,
2384
2384
  combine: Pa,
2385
2385
  compact: Oa,
@@ -2446,9 +2446,9 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2446
2446
  }
2447
2447
  return [g(r) + "=" + g(String(m))];
2448
2448
  }
2449
- var z = [];
2449
+ var W = [];
2450
2450
  if (typeof m > "u")
2451
- return z;
2451
+ return W;
2452
2452
  var L;
2453
2453
  if (n === "comma" && B(m))
2454
2454
  d && s && (m = Ce.maybeMap(m, s)), L = [{ value: m.length > 0 ? m.join(",") || null : void 0 }];
@@ -2464,7 +2464,7 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2464
2464
  var Q = B(m) ? typeof n == "function" ? n(K, N) : K : K + (p ? "." + N : "[" + N + "]");
2465
2465
  S.set(e, R);
2466
2466
  var Oe = Gr();
2467
- Oe.set(et, S), Jr(z, t(
2467
+ Oe.set(et, S), Jr(W, t(
2468
2468
  D,
2469
2469
  Q,
2470
2470
  n,
@@ -2484,7 +2484,7 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2484
2484
  ));
2485
2485
  }
2486
2486
  }
2487
- return z;
2487
+ return W;
2488
2488
  }, $a = function(e) {
2489
2489
  if (!e)
2490
2490
  return P;
@@ -2647,7 +2647,7 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2647
2647
  plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : O.plainObjects,
2648
2648
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : O.strictNullHandling
2649
2649
  };
2650
- }, za = function(t, e) {
2650
+ }, Wa = function(t, e) {
2651
2651
  var r = Ha(e);
2652
2652
  if (t === "" || t === null || typeof t > "u")
2653
2653
  return r.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
@@ -2656,10 +2656,10 @@ var zr = se, le = Ri, na = Li, oa = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2656
2656
  o = ie.merge(o, u, r);
2657
2657
  }
2658
2658
  return r.allowSparse === !0 ? o : ie.compact(o);
2659
- }, Wa = Ia, qa = za, Ga = Rt, Ja = {
2659
+ }, za = Ia, qa = Wa, Ga = Rt, Ja = {
2660
2660
  formats: Ga,
2661
2661
  parse: qa,
2662
- stringify: Wa
2662
+ stringify: za
2663
2663
  };
2664
2664
  const Va = /* @__PURE__ */ To(Ja);
2665
2665
  /*! js-cookie v3.0.5 | MIT */
@@ -2776,7 +2776,7 @@ const Kr = lr(), Qr = Kr.sso ?? !0, Xr = Kr.noRedireLogin ?? !1, Yr = () => {
2776
2776
  const p = new URL(location.href).searchParams;
2777
2777
  l = p.get("project") || p.get("projectId") || 0, l || (l = cn().id ?? 0), (l || l === 0) && (s.project = l);
2778
2778
  }
2779
- if (new URL(location.href).searchParams.get("app") === "iot") {
2779
+ if (new URL(location.href).pathname.startsWith("/iot/iot") || new URL(location.href).searchParams.get("app") === "iot") {
2780
2780
  const { instanceInfo: l } = fn();
2781
2781
  l != null && l.instanceId && (s.instance = l.instanceId);
2782
2782
  }