@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
@@ -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 (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 co(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 (c.isFunction(n))
631
631
  return n.call(this, e, r);
632
632
  if (o && (e = r), !!c.isString(e)) {
@@ -686,7 +686,7 @@ class F {
686
686
  has(e, r) {
687
687
  if (e = fe(e), e) {
688
688
  const n = c.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 = fe(a), a) {
698
698
  const s = c.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 c.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 @@ c.reduceDescriptors(F.prototype, ({ value: t }, e) => {
770
770
  };
771
771
  });
772
772
  c.freezeMethods(F);
773
- function We(t, e) {
773
+ function ze(t, e) {
774
774
  const r = this || ve, n = e || r, o = F.from(n.headers);
775
775
  let i = n.data;
776
776
  return c.forEach(t, function(s) {
@@ -1025,17 +1025,17 @@ function qe(t) {
1025
1025
  throw new be(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 || ve.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
- }, we = wt, Ie = Xo, li = we.call(Function.call, Array.prototype.concat), ui = we.call(Function.apply, Array.prototype.splice), zt = we.call(Function.call, String.prototype.replace), De = we.call(Function.call, String.prototype.slice), ci = we.call(Function.call, RegExp.prototype.exec), fi = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, pi = /\\(\\)?/g, di = function(e) {
1701
+ }, we = wt, Ie = Xo, li = we.call(Function.call, Array.prototype.concat), ui = we.call(Function.apply, Array.prototype.splice), Wt = we.call(Function.call, String.prototype.replace), De = we.call(Function.call, String.prototype.slice), ci = we.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 ne("invalid intrinsic syntax, expected closing `%`");
1705
1705
  if (n === "%" && r !== "%")
1706
1706
  throw new ne("invalid intrinsic syntax, expected opening `%`");
1707
1707
  var o = [];
1708
- return zt(e, fi, function(i, a, s, u) {
1709
- o[o.length] = s ? zt(u, pi, "$1") : a || i;
1708
+ return Wt(e, fi, function(i, a, s, u) {
1709
+ o[o.length] = s ? Wt(u, 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 = se, e = t("%Object.defineProperty%", !0) || !1;
1759
1759
  if (e)
1760
1760
  try {
@@ -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(D, Q, Oe) {
1917
1917
  if (Q && (o = Ui.call(o), o.push(Q)), Oe) {
@@ -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 pe(h(Number(e)));
1974
1974
  if (qi(e))
1975
1975
  return pe(h(ut.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 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 z = Ae(e, h), L = rr ? rr(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", K = !L && x && Object(e) === e && x in e ? Rt.call(H(e), 8, -1) : V ? "Object" : "", ce = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ce + (K || V ? "[" + _.call(er.call([], K || [], V || []), ": ") + "] " : "");
1986
- return z.length === 0 ? N + "{}" : f ? N + "{" + dt(z, f) + "}" : N + "{ " + _.call(z, ", ") + " }";
1985
+ var W = Ae(e, h), L = rr ? rr(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", K = !L && x && Object(e) === e && x in e ? Rt.call(H(e), 8, -1) : V ? "Object" : "", ce = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ce + (K || V ? "[" + _.call(er.call([], K || [], V || []), ": ") + "] " : "");
1986
+ return W.length === 0 ? N + "{}" : f ? N + "{" + dt(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 Hr(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,10 +2132,10 @@ 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
2140
  var o = j.call(j.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, ea);
2141
2141
  return jr(o, "single", e);
@@ -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;
@@ -2274,14 +2274,14 @@ var qr = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = qr("%Map%
2274
2274
  },
2275
2275
  RFC1738: et.RFC1738,
2276
2276
  RFC3986: et.RFC3986
2277
- }, ga = xt, tt = Object.prototype.hasOwnProperty, W = Array.isArray, C = function() {
2277
+ }, ga = xt, tt = 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;
@@ -2295,7 +2295,7 @@ var qr = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = qr("%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) || !tt.call(Object.prototype, r)) && (e[r] = !0);
@@ -2306,7 +2306,7 @@ var qr = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = qr("%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 = Gr(e, n)), W(e) && W(r) ? (r.forEach(function(i, a) {
2309
+ return z(e) && !z(r) && (o = Gr(e, n)), z(e) && z(r) ? (r.forEach(function(i, a) {
2310
2310
  if (tt.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,7 +2372,7 @@ var qr = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = qr("%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;
@@ -2446,9 +2446,9 @@ var qr = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = qr("%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 = $e.maybeMap(m, s)), L = [{ value: m.length > 0 ? m.join(",") || null : void 0 }];
@@ -2464,7 +2464,7 @@ var qr = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = qr("%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 = Vr();
2467
- Oe.set(rt, S), Kr(z, t(
2467
+ Oe.set(rt, S), Kr(W, t(
2468
2468
  D,
2469
2469
  Q,
2470
2470
  n,
@@ -2484,7 +2484,7 @@ var qr = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = qr("%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 qr = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = 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 = se, le = Ri, na = Li, oa = Se, Re = qr("%WeakMap%", !0), Pe = qr("%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 = 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 = cr(), 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 = 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
  }