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

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 +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/gateway-edge/index.js +239 -239
  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 +51 -51
  20. package/api-services/modules/iot/index.js.gz +0 -0
  21. package/api-services/modules/justauth/index.js +40 -40
  22. package/api-services/modules/justauth/index.js.gz +0 -0
  23. package/api-services/modules/knowledge/index.js +239 -239
  24. package/api-services/modules/knowledge/index.js.gz +0 -0
  25. package/api-services/modules/link/index.js +239 -239
  26. package/api-services/modules/link/index.js.gz +0 -0
  27. package/api-services/modules/permission/index.js +239 -239
  28. package/api-services/modules/permission/index.js.gz +0 -0
  29. package/api-services/modules/platformManage/index.js +47 -47
  30. package/api-services/modules/platformManage/index.js.gz +0 -0
  31. package/api-services/modules/portal/index.js +39 -39
  32. package/api-services/modules/portal/index.js.gz +0 -0
  33. package/api-services/modules/space-manage/index.js +39 -39
  34. package/api-services/modules/space-manage/index.js.gz +0 -0
  35. package/api-services/modules/super-admin/index.js +47 -47
  36. package/api-services/modules/super-admin/index.js.gz +0 -0
  37. package/api-services/modules/supplier/index.js +45 -45
  38. package/api-services/modules/supplier/index.js.gz +0 -0
  39. package/api-services/modules/supplychain-manage/index.js +39 -39
  40. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  41. package/api-services/modules/systemConfiguration/index.js +239 -239
  42. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  43. package/api-services/modules/tool/index.js +239 -239
  44. package/api-services/modules/tool/index.js.gz +0 -0
  45. package/api-services/src/create-service/index.js +39 -39
  46. package/api-services/src/create-service/index.js.gz +0 -0
  47. package/create-api-service/index.js +39 -39
  48. package/create-api-service/index.js.gz +0 -0
  49. package/package.json +3 -3
@@ -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: 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
  };
@@ -1020,22 +1020,22 @@ const Dt = (t) => `- ${t}`, Ao = (t) => u.isFunction(t) || t === null || t === !
1020
1020
  },
1021
1021
  adapters: it
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 Bt(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), Fr.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 xr(n) || (ze(t), n && n.response && (n.response.data = He.call(
1038
+ return xr(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, _r = Synta
1483
1483
  return !0;
1484
1484
  }, kt = typeof Symbol < "u" && Symbol, Bo = Do, Uo = function() {
1485
1485
  return typeof kt != "function" || typeof Symbol != "function" || typeof kt("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]", jt = 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]", 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, _e = Xo, li = we.call(Function.call, Array.prototype.concat), ci = we.call(Function.apply, Array.prototype.splice), zt = we.call(Function.call, String.prototype.replace), $e = we.call(Function.call, String.prototype.slice), ui = we.call(Function.call, RegExp.prototype.exec), fi = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, pi = /\\(\\)?/g, di = function(e) {
1701
+ }, we = wt, _e = Xo, li = we.call(Function.call, Array.prototype.concat), ci = we.call(Function.apply, Array.prototype.splice), Wt = we.call(Function.call, String.prototype.replace), $e = we.call(Function.call, String.prototype.slice), ui = we.call(Function.call, RegExp.prototype.exec), fi = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, pi = /\\(\\)?/g, di = function(e) {
1702
1702
  var r = $e(e, 0, 1), n = $e(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, 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: {} }, Je, Wt;
1754
+ }, Ir = { exports: {} }, Je, zt;
1755
1755
  function Et() {
1756
- if (Wt) return Je;
1757
- Wt = 1;
1756
+ if (zt) return Je;
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 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(ct.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" : "", ue = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ue + (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" : "", ue = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ue + (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: Ye.RFC1738,
2276
2276
  RFC3986: Ye.RFC3986
2277
- }, ga = xt, Ze = Object.prototype.hasOwnProperty, W = Array.isArray, C = function() {
2277
+ }, ga = xt, 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;
@@ -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) || !Ze.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 (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,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 = Ce.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(et, S), Kr(z, t(
2467
+ Oe.set(et, 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, c, 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 = 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
  }
@@ -173,7 +173,7 @@ const Hn = (t) => {
173
173
  return n;
174
174
  };
175
175
  return r(t, 0);
176
- }, zn = I("AsyncFunction"), Wn = (t) => t && (Le(t) || T(t)) && T(t.then) && T(t.catch), u = {
176
+ }, Wn = I("AsyncFunction"), zn = (t) => t && (Le(t) || T(t)) && T(t.then) && T(t.catch), u = {
177
177
  isArray: ae,
178
178
  isArrayBuffer: ur,
179
179
  isBuffer: pn,
@@ -224,8 +224,8 @@ const Hn = (t) => {
224
224
  generateString: kn,
225
225
  isSpecCompliantForm: jn,
226
226
  toJSONObject: Hn,
227
- isAsyncFn: zn,
228
- isThenable: Wn
227
+ isAsyncFn: Wn,
228
+ isThenable: zn
229
229
  };
230
230
  function b(t, e, r, n, o) {
231
231
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), r && (this.config = r), n && (this.request = n), o && (this.response = o);
@@ -1020,22 +1020,22 @@ const $t = (t) => `- ${t}`, Eo = (t) => u.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,11 +1483,11 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
1483
1483
  return !0;
1484
1484
  }, Lt = typeof Symbol < "u" && Symbol, Io = $o, Do = function() {
1485
1485
  return typeof Lt != "function" || typeof Symbol != "function" || typeof Lt("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Io();
1486
- }, We = {
1486
+ }, ze = {
1487
1487
  __proto__: null,
1488
1488
  foo: {}
1489
1489
  }, Bo = Object, Uo = function() {
1490
- return { __proto__: We }.foo === We.foo && !(We instanceof Bo);
1490
+ return { __proto__: ze }.foo === ze.foo && !(ze instanceof Bo);
1491
1491
  }, Lo = "Function.prototype.bind called on incompatible ", Mo = Object.prototype.toString, ko = Math.max, jo = "[object Function]", Mt = function(e, r) {
1492
1492
  for (var n = [], o = 0; o < e.length; o += 1)
1493
1493
  n[o] = e[o];
@@ -1498,11 +1498,11 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
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;
1501
- }, zo = function(t, e) {
1501
+ }, Wo = function(t, e) {
1502
1502
  for (var r = "", n = 0; n < t.length; n += 1)
1503
1503
  r += t[n], n + 1 < t.length && (r += e);
1504
1504
  return r;
1505
- }, Wo = function(e) {
1505
+ }, zo = function(e) {
1506
1506
  var r = this;
1507
1507
  if (typeof r != "function" || Mo.apply(r) !== jo)
1508
1508
  throw new TypeError(Lo + r);
@@ -1520,13 +1520,13 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
1520
1520
  );
1521
1521
  }, a = ko(0, r.length - n.length), s = [], c = 0; c < a; c++)
1522
1522
  s[c] = "$" + c;
1523
- if (o = Function("binder", "return function (" + zo(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
1523
+ if (o = Function("binder", "return function (" + Wo(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
1524
1524
  var l = function() {
1525
1525
  };
1526
1526
  l.prototype = r.prototype, o.prototype = new l(), l.prototype = null;
1527
1527
  }
1528
1528
  return o;
1529
- }, qo = Wo, bt = Function.prototype.bind || qo, Go = Function.prototype.call, Jo = Object.prototype.hasOwnProperty, Vo = bt, Ko = Vo.call(Go, Jo), v, Qo = To, Xo = Fo, Yo = No, Zo = Co, ne = Nr, te = Se, ei = _o, Cr = Function, qe = function(t) {
1529
+ }, qo = zo, bt = Function.prototype.bind || qo, Go = Function.prototype.call, Jo = Object.prototype.hasOwnProperty, Vo = bt, Ko = Vo.call(Go, Jo), v, Qo = To, Xo = Fo, Yo = No, Zo = Co, ne = Nr, te = Se, ei = _o, Cr = Function, qe = function(t) {
1530
1530
  try {
1531
1531
  return Cr('"use strict"; return (' + t + ").constructor;")();
1532
1532
  } catch {
@@ -1771,7 +1771,7 @@ if (Ne)
1771
1771
  } catch {
1772
1772
  Ne = null;
1773
1773
  }
1774
- var $r = Ne, zt = St(), yi = Nr, Z = Se, Wt = $r, hi = function(e, r, n) {
1774
+ var $r = Ne, Wt = St(), yi = Nr, Z = Se, zt = $r, hi = 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(), yi = Nr, Z = Se, Wt = $r, hi = 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, c = !!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, c = !!zt && zt(e, r);
1788
+ if (Wt)
1789
+ Wt(e, r, {
1790
1790
  configurable: a === null && c ? c.configurable : !a,
1791
1791
  enumerable: o === null && c ? c.enumerable : !o,
1792
1792
  value: n,
@@ -1971,7 +1971,7 @@ var ct = Pi, rr = ct.custom, nr = kr(rr) ? rr : null, Bi = function t(e, r, n, o
1971
1971
  return Xe("WeakRef");
1972
1972
  if (ji(e))
1973
1973
  return pe(h(Number(e)));
1974
- if (zi(e))
1974
+ if (Wi(e))
1975
1975
  return pe(h(st.call(e)));
1976
1976
  if (Hi(e))
1977
1977
  return pe(Ni.call(e));
@@ -1982,8 +1982,8 @@ var ct = Pi, rr = ct.custom, nr = kr(rr) ? rr : null, Bi = 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 (!Li(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" : "", ue = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ue + (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" : "", ue = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ue + (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
  };
@@ -2028,7 +2028,7 @@ function kr(t) {
2028
2028
  }
2029
2029
  return !1;
2030
2030
  }
2031
- function zi(t) {
2031
+ function Wi(t) {
2032
2032
  if (!t || typeof t != "object" || !st)
2033
2033
  return !1;
2034
2034
  try {
@@ -2037,11 +2037,11 @@ function zi(t) {
2037
2037
  }
2038
2038
  return !1;
2039
2039
  }
2040
- var Wi = Object.prototype.hasOwnProperty || function(t) {
2040
+ var zi = Object.prototype.hasOwnProperty || function(t) {
2041
2041
  return t in this;
2042
2042
  };
2043
2043
  function k(t, e) {
2044
- return Wi.call(t, e);
2044
+ return zi.call(t, e);
2045
2045
  }
2046
2046
  function H(t) {
2047
2047
  return Ci.call(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 = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%", !0), na = le("WeakMap.prototype.get", !0), oa = le("WeakMap.prototype.set", !0), ia = le("WeakMap.prototype.has", !0), aa = le("Map.prototype.get", !0), sa = le("Map.prototype.set", !0), la = le("Map.prototype.has", !0), At = function(t, e) {
2211
+ var Wr = se, le = Oi, ta = Bi, ra = Se, Re = Wr("%WeakMap%", !0), Pe = Wr("%Map%", !0), na = le("WeakMap.prototype.get", !0), oa = le("WeakMap.prototype.set", !0), ia = le("WeakMap.prototype.has", !0), aa = le("Map.prototype.get", !0), sa = le("Map.prototype.set", !0), la = 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 = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2274
2274
  },
2275
2275
  RFC1738: Ye.RFC1738,
2276
2276
  RFC3986: Ye.RFC3986
2277
- }, ha = Rt, Ze = Object.prototype.hasOwnProperty, W = Array.isArray, C = function() {
2277
+ }, ha = 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
  }(), ma = 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 = Oi, ta = Bi, ra = 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 = Oi, ta = Bi, ra = 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 = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2372
2372
  }, Aa = function(e, r) {
2373
2373
  return [].concat(e, r);
2374
2374
  }, Ra = 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: va,
2384
2384
  combine: Aa,
2385
2385
  compact: wa,
@@ -2446,9 +2446,9 @@ var zr = se, le = Oi, ta = Bi, ra = 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 = Oi, ta = Bi, ra = 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 = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2484
2484
  ));
2485
2485
  }
2486
2486
  }
2487
- return z;
2487
+ return W;
2488
2488
  }, Ca = function(e) {
2489
2489
  if (!e)
2490
2490
  return P;
@@ -2656,9 +2656,9 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2656
2656
  o = ie.merge(o, c, r);
2657
2657
  }
2658
2658
  return r.allowSparse === !0 ? o : ie.compact(o);
2659
- }, Ha = _a, za = ja, Wa = Rt, qa = {
2660
- formats: Wa,
2661
- parse: za,
2659
+ }, Ha = _a, Wa = ja, za = Rt, qa = {
2660
+ formats: za,
2661
+ parse: Wa,
2662
2662
  stringify: Ha
2663
2663
  };
2664
2664
  const Ga = /* @__PURE__ */ Po(qa);
@@ -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 = ln().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 } = cn();
2781
2781
  l != null && l.instanceId && (s.instance = l.instanceId);
2782
2782
  }