@das-fed/web 6.4.0-hot.51 → 6.4.0-hot.53

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.
@@ -8,10 +8,10 @@ import { DasIconClose2 as Rn } from "@das-fed/ui/packages/icons/close-2/index";
8
8
  import { DasChangePwdRef as jn, DasChangePwd as Zn } from "@das-fed/ui/packages/business-components/change-pwd/index";
9
9
  import { DasChangeEnterprises as Tn } from "@das-fed/ui/packages/business-components/change-enterprises/index";
10
10
  import { DasAiPanel as on } from "@das-fed/ui/packages/business-components/ai-panel/index";
11
- import { getSubApps as uA, getTabInfo as ZA, getToken as t9, getTenantInfo as qf, getProjectInfo as GA, getPersonalInfo as _9, getLanguages as Ln, getUserInfo as Q3, getMenus as zf } from "@das-fed/utils/common-info";
11
+ import { getSubApps as uA, getTabInfo as ZA, getToken as t9, getTenantInfo as qf, getProjectInfo as YA, getPersonalInfo as _9, getLanguages as Ln, getUserInfo as Q3, getMenus as zf } from "@das-fed/utils/common-info";
12
12
  import { pureImageSrc as Hf } from "@das-fed/utils/pure-image-src";
13
13
  import { DasNotification as df } from "@das-fed/ui/packages/components/notification/index";
14
- import { flatTree as QA, isEmpty as yn, filterTreeArray as Wn, treeFind as c7, setBrowseTitle as wn, updateFavIcon as En, dateFormat as In, runPromiseByQueue as Mn, objEqual as xe, setShowWatermark as Oe, setShowLayout as me, getUrlParams as gn, withToken as Bn } from "@das-fed/utils/common-tools";
14
+ import { flatTree as UA, isEmpty as yn, filterTreeArray as Wn, treeFind as c7, setBrowseTitle as wn, dateFormat as En, updateFavIcon as In, runPromiseByQueue as Mn, objEqual as xe, setShowWatermark as Oe, setShowLayout as me, getUrlParams as gn, withToken as Bn } from "@das-fed/utils/common-tools";
15
15
  import { setProcessEngineProject as Y3, setProcessEngineToken as G3 } from "@das-fed/utils/process-engine-info";
16
16
  import { oauthServer as U3, justauth as We, enterpriseright as pf, iotModules as kn, portal as f9, systemConfiguration as xf } from "@das-fed/utils/api-services/modules";
17
17
  import { createService as oA } from "@das-fed/utils/create-api-service";
@@ -256,9 +256,9 @@ function $9(e, A = {}) {
256
256
  let t = p7[0];
257
257
  const z = Rr(() => {
258
258
  if (f) {
259
- for (const q of p7)
260
- if (q[1] in f)
261
- return t = q, !0;
259
+ for (const s of p7)
260
+ if (s[1] in f)
261
+ return t = s, !0;
262
262
  } else
263
263
  return !1;
264
264
  return !1;
@@ -270,8 +270,8 @@ function $9(e, A = {}) {
270
270
  if (!z.value)
271
271
  return;
272
272
  await X();
273
- const q = vv(r);
274
- q && (await q[d](), P.value = !0);
273
+ const s = vv(r);
274
+ s && (await s[d](), P.value = !0);
275
275
  }
276
276
  async function a() {
277
277
  P.value ? await X() : await i();
@@ -336,32 +336,32 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
336
336
  const A = e, f = o({}), v = o(120), r = o(64), P = o([]), t = o([]), z = g3({
337
337
  color: "rgba(0,0,0,.15)",
338
338
  fontSize: 16
339
- }), d = (q, c) => {
339
+ }), d = (s, b) => {
340
340
  const H = document.createElement("span");
341
- H.innerHTML = q, H.style.fontSize = c + "px", H.style.fontFamily = "sans-serif", H.style.visibility = "hidden", document.body.appendChild(H);
342
- const b = H.getBoundingClientRect();
343
- v.value = Math.ceil(b.width) + c / 2, r.value = Math.ceil(b.height), document.body.removeChild(H);
344
- }, n = o(!1), u = () => new Promise((q) => {
345
- const c = () => {
346
- if (n) return q(!0);
347
- setTimeout(() => c(), 50);
341
+ H.innerHTML = s, H.style.fontSize = b + "px", H.style.fontFamily = "sans-serif", H.style.visibility = "hidden", document.body.appendChild(H);
342
+ const c = H.getBoundingClientRect();
343
+ v.value = Math.ceil(c.width) + b / 2, r.value = Math.ceil(c.height), document.body.removeChild(H);
344
+ }, n = o(!1), u = () => new Promise((s) => {
345
+ const b = () => {
346
+ if (n) return s(!0);
347
+ setTimeout(() => b(), 50);
348
348
  };
349
- c();
350
- }), x = async (q) => {
349
+ b();
350
+ }), x = async (s) => {
351
351
  var H;
352
352
  await u();
353
- const c = !!((H = f.value) != null && H.pageSwith);
354
- t.value = q && c ? [...P.value] : [];
353
+ const b = !!((H = f.value) != null && H.pageSwith);
354
+ t.value = s && b ? [...P.value] : [];
355
355
  }, X = async () => {
356
- var b, s, p, m, V, R, l;
356
+ var c, q, p, m, V, R, l;
357
357
  n.value = !0, await (A == null ? void 0 : A.platformInitNextTick());
358
- const [q, c] = await yr().run();
359
- if (q) return null;
360
- if (f.value = c, !!((b = f.value) != null && b.pageSwith)) {
358
+ const [s, b] = await yr().run();
359
+ if (s) return null;
360
+ if (f.value = b, !!((c = f.value) != null && c.pageSwith)) {
361
361
  P.value = [];
362
362
  const { name: j, phone: O } = await fr();
363
363
  let N = "";
364
- if ((s = f.value) != null && s.nameSwith && j && (P.value.push(j), N = N + `${j} `), (p = f.value) != null && p.phoneSwith && O) {
364
+ if ((q = f.value) != null && q.nameSwith && j && (P.value.push(j), N = N + `${j} `), (p = f.value) != null && p.phoneSwith && O) {
365
365
  const Z = O.slice(-4);
366
366
  P.value.push(Z), N = N + `${Z} `;
367
367
  }
@@ -374,26 +374,26 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
374
374
  P.value.length && (P.value = P.value.join(" ").split(`
375
375
  `)), z.color = (R = f.value) != null && R.textColor ? f.value.textColor : "rgba(0,0,0,.15)", z.fontSize = (l = f.value) != null && l.textSize ? parseInt(f.value.textSize) : 16, d(N, z.fontSize);
376
376
  }
377
- return n.value = !1, c;
377
+ return n.value = !1, b;
378
378
  };
379
379
  X();
380
380
  const i = y9(), a = sf();
381
381
  return OA(
382
382
  () => i.currentRoute.value,
383
- (q) => {
384
- var s, p, m;
385
- const c = !!((s = f.value) != null && s.pageSwith), H = ((p = q.meta) == null ? void 0 : p.showWatermark) ?? !0;
386
- let b = ((m = q.query) == null ? void 0 : m.showWatermark) ?? !0;
387
- b === "false" && (b = !1), x(c && !!(H && b));
383
+ (s) => {
384
+ var q, p, m;
385
+ const b = !!((q = f.value) != null && q.pageSwith), H = ((p = s.meta) == null ? void 0 : p.showWatermark) ?? !0;
386
+ let c = ((m = s.query) == null ? void 0 : m.showWatermark) ?? !0;
387
+ c === "false" && (c = !1), x(b && !!(H && c));
388
388
  },
389
389
  { immediate: !0 }
390
390
  ), NA.addEventListenerFromMicroApp("systemconfig:watermark-change", async () => {
391
- var H, b;
391
+ var H, c;
392
392
  await X();
393
- const q = !!((H = f.value) != null && H.pageSwith);
394
- let c = ((b = a.query) == null ? void 0 : b.showWatermark) ?? !0;
395
- c === "false" && (c = !1), x(!!(q && c));
396
- }), (q, c) => (fA(), XA(D(vr), {
393
+ const s = !!((H = f.value) != null && H.pageSwith);
394
+ let b = ((c = a.query) == null ? void 0 : c.showWatermark) ?? !0;
395
+ b === "false" && (b = !1), x(!!(s && b));
396
+ }), (s, b) => (fA(), XA(D(vr), {
397
397
  class: "watermark",
398
398
  font: z,
399
399
  zIndex: 2147483647,
@@ -402,7 +402,7 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
402
402
  height: r.value
403
403
  }, {
404
404
  default: U(() => [
405
- r9(q.$slots, "default", {}, void 0, !0)
405
+ r9(s.$slots, "default", {}, void 0, !0)
406
406
  ]),
407
407
  _: 3
408
408
  /* FORWARDED */
@@ -584,21 +584,21 @@ const kr = (e = {}) => {
584
584
  code: i.code,
585
585
  originalCode: i.originalCode,
586
586
  name: i.name
587
- }) : QA([i]).forEach((c) => {
587
+ }) : UA([i]).forEach((b) => {
588
588
  x.push({
589
- code: c.code,
590
- originalCode: c.originalCode,
591
- name: c.name
589
+ code: b.code,
590
+ originalCode: b.originalCode,
591
+ name: b.name
592
592
  });
593
593
  });
594
594
  }), x.forEach((i) => {
595
595
  let a = i.originalCode ? i.originalCode : i.code ? i.code : "";
596
596
  a.includes(n + ".") && (a = a.replace(n + ".", "").replaceAll(".", "-")), a.includes(u + ".") && (a = a.replace(u + ".", "").replaceAll(".", "-"));
597
- const q = {
597
+ const s = {
598
598
  code: a,
599
599
  name: i.name
600
600
  };
601
- z[n].push(q), u && n !== u && (z["origin-auth"] || (z["origin-auth"] = {}), z["origin-auth"][u] || (z["origin-auth"][u] = []), z["origin-auth"][u].push(q));
601
+ z[n].push(s), u && n !== u && (z["origin-auth"] || (z["origin-auth"] = {}), z["origin-auth"][u] || (z["origin-auth"][u] = []), z["origin-auth"][u].push(s));
602
602
  }));
603
603
  }), v[A] = z, sessionStorage.setItem(f, JSON.stringify(v)), v;
604
604
  }, hr = () => {
@@ -704,11 +704,11 @@ function tA() {
704
704
  }
705
705
  throw new Error("Native crypto module could not be used to get secure random number.");
706
706
  }, z = Object.create || /* @__PURE__ */ function() {
707
- function b() {
707
+ function c() {
708
708
  }
709
- return function(s) {
709
+ return function(q) {
710
710
  var p;
711
- return b.prototype = s, p = new b(), b.prototype = null, p;
711
+ return c.prototype = q, p = new c(), c.prototype = null, p;
712
712
  };
713
713
  }(), d = {}, n = d.lib = {}, u = n.Base = /* @__PURE__ */ function() {
714
714
  return {
@@ -730,11 +730,11 @@ function tA() {
730
730
  * }
731
731
  * });
732
732
  */
733
- extend: function(b) {
734
- var s = z(this);
735
- return b && s.mixIn(b), (!s.hasOwnProperty("init") || this.init === s.init) && (s.init = function() {
736
- s.$super.init.apply(this, arguments);
737
- }), s.init.prototype = s, s.$super = this, s;
733
+ extend: function(c) {
734
+ var q = z(this);
735
+ return c && q.mixIn(c), (!q.hasOwnProperty("init") || this.init === q.init) && (q.init = function() {
736
+ q.$super.init.apply(this, arguments);
737
+ }), q.init.prototype = q, q.$super = this, q;
738
738
  },
739
739
  /**
740
740
  * Extends this object and runs the init method.
@@ -749,8 +749,8 @@ function tA() {
749
749
  * var instance = MyType.create();
750
750
  */
751
751
  create: function() {
752
- var b = this.extend();
753
- return b.init.apply(b, arguments), b;
752
+ var c = this.extend();
753
+ return c.init.apply(c, arguments), c;
754
754
  },
755
755
  /**
756
756
  * Initializes a newly created object.
@@ -777,10 +777,10 @@ function tA() {
777
777
  * field: 'value'
778
778
  * });
779
779
  */
780
- mixIn: function(b) {
781
- for (var s in b)
782
- b.hasOwnProperty(s) && (this[s] = b[s]);
783
- b.hasOwnProperty("toString") && (this.toString = b.toString);
780
+ mixIn: function(c) {
781
+ for (var q in c)
782
+ c.hasOwnProperty(q) && (this[q] = c[q]);
783
+ c.hasOwnProperty("toString") && (this.toString = c.toString);
784
784
  },
785
785
  /**
786
786
  * Creates a copy of this object.
@@ -808,8 +808,8 @@ function tA() {
808
808
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
809
809
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
810
810
  */
811
- init: function(b, s) {
812
- b = this.words = b || [], s != r ? this.sigBytes = s : this.sigBytes = b.length * 4;
811
+ init: function(c, q) {
812
+ c = this.words = c || [], q != r ? this.sigBytes = q : this.sigBytes = c.length * 4;
813
813
  },
814
814
  /**
815
815
  * Converts this word array to a string.
@@ -824,8 +824,8 @@ function tA() {
824
824
  * var string = wordArray.toString();
825
825
  * var string = wordArray.toString(CryptoJS.enc.Utf8);
826
826
  */
827
- toString: function(b) {
828
- return (b || i).stringify(this);
827
+ toString: function(c) {
828
+ return (c || i).stringify(this);
829
829
  },
830
830
  /**
831
831
  * Concatenates a word array to this word array.
@@ -838,16 +838,16 @@ function tA() {
838
838
  *
839
839
  * wordArray1.concat(wordArray2);
840
840
  */
841
- concat: function(b) {
842
- var s = this.words, p = b.words, m = this.sigBytes, V = b.sigBytes;
841
+ concat: function(c) {
842
+ var q = this.words, p = c.words, m = this.sigBytes, V = c.sigBytes;
843
843
  if (this.clamp(), m % 4)
844
844
  for (var R = 0; R < V; R++) {
845
845
  var l = p[R >>> 2] >>> 24 - R % 4 * 8 & 255;
846
- s[m + R >>> 2] |= l << 24 - (m + R) % 4 * 8;
846
+ q[m + R >>> 2] |= l << 24 - (m + R) % 4 * 8;
847
847
  }
848
848
  else
849
849
  for (var j = 0; j < V; j += 4)
850
- s[m + j >>> 2] = p[j >>> 2];
850
+ q[m + j >>> 2] = p[j >>> 2];
851
851
  return this.sigBytes += V, this;
852
852
  },
853
853
  /**
@@ -858,8 +858,8 @@ function tA() {
858
858
  * wordArray.clamp();
859
859
  */
860
860
  clamp: function() {
861
- var b = this.words, s = this.sigBytes;
862
- b[s >>> 2] &= 4294967295 << 32 - s % 4 * 8, b.length = v.ceil(s / 4);
861
+ var c = this.words, q = this.sigBytes;
862
+ c[q >>> 2] &= 4294967295 << 32 - q % 4 * 8, c.length = v.ceil(q / 4);
863
863
  },
864
864
  /**
865
865
  * Creates a copy of this word array.
@@ -871,8 +871,8 @@ function tA() {
871
871
  * var clone = wordArray.clone();
872
872
  */
873
873
  clone: function() {
874
- var b = u.clone.call(this);
875
- return b.words = this.words.slice(0), b;
874
+ var c = u.clone.call(this);
875
+ return c.words = this.words.slice(0), c;
876
876
  },
877
877
  /**
878
878
  * Creates a word array filled with random bytes.
@@ -887,10 +887,10 @@ function tA() {
887
887
  *
888
888
  * var wordArray = CryptoJS.lib.WordArray.random(16);
889
889
  */
890
- random: function(b) {
891
- for (var s = [], p = 0; p < b; p += 4)
892
- s.push(t());
893
- return new x.init(s, b);
890
+ random: function(c) {
891
+ for (var q = [], p = 0; p < c; p += 4)
892
+ q.push(t());
893
+ return new x.init(q, c);
894
894
  }
895
895
  }), X = d.enc = {}, i = X.Hex = {
896
896
  /**
@@ -906,9 +906,9 @@ function tA() {
906
906
  *
907
907
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
908
908
  */
909
- stringify: function(b) {
910
- for (var s = b.words, p = b.sigBytes, m = [], V = 0; V < p; V++) {
911
- var R = s[V >>> 2] >>> 24 - V % 4 * 8 & 255;
909
+ stringify: function(c) {
910
+ for (var q = c.words, p = c.sigBytes, m = [], V = 0; V < p; V++) {
911
+ var R = q[V >>> 2] >>> 24 - V % 4 * 8 & 255;
912
912
  m.push((R >>> 4).toString(16)), m.push((R & 15).toString(16));
913
913
  }
914
914
  return m.join("");
@@ -926,10 +926,10 @@ function tA() {
926
926
  *
927
927
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
928
928
  */
929
- parse: function(b) {
930
- for (var s = b.length, p = [], m = 0; m < s; m += 2)
931
- p[m >>> 3] |= parseInt(b.substr(m, 2), 16) << 24 - m % 8 * 4;
932
- return new x.init(p, s / 2);
929
+ parse: function(c) {
930
+ for (var q = c.length, p = [], m = 0; m < q; m += 2)
931
+ p[m >>> 3] |= parseInt(c.substr(m, 2), 16) << 24 - m % 8 * 4;
932
+ return new x.init(p, q / 2);
933
933
  }
934
934
  }, a = X.Latin1 = {
935
935
  /**
@@ -945,9 +945,9 @@ function tA() {
945
945
  *
946
946
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
947
947
  */
948
- stringify: function(b) {
949
- for (var s = b.words, p = b.sigBytes, m = [], V = 0; V < p; V++) {
950
- var R = s[V >>> 2] >>> 24 - V % 4 * 8 & 255;
948
+ stringify: function(c) {
949
+ for (var q = c.words, p = c.sigBytes, m = [], V = 0; V < p; V++) {
950
+ var R = q[V >>> 2] >>> 24 - V % 4 * 8 & 255;
951
951
  m.push(String.fromCharCode(R));
952
952
  }
953
953
  return m.join("");
@@ -965,12 +965,12 @@ function tA() {
965
965
  *
966
966
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
967
967
  */
968
- parse: function(b) {
969
- for (var s = b.length, p = [], m = 0; m < s; m++)
970
- p[m >>> 2] |= (b.charCodeAt(m) & 255) << 24 - m % 4 * 8;
971
- return new x.init(p, s);
968
+ parse: function(c) {
969
+ for (var q = c.length, p = [], m = 0; m < q; m++)
970
+ p[m >>> 2] |= (c.charCodeAt(m) & 255) << 24 - m % 4 * 8;
971
+ return new x.init(p, q);
972
972
  }
973
- }, q = X.Utf8 = {
973
+ }, s = X.Utf8 = {
974
974
  /**
975
975
  * Converts a word array to a UTF-8 string.
976
976
  *
@@ -984,9 +984,9 @@ function tA() {
984
984
  *
985
985
  * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
986
986
  */
987
- stringify: function(b) {
987
+ stringify: function(c) {
988
988
  try {
989
- return decodeURIComponent(escape(a.stringify(b)));
989
+ return decodeURIComponent(escape(a.stringify(c)));
990
990
  } catch {
991
991
  throw new Error("Malformed UTF-8 data");
992
992
  }
@@ -1004,10 +1004,10 @@ function tA() {
1004
1004
  *
1005
1005
  * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
1006
1006
  */
1007
- parse: function(b) {
1008
- return a.parse(unescape(encodeURIComponent(b)));
1007
+ parse: function(c) {
1008
+ return a.parse(unescape(encodeURIComponent(c)));
1009
1009
  }
1010
- }, c = n.BufferedBlockAlgorithm = u.extend({
1010
+ }, b = n.BufferedBlockAlgorithm = u.extend({
1011
1011
  /**
1012
1012
  * Resets this block algorithm's data buffer to its initial state.
1013
1013
  *
@@ -1028,8 +1028,8 @@ function tA() {
1028
1028
  * bufferedBlockAlgorithm._append('data');
1029
1029
  * bufferedBlockAlgorithm._append(wordArray);
1030
1030
  */
1031
- _append: function(b) {
1032
- typeof b == "string" && (b = q.parse(b)), this._data.concat(b), this._nDataBytes += b.sigBytes;
1031
+ _append: function(c) {
1032
+ typeof c == "string" && (c = s.parse(c)), this._data.concat(c), this._nDataBytes += c.sigBytes;
1033
1033
  },
1034
1034
  /**
1035
1035
  * Processes available data blocks.
@@ -1045,16 +1045,16 @@ function tA() {
1045
1045
  * var processedData = bufferedBlockAlgorithm._process();
1046
1046
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
1047
1047
  */
1048
- _process: function(b) {
1049
- var s, p = this._data, m = p.words, V = p.sigBytes, R = this.blockSize, l = R * 4, j = V / l;
1050
- b ? j = v.ceil(j) : j = v.max((j | 0) - this._minBufferSize, 0);
1048
+ _process: function(c) {
1049
+ var q, p = this._data, m = p.words, V = p.sigBytes, R = this.blockSize, l = R * 4, j = V / l;
1050
+ c ? j = v.ceil(j) : j = v.max((j | 0) - this._minBufferSize, 0);
1051
1051
  var O = j * R, N = v.min(O * 4, V);
1052
1052
  if (O) {
1053
1053
  for (var Z = 0; Z < O; Z += R)
1054
1054
  this._doProcessBlock(m, Z);
1055
- s = m.splice(0, O), p.sigBytes -= N;
1055
+ q = m.splice(0, O), p.sigBytes -= N;
1056
1056
  }
1057
- return new x.init(s, N);
1057
+ return new x.init(q, N);
1058
1058
  },
1059
1059
  /**
1060
1060
  * Creates a copy of this object.
@@ -1066,12 +1066,12 @@ function tA() {
1066
1066
  * var clone = bufferedBlockAlgorithm.clone();
1067
1067
  */
1068
1068
  clone: function() {
1069
- var b = u.clone.call(this);
1070
- return b._data = this._data.clone(), b;
1069
+ var c = u.clone.call(this);
1070
+ return c._data = this._data.clone(), c;
1071
1071
  },
1072
1072
  _minBufferSize: 0
1073
1073
  });
1074
- n.Hasher = c.extend({
1074
+ n.Hasher = b.extend({
1075
1075
  /**
1076
1076
  * Configuration options.
1077
1077
  */
@@ -1085,8 +1085,8 @@ function tA() {
1085
1085
  *
1086
1086
  * var hasher = CryptoJS.algo.SHA256.create();
1087
1087
  */
1088
- init: function(b) {
1089
- this.cfg = this.cfg.extend(b), this.reset();
1088
+ init: function(c) {
1089
+ this.cfg = this.cfg.extend(c), this.reset();
1090
1090
  },
1091
1091
  /**
1092
1092
  * Resets this hasher to its initial state.
@@ -1096,7 +1096,7 @@ function tA() {
1096
1096
  * hasher.reset();
1097
1097
  */
1098
1098
  reset: function() {
1099
- c.reset.call(this), this._doReset();
1099
+ b.reset.call(this), this._doReset();
1100
1100
  },
1101
1101
  /**
1102
1102
  * Updates this hasher with a message.
@@ -1110,8 +1110,8 @@ function tA() {
1110
1110
  * hasher.update('message');
1111
1111
  * hasher.update(wordArray);
1112
1112
  */
1113
- update: function(b) {
1114
- return this._append(b), this._process(), this;
1113
+ update: function(c) {
1114
+ return this._append(c), this._process(), this;
1115
1115
  },
1116
1116
  /**
1117
1117
  * Finalizes the hash computation.
@@ -1127,10 +1127,10 @@ function tA() {
1127
1127
  * var hash = hasher.finalize('message');
1128
1128
  * var hash = hasher.finalize(wordArray);
1129
1129
  */
1130
- finalize: function(b) {
1131
- b && this._append(b);
1132
- var s = this._doFinalize();
1133
- return s;
1130
+ finalize: function(c) {
1131
+ c && this._append(c);
1132
+ var q = this._doFinalize();
1133
+ return q;
1134
1134
  },
1135
1135
  blockSize: 16,
1136
1136
  /**
@@ -1146,9 +1146,9 @@ function tA() {
1146
1146
  *
1147
1147
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
1148
1148
  */
1149
- _createHelper: function(b) {
1150
- return function(s, p) {
1151
- return new b.init(p).finalize(s);
1149
+ _createHelper: function(c) {
1150
+ return function(q, p) {
1151
+ return new c.init(p).finalize(q);
1152
1152
  };
1153
1153
  },
1154
1154
  /**
@@ -1164,9 +1164,9 @@ function tA() {
1164
1164
  *
1165
1165
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
1166
1166
  */
1167
- _createHmacHelper: function(b) {
1168
- return function(s, p) {
1169
- return new H.HMAC.init(b, p).finalize(s);
1167
+ _createHmacHelper: function(c) {
1168
+ return function(q, p) {
1169
+ return new H.HMAC.init(c, p).finalize(q);
1170
1170
  };
1171
1171
  }
1172
1172
  });
@@ -1549,12 +1549,12 @@ function H9() {
1549
1549
  var n = d.words, u = d.sigBytes, x = this._map;
1550
1550
  d.clamp();
1551
1551
  for (var X = [], i = 0; i < u; i += 3)
1552
- for (var a = n[i >>> 2] >>> 24 - i % 4 * 8 & 255, q = n[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255, c = n[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, H = a << 16 | q << 8 | c, b = 0; b < 4 && i + b * 0.75 < u; b++)
1553
- X.push(x.charAt(H >>> 6 * (3 - b) & 63));
1554
- var s = x.charAt(64);
1555
- if (s)
1552
+ for (var a = n[i >>> 2] >>> 24 - i % 4 * 8 & 255, s = n[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255, b = n[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, H = a << 16 | s << 8 | b, c = 0; c < 4 && i + c * 0.75 < u; c++)
1553
+ X.push(x.charAt(H >>> 6 * (3 - c) & 63));
1554
+ var q = x.charAt(64);
1555
+ if (q)
1556
1556
  for (; X.length % 4; )
1557
- X.push(s);
1557
+ X.push(q);
1558
1558
  return X.join("");
1559
1559
  },
1560
1560
  /**
@@ -1589,8 +1589,8 @@ function H9() {
1589
1589
  function z(d, n, u) {
1590
1590
  for (var x = [], X = 0, i = 0; i < n; i++)
1591
1591
  if (i % 4) {
1592
- var a = u[d.charCodeAt(i - 1)] << i % 4 * 2, q = u[d.charCodeAt(i)] >>> 6 - i % 4 * 2, c = a | q;
1593
- x[X >>> 2] |= c << 24 - X % 4 * 8, X++;
1592
+ var a = u[d.charCodeAt(i - 1)] << i % 4 * 2, s = u[d.charCodeAt(i)] >>> 6 - i % 4 * 2, b = a | s;
1593
+ x[X >>> 2] |= b << 24 - X % 4 * 8, X++;
1594
1594
  }
1595
1595
  return P.create(x, X);
1596
1596
  }
@@ -1627,8 +1627,8 @@ function dP() {
1627
1627
  var u = d.words, x = d.sigBytes, X = n ? this._safe_map : this._map;
1628
1628
  d.clamp();
1629
1629
  for (var i = [], a = 0; a < x; a += 3)
1630
- for (var q = u[a >>> 2] >>> 24 - a % 4 * 8 & 255, c = u[a + 1 >>> 2] >>> 24 - (a + 1) % 4 * 8 & 255, H = u[a + 2 >>> 2] >>> 24 - (a + 2) % 4 * 8 & 255, b = q << 16 | c << 8 | H, s = 0; s < 4 && a + s * 0.75 < x; s++)
1631
- i.push(X.charAt(b >>> 6 * (3 - s) & 63));
1630
+ for (var s = u[a >>> 2] >>> 24 - a % 4 * 8 & 255, b = u[a + 1 >>> 2] >>> 24 - (a + 1) % 4 * 8 & 255, H = u[a + 2 >>> 2] >>> 24 - (a + 2) % 4 * 8 & 255, c = s << 16 | b << 8 | H, q = 0; q < 4 && a + q * 0.75 < x; q++)
1631
+ i.push(X.charAt(c >>> 6 * (3 - q) & 63));
1632
1632
  var p = X.charAt(64);
1633
1633
  if (p)
1634
1634
  for (; i.length % 4; )
@@ -1660,8 +1660,8 @@ function dP() {
1660
1660
  }
1661
1661
  var a = x.charAt(64);
1662
1662
  if (a) {
1663
- var q = d.indexOf(a);
1664
- q !== -1 && (u = q);
1663
+ var s = d.indexOf(a);
1664
+ s !== -1 && (u = s);
1665
1665
  }
1666
1666
  return z(d, u, X);
1667
1667
  },
@@ -1671,8 +1671,8 @@ function dP() {
1671
1671
  function z(d, n, u) {
1672
1672
  for (var x = [], X = 0, i = 0; i < n; i++)
1673
1673
  if (i % 4) {
1674
- var a = u[d.charCodeAt(i - 1)] << i % 4 * 2, q = u[d.charCodeAt(i)] >>> 6 - i % 4 * 2, c = a | q;
1675
- x[X >>> 2] |= c << 24 - X % 4 * 8, X++;
1674
+ var a = u[d.charCodeAt(i - 1)] << i % 4 * 2, s = u[d.charCodeAt(i)] >>> 6 - i % 4 * 2, b = a | s;
1675
+ x[X >>> 2] |= b << 24 - X % 4 * 8, X++;
1676
1676
  }
1677
1677
  return P.create(x, X);
1678
1678
  }
@@ -1689,8 +1689,8 @@ function p9() {
1689
1689
  return function(v) {
1690
1690
  var r = f, P = r.lib, t = P.WordArray, z = P.Hasher, d = r.algo, n = [];
1691
1691
  (function() {
1692
- for (var q = 0; q < 64; q++)
1693
- n[q] = v.abs(v.sin(q + 1)) * 4294967296 | 0;
1692
+ for (var s = 0; s < 64; s++)
1693
+ n[s] = v.abs(v.sin(s + 1)) * 4294967296 | 0;
1694
1694
  })();
1695
1695
  var u = d.MD5 = z.extend({
1696
1696
  _doReset: function() {
@@ -1701,19 +1701,19 @@ function p9() {
1701
1701
  271733878
1702
1702
  ]);
1703
1703
  },
1704
- _doProcessBlock: function(q, c) {
1704
+ _doProcessBlock: function(s, b) {
1705
1705
  for (var H = 0; H < 16; H++) {
1706
- var b = c + H, s = q[b];
1707
- q[b] = (s << 8 | s >>> 24) & 16711935 | (s << 24 | s >>> 8) & 4278255360;
1706
+ var c = b + H, q = s[c];
1707
+ s[c] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360;
1708
1708
  }
1709
- var p = this._hash.words, m = q[c + 0], V = q[c + 1], R = q[c + 2], l = q[c + 3], j = q[c + 4], O = q[c + 5], N = q[c + 6], Z = q[c + 7], T = q[c + 8], Q = q[c + 9], h = q[c + 10], _ = q[c + 11], G = q[c + 12], Y = q[c + 13], S = q[c + 14], C = q[c + 15], L = p[0], W = p[1], E = p[2], w = p[3];
1709
+ var p = this._hash.words, m = s[b + 0], V = s[b + 1], R = s[b + 2], l = s[b + 3], j = s[b + 4], O = s[b + 5], N = s[b + 6], Z = s[b + 7], T = s[b + 8], Q = s[b + 9], h = s[b + 10], _ = s[b + 11], G = s[b + 12], Y = s[b + 13], S = s[b + 14], C = s[b + 15], L = p[0], W = p[1], E = p[2], w = p[3];
1710
1710
  L = x(L, W, E, w, m, 7, n[0]), w = x(w, L, W, E, V, 12, n[1]), E = x(E, w, L, W, R, 17, n[2]), W = x(W, E, w, L, l, 22, n[3]), L = x(L, W, E, w, j, 7, n[4]), w = x(w, L, W, E, O, 12, n[5]), E = x(E, w, L, W, N, 17, n[6]), W = x(W, E, w, L, Z, 22, n[7]), L = x(L, W, E, w, T, 7, n[8]), w = x(w, L, W, E, Q, 12, n[9]), E = x(E, w, L, W, h, 17, n[10]), W = x(W, E, w, L, _, 22, n[11]), L = x(L, W, E, w, G, 7, n[12]), w = x(w, L, W, E, Y, 12, n[13]), E = x(E, w, L, W, S, 17, n[14]), W = x(W, E, w, L, C, 22, n[15]), L = X(L, W, E, w, V, 5, n[16]), w = X(w, L, W, E, N, 9, n[17]), E = X(E, w, L, W, _, 14, n[18]), W = X(W, E, w, L, m, 20, n[19]), L = X(L, W, E, w, O, 5, n[20]), w = X(w, L, W, E, h, 9, n[21]), E = X(E, w, L, W, C, 14, n[22]), W = X(W, E, w, L, j, 20, n[23]), L = X(L, W, E, w, Q, 5, n[24]), w = X(w, L, W, E, S, 9, n[25]), E = X(E, w, L, W, l, 14, n[26]), W = X(W, E, w, L, T, 20, n[27]), L = X(L, W, E, w, Y, 5, n[28]), w = X(w, L, W, E, R, 9, n[29]), E = X(E, w, L, W, Z, 14, n[30]), W = X(W, E, w, L, G, 20, n[31]), L = i(L, W, E, w, O, 4, n[32]), w = i(w, L, W, E, T, 11, n[33]), E = i(E, w, L, W, _, 16, n[34]), W = i(W, E, w, L, S, 23, n[35]), L = i(L, W, E, w, V, 4, n[36]), w = i(w, L, W, E, j, 11, n[37]), E = i(E, w, L, W, Z, 16, n[38]), W = i(W, E, w, L, h, 23, n[39]), L = i(L, W, E, w, Y, 4, n[40]), w = i(w, L, W, E, m, 11, n[41]), E = i(E, w, L, W, l, 16, n[42]), W = i(W, E, w, L, N, 23, n[43]), L = i(L, W, E, w, Q, 4, n[44]), w = i(w, L, W, E, G, 11, n[45]), E = i(E, w, L, W, C, 16, n[46]), W = i(W, E, w, L, R, 23, n[47]), L = a(L, W, E, w, m, 6, n[48]), w = a(w, L, W, E, Z, 10, n[49]), E = a(E, w, L, W, S, 15, n[50]), W = a(W, E, w, L, O, 21, n[51]), L = a(L, W, E, w, G, 6, n[52]), w = a(w, L, W, E, l, 10, n[53]), E = a(E, w, L, W, h, 15, n[54]), W = a(W, E, w, L, V, 21, n[55]), L = a(L, W, E, w, T, 6, n[56]), w = a(w, L, W, E, C, 10, n[57]), E = a(E, w, L, W, N, 15, n[58]), W = a(W, E, w, L, Y, 21, n[59]), L = a(L, W, E, w, j, 6, n[60]), w = a(w, L, W, E, _, 10, n[61]), E = a(E, w, L, W, R, 15, n[62]), W = a(W, E, w, L, Q, 21, n[63]), p[0] = p[0] + L | 0, p[1] = p[1] + W | 0, p[2] = p[2] + E | 0, p[3] = p[3] + w | 0;
1711
1711
  },
1712
1712
  _doFinalize: function() {
1713
- var q = this._data, c = q.words, H = this._nDataBytes * 8, b = q.sigBytes * 8;
1714
- c[b >>> 5] |= 128 << 24 - b % 32;
1715
- var s = v.floor(H / 4294967296), p = H;
1716
- c[(b + 64 >>> 9 << 4) + 15] = (s << 8 | s >>> 24) & 16711935 | (s << 24 | s >>> 8) & 4278255360, c[(b + 64 >>> 9 << 4) + 14] = (p << 8 | p >>> 24) & 16711935 | (p << 24 | p >>> 8) & 4278255360, q.sigBytes = (c.length + 1) * 4, this._process();
1713
+ var s = this._data, b = s.words, H = this._nDataBytes * 8, c = s.sigBytes * 8;
1714
+ b[c >>> 5] |= 128 << 24 - c % 32;
1715
+ var q = v.floor(H / 4294967296), p = H;
1716
+ b[(c + 64 >>> 9 << 4) + 15] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, b[(c + 64 >>> 9 << 4) + 14] = (p << 8 | p >>> 24) & 16711935 | (p << 24 | p >>> 8) & 4278255360, s.sigBytes = (b.length + 1) * 4, this._process();
1717
1717
  for (var m = this._hash, V = m.words, R = 0; R < 4; R++) {
1718
1718
  var l = V[R];
1719
1719
  V[R] = (l << 8 | l >>> 24) & 16711935 | (l << 24 | l >>> 8) & 4278255360;
@@ -1721,25 +1721,25 @@ function p9() {
1721
1721
  return m;
1722
1722
  },
1723
1723
  clone: function() {
1724
- var q = z.clone.call(this);
1725
- return q._hash = this._hash.clone(), q;
1724
+ var s = z.clone.call(this);
1725
+ return s._hash = this._hash.clone(), s;
1726
1726
  }
1727
1727
  });
1728
- function x(q, c, H, b, s, p, m) {
1729
- var V = q + (c & H | ~c & b) + s + m;
1730
- return (V << p | V >>> 32 - p) + c;
1728
+ function x(s, b, H, c, q, p, m) {
1729
+ var V = s + (b & H | ~b & c) + q + m;
1730
+ return (V << p | V >>> 32 - p) + b;
1731
1731
  }
1732
- function X(q, c, H, b, s, p, m) {
1733
- var V = q + (c & b | H & ~b) + s + m;
1734
- return (V << p | V >>> 32 - p) + c;
1732
+ function X(s, b, H, c, q, p, m) {
1733
+ var V = s + (b & c | H & ~c) + q + m;
1734
+ return (V << p | V >>> 32 - p) + b;
1735
1735
  }
1736
- function i(q, c, H, b, s, p, m) {
1737
- var V = q + (c ^ H ^ b) + s + m;
1738
- return (V << p | V >>> 32 - p) + c;
1736
+ function i(s, b, H, c, q, p, m) {
1737
+ var V = s + (b ^ H ^ c) + q + m;
1738
+ return (V << p | V >>> 32 - p) + b;
1739
1739
  }
1740
- function a(q, c, H, b, s, p, m) {
1741
- var V = q + (H ^ (c | ~b)) + s + m;
1742
- return (V << p | V >>> 32 - p) + c;
1740
+ function a(s, b, H, c, q, p, m) {
1741
+ var V = s + (H ^ (b | ~c)) + q + m;
1742
+ return (V << p | V >>> 32 - p) + b;
1743
1743
  }
1744
1744
  r.MD5 = z._createHelper(u), r.HmacMD5 = z._createHmacHelper(u);
1745
1745
  }(Math), f.MD5;
@@ -1764,17 +1764,17 @@ function zv() {
1764
1764
  ]);
1765
1765
  },
1766
1766
  _doProcessBlock: function(u, x) {
1767
- for (var X = this._hash.words, i = X[0], a = X[1], q = X[2], c = X[3], H = X[4], b = 0; b < 80; b++) {
1768
- if (b < 16)
1769
- d[b] = u[x + b] | 0;
1767
+ for (var X = this._hash.words, i = X[0], a = X[1], s = X[2], b = X[3], H = X[4], c = 0; c < 80; c++) {
1768
+ if (c < 16)
1769
+ d[c] = u[x + c] | 0;
1770
1770
  else {
1771
- var s = d[b - 3] ^ d[b - 8] ^ d[b - 14] ^ d[b - 16];
1772
- d[b] = s << 1 | s >>> 31;
1771
+ var q = d[c - 3] ^ d[c - 8] ^ d[c - 14] ^ d[c - 16];
1772
+ d[c] = q << 1 | q >>> 31;
1773
1773
  }
1774
- var p = (i << 5 | i >>> 27) + H + d[b];
1775
- b < 20 ? p += (a & q | ~a & c) + 1518500249 : b < 40 ? p += (a ^ q ^ c) + 1859775393 : b < 60 ? p += (a & q | a & c | q & c) - 1894007588 : p += (a ^ q ^ c) - 899497514, H = c, c = q, q = a << 30 | a >>> 2, a = i, i = p;
1774
+ var p = (i << 5 | i >>> 27) + H + d[c];
1775
+ c < 20 ? p += (a & s | ~a & b) + 1518500249 : c < 40 ? p += (a ^ s ^ b) + 1859775393 : c < 60 ? p += (a & s | a & b | s & b) - 1894007588 : p += (a ^ s ^ b) - 899497514, H = b, b = s, s = a << 30 | a >>> 2, a = i, i = p;
1776
1776
  }
1777
- X[0] = X[0] + i | 0, X[1] = X[1] + a | 0, X[2] = X[2] + q | 0, X[3] = X[3] + c | 0, X[4] = X[4] + H | 0;
1777
+ X[0] = X[0] + i | 0, X[1] = X[1] + a | 0, X[2] = X[2] + s | 0, X[3] = X[3] + b | 0, X[4] = X[4] + H | 0;
1778
1778
  },
1779
1779
  _doFinalize: function() {
1780
1780
  var u = this._data, x = u.words, X = this._nDataBytes * 8, i = u.sigBytes * 8;
@@ -1800,37 +1800,37 @@ function Be() {
1800
1800
  var r = f, P = r.lib, t = P.WordArray, z = P.Hasher, d = r.algo, n = [], u = [];
1801
1801
  (function() {
1802
1802
  function i(H) {
1803
- for (var b = v.sqrt(H), s = 2; s <= b; s++)
1804
- if (!(H % s))
1803
+ for (var c = v.sqrt(H), q = 2; q <= c; q++)
1804
+ if (!(H % q))
1805
1805
  return !1;
1806
1806
  return !0;
1807
1807
  }
1808
1808
  function a(H) {
1809
1809
  return (H - (H | 0)) * 4294967296 | 0;
1810
1810
  }
1811
- for (var q = 2, c = 0; c < 64; )
1812
- i(q) && (c < 8 && (n[c] = a(v.pow(q, 1 / 2))), u[c] = a(v.pow(q, 1 / 3)), c++), q++;
1811
+ for (var s = 2, b = 0; b < 64; )
1812
+ i(s) && (b < 8 && (n[b] = a(v.pow(s, 1 / 2))), u[b] = a(v.pow(s, 1 / 3)), b++), s++;
1813
1813
  })();
1814
1814
  var x = [], X = d.SHA256 = z.extend({
1815
1815
  _doReset: function() {
1816
1816
  this._hash = new t.init(n.slice(0));
1817
1817
  },
1818
1818
  _doProcessBlock: function(i, a) {
1819
- for (var q = this._hash.words, c = q[0], H = q[1], b = q[2], s = q[3], p = q[4], m = q[5], V = q[6], R = q[7], l = 0; l < 64; l++) {
1819
+ for (var s = this._hash.words, b = s[0], H = s[1], c = s[2], q = s[3], p = s[4], m = s[5], V = s[6], R = s[7], l = 0; l < 64; l++) {
1820
1820
  if (l < 16)
1821
1821
  x[l] = i[a + l] | 0;
1822
1822
  else {
1823
1823
  var j = x[l - 15], O = (j << 25 | j >>> 7) ^ (j << 14 | j >>> 18) ^ j >>> 3, N = x[l - 2], Z = (N << 15 | N >>> 17) ^ (N << 13 | N >>> 19) ^ N >>> 10;
1824
1824
  x[l] = O + x[l - 7] + Z + x[l - 16];
1825
1825
  }
1826
- var T = p & m ^ ~p & V, Q = c & H ^ c & b ^ H & b, h = (c << 30 | c >>> 2) ^ (c << 19 | c >>> 13) ^ (c << 10 | c >>> 22), _ = (p << 26 | p >>> 6) ^ (p << 21 | p >>> 11) ^ (p << 7 | p >>> 25), G = R + _ + T + u[l] + x[l], Y = h + Q;
1827
- R = V, V = m, m = p, p = s + G | 0, s = b, b = H, H = c, c = G + Y | 0;
1826
+ var T = p & m ^ ~p & V, Q = b & H ^ b & c ^ H & c, h = (b << 30 | b >>> 2) ^ (b << 19 | b >>> 13) ^ (b << 10 | b >>> 22), _ = (p << 26 | p >>> 6) ^ (p << 21 | p >>> 11) ^ (p << 7 | p >>> 25), G = R + _ + T + u[l] + x[l], Y = h + Q;
1827
+ R = V, V = m, m = p, p = q + G | 0, q = c, c = H, H = b, b = G + Y | 0;
1828
1828
  }
1829
- q[0] = q[0] + c | 0, q[1] = q[1] + H | 0, q[2] = q[2] + b | 0, q[3] = q[3] + s | 0, q[4] = q[4] + p | 0, q[5] = q[5] + m | 0, q[6] = q[6] + V | 0, q[7] = q[7] + R | 0;
1829
+ s[0] = s[0] + b | 0, s[1] = s[1] + H | 0, s[2] = s[2] + c | 0, s[3] = s[3] + q | 0, s[4] = s[4] + p | 0, s[5] = s[5] + m | 0, s[6] = s[6] + V | 0, s[7] = s[7] + R | 0;
1830
1830
  },
1831
1831
  _doFinalize: function() {
1832
- var i = this._data, a = i.words, q = this._nDataBytes * 8, c = i.sigBytes * 8;
1833
- return a[c >>> 5] |= 128 << 24 - c % 32, a[(c + 64 >>> 9 << 4) + 14] = v.floor(q / 4294967296), a[(c + 64 >>> 9 << 4) + 15] = q, i.sigBytes = a.length * 4, this._process(), this._hash;
1832
+ var i = this._data, a = i.words, s = this._nDataBytes * 8, b = i.sigBytes * 8;
1833
+ return a[b >>> 5] |= 128 << 24 - b % 32, a[(b + 64 >>> 9 << 4) + 14] = v.floor(s / 4294967296), a[(b + 64 >>> 9 << 4) + 15] = s, i.sigBytes = a.length * 4, this._process(), this._hash;
1834
1834
  },
1835
1835
  clone: function() {
1836
1836
  var i = z.clone.call(this);
@@ -1982,25 +1982,25 @@ function dv() {
1982
1982
  new z.init(1541459225, 327033209)
1983
1983
  ]);
1984
1984
  },
1985
- _doProcessBlock: function(a, q) {
1986
- for (var c = this._hash.words, H = c[0], b = c[1], s = c[2], p = c[3], m = c[4], V = c[5], R = c[6], l = c[7], j = H.high, O = H.low, N = b.high, Z = b.low, T = s.high, Q = s.low, h = p.high, _ = p.low, G = m.high, Y = m.low, S = V.high, C = V.low, L = R.high, W = R.low, E = l.high, w = l.low, zA = j, dA = O, lA = N, K = Z, $ = T, eA = Q, d9 = h, J = _, I = G, g = Y, LA = S, CA = C, vf = L, I9 = W, Lf = E, M9 = w, JA = 0; JA < 80; JA++) {
1987
- var UA, v9, nf = X[JA];
1985
+ _doProcessBlock: function(a, s) {
1986
+ for (var b = this._hash.words, H = b[0], c = b[1], q = b[2], p = b[3], m = b[4], V = b[5], R = b[6], l = b[7], j = H.high, O = H.low, N = c.high, Z = c.low, T = q.high, Q = q.low, h = p.high, _ = p.low, G = m.high, Y = m.low, S = V.high, C = V.low, L = R.high, W = R.low, E = l.high, w = l.low, zA = j, dA = O, lA = N, K = Z, $ = T, eA = Q, d9 = h, J = _, I = G, g = Y, LA = S, CA = C, vf = L, I9 = W, Lf = E, M9 = w, JA = 0; JA < 80; JA++) {
1987
+ var GA, v9, nf = X[JA];
1988
1988
  if (JA < 16)
1989
- v9 = nf.high = a[q + JA * 2] | 0, UA = nf.low = a[q + JA * 2 + 1] | 0;
1989
+ v9 = nf.high = a[s + JA * 2] | 0, GA = nf.low = a[s + JA * 2 + 1] | 0;
1990
1990
  else {
1991
1991
  var A7 = X[JA - 15], l9 = A7.high, g9 = A7.low, _v = (l9 >>> 1 | g9 << 31) ^ (l9 >>> 8 | g9 << 24) ^ l9 >>> 7, f7 = (g9 >>> 1 | l9 << 31) ^ (g9 >>> 8 | l9 << 24) ^ (g9 >>> 7 | l9 << 25), e7 = X[JA - 2], D9 = e7.high, B9 = e7.low, $v = (D9 >>> 19 | B9 << 13) ^ (D9 << 3 | B9 >>> 29) ^ D9 >>> 6, v7 = (B9 >>> 19 | D9 << 13) ^ (B9 << 3 | D9 >>> 29) ^ (B9 >>> 6 | D9 << 26), n7 = X[JA - 7], An = n7.high, fn = n7.low, r7 = X[JA - 16], en = r7.high, P7 = r7.low;
1992
- UA = f7 + fn, v9 = _v + An + (UA >>> 0 < f7 >>> 0 ? 1 : 0), UA = UA + v7, v9 = v9 + $v + (UA >>> 0 < v7 >>> 0 ? 1 : 0), UA = UA + P7, v9 = v9 + en + (UA >>> 0 < P7 >>> 0 ? 1 : 0), nf.high = v9, nf.low = UA;
1992
+ GA = f7 + fn, v9 = _v + An + (GA >>> 0 < f7 >>> 0 ? 1 : 0), GA = GA + v7, v9 = v9 + $v + (GA >>> 0 < v7 >>> 0 ? 1 : 0), GA = GA + P7, v9 = v9 + en + (GA >>> 0 < P7 >>> 0 ? 1 : 0), nf.high = v9, nf.low = GA;
1993
1993
  }
1994
- var vn = I & LA ^ ~I & vf, t7 = g & CA ^ ~g & I9, nn = zA & lA ^ zA & $ ^ lA & $, rn = dA & K ^ dA & eA ^ K & eA, Pn = (zA >>> 28 | dA << 4) ^ (zA << 30 | dA >>> 2) ^ (zA << 25 | dA >>> 7), u7 = (dA >>> 28 | zA << 4) ^ (dA << 30 | zA >>> 2) ^ (dA << 25 | zA >>> 7), tn = (I >>> 14 | g << 18) ^ (I >>> 18 | g << 14) ^ (I << 23 | g >>> 9), un = (g >>> 14 | I << 18) ^ (g >>> 18 | I << 14) ^ (g << 23 | I >>> 9), z7 = x[JA], zn = z7.high, d7 = z7.low, BA = M9 + un, n9 = Lf + tn + (BA >>> 0 < M9 >>> 0 ? 1 : 0), BA = BA + t7, n9 = n9 + vn + (BA >>> 0 < t7 >>> 0 ? 1 : 0), BA = BA + d7, n9 = n9 + zn + (BA >>> 0 < d7 >>> 0 ? 1 : 0), BA = BA + UA, n9 = n9 + v9 + (BA >>> 0 < UA >>> 0 ? 1 : 0), X7 = u7 + rn, dn = Pn + nn + (X7 >>> 0 < u7 >>> 0 ? 1 : 0);
1994
+ var vn = I & LA ^ ~I & vf, t7 = g & CA ^ ~g & I9, nn = zA & lA ^ zA & $ ^ lA & $, rn = dA & K ^ dA & eA ^ K & eA, Pn = (zA >>> 28 | dA << 4) ^ (zA << 30 | dA >>> 2) ^ (zA << 25 | dA >>> 7), u7 = (dA >>> 28 | zA << 4) ^ (dA << 30 | zA >>> 2) ^ (dA << 25 | zA >>> 7), tn = (I >>> 14 | g << 18) ^ (I >>> 18 | g << 14) ^ (I << 23 | g >>> 9), un = (g >>> 14 | I << 18) ^ (g >>> 18 | I << 14) ^ (g << 23 | I >>> 9), z7 = x[JA], zn = z7.high, d7 = z7.low, BA = M9 + un, n9 = Lf + tn + (BA >>> 0 < M9 >>> 0 ? 1 : 0), BA = BA + t7, n9 = n9 + vn + (BA >>> 0 < t7 >>> 0 ? 1 : 0), BA = BA + d7, n9 = n9 + zn + (BA >>> 0 < d7 >>> 0 ? 1 : 0), BA = BA + GA, n9 = n9 + v9 + (BA >>> 0 < GA >>> 0 ? 1 : 0), X7 = u7 + rn, dn = Pn + nn + (X7 >>> 0 < u7 >>> 0 ? 1 : 0);
1995
1995
  Lf = vf, M9 = I9, vf = LA, I9 = CA, LA = I, CA = g, g = J + BA | 0, I = d9 + n9 + (g >>> 0 < J >>> 0 ? 1 : 0) | 0, d9 = $, J = eA, $ = lA, eA = K, lA = zA, K = dA, dA = BA + X7 | 0, zA = n9 + dn + (dA >>> 0 < BA >>> 0 ? 1 : 0) | 0;
1996
1996
  }
1997
- O = H.low = O + dA, H.high = j + zA + (O >>> 0 < dA >>> 0 ? 1 : 0), Z = b.low = Z + K, b.high = N + lA + (Z >>> 0 < K >>> 0 ? 1 : 0), Q = s.low = Q + eA, s.high = T + $ + (Q >>> 0 < eA >>> 0 ? 1 : 0), _ = p.low = _ + J, p.high = h + d9 + (_ >>> 0 < J >>> 0 ? 1 : 0), Y = m.low = Y + g, m.high = G + I + (Y >>> 0 < g >>> 0 ? 1 : 0), C = V.low = C + CA, V.high = S + LA + (C >>> 0 < CA >>> 0 ? 1 : 0), W = R.low = W + I9, R.high = L + vf + (W >>> 0 < I9 >>> 0 ? 1 : 0), w = l.low = w + M9, l.high = E + Lf + (w >>> 0 < M9 >>> 0 ? 1 : 0);
1997
+ O = H.low = O + dA, H.high = j + zA + (O >>> 0 < dA >>> 0 ? 1 : 0), Z = c.low = Z + K, c.high = N + lA + (Z >>> 0 < K >>> 0 ? 1 : 0), Q = q.low = Q + eA, q.high = T + $ + (Q >>> 0 < eA >>> 0 ? 1 : 0), _ = p.low = _ + J, p.high = h + d9 + (_ >>> 0 < J >>> 0 ? 1 : 0), Y = m.low = Y + g, m.high = G + I + (Y >>> 0 < g >>> 0 ? 1 : 0), C = V.low = C + CA, V.high = S + LA + (C >>> 0 < CA >>> 0 ? 1 : 0), W = R.low = W + I9, R.high = L + vf + (W >>> 0 < I9 >>> 0 ? 1 : 0), w = l.low = w + M9, l.high = E + Lf + (w >>> 0 < M9 >>> 0 ? 1 : 0);
1998
1998
  },
1999
1999
  _doFinalize: function() {
2000
- var a = this._data, q = a.words, c = this._nDataBytes * 8, H = a.sigBytes * 8;
2001
- q[H >>> 5] |= 128 << 24 - H % 32, q[(H + 128 >>> 10 << 5) + 30] = Math.floor(c / 4294967296), q[(H + 128 >>> 10 << 5) + 31] = c, a.sigBytes = q.length * 4, this._process();
2002
- var b = this._hash.toX32();
2003
- return b;
2000
+ var a = this._data, s = a.words, b = this._nDataBytes * 8, H = a.sigBytes * 8;
2001
+ s[H >>> 5] |= 128 << 24 - H % 32, s[(H + 128 >>> 10 << 5) + 30] = Math.floor(b / 4294967296), s[(H + 128 >>> 10 << 5) + 31] = b, a.sigBytes = s.length * 4, this._process();
2002
+ var c = this._hash.toX32();
2003
+ return c;
2004
2004
  },
2005
2005
  clone: function() {
2006
2006
  var a = P.clone.call(this);
@@ -2052,14 +2052,14 @@ function cP() {
2052
2052
  return function(v) {
2053
2053
  var r = f, P = r.lib, t = P.WordArray, z = P.Hasher, d = r.x64, n = d.Word, u = r.algo, x = [], X = [], i = [];
2054
2054
  (function() {
2055
- for (var c = 1, H = 0, b = 0; b < 24; b++) {
2056
- x[c + 5 * H] = (b + 1) * (b + 2) / 2 % 64;
2057
- var s = H % 5, p = (2 * c + 3 * H) % 5;
2058
- c = s, H = p;
2055
+ for (var b = 1, H = 0, c = 0; c < 24; c++) {
2056
+ x[b + 5 * H] = (c + 1) * (c + 2) / 2 % 64;
2057
+ var q = H % 5, p = (2 * b + 3 * H) % 5;
2058
+ b = q, H = p;
2059
2059
  }
2060
- for (var c = 0; c < 5; c++)
2060
+ for (var b = 0; b < 5; b++)
2061
2061
  for (var H = 0; H < 5; H++)
2062
- X[c + 5 * H] = H + (2 * c + 3 * H) % 5 * 5;
2062
+ X[b + 5 * H] = H + (2 * b + 3 * H) % 5 * 5;
2063
2063
  for (var m = 1, V = 0; V < 24; V++) {
2064
2064
  for (var R = 0, l = 0, j = 0; j < 7; j++) {
2065
2065
  if (m & 1) {
@@ -2073,10 +2073,10 @@ function cP() {
2073
2073
  })();
2074
2074
  var a = [];
2075
2075
  (function() {
2076
- for (var c = 0; c < 25; c++)
2077
- a[c] = n.create();
2076
+ for (var b = 0; b < 25; b++)
2077
+ a[b] = n.create();
2078
2078
  })();
2079
- var q = u.SHA3 = z.extend({
2079
+ var s = u.SHA3 = z.extend({
2080
2080
  /**
2081
2081
  * Configuration options.
2082
2082
  *
@@ -2089,21 +2089,21 @@ function cP() {
2089
2089
  outputLength: 512
2090
2090
  }),
2091
2091
  _doReset: function() {
2092
- for (var c = this._state = [], H = 0; H < 25; H++)
2093
- c[H] = new n.init();
2092
+ for (var b = this._state = [], H = 0; H < 25; H++)
2093
+ b[H] = new n.init();
2094
2094
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
2095
2095
  },
2096
- _doProcessBlock: function(c, H) {
2097
- for (var b = this._state, s = this.blockSize / 2, p = 0; p < s; p++) {
2098
- var m = c[H + 2 * p], V = c[H + 2 * p + 1];
2096
+ _doProcessBlock: function(b, H) {
2097
+ for (var c = this._state, q = this.blockSize / 2, p = 0; p < q; p++) {
2098
+ var m = b[H + 2 * p], V = b[H + 2 * p + 1];
2099
2099
  m = (m << 8 | m >>> 24) & 16711935 | (m << 24 | m >>> 8) & 4278255360, V = (V << 8 | V >>> 24) & 16711935 | (V << 24 | V >>> 8) & 4278255360;
2100
- var R = b[p];
2100
+ var R = c[p];
2101
2101
  R.high ^= V, R.low ^= m;
2102
2102
  }
2103
2103
  for (var l = 0; l < 24; l++) {
2104
2104
  for (var j = 0; j < 5; j++) {
2105
2105
  for (var O = 0, N = 0, Z = 0; Z < 5; Z++) {
2106
- var R = b[j + 5 * Z];
2106
+ var R = c[j + 5 * Z];
2107
2107
  O ^= R.high, N ^= R.low;
2108
2108
  }
2109
2109
  var T = a[j];
@@ -2111,31 +2111,31 @@ function cP() {
2111
2111
  }
2112
2112
  for (var j = 0; j < 5; j++)
2113
2113
  for (var Q = a[(j + 4) % 5], h = a[(j + 1) % 5], _ = h.high, G = h.low, O = Q.high ^ (_ << 1 | G >>> 31), N = Q.low ^ (G << 1 | _ >>> 31), Z = 0; Z < 5; Z++) {
2114
- var R = b[j + 5 * Z];
2114
+ var R = c[j + 5 * Z];
2115
2115
  R.high ^= O, R.low ^= N;
2116
2116
  }
2117
2117
  for (var Y = 1; Y < 25; Y++) {
2118
- var O, N, R = b[Y], S = R.high, C = R.low, L = x[Y];
2118
+ var O, N, R = c[Y], S = R.high, C = R.low, L = x[Y];
2119
2119
  L < 32 ? (O = S << L | C >>> 32 - L, N = C << L | S >>> 32 - L) : (O = C << L - 32 | S >>> 64 - L, N = S << L - 32 | C >>> 64 - L);
2120
2120
  var W = a[X[Y]];
2121
2121
  W.high = O, W.low = N;
2122
2122
  }
2123
- var E = a[0], w = b[0];
2123
+ var E = a[0], w = c[0];
2124
2124
  E.high = w.high, E.low = w.low;
2125
2125
  for (var j = 0; j < 5; j++)
2126
2126
  for (var Z = 0; Z < 5; Z++) {
2127
- var Y = j + 5 * Z, R = b[Y], zA = a[Y], dA = a[(j + 1) % 5 + 5 * Z], lA = a[(j + 2) % 5 + 5 * Z];
2127
+ var Y = j + 5 * Z, R = c[Y], zA = a[Y], dA = a[(j + 1) % 5 + 5 * Z], lA = a[(j + 2) % 5 + 5 * Z];
2128
2128
  R.high = zA.high ^ ~dA.high & lA.high, R.low = zA.low ^ ~dA.low & lA.low;
2129
2129
  }
2130
- var R = b[0], K = i[l];
2130
+ var R = c[0], K = i[l];
2131
2131
  R.high ^= K.high, R.low ^= K.low;
2132
2132
  }
2133
2133
  },
2134
2134
  _doFinalize: function() {
2135
- var c = this._data, H = c.words;
2135
+ var b = this._data, H = b.words;
2136
2136
  this._nDataBytes * 8;
2137
- var b = c.sigBytes * 8, s = this.blockSize * 32;
2138
- H[b >>> 5] |= 1 << 24 - b % 32, H[(v.ceil((b + 1) / s) * s >>> 5) - 1] |= 128, c.sigBytes = H.length * 4, this._process();
2137
+ var c = b.sigBytes * 8, q = this.blockSize * 32;
2138
+ H[c >>> 5] |= 1 << 24 - c % 32, H[(v.ceil((c + 1) / q) * q >>> 5) - 1] |= 128, b.sigBytes = H.length * 4, this._process();
2139
2139
  for (var p = this._state, m = this.cfg.outputLength / 8, V = m / 8, R = [], l = 0; l < V; l++) {
2140
2140
  var j = p[l], O = j.high, N = j.low;
2141
2141
  O = (O << 8 | O >>> 24) & 16711935 | (O << 24 | O >>> 8) & 4278255360, N = (N << 8 | N >>> 24) & 16711935 | (N << 24 | N >>> 8) & 4278255360, R.push(N), R.push(O);
@@ -2143,12 +2143,12 @@ function cP() {
2143
2143
  return new t.init(R, m);
2144
2144
  },
2145
2145
  clone: function() {
2146
- for (var c = z.clone.call(this), H = c._state = this._state.slice(0), b = 0; b < 25; b++)
2147
- H[b] = H[b].clone();
2148
- return c;
2146
+ for (var b = z.clone.call(this), H = b._state = this._state.slice(0), c = 0; c < 25; c++)
2147
+ H[c] = H[c].clone();
2148
+ return b;
2149
2149
  }
2150
2150
  });
2151
- r.SHA3 = z._createHelper(q), r.HmacSHA3 = z._createHmacHelper(q);
2151
+ r.SHA3 = z._createHelper(s), r.HmacSHA3 = z._createHmacHelper(s);
2152
2152
  }(Math), f.SHA3;
2153
2153
  });
2154
2154
  }(Jf)), Jf.exports;
@@ -2494,7 +2494,7 @@ function aP() {
2494
2494
  13,
2495
2495
  11,
2496
2496
  11
2497
- ]), i = t.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), a = t.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), q = d.RIPEMD160 = z.extend({
2497
+ ]), i = t.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), a = t.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), s = d.RIPEMD160 = z.extend({
2498
2498
  _doReset: function() {
2499
2499
  this._hash = t.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2500
2500
  },
@@ -2506,7 +2506,7 @@ function aP() {
2506
2506
  var N = this._hash.words, Z = i.words, T = a.words, Q = n.words, h = u.words, _ = x.words, G = X.words, Y, S, C, L, W, E, w, zA, dA, lA;
2507
2507
  E = Y = N[0], w = S = N[1], zA = C = N[2], dA = L = N[3], lA = W = N[4];
2508
2508
  for (var K, l = 0; l < 80; l += 1)
2509
- K = Y + V[R + Q[l]] | 0, l < 16 ? K += c(S, C, L) + Z[0] : l < 32 ? K += H(S, C, L) + Z[1] : l < 48 ? K += b(S, C, L) + Z[2] : l < 64 ? K += s(S, C, L) + Z[3] : K += p(S, C, L) + Z[4], K = K | 0, K = m(K, _[l]), K = K + W | 0, Y = W, W = L, L = m(C, 10), C = S, S = K, K = E + V[R + h[l]] | 0, l < 16 ? K += p(w, zA, dA) + T[0] : l < 32 ? K += s(w, zA, dA) + T[1] : l < 48 ? K += b(w, zA, dA) + T[2] : l < 64 ? K += H(w, zA, dA) + T[3] : K += c(w, zA, dA) + T[4], K = K | 0, K = m(K, G[l]), K = K + lA | 0, E = lA, lA = dA, dA = m(zA, 10), zA = w, w = K;
2509
+ K = Y + V[R + Q[l]] | 0, l < 16 ? K += b(S, C, L) + Z[0] : l < 32 ? K += H(S, C, L) + Z[1] : l < 48 ? K += c(S, C, L) + Z[2] : l < 64 ? K += q(S, C, L) + Z[3] : K += p(S, C, L) + Z[4], K = K | 0, K = m(K, _[l]), K = K + W | 0, Y = W, W = L, L = m(C, 10), C = S, S = K, K = E + V[R + h[l]] | 0, l < 16 ? K += p(w, zA, dA) + T[0] : l < 32 ? K += q(w, zA, dA) + T[1] : l < 48 ? K += c(w, zA, dA) + T[2] : l < 64 ? K += H(w, zA, dA) + T[3] : K += b(w, zA, dA) + T[4], K = K | 0, K = m(K, G[l]), K = K + lA | 0, E = lA, lA = dA, dA = m(zA, 10), zA = w, w = K;
2510
2510
  K = N[1] + C + dA | 0, N[1] = N[2] + L + lA | 0, N[2] = N[3] + W + E | 0, N[3] = N[4] + Y + w | 0, N[4] = N[0] + S + zA | 0, N[0] = K;
2511
2511
  },
2512
2512
  _doFinalize: function() {
@@ -2523,16 +2523,16 @@ function aP() {
2523
2523
  return V._hash = this._hash.clone(), V;
2524
2524
  }
2525
2525
  });
2526
- function c(V, R, l) {
2526
+ function b(V, R, l) {
2527
2527
  return V ^ R ^ l;
2528
2528
  }
2529
2529
  function H(V, R, l) {
2530
2530
  return V & R | ~V & l;
2531
2531
  }
2532
- function b(V, R, l) {
2532
+ function c(V, R, l) {
2533
2533
  return (V | ~R) ^ l;
2534
2534
  }
2535
- function s(V, R, l) {
2535
+ function q(V, R, l) {
2536
2536
  return V & l | R & ~l;
2537
2537
  }
2538
2538
  function p(V, R, l) {
@@ -2541,7 +2541,7 @@ function aP() {
2541
2541
  function m(V, R) {
2542
2542
  return V << R | V >>> 32 - R;
2543
2543
  }
2544
- r.RIPEMD160 = z._createHelper(q), r.HmacRIPEMD160 = z._createHmacHelper(q);
2544
+ r.RIPEMD160 = z._createHelper(s), r.HmacRIPEMD160 = z._createHmacHelper(s);
2545
2545
  }(), f.RIPEMD160;
2546
2546
  });
2547
2547
  }(Ff)), Ff.exports;
@@ -2569,8 +2569,8 @@ function ke() {
2569
2569
  n = this._hasher = new n.init(), typeof u == "string" && (u = z.parse(u));
2570
2570
  var x = n.blockSize, X = x * 4;
2571
2571
  u.sigBytes > X && (u = n.finalize(u)), u.clamp();
2572
- for (var i = this._oKey = u.clone(), a = this._iKey = u.clone(), q = i.words, c = a.words, H = 0; H < x; H++)
2573
- q[H] ^= 1549556828, c[H] ^= 909522486;
2572
+ for (var i = this._oKey = u.clone(), a = this._iKey = u.clone(), s = i.words, b = a.words, H = 0; H < x; H++)
2573
+ s[H] ^= 1549556828, b[H] ^= 909522486;
2574
2574
  i.sigBytes = a.sigBytes = X, this.reset();
2575
2575
  },
2576
2576
  /**
@@ -2671,17 +2671,17 @@ function iP() {
2671
2671
  * var key = kdf.compute(password, salt);
2672
2672
  */
2673
2673
  compute: function(x, X) {
2674
- for (var i = this.cfg, a = n.create(i.hasher, x), q = t.create(), c = t.create([1]), H = q.words, b = c.words, s = i.keySize, p = i.iterations; H.length < s; ) {
2675
- var m = a.update(X).finalize(c);
2674
+ for (var i = this.cfg, a = n.create(i.hasher, x), s = t.create(), b = t.create([1]), H = s.words, c = b.words, q = i.keySize, p = i.iterations; H.length < q; ) {
2675
+ var m = a.update(X).finalize(b);
2676
2676
  a.reset();
2677
2677
  for (var V = m.words, R = V.length, l = m, j = 1; j < p; j++) {
2678
2678
  l = a.finalize(l), a.reset();
2679
2679
  for (var O = l.words, N = 0; N < R; N++)
2680
2680
  V[N] ^= O[N];
2681
2681
  }
2682
- q.concat(m), b[0]++;
2682
+ s.concat(m), c[0]++;
2683
2683
  }
2684
- return q.sigBytes = s * 4, q;
2684
+ return s.sigBytes = q * 4, s;
2685
2685
  }
2686
2686
  });
2687
2687
  v.PBKDF2 = function(x, X, i) {
@@ -2738,13 +2738,13 @@ function z9() {
2738
2738
  * var key = kdf.compute(password, salt);
2739
2739
  */
2740
2740
  compute: function(u, x) {
2741
- for (var X, i = this.cfg, a = i.hasher.create(), q = t.create(), c = q.words, H = i.keySize, b = i.iterations; c.length < H; ) {
2741
+ for (var X, i = this.cfg, a = i.hasher.create(), s = t.create(), b = s.words, H = i.keySize, c = i.iterations; b.length < H; ) {
2742
2742
  X && a.update(X), X = a.update(u).finalize(x), a.reset();
2743
- for (var s = 1; s < b; s++)
2743
+ for (var q = 1; q < c; q++)
2744
2744
  X = a.finalize(X), a.reset();
2745
- q.concat(X);
2745
+ s.concat(X);
2746
2746
  }
2747
- return q.sigBytes = H * 4, q;
2747
+ return s.sigBytes = H * 4, s;
2748
2748
  }
2749
2749
  });
2750
2750
  v.EvpKDF = function(u, x, X) {
@@ -2902,7 +2902,7 @@ function VA() {
2902
2902
  },
2903
2903
  blockSize: 1
2904
2904
  });
2905
- var a = r.mode = {}, q = P.BlockCipherMode = t.extend({
2905
+ var a = r.mode = {}, s = P.BlockCipherMode = t.extend({
2906
2906
  /**
2907
2907
  * Creates this mode for encryption.
2908
2908
  *
@@ -2946,8 +2946,8 @@ function VA() {
2946
2946
  init: function(O, N) {
2947
2947
  this._cipher = O, this._iv = N;
2948
2948
  }
2949
- }), c = a.CBC = function() {
2950
- var O = q.extend();
2949
+ }), b = a.CBC = function() {
2950
+ var O = s.extend();
2951
2951
  O.Encryptor = O.extend({
2952
2952
  /**
2953
2953
  * Processes the data block at offset.
@@ -2986,7 +2986,7 @@ function VA() {
2986
2986
  Z[T + G] ^= h[G];
2987
2987
  }
2988
2988
  return O;
2989
- }(), H = r.pad = {}, b = H.Pkcs7 = {
2989
+ }(), H = r.pad = {}, c = H.Pkcs7 = {
2990
2990
  /**
2991
2991
  * Pads data using the algorithm defined in PKCS #5/7.
2992
2992
  *
@@ -3029,8 +3029,8 @@ function VA() {
3029
3029
  * @property {Padding} padding The padding strategy to use. Default: Pkcs7
3030
3030
  */
3031
3031
  cfg: i.cfg.extend({
3032
- mode: c,
3033
- padding: b
3032
+ mode: b,
3033
+ padding: c
3034
3034
  }),
3035
3035
  reset: function() {
3036
3036
  var O;
@@ -3047,7 +3047,7 @@ function VA() {
3047
3047
  },
3048
3048
  blockSize: 128 / 32
3049
3049
  });
3050
- var s = P.CipherParams = t.extend({
3050
+ var q = P.CipherParams = t.extend({
3051
3051
  /**
3052
3052
  * Initializes a newly created cipher params object.
3053
3053
  *
@@ -3121,7 +3121,7 @@ function VA() {
3121
3121
  */
3122
3122
  parse: function(O) {
3123
3123
  var N, Z = u.parse(O), T = Z.words;
3124
- return T[0] == 1398893684 && T[1] == 1701076831 && (N = z.create(T.slice(2, 4)), T.splice(0, 4), Z.sigBytes -= 16), s.create({ ciphertext: Z, salt: N });
3124
+ return T[0] == 1398893684 && T[1] == 1701076831 && (N = z.create(T.slice(2, 4)), T.splice(0, 4), Z.sigBytes -= 16), q.create({ ciphertext: Z, salt: N });
3125
3125
  }
3126
3126
  }, V = P.SerializableCipher = t.extend({
3127
3127
  /**
@@ -3153,7 +3153,7 @@ function VA() {
3153
3153
  encrypt: function(O, N, Z, T) {
3154
3154
  T = this.cfg.extend(T);
3155
3155
  var Q = O.createEncryptor(Z, T), h = Q.finalize(N), _ = Q.cfg;
3156
- return s.create({
3156
+ return q.create({
3157
3157
  ciphertext: h,
3158
3158
  key: Z,
3159
3159
  iv: _.iv,
@@ -3228,7 +3228,7 @@ function VA() {
3228
3228
  else
3229
3229
  var h = X.create({ keySize: N + Z }).compute(O, T);
3230
3230
  var _ = z.create(h.words.slice(N), Z * 4);
3231
- return h.sigBytes = N * 4, s.create({ key: h, iv: _, salt: T });
3231
+ return h.sigBytes = N * 4, q.create({ key: h, iv: _, salt: T });
3232
3232
  }
3233
3233
  }, j = P.PasswordBasedCipher = V.extend({
3234
3234
  /**
@@ -3570,55 +3570,55 @@ function RP() {
3570
3570
  e.exports = v(tA(), H9(), p9(), z9(), VA());
3571
3571
  })(PA, function(f) {
3572
3572
  return function() {
3573
- var v = f, r = v.lib, P = r.BlockCipher, t = v.algo, z = [], d = [], n = [], u = [], x = [], X = [], i = [], a = [], q = [], c = [];
3573
+ var v = f, r = v.lib, P = r.BlockCipher, t = v.algo, z = [], d = [], n = [], u = [], x = [], X = [], i = [], a = [], s = [], b = [];
3574
3574
  (function() {
3575
- for (var s = [], p = 0; p < 256; p++)
3576
- p < 128 ? s[p] = p << 1 : s[p] = p << 1 ^ 283;
3575
+ for (var q = [], p = 0; p < 256; p++)
3576
+ p < 128 ? q[p] = p << 1 : q[p] = p << 1 ^ 283;
3577
3577
  for (var m = 0, V = 0, p = 0; p < 256; p++) {
3578
3578
  var R = V ^ V << 1 ^ V << 2 ^ V << 3 ^ V << 4;
3579
3579
  R = R >>> 8 ^ R & 255 ^ 99, z[m] = R, d[R] = m;
3580
- var l = s[m], j = s[l], O = s[j], N = s[R] * 257 ^ R * 16843008;
3580
+ var l = q[m], j = q[l], O = q[j], N = q[R] * 257 ^ R * 16843008;
3581
3581
  n[m] = N << 24 | N >>> 8, u[m] = N << 16 | N >>> 16, x[m] = N << 8 | N >>> 24, X[m] = N;
3582
3582
  var N = O * 16843009 ^ j * 65537 ^ l * 257 ^ m * 16843008;
3583
- i[R] = N << 24 | N >>> 8, a[R] = N << 16 | N >>> 16, q[R] = N << 8 | N >>> 24, c[R] = N, m ? (m = l ^ s[s[s[O ^ l]]], V ^= s[s[V]]) : m = V = 1;
3583
+ i[R] = N << 24 | N >>> 8, a[R] = N << 16 | N >>> 16, s[R] = N << 8 | N >>> 24, b[R] = N, m ? (m = l ^ q[q[q[O ^ l]]], V ^= q[q[V]]) : m = V = 1;
3584
3584
  }
3585
3585
  })();
3586
- var H = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], b = t.AES = P.extend({
3586
+ var H = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], c = t.AES = P.extend({
3587
3587
  _doReset: function() {
3588
- var s;
3588
+ var q;
3589
3589
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
3590
3590
  for (var p = this._keyPriorReset = this._key, m = p.words, V = p.sigBytes / 4, R = this._nRounds = V + 6, l = (R + 1) * 4, j = this._keySchedule = [], O = 0; O < l; O++)
3591
- O < V ? j[O] = m[O] : (s = j[O - 1], O % V ? V > 6 && O % V == 4 && (s = z[s >>> 24] << 24 | z[s >>> 16 & 255] << 16 | z[s >>> 8 & 255] << 8 | z[s & 255]) : (s = s << 8 | s >>> 24, s = z[s >>> 24] << 24 | z[s >>> 16 & 255] << 16 | z[s >>> 8 & 255] << 8 | z[s & 255], s ^= H[O / V | 0] << 24), j[O] = j[O - V] ^ s);
3591
+ O < V ? j[O] = m[O] : (q = j[O - 1], O % V ? V > 6 && O % V == 4 && (q = z[q >>> 24] << 24 | z[q >>> 16 & 255] << 16 | z[q >>> 8 & 255] << 8 | z[q & 255]) : (q = q << 8 | q >>> 24, q = z[q >>> 24] << 24 | z[q >>> 16 & 255] << 16 | z[q >>> 8 & 255] << 8 | z[q & 255], q ^= H[O / V | 0] << 24), j[O] = j[O - V] ^ q);
3592
3592
  for (var N = this._invKeySchedule = [], Z = 0; Z < l; Z++) {
3593
3593
  var O = l - Z;
3594
3594
  if (Z % 4)
3595
- var s = j[O];
3595
+ var q = j[O];
3596
3596
  else
3597
- var s = j[O - 4];
3598
- Z < 4 || O <= 4 ? N[Z] = s : N[Z] = i[z[s >>> 24]] ^ a[z[s >>> 16 & 255]] ^ q[z[s >>> 8 & 255]] ^ c[z[s & 255]];
3597
+ var q = j[O - 4];
3598
+ Z < 4 || O <= 4 ? N[Z] = q : N[Z] = i[z[q >>> 24]] ^ a[z[q >>> 16 & 255]] ^ s[z[q >>> 8 & 255]] ^ b[z[q & 255]];
3599
3599
  }
3600
3600
  }
3601
3601
  },
3602
- encryptBlock: function(s, p) {
3603
- this._doCryptBlock(s, p, this._keySchedule, n, u, x, X, z);
3602
+ encryptBlock: function(q, p) {
3603
+ this._doCryptBlock(q, p, this._keySchedule, n, u, x, X, z);
3604
3604
  },
3605
- decryptBlock: function(s, p) {
3606
- var m = s[p + 1];
3607
- s[p + 1] = s[p + 3], s[p + 3] = m, this._doCryptBlock(s, p, this._invKeySchedule, i, a, q, c, d);
3608
- var m = s[p + 1];
3609
- s[p + 1] = s[p + 3], s[p + 3] = m;
3605
+ decryptBlock: function(q, p) {
3606
+ var m = q[p + 1];
3607
+ q[p + 1] = q[p + 3], q[p + 3] = m, this._doCryptBlock(q, p, this._invKeySchedule, i, a, s, b, d);
3608
+ var m = q[p + 1];
3609
+ q[p + 1] = q[p + 3], q[p + 3] = m;
3610
3610
  },
3611
- _doCryptBlock: function(s, p, m, V, R, l, j, O) {
3612
- for (var N = this._nRounds, Z = s[p] ^ m[0], T = s[p + 1] ^ m[1], Q = s[p + 2] ^ m[2], h = s[p + 3] ^ m[3], _ = 4, G = 1; G < N; G++) {
3611
+ _doCryptBlock: function(q, p, m, V, R, l, j, O) {
3612
+ for (var N = this._nRounds, Z = q[p] ^ m[0], T = q[p + 1] ^ m[1], Q = q[p + 2] ^ m[2], h = q[p + 3] ^ m[3], _ = 4, G = 1; G < N; G++) {
3613
3613
  var Y = V[Z >>> 24] ^ R[T >>> 16 & 255] ^ l[Q >>> 8 & 255] ^ j[h & 255] ^ m[_++], S = V[T >>> 24] ^ R[Q >>> 16 & 255] ^ l[h >>> 8 & 255] ^ j[Z & 255] ^ m[_++], C = V[Q >>> 24] ^ R[h >>> 16 & 255] ^ l[Z >>> 8 & 255] ^ j[T & 255] ^ m[_++], L = V[h >>> 24] ^ R[Z >>> 16 & 255] ^ l[T >>> 8 & 255] ^ j[Q & 255] ^ m[_++];
3614
3614
  Z = Y, T = S, Q = C, h = L;
3615
3615
  }
3616
3616
  var Y = (O[Z >>> 24] << 24 | O[T >>> 16 & 255] << 16 | O[Q >>> 8 & 255] << 8 | O[h & 255]) ^ m[_++], S = (O[T >>> 24] << 24 | O[Q >>> 16 & 255] << 16 | O[h >>> 8 & 255] << 8 | O[Z & 255]) ^ m[_++], C = (O[Q >>> 24] << 24 | O[h >>> 16 & 255] << 16 | O[Z >>> 8 & 255] << 8 | O[T & 255]) ^ m[_++], L = (O[h >>> 24] << 24 | O[Z >>> 16 & 255] << 16 | O[T >>> 8 & 255] << 8 | O[Q & 255]) ^ m[_++];
3617
- s[p] = Y, s[p + 1] = S, s[p + 2] = C, s[p + 3] = L;
3617
+ q[p] = Y, q[p + 1] = S, q[p + 2] = C, q[p + 3] = L;
3618
3618
  },
3619
3619
  keySize: 256 / 32
3620
3620
  });
3621
- v.AES = P._createHelper(b);
3621
+ v.AES = P._createHelper(c);
3622
3622
  }(), f.AES;
3623
3623
  });
3624
3624
  }(ze)), ze.exports;
@@ -4276,13 +4276,13 @@ function jP() {
4276
4276
  2147483679
4277
4277
  ], i = z.DES = t.extend({
4278
4278
  _doReset: function() {
4279
- for (var H = this._key, b = H.words, s = [], p = 0; p < 56; p++) {
4279
+ for (var H = this._key, c = H.words, q = [], p = 0; p < 56; p++) {
4280
4280
  var m = d[p] - 1;
4281
- s[p] = b[m >>> 5] >>> 31 - m % 32 & 1;
4281
+ q[p] = c[m >>> 5] >>> 31 - m % 32 & 1;
4282
4282
  }
4283
4283
  for (var V = this._subKeys = [], R = 0; R < 16; R++) {
4284
4284
  for (var l = V[R] = [], j = u[R], p = 0; p < 24; p++)
4285
- l[p / 6 | 0] |= s[(n[p] - 1 + j) % 28] << 31 - p % 6, l[4 + (p / 6 | 0)] |= s[28 + (n[p + 24] - 1 + j) % 28] << 31 - p % 6;
4285
+ l[p / 6 | 0] |= q[(n[p] - 1 + j) % 28] << 31 - p % 6, l[4 + (p / 6 | 0)] |= q[28 + (n[p + 24] - 1 + j) % 28] << 31 - p % 6;
4286
4286
  l[0] = l[0] << 1 | l[0] >>> 31;
4287
4287
  for (var p = 1; p < 7; p++)
4288
4288
  l[p] = l[p] >>> (p - 1) * 4 + 3;
@@ -4291,54 +4291,54 @@ function jP() {
4291
4291
  for (var O = this._invSubKeys = [], p = 0; p < 16; p++)
4292
4292
  O[p] = V[15 - p];
4293
4293
  },
4294
- encryptBlock: function(H, b) {
4295
- this._doCryptBlock(H, b, this._subKeys);
4294
+ encryptBlock: function(H, c) {
4295
+ this._doCryptBlock(H, c, this._subKeys);
4296
4296
  },
4297
- decryptBlock: function(H, b) {
4298
- this._doCryptBlock(H, b, this._invSubKeys);
4297
+ decryptBlock: function(H, c) {
4298
+ this._doCryptBlock(H, c, this._invSubKeys);
4299
4299
  },
4300
- _doCryptBlock: function(H, b, s) {
4301
- this._lBlock = H[b], this._rBlock = H[b + 1], a.call(this, 4, 252645135), a.call(this, 16, 65535), q.call(this, 2, 858993459), q.call(this, 8, 16711935), a.call(this, 1, 1431655765);
4300
+ _doCryptBlock: function(H, c, q) {
4301
+ this._lBlock = H[c], this._rBlock = H[c + 1], a.call(this, 4, 252645135), a.call(this, 16, 65535), s.call(this, 2, 858993459), s.call(this, 8, 16711935), a.call(this, 1, 1431655765);
4302
4302
  for (var p = 0; p < 16; p++) {
4303
- for (var m = s[p], V = this._lBlock, R = this._rBlock, l = 0, j = 0; j < 8; j++)
4303
+ for (var m = q[p], V = this._lBlock, R = this._rBlock, l = 0, j = 0; j < 8; j++)
4304
4304
  l |= x[j][((R ^ m[j]) & X[j]) >>> 0];
4305
4305
  this._lBlock = R, this._rBlock = V ^ l;
4306
4306
  }
4307
4307
  var O = this._lBlock;
4308
- this._lBlock = this._rBlock, this._rBlock = O, a.call(this, 1, 1431655765), q.call(this, 8, 16711935), q.call(this, 2, 858993459), a.call(this, 16, 65535), a.call(this, 4, 252645135), H[b] = this._lBlock, H[b + 1] = this._rBlock;
4308
+ this._lBlock = this._rBlock, this._rBlock = O, a.call(this, 1, 1431655765), s.call(this, 8, 16711935), s.call(this, 2, 858993459), a.call(this, 16, 65535), a.call(this, 4, 252645135), H[c] = this._lBlock, H[c + 1] = this._rBlock;
4309
4309
  },
4310
4310
  keySize: 64 / 32,
4311
4311
  ivSize: 64 / 32,
4312
4312
  blockSize: 64 / 32
4313
4313
  });
4314
- function a(H, b) {
4315
- var s = (this._lBlock >>> H ^ this._rBlock) & b;
4316
- this._rBlock ^= s, this._lBlock ^= s << H;
4314
+ function a(H, c) {
4315
+ var q = (this._lBlock >>> H ^ this._rBlock) & c;
4316
+ this._rBlock ^= q, this._lBlock ^= q << H;
4317
4317
  }
4318
- function q(H, b) {
4319
- var s = (this._rBlock >>> H ^ this._lBlock) & b;
4320
- this._lBlock ^= s, this._rBlock ^= s << H;
4318
+ function s(H, c) {
4319
+ var q = (this._rBlock >>> H ^ this._lBlock) & c;
4320
+ this._lBlock ^= q, this._rBlock ^= q << H;
4321
4321
  }
4322
4322
  v.DES = t._createHelper(i);
4323
- var c = z.TripleDES = t.extend({
4323
+ var b = z.TripleDES = t.extend({
4324
4324
  _doReset: function() {
4325
- var H = this._key, b = H.words;
4326
- if (b.length !== 2 && b.length !== 4 && b.length < 6)
4325
+ var H = this._key, c = H.words;
4326
+ if (c.length !== 2 && c.length !== 4 && c.length < 6)
4327
4327
  throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
4328
- var s = b.slice(0, 2), p = b.length < 4 ? b.slice(0, 2) : b.slice(2, 4), m = b.length < 6 ? b.slice(0, 2) : b.slice(4, 6);
4329
- this._des1 = i.createEncryptor(P.create(s)), this._des2 = i.createEncryptor(P.create(p)), this._des3 = i.createEncryptor(P.create(m));
4328
+ var q = c.slice(0, 2), p = c.length < 4 ? c.slice(0, 2) : c.slice(2, 4), m = c.length < 6 ? c.slice(0, 2) : c.slice(4, 6);
4329
+ this._des1 = i.createEncryptor(P.create(q)), this._des2 = i.createEncryptor(P.create(p)), this._des3 = i.createEncryptor(P.create(m));
4330
4330
  },
4331
- encryptBlock: function(H, b) {
4332
- this._des1.encryptBlock(H, b), this._des2.decryptBlock(H, b), this._des3.encryptBlock(H, b);
4331
+ encryptBlock: function(H, c) {
4332
+ this._des1.encryptBlock(H, c), this._des2.decryptBlock(H, c), this._des3.encryptBlock(H, c);
4333
4333
  },
4334
- decryptBlock: function(H, b) {
4335
- this._des3.decryptBlock(H, b), this._des2.encryptBlock(H, b), this._des1.decryptBlock(H, b);
4334
+ decryptBlock: function(H, c) {
4335
+ this._des3.decryptBlock(H, c), this._des2.encryptBlock(H, c), this._des1.decryptBlock(H, c);
4336
4336
  },
4337
4337
  keySize: 192 / 32,
4338
4338
  ivSize: 64 / 32,
4339
4339
  blockSize: 64 / 32
4340
4340
  });
4341
- v.TripleDES = t._createHelper(c);
4341
+ v.TripleDES = t._createHelper(b);
4342
4342
  }(), f.TripleDES;
4343
4343
  });
4344
4344
  }(de)), de.exports;
@@ -4354,11 +4354,11 @@ function ZP() {
4354
4354
  _doReset: function() {
4355
4355
  for (var u = this._key, x = u.words, X = u.sigBytes, i = this._S = [], a = 0; a < 256; a++)
4356
4356
  i[a] = a;
4357
- for (var a = 0, q = 0; a < 256; a++) {
4358
- var c = a % X, H = x[c >>> 2] >>> 24 - c % 4 * 8 & 255;
4359
- q = (q + i[a] + H) % 256;
4360
- var b = i[a];
4361
- i[a] = i[q], i[q] = b;
4357
+ for (var a = 0, s = 0; a < 256; a++) {
4358
+ var b = a % X, H = x[b >>> 2] >>> 24 - b % 4 * 8 & 255;
4359
+ s = (s + i[a] + H) % 256;
4360
+ var c = i[a];
4361
+ i[a] = i[s], i[s] = c;
4362
4362
  }
4363
4363
  this._i = this._j = 0;
4364
4364
  },
@@ -4371,8 +4371,8 @@ function ZP() {
4371
4371
  function d() {
4372
4372
  for (var u = this._S, x = this._i, X = this._j, i = 0, a = 0; a < 4; a++) {
4373
4373
  x = (x + 1) % 256, X = (X + u[x]) % 256;
4374
- var q = u[x];
4375
- u[x] = u[X], u[X] = q, i |= u[(u[x] + u[X]) % 256] << 24 - a * 8;
4374
+ var s = u[x];
4375
+ u[x] = u[X], u[X] = s, i |= u[(u[x] + u[X]) % 256] << 24 - a * 8;
4376
4376
  }
4377
4377
  return this._i = x, this._j = X, i;
4378
4378
  }
@@ -4408,7 +4408,7 @@ function TP() {
4408
4408
  _doReset: function() {
4409
4409
  for (var X = this._key.words, i = this.cfg.iv, a = 0; a < 4; a++)
4410
4410
  X[a] = (X[a] << 8 | X[a] >>> 24) & 16711935 | (X[a] << 24 | X[a] >>> 8) & 4278255360;
4411
- var q = this._X = [
4411
+ var s = this._X = [
4412
4412
  X[0],
4413
4413
  X[3] << 16 | X[2] >>> 16,
4414
4414
  X[1],
@@ -4417,7 +4417,7 @@ function TP() {
4417
4417
  X[1] << 16 | X[0] >>> 16,
4418
4418
  X[3],
4419
4419
  X[2] << 16 | X[1] >>> 16
4420
- ], c = this._C = [
4420
+ ], b = this._C = [
4421
4421
  X[2] << 16 | X[2] >>> 16,
4422
4422
  X[0] & 4294901760 | X[1] & 65535,
4423
4423
  X[3] << 16 | X[3] >>> 16,
@@ -4431,10 +4431,10 @@ function TP() {
4431
4431
  for (var a = 0; a < 4; a++)
4432
4432
  x.call(this);
4433
4433
  for (var a = 0; a < 8; a++)
4434
- c[a] ^= q[a + 4 & 7];
4434
+ b[a] ^= s[a + 4 & 7];
4435
4435
  if (i) {
4436
- var H = i.words, b = H[0], s = H[1], p = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, m = (s << 8 | s >>> 24) & 16711935 | (s << 24 | s >>> 8) & 4278255360, V = p >>> 16 | m & 4294901760, R = m << 16 | p & 65535;
4437
- c[0] ^= p, c[1] ^= V, c[2] ^= m, c[3] ^= R, c[4] ^= p, c[5] ^= V, c[6] ^= m, c[7] ^= R;
4436
+ var H = i.words, c = H[0], q = H[1], p = (c << 8 | c >>> 24) & 16711935 | (c << 24 | c >>> 8) & 4278255360, m = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, V = p >>> 16 | m & 4294901760, R = m << 16 | p & 65535;
4437
+ b[0] ^= p, b[1] ^= V, b[2] ^= m, b[3] ^= R, b[4] ^= p, b[5] ^= V, b[6] ^= m, b[7] ^= R;
4438
4438
  for (var a = 0; a < 4; a++)
4439
4439
  x.call(this);
4440
4440
  }
@@ -4442,8 +4442,8 @@ function TP() {
4442
4442
  _doProcessBlock: function(X, i) {
4443
4443
  var a = this._X;
4444
4444
  x.call(this), z[0] = a[0] ^ a[5] >>> 16 ^ a[3] << 16, z[1] = a[2] ^ a[7] >>> 16 ^ a[5] << 16, z[2] = a[4] ^ a[1] >>> 16 ^ a[7] << 16, z[3] = a[6] ^ a[3] >>> 16 ^ a[1] << 16;
4445
- for (var q = 0; q < 4; q++)
4446
- z[q] = (z[q] << 8 | z[q] >>> 24) & 16711935 | (z[q] << 24 | z[q] >>> 8) & 4278255360, X[i + q] ^= z[q];
4445
+ for (var s = 0; s < 4; s++)
4446
+ z[s] = (z[s] << 8 | z[s] >>> 24) & 16711935 | (z[s] << 24 | z[s] >>> 8) & 4278255360, X[i + s] ^= z[s];
4447
4447
  },
4448
4448
  blockSize: 128 / 32,
4449
4449
  ivSize: 64 / 32
@@ -4453,8 +4453,8 @@ function TP() {
4453
4453
  d[a] = i[a];
4454
4454
  i[0] = i[0] + 1295307597 + this._b | 0, i[1] = i[1] + 3545052371 + (i[0] >>> 0 < d[0] >>> 0 ? 1 : 0) | 0, i[2] = i[2] + 886263092 + (i[1] >>> 0 < d[1] >>> 0 ? 1 : 0) | 0, i[3] = i[3] + 1295307597 + (i[2] >>> 0 < d[2] >>> 0 ? 1 : 0) | 0, i[4] = i[4] + 3545052371 + (i[3] >>> 0 < d[3] >>> 0 ? 1 : 0) | 0, i[5] = i[5] + 886263092 + (i[4] >>> 0 < d[4] >>> 0 ? 1 : 0) | 0, i[6] = i[6] + 1295307597 + (i[5] >>> 0 < d[5] >>> 0 ? 1 : 0) | 0, i[7] = i[7] + 3545052371 + (i[6] >>> 0 < d[6] >>> 0 ? 1 : 0) | 0, this._b = i[7] >>> 0 < d[7] >>> 0 ? 1 : 0;
4455
4455
  for (var a = 0; a < 8; a++) {
4456
- var q = X[a] + i[a], c = q & 65535, H = q >>> 16, b = ((c * c >>> 17) + c * H >>> 15) + H * H, s = ((q & 4294901760) * q | 0) + ((q & 65535) * q | 0);
4457
- n[a] = b ^ s;
4456
+ var s = X[a] + i[a], b = s & 65535, H = s >>> 16, c = ((b * b >>> 17) + b * H >>> 15) + H * H, q = ((s & 4294901760) * s | 0) + ((s & 65535) * s | 0);
4457
+ n[a] = c ^ q;
4458
4458
  }
4459
4459
  X[0] = n[0] + (n[7] << 16 | n[7] >>> 16) + (n[6] << 16 | n[6] >>> 16) | 0, X[1] = n[1] + (n[0] << 8 | n[0] >>> 24) + n[7] | 0, X[2] = n[2] + (n[1] << 16 | n[1] >>> 16) + (n[0] << 16 | n[0] >>> 16) | 0, X[3] = n[3] + (n[2] << 8 | n[2] >>> 24) + n[1] | 0, X[4] = n[4] + (n[3] << 16 | n[3] >>> 16) + (n[2] << 16 | n[2] >>> 16) | 0, X[5] = n[5] + (n[4] << 8 | n[4] >>> 24) + n[3] | 0, X[6] = n[6] + (n[5] << 16 | n[5] >>> 16) + (n[4] << 16 | n[4] >>> 16) | 0, X[7] = n[7] + (n[6] << 8 | n[6] >>> 24) + n[5] | 0;
4460
4460
  }
@@ -4481,7 +4481,7 @@ function oP() {
4481
4481
  X[1] << 16 | X[0] >>> 16,
4482
4482
  X[3],
4483
4483
  X[2] << 16 | X[1] >>> 16
4484
- ], q = this._C = [
4484
+ ], s = this._C = [
4485
4485
  X[2] << 16 | X[2] >>> 16,
4486
4486
  X[0] & 4294901760 | X[1] & 65535,
4487
4487
  X[3] << 16 | X[3] >>> 16,
@@ -4492,22 +4492,22 @@ function oP() {
4492
4492
  X[3] & 4294901760 | X[0] & 65535
4493
4493
  ];
4494
4494
  this._b = 0;
4495
- for (var c = 0; c < 4; c++)
4495
+ for (var b = 0; b < 4; b++)
4496
4496
  x.call(this);
4497
- for (var c = 0; c < 8; c++)
4498
- q[c] ^= a[c + 4 & 7];
4497
+ for (var b = 0; b < 8; b++)
4498
+ s[b] ^= a[b + 4 & 7];
4499
4499
  if (i) {
4500
- var H = i.words, b = H[0], s = H[1], p = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, m = (s << 8 | s >>> 24) & 16711935 | (s << 24 | s >>> 8) & 4278255360, V = p >>> 16 | m & 4294901760, R = m << 16 | p & 65535;
4501
- q[0] ^= p, q[1] ^= V, q[2] ^= m, q[3] ^= R, q[4] ^= p, q[5] ^= V, q[6] ^= m, q[7] ^= R;
4502
- for (var c = 0; c < 4; c++)
4500
+ var H = i.words, c = H[0], q = H[1], p = (c << 8 | c >>> 24) & 16711935 | (c << 24 | c >>> 8) & 4278255360, m = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, V = p >>> 16 | m & 4294901760, R = m << 16 | p & 65535;
4501
+ s[0] ^= p, s[1] ^= V, s[2] ^= m, s[3] ^= R, s[4] ^= p, s[5] ^= V, s[6] ^= m, s[7] ^= R;
4502
+ for (var b = 0; b < 4; b++)
4503
4503
  x.call(this);
4504
4504
  }
4505
4505
  },
4506
4506
  _doProcessBlock: function(X, i) {
4507
4507
  var a = this._X;
4508
4508
  x.call(this), z[0] = a[0] ^ a[5] >>> 16 ^ a[3] << 16, z[1] = a[2] ^ a[7] >>> 16 ^ a[5] << 16, z[2] = a[4] ^ a[1] >>> 16 ^ a[7] << 16, z[3] = a[6] ^ a[3] >>> 16 ^ a[1] << 16;
4509
- for (var q = 0; q < 4; q++)
4510
- z[q] = (z[q] << 8 | z[q] >>> 24) & 16711935 | (z[q] << 24 | z[q] >>> 8) & 4278255360, X[i + q] ^= z[q];
4509
+ for (var s = 0; s < 4; s++)
4510
+ z[s] = (z[s] << 8 | z[s] >>> 24) & 16711935 | (z[s] << 24 | z[s] >>> 8) & 4278255360, X[i + s] ^= z[s];
4511
4511
  },
4512
4512
  blockSize: 128 / 32,
4513
4513
  ivSize: 64 / 32
@@ -4517,8 +4517,8 @@ function oP() {
4517
4517
  d[a] = i[a];
4518
4518
  i[0] = i[0] + 1295307597 + this._b | 0, i[1] = i[1] + 3545052371 + (i[0] >>> 0 < d[0] >>> 0 ? 1 : 0) | 0, i[2] = i[2] + 886263092 + (i[1] >>> 0 < d[1] >>> 0 ? 1 : 0) | 0, i[3] = i[3] + 1295307597 + (i[2] >>> 0 < d[2] >>> 0 ? 1 : 0) | 0, i[4] = i[4] + 3545052371 + (i[3] >>> 0 < d[3] >>> 0 ? 1 : 0) | 0, i[5] = i[5] + 886263092 + (i[4] >>> 0 < d[4] >>> 0 ? 1 : 0) | 0, i[6] = i[6] + 1295307597 + (i[5] >>> 0 < d[5] >>> 0 ? 1 : 0) | 0, i[7] = i[7] + 3545052371 + (i[6] >>> 0 < d[6] >>> 0 ? 1 : 0) | 0, this._b = i[7] >>> 0 < d[7] >>> 0 ? 1 : 0;
4519
4519
  for (var a = 0; a < 8; a++) {
4520
- var q = X[a] + i[a], c = q & 65535, H = q >>> 16, b = ((c * c >>> 17) + c * H >>> 15) + H * H, s = ((q & 4294901760) * q | 0) + ((q & 65535) * q | 0);
4521
- n[a] = b ^ s;
4520
+ var s = X[a] + i[a], b = s & 65535, H = s >>> 16, c = ((b * b >>> 17) + b * H >>> 15) + H * H, q = ((s & 4294901760) * s | 0) + ((s & 65535) * s | 0);
4521
+ n[a] = c ^ q;
4522
4522
  }
4523
4523
  X[0] = n[0] + (n[7] << 16 | n[7] >>> 16) + (n[6] << 16 | n[6] >>> 16) | 0, X[1] = n[1] + (n[0] << 8 | n[0] >>> 24) + n[7] | 0, X[2] = n[2] + (n[1] << 16 | n[1] >>> 16) + (n[0] << 16 | n[0] >>> 16) | 0, X[3] = n[3] + (n[2] << 8 | n[2] >>> 24) + n[1] | 0, X[4] = n[4] + (n[3] << 16 | n[3] >>> 16) + (n[2] << 16 | n[2] >>> 16) | 0, X[5] = n[5] + (n[4] << 8 | n[4] >>> 24) + n[3] | 0, X[6] = n[6] + (n[5] << 16 | n[5] >>> 16) + (n[4] << 16 | n[4] >>> 16) | 0, X[7] = n[7] + (n[6] << 8 | n[6] >>> 24) + n[5] | 0;
4524
4524
  }
@@ -5592,59 +5592,59 @@ function LP() {
5592
5592
  pbox: [],
5593
5593
  sbox: []
5594
5594
  };
5595
- function x(c, H) {
5596
- let b = H >> 24 & 255, s = H >> 16 & 255, p = H >> 8 & 255, m = H & 255, V = c.sbox[0][b] + c.sbox[1][s];
5597
- return V = V ^ c.sbox[2][p], V = V + c.sbox[3][m], V;
5595
+ function x(b, H) {
5596
+ let c = H >> 24 & 255, q = H >> 16 & 255, p = H >> 8 & 255, m = H & 255, V = b.sbox[0][c] + b.sbox[1][q];
5597
+ return V = V ^ b.sbox[2][p], V = V + b.sbox[3][m], V;
5598
5598
  }
5599
- function X(c, H, b) {
5600
- let s = H, p = b, m;
5599
+ function X(b, H, c) {
5600
+ let q = H, p = c, m;
5601
5601
  for (let V = 0; V < z; ++V)
5602
- s = s ^ c.pbox[V], p = x(c, s) ^ p, m = s, s = p, p = m;
5603
- return m = s, s = p, p = m, p = p ^ c.pbox[z], s = s ^ c.pbox[z + 1], { left: s, right: p };
5602
+ q = q ^ b.pbox[V], p = x(b, q) ^ p, m = q, q = p, p = m;
5603
+ return m = q, q = p, p = m, p = p ^ b.pbox[z], q = q ^ b.pbox[z + 1], { left: q, right: p };
5604
5604
  }
5605
- function i(c, H, b) {
5606
- let s = H, p = b, m;
5605
+ function i(b, H, c) {
5606
+ let q = H, p = c, m;
5607
5607
  for (let V = z + 1; V > 1; --V)
5608
- s = s ^ c.pbox[V], p = x(c, s) ^ p, m = s, s = p, p = m;
5609
- return m = s, s = p, p = m, p = p ^ c.pbox[1], s = s ^ c.pbox[0], { left: s, right: p };
5608
+ q = q ^ b.pbox[V], p = x(b, q) ^ p, m = q, q = p, p = m;
5609
+ return m = q, q = p, p = m, p = p ^ b.pbox[1], q = q ^ b.pbox[0], { left: q, right: p };
5610
5610
  }
5611
- function a(c, H, b) {
5611
+ function a(b, H, c) {
5612
5612
  for (let R = 0; R < 4; R++) {
5613
- c.sbox[R] = [];
5613
+ b.sbox[R] = [];
5614
5614
  for (let l = 0; l < 256; l++)
5615
- c.sbox[R][l] = n[R][l];
5615
+ b.sbox[R][l] = n[R][l];
5616
5616
  }
5617
- let s = 0;
5617
+ let q = 0;
5618
5618
  for (let R = 0; R < z + 2; R++)
5619
- c.pbox[R] = d[R] ^ H[s], s++, s >= b && (s = 0);
5619
+ b.pbox[R] = d[R] ^ H[q], q++, q >= c && (q = 0);
5620
5620
  let p = 0, m = 0, V = 0;
5621
5621
  for (let R = 0; R < z + 2; R += 2)
5622
- V = X(c, p, m), p = V.left, m = V.right, c.pbox[R] = p, c.pbox[R + 1] = m;
5622
+ V = X(b, p, m), p = V.left, m = V.right, b.pbox[R] = p, b.pbox[R + 1] = m;
5623
5623
  for (let R = 0; R < 4; R++)
5624
5624
  for (let l = 0; l < 256; l += 2)
5625
- V = X(c, p, m), p = V.left, m = V.right, c.sbox[R][l] = p, c.sbox[R][l + 1] = m;
5625
+ V = X(b, p, m), p = V.left, m = V.right, b.sbox[R][l] = p, b.sbox[R][l + 1] = m;
5626
5626
  return !0;
5627
5627
  }
5628
- var q = t.Blowfish = P.extend({
5628
+ var s = t.Blowfish = P.extend({
5629
5629
  _doReset: function() {
5630
5630
  if (this._keyPriorReset !== this._key) {
5631
- var c = this._keyPriorReset = this._key, H = c.words, b = c.sigBytes / 4;
5632
- a(u, H, b);
5631
+ var b = this._keyPriorReset = this._key, H = b.words, c = b.sigBytes / 4;
5632
+ a(u, H, c);
5633
5633
  }
5634
5634
  },
5635
- encryptBlock: function(c, H) {
5636
- var b = X(u, c[H], c[H + 1]);
5637
- c[H] = b.left, c[H + 1] = b.right;
5635
+ encryptBlock: function(b, H) {
5636
+ var c = X(u, b[H], b[H + 1]);
5637
+ b[H] = c.left, b[H + 1] = c.right;
5638
5638
  },
5639
- decryptBlock: function(c, H) {
5640
- var b = i(u, c[H], c[H + 1]);
5641
- c[H] = b.left, c[H + 1] = b.right;
5639
+ decryptBlock: function(b, H) {
5640
+ var c = i(u, b[H], b[H + 1]);
5641
+ b[H] = c.left, b[H + 1] = c.right;
5642
5642
  },
5643
5643
  blockSize: 64 / 32,
5644
5644
  keySize: 128 / 32,
5645
5645
  ivSize: 64 / 32
5646
5646
  });
5647
- v.Blowfish = P._createHelper(q);
5647
+ v.Blowfish = P._createHelper(s);
5648
5648
  }(), f.Blowfish;
5649
5649
  });
5650
5650
  }(ae)), ae.exports;
@@ -5781,10 +5781,10 @@ const QP = {
5781
5781
  iso10126: "iso10126",
5782
5782
  ansix923: "ansix923"
5783
5783
  }, r = { hex: "hex", base64: "base64" };
5784
- let P = e.encryptType || "", t = f[P.toLowerCase()], z = e.encryptMode || "", d = e.encryptKey || "", n = e.encryptOffset || "", u = e.encryptPadding || "", x = v[u.toLowerCase()], X = e.codingMode || "", i = r[X.toLowerCase()], q = (Number(e.encryptKeyLength) || 0) / 8;
5785
- return new Promise((c) => {
5786
- t !== "aes" && t !== "des" ? c({ error: "加密类型出错==", value: null }) : QP[t](A, d, { mode: z, keySize: q, padding: x, encoding: i, iv: n }, (H) => {
5787
- c(H);
5784
+ let P = e.encryptType || "", t = f[P.toLowerCase()], z = e.encryptMode || "", d = e.encryptKey || "", n = e.encryptOffset || "", u = e.encryptPadding || "", x = v[u.toLowerCase()], X = e.codingMode || "", i = r[X.toLowerCase()], s = (Number(e.encryptKeyLength) || 0) / 8;
5785
+ return new Promise((b) => {
5786
+ t !== "aes" && t !== "des" ? b({ error: "加密类型出错==", value: null }) : QP[t](A, d, { mode: z, keySize: s, padding: x, encoding: i, iv: n }, (H) => {
5787
+ b(H);
5788
5788
  });
5789
5789
  });
5790
5790
  };
@@ -5807,7 +5807,7 @@ async function sv(e) {
5807
5807
  USER_NICKNAME: v,
5808
5808
  USER_PHONE: r,
5809
5809
  USER_TOKEN: t9(),
5810
- CURRENT_PROJECT: GA().id
5810
+ CURRENT_PROJECT: YA().id
5811
5811
  }[e];
5812
5812
  }
5813
5813
  async function GP(e) {
@@ -5913,7 +5913,7 @@ const qv = async (e, A) => {
5913
5913
  });
5914
5914
  }, vt = async () => {
5915
5915
  const [e, A] = await CP().run({});
5916
- return e ? { personalConfig: null } : (mv(GA().id), kr(A), { personalConfig: A });
5916
+ return e ? { personalConfig: null } : (mv(YA().id), kr(A), { personalConfig: A });
5917
5917
  }, nt = async () => {
5918
5918
  const [e, A] = await _P().run();
5919
5919
  return e ? { tenantConfig: null } : (Qr(A), { tenantConfig: A });
@@ -6479,11 +6479,11 @@ const bf = (e, A = "") => {
6479
6479
  return { left: v, right: r };
6480
6480
  }, Id = (e, A, f) => {
6481
6481
  var x;
6482
- const v = QA(A).filter((X) => X.routeUrl).filter((X) => !(X != null && X.disable) && !(X != null && X.expired)), P = (((x = ZA()) == null ? void 0 : x.tabMap) ?? {})[e] ?? [], { left: t, right: z } = Ed(P, f), d = P.filter((X) => v.find((i) => i.code === X.code)).map((X) => {
6483
- var i;
6482
+ const v = UA(A).filter((X) => X.routeUrl).filter((X) => !(X != null && X.disable) && !(X != null && X.expired)), P = (((x = ZA()) == null ? void 0 : x.tabMap) ?? {})[e] ?? [], { left: t, right: z } = Ed(P, f), d = P.filter((X) => v.find((i) => i.code === X.code)).map((X) => {
6483
+ var i, a;
6484
6484
  return {
6485
6485
  ...X,
6486
- name: ((i = v.find((a) => a.code === X.code)) == null ? void 0 : i.name) ?? X.name
6486
+ name: ((i = v.find((s) => s.code === X.code)) == null ? void 0 : i.tabName) ?? ((a = v.find((s) => s.code === X.code)) == null ? void 0 : a.name) ?? X.name
6487
6487
  };
6488
6488
  });
6489
6489
  if (!t.length && !z.length || !d.length)
@@ -6528,7 +6528,7 @@ const bf = (e, A = "") => {
6528
6528
  });
6529
6529
  if (A || !f || !f.length) return { menus: [], originalMenus: [], err: A };
6530
6530
  Sr(f, e);
6531
- const v = QA(f);
6531
+ const v = UA(f);
6532
6532
  Kr(v, e), _r(v, e);
6533
6533
  let r = Wn(f, (t) => t.isMenu);
6534
6534
  const P = o9(r);
@@ -6536,7 +6536,7 @@ const bf = (e, A = "") => {
6536
6536
  t != null && t.children && t.children.length && (t.originalChildren = o9(t.children)), (t != null && t.expired || t != null && t.disable) && (t.children = []);
6537
6537
  }), { menus: r, originalMenus: P };
6538
6538
  }, Md = async (e) => {
6539
- var X, i, a, q, c;
6539
+ var X, i, a, s, b;
6540
6540
  let { microApp: A = null, menuCode: f = "", menuPath: v = "", route: r = {} } = e;
6541
6541
  const P = ((X = r.meta) == null ? void 0 : X.showLayout) ?? !0;
6542
6542
  let t = ((i = r.query) == null ? void 0 : i.showLayout) ?? !0;
@@ -6546,49 +6546,49 @@ const bf = (e, A = "") => {
6546
6546
  let d = [], n = [];
6547
6547
  const u = uA().subAppList ?? [];
6548
6548
  if (u.length && (d = ((a = u.find((H) => H.code === A.code)) == null ? void 0 : a.menus) ?? []), !d.length) {
6549
- const { menus: H, originalMenus: b } = await Ue(z);
6550
- d = H ?? [], n = b ?? [];
6549
+ const { menus: H, originalMenus: c } = await Ue(z);
6550
+ d = H ?? [], n = c ?? [];
6551
6551
  }
6552
6552
  if (!d.length && (!P || !t))
6553
6553
  return { menuConfig: [], currentApp: null, currentMenu: null, query: null };
6554
6554
  if (A.routeUrl === "iot/iot") {
6555
6555
  const { instanceInfo: H } = await zt();
6556
6556
  if (H) {
6557
- let b = !1;
6557
+ let c = !1;
6558
6558
  d.forEach((p) => {
6559
6559
  p.routeUrl === "/deviceInstance" && (p.fixed = !0, p.divise = !0, p.menuCode = p.code, p.tagName = p.tabName = M("实例"), p.name = H.instanceName, p.leftIcon = "change2", p.rightIcon = "change2");
6560
6560
  });
6561
- const s = yn(H.endTime) || H.endTime == 0 || H.endTime === 253370736e6 || H.endTime === "253370736000000" ? "-" : Number(H.endTime);
6562
- if (b = le().endOf("day") > le(s).endOf("day"), !f && !v && H.id && !b) {
6563
- const m = QA(d).find((V) => V.routeUrl === "/statisticalReport");
6561
+ const q = yn(H.endTime) || H.endTime == 0 || H.endTime === 253370736e6 || H.endTime === "253370736000000" ? "-" : Number(H.endTime);
6562
+ if (c = le().endOf("day") > le(q).endOf("day"), !f && !v && H.id && !c) {
6563
+ const m = UA(d).find((V) => V.routeUrl === "/statisticalReport");
6564
6564
  m && (f = m.code);
6565
6565
  }
6566
6566
  }
6567
6567
  }
6568
6568
  if (P && t) {
6569
- const b = ((q = (ZA().tabMap ?? {})[A.code]) == null ? void 0 : q.map((s) => {
6570
- var p;
6569
+ const H = UA(d), q = ((s = (ZA().tabMap ?? {})[A.code]) == null ? void 0 : s.map((p) => {
6570
+ var m, V;
6571
6571
  return {
6572
- ...s,
6573
- name: ((p = QA(d).find((m) => m.code === s.code)) == null ? void 0 : p.name) ?? s.name
6572
+ ...p,
6573
+ name: ((m = H.find((R) => R.code === p.code)) == null ? void 0 : m.tabName) ?? ((V = H.find((R) => R.code === p.code)) == null ? void 0 : V.name) ?? p.name
6574
6574
  };
6575
6575
  })) ?? [];
6576
- if (b.length) {
6577
- const s = b.filter(
6578
- (p) => f && f === p.code || v && v === `/${p.applicationPath}${p.path}`.replace(/\/\//g, "/") || QA(d).map((m) => m.code).includes(p.code)
6576
+ if (q.length) {
6577
+ const p = q.filter(
6578
+ (m) => f && f === m.code || v && v === `/${m.applicationPath}${m.path}`.replace(/\/\//g, "/") || H.map((V) => V.code).includes(m.code)
6579
6579
  );
6580
6580
  IA([
6581
6581
  {
6582
6582
  key: `tabMap:${A.code}`,
6583
- value: s
6583
+ value: p
6584
6584
  }
6585
6585
  ]);
6586
6586
  }
6587
6587
  }
6588
6588
  if (!f && v) {
6589
- const H = QA(d).find((b) => {
6590
- const s = `/${b.applicationPath}${b.routeUrl}`.replace(/\/\//g, "/");
6591
- return b.applicationPath && b.routeUrl && (v === s || v.startsWith(`/${s}/`));
6589
+ const H = UA(d).find((c) => {
6590
+ const q = `/${c.applicationPath}${c.routeUrl}`.replace(/\/\//g, "/");
6591
+ return c.applicationPath && c.routeUrl && (v === q || v.startsWith(`/${q}/`));
6592
6592
  });
6593
6593
  if (H)
6594
6594
  f = H.code;
@@ -6605,15 +6605,15 @@ const bf = (e, A = "") => {
6605
6605
  if (!P || !t)
6606
6606
  return { menuConfig: d, currentApp: null, currentMenu: null, query: { ...r.query, app: z } };
6607
6607
  const H = Id(A.code, d, f);
6608
- H != null && H.currentApp && (A = H.currentApp), H != null && H.currentMenu && (x = H.currentMenu), H != null && H.currentTab && (r.query = ((c = H.currentTab) == null ? void 0 : c.query) ?? {});
6608
+ H != null && H.currentApp && (A = H.currentApp), H != null && H.currentMenu && (x = H.currentMenu), H != null && H.currentTab && (r.query = ((b = H.currentTab) == null ? void 0 : b.query) ?? {});
6609
6609
  }
6610
6610
  if ((A == null ? void 0 : A.routeUrl) === RA)
6611
6611
  return { menuConfig: [], currentApp: A, currentMenu: null, query: null };
6612
6612
  if (x) {
6613
6613
  const H = `/${x.applicationPath}${x.routeUrl}`;
6614
- let b = "";
6615
- v && v.startsWith(H) && v !== H && (b = v);
6616
- const s = { ...r.query, app: z, menu: x.code };
6614
+ let c = "";
6615
+ v && v.startsWith(H) && v !== H && (c = v);
6616
+ const q = { ...r.query, app: z, menu: x.code };
6617
6617
  if (P && t) {
6618
6618
  const p = { ...A, currentMenuCode: x.code, menus: d, originalMenus: n };
6619
6619
  MA([
@@ -6629,7 +6629,7 @@ const bf = (e, A = "") => {
6629
6629
  code: x.code,
6630
6630
  name: (x == null ? void 0 : x.tabName) ?? x.name,
6631
6631
  path: x.routeUrl,
6632
- query: s
6632
+ query: q
6633
6633
  };
6634
6634
  IA([
6635
6635
  {
@@ -6650,7 +6650,7 @@ const bf = (e, A = "") => {
6650
6650
  }
6651
6651
  ]);
6652
6652
  }
6653
- return { menuConfig: d, currentApp: A, currentMenu: x, query: s, microPath: b };
6653
+ return { menuConfig: d, currentApp: A, currentMenu: x, query: q, microPath: c };
6654
6654
  }
6655
6655
  return { menuConfig: d, currentApp: A, currentMenu: null, query: { ...r.query, app: z } };
6656
6656
  }, gd = f9.get("/appcategory"), Bd = f9.get("/app/common"), N3 = o(!1), oe = o([]), kd = EA(() => {
@@ -6675,7 +6675,7 @@ const bf = (e, A = "") => {
6675
6675
  if ((e == null ? void 0 : e.flag) === 4) {
6676
6676
  const [d, n = []] = await Ud().run();
6677
6677
  if (A = n, A && A.length) {
6678
- const u = ((t = GA()) == null ? void 0 : t.id) || 0;
6678
+ const u = ((t = YA()) == null ? void 0 : t.id) || 0;
6679
6679
  if (u && (f = A.find((x) => x.id === u)), !u || !f) {
6680
6680
  const x = e.tenant.id ?? "", X = A.filter((i) => i.tenant === x);
6681
6681
  X && X.length && (f = X[0]);
@@ -6684,7 +6684,7 @@ const bf = (e, A = "") => {
6684
6684
  } else {
6685
6685
  const [d, n = []] = await Yd().run();
6686
6686
  if (A = n, A && A.length) {
6687
- const u = ((z = GA()) == null ? void 0 : z.id) || 0;
6687
+ const u = ((z = YA()) == null ? void 0 : z.id) || 0;
6688
6688
  u && (f = c7(A, (x) => x.id === u)), (!u || !f) && (f = c7(A, (x) => x.type === 7));
6689
6689
  }
6690
6690
  }
@@ -6725,26 +6725,26 @@ const bf = (e, A = "") => {
6725
6725
  f.value = SA.value.style === 1, v.value = SA.value.style === 2, r.value = SA.value.skinStyle === "default", P.value = SA.value.skinStyle === "kjl", t.value = SA.value.skinStyle === "cjb", z.value = SA.value.skinStyle === "ssl";
6726
6726
  };
6727
6727
  _A(d);
6728
- const n = (q, c) => {
6729
- q === "menu" ? (f.value = c === 1, v.value = c === 2) : (r.value = c === 1, P.value = c === 2, t.value = c === 3, z.value = c === 4);
6728
+ const n = (s, b) => {
6729
+ s === "menu" ? (f.value = b === 1, v.value = b === 2) : (r.value = b === 1, P.value = b === 2, t.value = b === 3, z.value = b === 4);
6730
6730
  }, u = () => {
6731
- const q = {
6731
+ const s = {
6732
6732
  default: r.value,
6733
6733
  kjl: P.value,
6734
6734
  cjb: t.value,
6735
6735
  ssl: z.value
6736
6736
  };
6737
- return Object.keys(q).find((c) => q[c] === !0) ?? "default";
6737
+ return Object.keys(s).find((b) => s[b] === !0) ?? "default";
6738
6738
  }, x = () => ({
6739
6739
  style: f.value ? 1 : 2,
6740
6740
  skinStyle: u()
6741
6741
  }), X = EA(() => {
6742
- const q = C9.value === "zh-CN";
6742
+ const s = C9.value === "zh-CN";
6743
6743
  return {
6744
- default: q ? c5 : q5,
6745
- kjl: q ? a5 : H5,
6746
- cjb: q ? i5 : p5,
6747
- ssl: q ? s5 : x5
6744
+ default: s ? c5 : q5,
6745
+ kjl: s ? a5 : H5,
6746
+ cjb: s ? i5 : p5,
6747
+ ssl: s ? s5 : x5
6748
6748
  }[u()];
6749
6749
  }), { onPreview: i } = Pr(), a = () => {
6750
6750
  i({ previewList: [X.value], previewBtnConfig: !0 });
@@ -6752,7 +6752,7 @@ const bf = (e, A = "") => {
6752
6752
  return A({
6753
6753
  init: d,
6754
6754
  getResult: x
6755
- }), (q, c) => h9((fA(), mA(
6755
+ }), (s, b) => h9((fA(), mA(
6756
6756
  "div",
6757
6757
  O5,
6758
6758
  [
@@ -6767,7 +6767,7 @@ const bf = (e, A = "") => {
6767
6767
  k("div", D5, [
6768
6768
  k("div", {
6769
6769
  class: "item-content",
6770
- onClick: c[1] || (c[1] = (H) => n("menu", 1))
6770
+ onClick: b[1] || (b[1] = (H) => n("menu", 1))
6771
6771
  }, [
6772
6772
  k("img", {
6773
6773
  src: D(t5),
@@ -6777,7 +6777,7 @@ const bf = (e, A = "") => {
6777
6777
  }, null, 8, V5),
6778
6778
  B(D(V9), {
6779
6779
  modelValue: f.value,
6780
- "onUpdate:modelValue": c[0] || (c[0] = (H) => f.value = H)
6780
+ "onUpdate:modelValue": b[0] || (b[0] = (H) => f.value = H)
6781
6781
  }, {
6782
6782
  default: U(() => [
6783
6783
  aA(
@@ -6792,7 +6792,7 @@ const bf = (e, A = "") => {
6792
6792
  ]),
6793
6793
  k("div", {
6794
6794
  class: "item-content",
6795
- onClick: c[3] || (c[3] = (H) => n("menu", 2))
6795
+ onClick: b[3] || (b[3] = (H) => n("menu", 2))
6796
6796
  }, [
6797
6797
  k("img", {
6798
6798
  src: D(u5),
@@ -6802,7 +6802,7 @@ const bf = (e, A = "") => {
6802
6802
  }, null, 8, N5),
6803
6803
  B(D(V9), {
6804
6804
  modelValue: v.value,
6805
- "onUpdate:modelValue": c[2] || (c[2] = (H) => v.value = H)
6805
+ "onUpdate:modelValue": b[2] || (b[2] = (H) => v.value = H)
6806
6806
  }, {
6807
6807
  default: U(() => [
6808
6808
  aA(
@@ -6828,7 +6828,7 @@ const bf = (e, A = "") => {
6828
6828
  k("div", Z5, [
6829
6829
  k("div", {
6830
6830
  class: "item-content",
6831
- onClick: c[5] || (c[5] = (H) => n("skin", 1))
6831
+ onClick: b[5] || (b[5] = (H) => n("skin", 1))
6832
6832
  }, [
6833
6833
  k("img", {
6834
6834
  src: D(z5),
@@ -6838,7 +6838,7 @@ const bf = (e, A = "") => {
6838
6838
  }, null, 8, T5),
6839
6839
  B(D(V9), {
6840
6840
  modelValue: r.value,
6841
- "onUpdate:modelValue": c[4] || (c[4] = (H) => r.value = H)
6841
+ "onUpdate:modelValue": b[4] || (b[4] = (H) => r.value = H)
6842
6842
  }, {
6843
6843
  default: U(() => [
6844
6844
  aA(
@@ -6853,7 +6853,7 @@ const bf = (e, A = "") => {
6853
6853
  ]),
6854
6854
  k("div", {
6855
6855
  class: "item-content",
6856
- onClick: c[7] || (c[7] = (H) => n("skin", 2))
6856
+ onClick: b[7] || (b[7] = (H) => n("skin", 2))
6857
6857
  }, [
6858
6858
  k("img", {
6859
6859
  src: D(d5),
@@ -6863,7 +6863,7 @@ const bf = (e, A = "") => {
6863
6863
  }, null, 8, o5),
6864
6864
  B(D(V9), {
6865
6865
  modelValue: P.value,
6866
- "onUpdate:modelValue": c[6] || (c[6] = (H) => P.value = H)
6866
+ "onUpdate:modelValue": b[6] || (b[6] = (H) => P.value = H)
6867
6867
  }, {
6868
6868
  default: U(() => [
6869
6869
  aA(
@@ -6880,7 +6880,7 @@ const bf = (e, A = "") => {
6880
6880
  k("div", L5, [
6881
6881
  k("div", {
6882
6882
  class: "item-content",
6883
- onClick: c[9] || (c[9] = (H) => n("skin", 3))
6883
+ onClick: b[9] || (b[9] = (H) => n("skin", 3))
6884
6884
  }, [
6885
6885
  k("img", {
6886
6886
  src: D(X5),
@@ -6890,7 +6890,7 @@ const bf = (e, A = "") => {
6890
6890
  }, null, 8, y5),
6891
6891
  B(D(V9), {
6892
6892
  modelValue: t.value,
6893
- "onUpdate:modelValue": c[8] || (c[8] = (H) => t.value = H)
6893
+ "onUpdate:modelValue": b[8] || (b[8] = (H) => t.value = H)
6894
6894
  }, {
6895
6895
  default: U(() => [
6896
6896
  aA(
@@ -6905,7 +6905,7 @@ const bf = (e, A = "") => {
6905
6905
  ]),
6906
6906
  k("div", {
6907
6907
  class: "item-content",
6908
- onClick: c[11] || (c[11] = (H) => n("skin", 4))
6908
+ onClick: b[11] || (b[11] = (H) => n("skin", 4))
6909
6909
  }, [
6910
6910
  k("img", {
6911
6911
  src: D(b5),
@@ -6915,7 +6915,7 @@ const bf = (e, A = "") => {
6915
6915
  }, null, 8, W5),
6916
6916
  B(D(V9), {
6917
6917
  modelValue: z.value,
6918
- "onUpdate:modelValue": c[10] || (c[10] = (H) => z.value = H)
6918
+ "onUpdate:modelValue": b[10] || (b[10] = (H) => z.value = H)
6919
6919
  }, {
6920
6920
  default: U(() => [
6921
6921
  aA(
@@ -6952,7 +6952,7 @@ const bf = (e, A = "") => {
6952
6952
  512
6953
6953
  /* NEED_PATCH */
6954
6954
  )), [
6955
- [af, q.isShow]
6955
+ [af, s.isShow]
6956
6956
  ]);
6957
6957
  }
6958
6958
  }), B5 = /* @__PURE__ */ gA(g5, [["__scopeId", "data-v-cea07b15"]]), k5 = { class: "set-lang" }, Q5 = /* @__PURE__ */ qA({
@@ -7020,7 +7020,7 @@ const bf = (e, A = "") => {
7020
7020
  levelType: 1
7021
7021
  }), u = zr();
7022
7022
  let x = !0;
7023
- const X = o(!1), { run: i } = A6(), { run: a } = f6(), q = () => {
7023
+ const X = o(!1), { run: i } = A6(), { run: a } = f6(), s = () => {
7024
7024
  var m;
7025
7025
  x = !0, (m = u.value) == null || m.resetLazyLoad();
7026
7026
  };
@@ -7033,7 +7033,7 @@ const bf = (e, A = "") => {
7033
7033
  treeData: d,
7034
7034
  openBuiltInDialog: () => {
7035
7035
  var m, V, R;
7036
- P.value = ((m = f.value) == null ? void 0 : m.urlId) ?? "", t.value = ((V = f.value) == null ? void 0 : V.urlPath) ?? ((R = f.value) == null ? void 0 : R.urlId) ?? "", z.value = "", r.value = !0, q();
7036
+ P.value = ((m = f.value) == null ? void 0 : m.urlId) ?? "", t.value = ((V = f.value) == null ? void 0 : V.urlPath) ?? ((R = f.value) == null ? void 0 : R.urlId) ?? "", z.value = "", r.value = !0, s();
7037
7037
  },
7038
7038
  loadChildNode: async (m) => {
7039
7039
  const V = {
@@ -7079,7 +7079,7 @@ const z6 = (e) => {
7079
7079
  { value: 2, label: M("设备看板") },
7080
7080
  { value: 3, label: M("数据编排") },
7081
7081
  { value: 4, label: M("轻分析") }
7082
- ]), z = o([]), d = o(20), n = o(1), u = o(0), x = o(""), X = o(""), i = o(""), a = o(!1), { run: q } = e6(), { run: c } = v6(), { run: H } = n6(), { run: b } = r6(), { run: s } = P6(), p = (G) => {
7082
+ ]), z = o([]), d = o(20), n = o(1), u = o(0), x = o(""), X = o(""), i = o(""), a = o(!1), { run: s } = e6(), { run: b } = v6(), { run: H } = n6(), { run: c } = r6(), { run: q } = P6(), p = (G) => {
7083
7083
  const Y = [], S = G[2], C = S.displays, L = S.scenes, W = S[M("2D3D集成根目录")];
7084
7084
  m(C, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", Y), m(L, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", Y), m(W, M("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", Y);
7085
7085
  const E = (n.value - 1) * d.value, w = E + d.value;
@@ -7129,7 +7129,7 @@ const z6 = (e) => {
7129
7129
  pageSize: d.value
7130
7130
  };
7131
7131
  a.value = !0;
7132
- const [Y, S] = await c(G);
7132
+ const [Y, S] = await b(G);
7133
7133
  if (a.value = !1, Y) {
7134
7134
  z.value = [];
7135
7135
  return;
@@ -7143,7 +7143,7 @@ const z6 = (e) => {
7143
7143
  pageSize: d.value
7144
7144
  };
7145
7145
  a.value = !0;
7146
- const [Y, S] = await q(G);
7146
+ const [Y, S] = await s(G);
7147
7147
  if (a.value = !1, Y) {
7148
7148
  z.value = [];
7149
7149
  return;
@@ -7157,7 +7157,7 @@ const z6 = (e) => {
7157
7157
  pageSize: d.value
7158
7158
  };
7159
7159
  a.value = !0;
7160
- const [Y, S] = await b(G);
7160
+ const [Y, S] = await c(G);
7161
7161
  if (a.value = !1, Y) {
7162
7162
  z.value = [];
7163
7163
  return;
@@ -7259,7 +7259,7 @@ const z6 = (e) => {
7259
7259
  },
7260
7260
  emits: ["reset-confirm"],
7261
7261
  setup(e, { expose: A, emit: f }) {
7262
- const v = f, r = GA(), P = o({}), t = o([]), z = o({
7262
+ const v = f, r = YA(), P = o({}), t = o([]), z = o({
7263
7263
  routeUrl: "",
7264
7264
  homeAlias: ""
7265
7265
  }), d = async () => {
@@ -7280,11 +7280,11 @@ const z6 = (e) => {
7280
7280
  builtInDialog: X,
7281
7281
  $typeTree: i,
7282
7282
  treeId: a,
7283
- treePath: q,
7284
- keyword: c,
7283
+ treePath: s,
7284
+ keyword: b,
7285
7285
  treeData: H,
7286
- openBuiltInDialog: b,
7287
- loadChildNode: s,
7286
+ openBuiltInDialog: c,
7287
+ loadChildNode: q,
7288
7288
  search: p,
7289
7289
  toggleTree: m,
7290
7290
  confirmFormBuiltIn: V
@@ -7312,7 +7312,7 @@ const z6 = (e) => {
7312
7312
  orgInfo: r,
7313
7313
  information: P
7314
7314
  }), W = () => {
7315
- !P.value.type || P.value.type === 3 || (P.value.type === 1 ? b() : G());
7315
+ !P.value.type || P.value.type === 3 || (P.value.type === 1 ? c() : G());
7316
7316
  }, E = o(null), w = () => {
7317
7317
  var K;
7318
7318
  (K = E.value) == null || K.open();
@@ -7488,14 +7488,14 @@ const z6 = (e) => {
7488
7488
  ref: i,
7489
7489
  modelValue: D(a),
7490
7490
  "onUpdate:modelValue": $[5] || ($[5] = (eA) => FA(a) ? a.value = eA : null),
7491
- path: D(q),
7492
- "onUpdate:path": $[6] || ($[6] = (eA) => FA(q) ? q.value = eA : null),
7493
- "filter-value": D(c),
7494
- "onUpdate:filterValue": $[7] || ($[7] = (eA) => FA(c) ? c.value = eA : null),
7491
+ path: D(s),
7492
+ "onUpdate:path": $[6] || ($[6] = (eA) => FA(s) ? s.value = eA : null),
7493
+ "filter-value": D(b),
7494
+ "onUpdate:filterValue": $[7] || ($[7] = (eA) => FA(b) ? b.value = eA : null),
7495
7495
  data: D(H),
7496
7496
  "is-ellipsis": "",
7497
7497
  "default-expanded-keys": ["-1"],
7498
- load: D(s),
7498
+ load: D(q),
7499
7499
  search: D(p),
7500
7500
  "input-options": { placeholder: D(M)("搜索门户名称") },
7501
7501
  onNodeClick: D(m)
@@ -7666,17 +7666,17 @@ const z6 = (e) => {
7666
7666
  var X;
7667
7667
  d.value = (X = P9.value) != null && X.homeAlias ? P9.value.homeAlias : M("首页"), f.value = !0;
7668
7668
  }, x = async () => {
7669
- var c, H, b, s;
7670
- const X = (c = r.value) == null ? void 0 : c.getResult(), [i] = await D6().run(X);
7669
+ var b, H, c, q;
7670
+ const X = (b = r.value) == null ? void 0 : b.getResult(), [i] = await D6().run(X);
7671
7671
  if (i) return;
7672
7672
  await Qv();
7673
- const a = (H = t.value) == null ? void 0 : H.getResult(), [q] = await N6().run(a);
7674
- if (q) {
7673
+ const a = (H = t.value) == null ? void 0 : H.getResult(), [s] = await N6().run(a);
7674
+ if (s) {
7675
7675
  z.value = "lang";
7676
7676
  return;
7677
7677
  }
7678
- if ((b = P.value) != null && b.formValidate()) {
7679
- const p = (s = P.value) == null ? void 0 : s.getResult(), [m] = await V6().run(p);
7678
+ if ((c = P.value) != null && c.formValidate()) {
7679
+ const p = (q = P.value) == null ? void 0 : q.getResult(), [m] = await V6().run(p);
7680
7680
  if (m) {
7681
7681
  z.value = "home";
7682
7682
  return;
@@ -7775,7 +7775,7 @@ const z6 = (e) => {
7775
7775
  {
7776
7776
  token: t9(),
7777
7777
  userInfo: _9(),
7778
- projectInfo: GA()
7778
+ projectInfo: YA()
7779
7779
  },
7780
7780
  A.src
7781
7781
  ));
@@ -7810,7 +7810,7 @@ const z6 = (e) => {
7810
7810
  }), Le = /* @__PURE__ */ gA(W6, [["__scopeId", "data-v-ed99a1f3"]]), w6 = We.get("/login/history"), E6 = () => {
7811
7811
  const e = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some((d) => new RegExp(`^${d}$`, "i").test(location.pathname)), A = (t) => {
7812
7812
  const { browserLogoImgHost: z = "", browserLogoImg: d = "" } = t || {}, n = d ? z + Hf(d) : "./logo.svg";
7813
- Ur(n), En(n);
7813
+ Ur(n), In(n);
7814
7814
  }, f = async () => {
7815
7815
  const [t, z] = await w6().run({ userId: Q3().id });
7816
7816
  t || !z || JSON.stringify(z) === "{}" || (df.open({
@@ -7821,14 +7821,14 @@ const z6 = (e) => {
7821
7821
  jA(
7822
7822
  "div",
7823
7823
  { style: "font-size: 12px;color:#212121;margin-bottom:8px" },
7824
- M("时间:") + In(z.lastModificationTime)
7824
+ M("时间:") + En(z.lastModificationTime)
7825
7825
  ),
7826
7826
  jA("div", { style: "font-size: 12px;color:#212121;" }, M("IP地址:") + z.ip)
7827
7827
  ])
7828
7828
  }), sessionStorage.setItem("loginInfoTip", "true"));
7829
7829
  }, v = async () => {
7830
7830
  const [{ loginConfig: t }, { platformConfig: z }] = await Promise.all([r5(), kv()]);
7831
- A(z), z != null && z.browserTitle && localStorage.setItem("browser-title", z.browserTitle || "AIoT智能物联网管控平台"), wn(), !e() && t != null && t.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && f();
7831
+ return A(z), z != null && z.browserTitle && localStorage.setItem("browser-title", z.browserTitle || "AIoT智能物联网管控平台"), wn(), { loginConfig: t, platformConfig: z };
7832
7832
  }, r = o(!1), P = () => new Promise((t) => {
7833
7833
  const z = () => {
7834
7834
  if (r.value) return t();
@@ -7837,10 +7837,8 @@ const z6 = (e) => {
7837
7837
  z();
7838
7838
  });
7839
7839
  return _A(async () => {
7840
- if (await v(), e()) return;
7841
- await vt(), await nt(), await rt(), await P5();
7842
- const t = t9();
7843
- G3({ accessToken: t }), r.value = !0;
7840
+ const { loginConfig: t } = await v();
7841
+ e() || (t != null && t.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && f(), await vt(), await nt(), await rt(), await P5(), G3({ accessToken: t9() }), r.value = !0);
7844
7842
  }), {
7845
7843
  platformInited: r,
7846
7844
  initNextTick: P
@@ -7849,8 +7847,8 @@ const z6 = (e) => {
7849
7847
  const A = y9(), f = sf(), { getMenu: v } = Qn(), { getHistoryList: r, getSearchList: P } = A1(), t = o("0"), z = o(!0), d = o([]), n = o([]), u = o(!1), x = o(!1), X = o(!1);
7850
7848
  OA(
7851
7849
  () => f.path,
7852
- (b) => {
7853
- x.value = b === hA;
7850
+ (c) => {
7851
+ x.value = c === hA;
7854
7852
  },
7855
7853
  {
7856
7854
  immediate: !0
@@ -7871,7 +7869,7 @@ const z6 = (e) => {
7871
7869
  }
7872
7870
  );
7873
7871
  const i = async () => {
7874
- let b = {};
7872
+ let c = {};
7875
7873
  return await Mn([
7876
7874
  Sd,
7877
7875
  Pt,
@@ -7879,25 +7877,25 @@ const z6 = (e) => {
7879
7877
  gv,
7880
7878
  Qv,
7881
7879
  Qd
7882
- ]).then((p) => Object.assign(b, ...p)), z.value = !1, b;
7880
+ ]).then((p) => Object.assign(c, ...p)), z.value = !1, c;
7883
7881
  }, a = async () => {
7884
- const b = P9.value;
7885
- let s = [...$3].map((V) => ({
7882
+ const c = P9.value;
7883
+ let q = [...$3].map((V) => ({
7886
7884
  ...V,
7887
7885
  label: M(V.label)
7888
7886
  }));
7889
- s.forEach((V) => (b != null && b.appAlias && V.value === RA && (V.label = b.appAlias), b != null && b.homeAlias && V.value === hA && (V.label = b.homeAlias), V)), b != null && b.enable ? ((b == null ? void 0 : b.displayPosition) === 2 && (s = I6(s, 0, 1)), d.value = s) : (d.value = s.filter((V) => V.path === RA), f.path === hA && await A.replace(RA));
7890
- const p = b != null && b.enable && (b == null ? void 0 : b.displayPosition) !== 2 ? hA : RA;
7887
+ q.forEach((V) => (c != null && c.appAlias && V.value === RA && (V.label = c.appAlias), c != null && c.homeAlias && V.value === hA && (V.label = c.homeAlias), V)), c != null && c.enable ? ((c == null ? void 0 : c.displayPosition) === 2 && (q = I6(q, 0, 1)), d.value = q) : (d.value = q.filter((V) => V.path === RA), f.path === hA && await A.replace(RA));
7888
+ const p = c != null && c.enable && (c == null ? void 0 : c.displayPosition) !== 2 ? hA : RA;
7891
7889
  sessionStorage.getItem("defalt-page") || f.path !== p && await A.replace(p), sessionStorage.setItem("defalt-page", p);
7892
7890
  const m = F.nav.getItems().filter((V) => !V.fixed) ?? [];
7893
7891
  F.nav.setItems([...d.value, ...m]);
7894
- }, q = o(!1), c = async () => {
7892
+ }, s = o(!1), b = async () => {
7895
7893
  var Z;
7896
7894
  await e();
7897
- const b = GA().id, s = await i();
7898
- if (!s) return;
7899
- const { navConfig: p, projectConfig: m, currentProject: V, tenantList: R } = s, l = (V == null ? void 0 : V.id) || 0;
7900
- b != l && (t.value = t.value === "0" ? "1" : "0"), X.value = ((Z = qf()) == null ? void 0 : Z.flag) !== 4 && R && R.length > 1, u.value = p.find((T) => T.apps.some((Q) => Q.code === "dasaiassistant")), a(), m && m.length && (F.nav.setProjectConfig({
7895
+ const c = YA().id, q = await i();
7896
+ if (!q) return;
7897
+ const { navConfig: p, projectConfig: m, currentProject: V, tenantList: R } = q, l = (V == null ? void 0 : V.id) || 0;
7898
+ c != l && (t.value = t.value === "0" ? "1" : "0"), X.value = ((Z = qf()) == null ? void 0 : Z.flag) !== 4 && R && R.length > 1, u.value = p.find((T) => T.apps.some((Q) => Q.code === "dasaiassistant")), a(), m && m.length && (F.nav.setProjectConfig({
7901
7899
  treeProps: {
7902
7900
  disabled: (T) => T.type !== 7
7903
7901
  },
@@ -7917,25 +7915,25 @@ const z6 = (e) => {
7917
7915
  const N = uA().subAppList ?? [];
7918
7916
  N.length && (N.forEach((T) => {
7919
7917
  T.menus = [], T.originalMenus = [];
7920
- }), MA([{ key: "subAppList", value: N }])), q.value = !0;
7918
+ }), MA([{ key: "subAppList", value: N }])), s.value = !0;
7921
7919
  };
7922
- return F.nav.addEventListener("onBeforeMount", c), OA(
7920
+ return F.nav.addEventListener("onBeforeMount", b), OA(
7923
7921
  () => P9.value,
7924
7922
  () => {
7925
7923
  a();
7926
7924
  },
7927
7925
  { deep: !0 }
7928
- ), { loading: z, pageKey: t, innerPage: d, commandList: n, layoutInited: q, initNextTick: () => new Promise((b) => {
7929
- const s = async () => {
7926
+ ), { loading: z, pageKey: t, innerPage: d, commandList: n, layoutInited: s, initNextTick: () => new Promise((c) => {
7927
+ const q = async () => {
7930
7928
  var V;
7931
7929
  let p = ((V = f.meta) == null ? void 0 : V.showLayout) ?? !0, { showLayout: m = !0 } = f.query;
7932
- if (m === "false" && (m = !1), !p || !m || q.value) {
7933
- b();
7930
+ if (m === "false" && (m = !1), !p || !m || s.value) {
7931
+ c();
7934
7932
  return;
7935
7933
  }
7936
- setTimeout(() => s(), 50);
7934
+ setTimeout(() => q(), 50);
7937
7935
  };
7938
- s();
7936
+ q();
7939
7937
  }) };
7940
7938
  }, g6 = we.get("/data/menu-expiration"), he = async (e) => {
7941
7939
  const [A, f] = await g6().run();
@@ -7951,7 +7949,7 @@ const z6 = (e) => {
7951
7949
  F.menu.addEventListener("onItemClick", async (A) => {
7952
7950
  var P;
7953
7951
  xA.innerSet = !0;
7954
- const f = QA(zf(A.applicationCode)).filter((t) => !t.disable && !t.expired).find((t) => t.code === A.code);
7952
+ const f = UA(zf(A.applicationCode)).filter((t) => !t.disable && !t.expired).find((t) => t.code === A.code);
7955
7953
  if (f && !f.routeUrl) return;
7956
7954
  if (!f) {
7957
7955
  const { title: t, content: z, desc: d } = await he(f);
@@ -7990,82 +7988,82 @@ const z6 = (e) => {
7990
7988
  () => e.currentRoute.value,
7991
7989
  async (a) => {
7992
7990
  var p, m, V, R, l, j, O, N, Z, T;
7993
- const q = ((p = a.meta) == null ? void 0 : p.showLayout) ?? !0;
7994
- let c = ((m = a.query) == null ? void 0 : m.showLayout) ?? !0;
7995
- if (c === "false" && (c = !1), !q || !c || a.path === r && xe(a.query, P)) return;
7991
+ const s = ((p = a.meta) == null ? void 0 : p.showLayout) ?? !0;
7992
+ let b = ((m = a.query) == null ? void 0 : m.showLayout) ?? !0;
7993
+ if (b === "false" && (b = !1), !s || !b || a.path === r && xe(a.query, P)) return;
7996
7994
  r = o9(a.path), P = o9(a.query);
7997
7995
  const H = uA().currentSubAppCode ?? "";
7998
7996
  if (!H) return;
7999
- const b = ((V = a.query) == null ? void 0 : V.menu) ?? ((R = ZA()) == null ? void 0 : R.currentCode) ?? "";
8000
- if (!b) return;
8001
- const s = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
8002
- s && JSON.stringify(s) !== "{}" && (A.value = (j = (l = s[H]) == null ? void 0 : l[b]) != null && j.fontColor ? s[H][b].fontColor : "", f.value = (N = (O = s[H]) == null ? void 0 : O[b]) != null && N.backgroundColor ? s[H][b].backgroundColor : "", v.value = (T = (Z = s[H]) == null ? void 0 : Z[b]) != null && T.backgroundColor ? s[H][b].backgroundColor : "");
7997
+ const c = ((V = a.query) == null ? void 0 : V.menu) ?? ((R = ZA()) == null ? void 0 : R.currentCode) ?? "";
7998
+ if (!c) return;
7999
+ const q = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
8000
+ q && JSON.stringify(q) !== "{}" && (A.value = (j = (l = q[H]) == null ? void 0 : l[c]) != null && j.fontColor ? q[H][c].fontColor : "", f.value = (N = (O = q[H]) == null ? void 0 : O[c]) != null && N.backgroundColor ? q[H][c].backgroundColor : "", v.value = (T = (Z = q[H]) == null ? void 0 : Z[c]) != null && T.backgroundColor ? q[H][c].backgroundColor : "");
8003
8001
  }
8004
8002
  );
8005
8003
  const { deleteApp: t } = m9(), { entryMenu: z } = jf(), { reloadRoute: d, unloadRoute: n } = Uv(), u = (a) => {
8006
- var b;
8007
- const q = QA(zf(a.applicationCode)).find((s) => s.code === a.code), H = (((b = ZA().tabMap) == null ? void 0 : b[a.applicationCode]) ?? []).find((s) => s.code === a.code);
8008
- z({ currentMenu: q, route: { path: H.path, query: H.query ?? {} } });
8004
+ var c;
8005
+ const s = UA(zf(a.applicationCode)).find((q) => q.code === a.code), H = (((c = ZA().tabMap) == null ? void 0 : c[a.applicationCode]) ?? []).find((q) => q.code === a.code);
8006
+ z({ currentMenu: s, route: { path: H.path, query: H.query ?? {} } });
8009
8007
  }, x = (a) => {
8010
8008
  if (!a || !a.length) return;
8011
- const q = a.filter((c) => !c.path.startsWith(b9)).map((c) => c.path);
8012
- q && q.length && n(q), a.forEach((c) => F.iframeView.triggerEventListener("onUnloadPage", c.path));
8009
+ const s = a.filter((b) => !b.path.startsWith(b9)).map((b) => b.path);
8010
+ s && s.length && n(s), a.forEach((b) => F.iframeView.triggerEventListener("onUnloadPage", b.path));
8013
8011
  }, X = (a) => {
8014
- const q = uA().currentSubAppCode ?? "";
8012
+ const s = uA().currentSubAppCode ?? "";
8015
8013
  xA.innerSet = !0;
8016
- const c = ZA(), H = c.tabMap[q], b = H.findIndex((l) => l.code === a.data.code);
8017
- if (b === -1) return;
8018
- const s = () => {
8014
+ const b = ZA(), H = b.tabMap[s], c = H.findIndex((l) => l.code === a.data.code);
8015
+ if (c === -1) return;
8016
+ const q = () => {
8019
8017
  var O;
8020
- let j = (((O = uA().appcategorys) == null ? void 0 : O.map((N) => N.apps).flat()) ?? []).find((N) => N.code === q);
8021
- j = { ...j, value: j.code, label: j.name }, t(j), F.nav.removeItem(q);
8018
+ let j = (((O = uA().appcategorys) == null ? void 0 : O.map((N) => N.apps).flat()) ?? []).find((N) => N.code === s);
8019
+ j = { ...j, value: j.code, label: j.name }, t(j), F.nav.removeItem(s);
8022
8020
  };
8023
8021
  ({
8024
8022
  me: async (l) => {
8025
8023
  if (H.length === 1) {
8026
- s();
8024
+ q();
8027
8025
  return;
8028
8026
  }
8029
- const j = c.currentCode;
8027
+ const j = b.currentCode;
8030
8028
  let O = null;
8031
- j === l.value && (b + 1 === H.length ? H[b - 1] && (O = H[b - 1]) : H[b + 1] && (O = H[b + 1])), H.splice(b, 1), x([l]), IA([{ key: `tabMap:${q}`, value: H }]), O ? u(O) : IA([{ key: `preTab:${q}`, value: {} }]);
8029
+ j === l.value && (c + 1 === H.length ? H[c - 1] && (O = H[c - 1]) : H[c + 1] && (O = H[c + 1])), H.splice(c, 1), x([l]), IA([{ key: `tabMap:${s}`, value: H }]), O ? u(O) : IA([{ key: `preTab:${s}`, value: {} }]);
8032
8030
  },
8033
- all: s,
8031
+ all: q,
8034
8032
  other: async (l) => {
8035
- const j = H[b];
8033
+ const j = H[c];
8036
8034
  await e.push({
8037
8035
  path: `/${j.applicationPath}${j.path}`.replace(/\/\//g, "/"),
8038
8036
  query: j.query
8039
8037
  }), F.menu.setActiveItem(j.menuId), F.tab.setActiveItem(j.code);
8040
8038
  const O = H.filter((N) => N.code !== l.value);
8041
- O.forEach((N) => F.tab.removeItem(N.code)), x(O), IA([{ key: `tabMap:${q}`, value: [j] }]), u(j);
8039
+ O.forEach((N) => F.tab.removeItem(N.code)), x(O), IA([{ key: `tabMap:${s}`, value: [j] }]), u(j);
8042
8040
  },
8043
8041
  right: async (l) => {
8044
- const j = c.currentCode;
8045
- if (j !== l.value && H.findIndex((Z) => Z.code === j) > b) {
8046
- const Z = H[b];
8042
+ const j = b.currentCode;
8043
+ if (j !== l.value && H.findIndex((Z) => Z.code === j) > c) {
8044
+ const Z = H[c];
8047
8045
  u(Z);
8048
8046
  }
8049
- const O = H.slice(b + 1);
8050
- O.forEach((N) => F.tab.removeItem(N.code)), x(O), H.splice(b + 1), IA([{ key: `tabMap:${q}`, value: H }]);
8047
+ const O = H.slice(c + 1);
8048
+ O.forEach((N) => F.tab.removeItem(N.code)), x(O), H.splice(c + 1), IA([{ key: `tabMap:${s}`, value: H }]);
8051
8049
  }
8052
8050
  })[a.type](a.data);
8053
8051
  };
8054
8052
  F.tab.addEventListener("onItemClick", async (a) => {
8055
8053
  ZA().currentCode !== a.currentCode && (xA.innerSet = !0, u(a));
8056
8054
  }), F.tab.addEventListener("onItemRemove", (a) => {
8057
- const q = ZA(), c = uA().currentSubAppCode ?? "";
8058
- q.tabMap[c].findIndex((s) => s.code === a.code) !== -1 && (tf(a.applicationCode, [a.code]), X({ type: "me", data: a }));
8055
+ const s = ZA(), b = uA().currentSubAppCode ?? "";
8056
+ s.tabMap[b].findIndex((q) => q.code === a.code) !== -1 && (tf(a.applicationCode, [a.code]), X({ type: "me", data: a }));
8059
8057
  }), F.tab.addEventListener("onMenuClick", (a) => {
8060
- let q = [];
8061
- const c = ZA().tabMap[a.applicationCode] ?? [];
8058
+ let s = [];
8059
+ const b = ZA().tabMap[a.applicationCode] ?? [];
8062
8060
  if (a.type.key === "right") {
8063
- const H = c.findIndex((b) => b.code === a.data.value);
8064
- q = c.slice(H + 1);
8061
+ const H = b.findIndex((c) => c.code === a.data.value);
8062
+ s = b.slice(H + 1);
8065
8063
  }
8066
- a.type.key === "other" && (q = c.filter((H) => H.code !== a.data.value)), a.type.key === "all" && (q = [...c]), tf(
8064
+ a.type.key === "other" && (s = b.filter((H) => H.code !== a.data.value)), a.type.key === "all" && (s = [...b]), tf(
8067
8065
  a.applicationCode,
8068
- q.map((H) => H.code)
8066
+ s.map((H) => H.code)
8069
8067
  ), X({ type: a.type.key, data: a.data });
8070
8068
  }), F.tab.addEventListener("onPageRefresh", async (a) => {
8071
8069
  if (!a) return;
@@ -8074,14 +8072,14 @@ const z6 = (e) => {
8074
8072
  return;
8075
8073
  }
8076
8074
  tf(a.applicationCode, [a.code]);
8077
- const q = QA(zf(a.applicationCode)).find((b) => b.code === a.code);
8078
- if (!q) return;
8079
- if (q.routeUrl !== a.path) {
8080
- d([a.path]), n([`/${a.applicationPath}${q.routeUrl}`]), await z({ currentMenu: q });
8075
+ const s = UA(zf(a.applicationCode)).find((c) => c.code === a.code);
8076
+ if (!s) return;
8077
+ if (s.routeUrl !== a.path) {
8078
+ d([a.path]), n([`/${a.applicationPath}${s.routeUrl}`]), await z({ currentMenu: s });
8081
8079
  return;
8082
8080
  }
8083
- const c = { app: q.applicationCode, menu: q.code }, H = { ...a.query };
8084
- xe(c, H) || await z({ currentMenu: q }), d([a.path]);
8081
+ const b = { app: s.applicationCode, menu: s.code }, H = { ...a.query };
8082
+ xe(b, H) || await z({ currentMenu: s }), d([a.path]);
8085
8083
  });
8086
8084
  const { enter: i } = $9();
8087
8085
  return F.tab.addEventListener("onToggleFullScreen", i), { fontColor: A, backgroudColor: f, borderColor: v };
@@ -8114,31 +8112,31 @@ const z6 = (e) => {
8114
8112
  F.menu.setItems([]), F.menu.setActiveItem(""), F.tab.setItems([]), F.tab.setActiveItem("");
8115
8113
  }, d = async (X) => {
8116
8114
  if (X.routeUrl && !t.includes(X.routeUrl)) return !0;
8117
- const i = X.code ?? "", q = (uA().subAppList ?? []).find((p) => p.code === i);
8118
- let c = [], H = [], b = !1;
8119
- if (q && (c = q.menus ?? []), !c.length) {
8115
+ const i = X.code ?? "", s = (uA().subAppList ?? []).find((p) => p.code === i);
8116
+ let b = [], H = [], c = !1;
8117
+ if (s && (b = s.menus ?? []), !b.length) {
8120
8118
  const { menus: p, originalMenus: m, err: V } = await Ue(i);
8121
8119
  if (V) return !1;
8122
- c = p ?? [], H = m ?? [];
8120
+ b = p ?? [], H = m ?? [];
8123
8121
  }
8124
- if (c.length ? bf(c) || (await G9({
8122
+ if (b.length ? bf(b) || (await G9({
8125
8123
  title: M("提示"),
8126
8124
  content: M("此应用菜单已过期/已收回/配置有误") + "<br/>" + M("无法使用")
8127
- }), b = !0) : (await G9({ title: M("提示"), content: M("此应用未配置菜单/无菜单权限") + "<br/>" + M("无法使用") }), b = !0), b) return !1;
8128
- const s = { ...X, menus: c, originalMenus: H };
8129
- return MA([{ key: "subAppList", value: s }]), !0;
8125
+ }), c = !0) : (await G9({ title: M("提示"), content: M("此应用未配置菜单/无菜单权限") + "<br/>" + M("无法使用") }), c = !0), c) return !1;
8126
+ const q = { ...X, menus: b, originalMenus: H };
8127
+ return MA([{ key: "subAppList", value: q }]), !0;
8130
8128
  }, n = async (X) => {
8131
8129
  var Z, T, Q, h, _;
8132
- const { microApp: i = null, menuCode: a = "", menuPath: q = "", route: c = {} } = X;
8133
- let H = c;
8134
- if (!i && q) {
8135
- if (z(), !(t && t.find((Y) => q.startsWith("/" + Y) || q.startsWith(Y)))) return;
8136
- await e.push({ path: q, query: H.query });
8130
+ const { microApp: i = null, menuCode: a = "", menuPath: s = "", route: b = {} } = X;
8131
+ let H = b;
8132
+ if (!i && s) {
8133
+ if (z(), !(t && t.find((Y) => s.startsWith("/" + Y) || s.startsWith(Y)))) return;
8134
+ await e.push({ path: s, query: H.query });
8137
8135
  return;
8138
8136
  }
8139
- const b = ((Z = H.meta) == null ? void 0 : Z.showLayout) ?? !0;
8140
- let s = ((T = H.query) == null ? void 0 : T.showLayout) ?? !0;
8141
- s === "false" && (s = !1);
8137
+ const c = ((Z = H.meta) == null ? void 0 : Z.showLayout) ?? !0;
8138
+ let q = ((T = H.query) == null ? void 0 : T.showLayout) ?? !0;
8139
+ q === "false" && (q = !1);
8142
8140
  const p = (i == null ? void 0 : i.openType) ?? 1, m = (i == null ? void 0 : i.type) ?? 1;
8143
8141
  if (i.routeUrl && !t.includes(i.routeUrl)) {
8144
8142
  lv({
@@ -8185,7 +8183,7 @@ const z6 = (e) => {
8185
8183
  currentMenu: l = null,
8186
8184
  microPath: j = "",
8187
8185
  query: O = {}
8188
- } = await Md({ microApp: i, menuCode: a, menuPath: q, route: H });
8186
+ } = await Md({ microApp: i, menuCode: a, menuPath: s, route: H });
8189
8187
  if (l && (H = {
8190
8188
  path: j || `/${l.applicationPath}${l.routeUrl}`.replace(/\/\//g, "/"),
8191
8189
  query: { ...O, app: l.applicationCode, menu: l.code },
@@ -8198,9 +8196,9 @@ const z6 = (e) => {
8198
8196
  return;
8199
8197
  }
8200
8198
  const N = R || i;
8201
- if (!l && q) {
8199
+ if (!l && s) {
8202
8200
  await e.push({
8203
- path: q,
8201
+ path: s,
8204
8202
  query: {
8205
8203
  ...H.query,
8206
8204
  app: N.code
@@ -8208,7 +8206,7 @@ const z6 = (e) => {
8208
8206
  });
8209
8207
  return;
8210
8208
  }
8211
- if (b && s) {
8209
+ if (c && q) {
8212
8210
  (_ = uA().subAppList) == null || _.forEach((Y) => {
8213
8211
  const S = { ...Y, value: Y.code, label: Y.name };
8214
8212
  F.nav.appendItem(S);
@@ -8238,8 +8236,8 @@ const z6 = (e) => {
8238
8236
  return;
8239
8237
  }
8240
8238
  if (!X.fixed) {
8241
- const a = (i = uA().subAppList) == null ? void 0 : i.find((b) => b.code === X.code), q = ZA().preTab[X.code], c = (q == null ? void 0 : q.code) ?? "", H = { ...(q == null ? void 0 : q.query) ?? {} };
8242
- await n({ microApp: a, menuCode: c, route: { query: H } });
8239
+ const a = (i = uA().subAppList) == null ? void 0 : i.find((c) => c.code === X.code), s = ZA().preTab[X.code], b = (s == null ? void 0 : s.code) ?? "", H = { ...(s == null ? void 0 : s.query) ?? {} };
8240
+ await n({ microApp: a, menuCode: b, route: { query: H } });
8243
8241
  }
8244
8242
  };
8245
8243
  return {
@@ -8250,25 +8248,25 @@ const z6 = (e) => {
8250
8248
  var H;
8251
8249
  const i = uA();
8252
8250
  if (!((H = i.subAppList) != null && H.length)) return;
8253
- const a = i.subAppList.findIndex((b) => b.code === X.code);
8251
+ const a = i.subAppList.findIndex((c) => c.code === X.code);
8254
8252
  if (a === -1) return;
8255
- const q = ZA().tabMap[X.code] ?? [];
8256
- if (q.length) {
8257
- const b = q.filter((s) => !s.path.startsWith(b9)).map((s) => s.path);
8258
- b && b.length && f(b), q.forEach((s) => F.iframeView.triggerEventListener("onUnloadPage", s.path));
8253
+ const s = ZA().tabMap[X.code] ?? [];
8254
+ if (s.length) {
8255
+ const c = s.filter((q) => !q.path.startsWith(b9)).map((q) => q.path);
8256
+ c && c.length && f(c), s.forEach((q) => F.iframeView.triggerEventListener("onUnloadPage", q.path));
8259
8257
  }
8260
- let c = null;
8261
- if (i.currentSubAppCode === X.code && (a + 1 !== i.subAppList.length ? i.subAppList[a + 1] && (c = i.subAppList[a + 1]) : i.subAppList[a - 1] && (c = i.subAppList[a - 1])), i.subAppList.splice(a, 1), MA([{ key: "subAppList", value: i.subAppList }]), IA([
8258
+ let b = null;
8259
+ if (i.currentSubAppCode === X.code && (a + 1 !== i.subAppList.length ? i.subAppList[a + 1] && (b = i.subAppList[a + 1]) : i.subAppList[a - 1] && (b = i.subAppList[a - 1])), i.subAppList.splice(a, 1), MA([{ key: "subAppList", value: i.subAppList }]), IA([
8262
8260
  { key: `preTab:${X.code}`, value: {} },
8263
8261
  { key: `tabMap:${X.code}`, value: [] }
8264
- ]), c) {
8265
- const b = { ...c, value: c.code, label: c.name };
8266
- await u(b), F.nav.setActiveItem(c.code);
8262
+ ]), b) {
8263
+ const c = { ...b, value: b.code, label: b.name };
8264
+ await u(c), F.nav.setActiveItem(b.code);
8267
8265
  }
8268
8266
  if (!i.subAppList.length) {
8269
8267
  if (F.menu.setItems([]), F.tab.setItems([]), location.pathname !== RA && location.pathname !== hA) {
8270
- const b = $3.find((s) => s.value === RA);
8271
- b && u(b);
8268
+ const c = $3.find((q) => q.value === RA);
8269
+ c && u(c);
8272
8270
  }
8273
8271
  ge(), rv();
8274
8272
  }
@@ -8278,7 +8276,7 @@ const z6 = (e) => {
8278
8276
  const e = y9();
8279
8277
  let { mainAppName: A = "", microAppName: f = "", microApps: v = [] } = u9();
8280
8278
  return !A && f && (v = [{ name: f }]), v.map((P) => P.name), { entryMenu: async (P) => {
8281
- var q;
8279
+ var s;
8282
8280
  const { currentMenu: t, route: z = {}, microPath: d = "" } = P;
8283
8281
  if (!t) return;
8284
8282
  let n = { ...z.query, app: t.applicationCode, menu: t.code };
@@ -8287,13 +8285,13 @@ const z6 = (e) => {
8287
8285
  if (u === 1)
8288
8286
  if (x === 1)
8289
8287
  if (t.routeUrl.startsWith(b9)) {
8290
- const c = gn(t.routeUrl, "iframeSrc");
8288
+ const b = gn(t.routeUrl, "iframeSrc");
8291
8289
  if (X = `${b9}-${t.code}`, !e.options.routes.find((H) => H.path === X)) {
8292
8290
  const H = {
8293
8291
  path: X,
8294
8292
  name: X,
8295
8293
  component: jA(Le, {
8296
- src: c
8294
+ src: b
8297
8295
  }),
8298
8296
  meta: { isIframe: !0, keepAlive: !0 }
8299
8297
  };
@@ -8302,9 +8300,9 @@ const z6 = (e) => {
8302
8300
  await e.push({ path: X, query: n });
8303
8301
  } else t.applicationPath && (X = d || t.routeUrl, X = `/${t.applicationPath}${X}`.replace(/\/\//g, "/"), await e.push({ path: X, query: n }));
8304
8302
  else {
8305
- const c = await qv(t.routeUrl, (t == null ? void 0 : t.param) ?? []), H = Ve(Oe(me(c)));
8306
- if (X = `${b9}-${t.code}`, !e.options.routes.find((b) => b.path === X)) {
8307
- const b = {
8303
+ const b = await qv(t.routeUrl, (t == null ? void 0 : t.param) ?? []), H = Ve(Oe(me(b)));
8304
+ if (X = `${b9}-${t.code}`, !e.options.routes.find((c) => c.path === X)) {
8305
+ const c = {
8308
8306
  path: X,
8309
8307
  name: X,
8310
8308
  component: jA(Le, {
@@ -8312,13 +8310,13 @@ const z6 = (e) => {
8312
8310
  }),
8313
8311
  meta: { isIframe: !0, keepAlive: !0 }
8314
8312
  };
8315
- e.addRoute(b), e.options.routes.push(b);
8313
+ e.addRoute(c), e.options.routes.push(c);
8316
8314
  }
8317
8315
  await e.push({ path: X, query: n });
8318
8316
  }
8319
8317
  if (u === 2) {
8320
- let c = x === 1 ? `/${t.applicationPath}${t.routeUrl}`.replace(/\/\//g, "/") : t.routeUrl;
8321
- c = Ve(Oe(me(c))), xA.innerSet ? (X = Av, await e.push({ path: X, query: n }), c && window.open(c, "_blank")) : x === 1 && (X = c, n = { ...n, showLayout: !1 }, await e.push({
8318
+ let b = x === 1 ? `/${t.applicationPath}${t.routeUrl}`.replace(/\/\//g, "/") : t.routeUrl;
8319
+ b = Ve(Oe(me(b))), xA.innerSet ? (X = Av, await e.push({ path: X, query: n }), b && window.open(b, "_blank")) : x === 1 && (X = b, n = { ...n, showLayout: !1 }, await e.push({
8322
8320
  path: X,
8323
8321
  query: n
8324
8322
  }));
@@ -8329,10 +8327,10 @@ const z6 = (e) => {
8329
8327
  menuCode: t.code,
8330
8328
  displayMenuName: t.name
8331
8329
  });
8332
- const i = ((q = z.meta) == null ? void 0 : q.showLayout) ?? !0;
8330
+ const i = ((s = z.meta) == null ? void 0 : s.showLayout) ?? !0;
8333
8331
  let a = (n == null ? void 0 : n.showLayout) ?? !0;
8334
8332
  if (a === "false" && (a = !1), i && a) {
8335
- const c = {
8333
+ const b = {
8336
8334
  currentApplication: uA().currentSubApp.routeUrl,
8337
8335
  applicationPath: t.applicationPath,
8338
8336
  applicationCode: t.applicationCode,
@@ -8343,9 +8341,9 @@ const z6 = (e) => {
8343
8341
  query: n
8344
8342
  };
8345
8343
  F.tab.appendItem({
8346
- ...c,
8347
- value: c.code,
8348
- label: c.name
8344
+ ...b,
8345
+ value: b.code,
8346
+ label: b.name
8349
8347
  }), F.tab.setActiveItem(t.code), F.menu.setActiveItem(t.id), Pv(t.code), IA([
8350
8348
  {
8351
8349
  key: "currentCode",
@@ -8353,15 +8351,15 @@ const z6 = (e) => {
8353
8351
  },
8354
8352
  {
8355
8353
  key: "currentTab",
8356
- value: c
8354
+ value: b
8357
8355
  },
8358
8356
  {
8359
8357
  key: `preTab:${t.applicationCode}`,
8360
- value: c
8358
+ value: b
8361
8359
  },
8362
8360
  {
8363
8361
  key: `tabMap:${t.applicationCode}`,
8364
- value: c
8362
+ value: b
8365
8363
  }
8366
8364
  ]);
8367
8365
  }
@@ -8380,16 +8378,16 @@ const z6 = (e) => {
8380
8378
  if (!Array.isArray(l)) return [];
8381
8379
  if (X.query) {
8382
8380
  const Z = ((O = X.query) == null ? void 0 : O.project) ?? ((N = X.query) == null ? void 0 : N.projectId) ?? "";
8383
- if (!l.length || Z && Z !== GA().id) {
8381
+ if (!l.length || Z && Z !== YA().id) {
8384
8382
  await A();
8385
8383
  const { navConfig: T } = await gv();
8386
8384
  T && (l = T);
8387
8385
  }
8388
8386
  }
8389
8387
  return l.map((Z) => Z.apps).flat() ?? [];
8390
- }, q = z.filter((l) => l.public);
8391
- if (q.length) {
8392
- const l = q.find(
8388
+ }, s = z.filter((l) => l.public);
8389
+ if (s.length) {
8390
+ const l = s.find(
8393
8391
  (j) => X.path.startsWith("/" + j.name) || X.path.startsWith(j.name)
8394
8392
  );
8395
8393
  if (l) {
@@ -8402,10 +8400,10 @@ const z6 = (e) => {
8402
8400
  return;
8403
8401
  }
8404
8402
  }
8405
- const c = await a(), H = c.map((l) => l.code), b = ((p = X.query) == null ? void 0 : p.app) ?? "", s = ((m = uA()) == null ? void 0 : m.subAppList) ?? [];
8406
- if (s.length) {
8407
- const l = s.filter((O) => O.code !== b && !H.includes(O.code)), j = s.filter(
8408
- (O) => b === O.code || H.includes(O.code)
8403
+ const b = await a(), H = b.map((l) => l.code), c = ((p = X.query) == null ? void 0 : p.app) ?? "", q = ((m = uA()) == null ? void 0 : m.subAppList) ?? [];
8404
+ if (q.length) {
8405
+ const l = q.filter((O) => O.code !== c && !H.includes(O.code)), j = q.filter(
8406
+ (O) => c === O.code || H.includes(O.code)
8409
8407
  );
8410
8408
  MA([{ key: "subAppList", value: j }]), l && l.length && l.forEach((O) => {
8411
8409
  IA([
@@ -8415,7 +8413,7 @@ const z6 = (e) => {
8415
8413
  });
8416
8414
  }
8417
8415
  if (X.query.app) {
8418
- let l = c.find((j) => j.code === X.query.app);
8416
+ let l = b.find((j) => j.code === X.query.app);
8419
8417
  if (!l && i) {
8420
8418
  const { currentApp: j } = Te(X.query.app);
8421
8419
  if (j) {
@@ -8431,8 +8429,8 @@ const z6 = (e) => {
8431
8429
  (j) => X.path.startsWith("/" + j.name) || X.path.startsWith(j.name)
8432
8430
  );
8433
8431
  if (l) {
8434
- let j = c.find((O) => O.routeUrl === l.name);
8435
- j || (j = c.find(
8432
+ let j = b.find((O) => O.routeUrl === l.name);
8433
+ j || (j = b.find(
8436
8434
  (O) => (O == null ? void 0 : O.routePath) && O.routePath.length && O.routePath.includes(l.name)
8437
8435
  )), v({
8438
8436
  microApp: j,
@@ -8497,10 +8495,10 @@ const z6 = (e) => {
8497
8495
  const n = Object.keys(d).map((x) => `${x}=${d[x]}`).join("&"), u = `${f.baseURL}${t.logout}?${n}`;
8498
8496
  window.__isAutoCloseApp = !1, location.replace(u), sessionStorage.clear(), localStorage.removeItem("idelTime"), Fn();
8499
8497
  }, { entryApp: r } = m9(), P = async () => {
8500
- const t = "personCenter", d = (uA().appcategorys || []).map((i) => i.apps).flat(), { originalMenus: n = [] } = await Ue(t), x = QA(n).filter((i) => i.isMenu && i.routeUrl).find((i) => i.routeUrl === "/userInfo");
8498
+ const t = "personCenter", d = (uA().appcategorys || []).map((i) => i.apps).flat(), { originalMenus: n = [] } = await Ue(t), x = UA(n).filter((i) => i.isMenu && i.routeUrl).find((i) => i.routeUrl === "/userInfo");
8501
8499
  if (x != null && x.disable || x != null && x.expired) {
8502
- const { title: i, content: a, desc: q } = await he(x);
8503
- await G9({ title: i, content: a, desc: q });
8500
+ const { title: i, content: a, desc: s } = await he(x);
8501
+ await G9({ title: i, content: a, desc: s });
8504
8502
  return;
8505
8503
  }
8506
8504
  const X = d.find((i) => i.code === t);
@@ -8536,30 +8534,30 @@ const z6 = (e) => {
8536
8534
  const [d, n] = await J6().run({ tenant: z });
8537
8535
  if (d) return;
8538
8536
  A.value = !1;
8539
- const { access_token: u = "", refresh_token: x = "", expires_in: X = 0, sub: i = "", name: a = "", flag: q = "", tenant: c = "" } = n, H = {
8537
+ const { access_token: u = "", refresh_token: x = "", expires_in: X = 0, sub: i = "", name: a = "", flag: s = "", tenant: b = "" } = n, H = {
8540
8538
  accessToken: u,
8541
8539
  accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(X) * 1e3,
8542
8540
  refreshToken: x,
8543
8541
  info: n
8544
8542
  };
8545
8543
  Un().save(H), G3(H);
8546
- const b = {
8544
+ const c = {
8547
8545
  id: i,
8548
8546
  name: a,
8549
- flag: q,
8550
- tenantId: c
8547
+ flag: s,
8548
+ tenantId: b
8551
8549
  };
8552
- sessionStorage.setItem("hotentUserInfo", JSON.stringify(b)), hn(u);
8553
- let s = "";
8550
+ sessionStorage.setItem("hotentUserInfo", JSON.stringify(c)), hn(u);
8551
+ let q = "";
8554
8552
  if (e != null && e.ssoLocale)
8555
- s = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${z}`;
8553
+ q = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${z}`;
8556
8554
  else {
8557
8555
  const [p, m] = await F6().run();
8558
- m != null && m.loginHost && (s = `${m.loginHost}/oauth/refreshOauthToken?tenantId=${z}`);
8556
+ m != null && m.loginHost && (q = `${m.loginHost}/oauth/refreshOauthToken?tenantId=${z}`);
8559
8557
  }
8560
- if (s) {
8558
+ if (q) {
8561
8559
  const p = document.createElement("iframe");
8562
- p.src = s, p.style.display = "none", document.body.appendChild(p), setTimeout(() => P(), 300);
8560
+ p.src = q, p.style.display = "none", document.body.appendChild(p), setTimeout(() => P(), 300);
8563
8561
  } else
8564
8562
  P();
8565
8563
  }
@@ -8680,7 +8678,7 @@ const z6 = (e) => {
8680
8678
  },
8681
8679
  message: async (t) => {
8682
8680
  if (NA.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: t }), window.self !== window.top) return;
8683
- const d = GA().id;
8681
+ const d = YA().id;
8684
8682
  e.value = t.filter(
8685
8683
  (n) => n.projectId === d || n.projectId === 0 || n.projectId === "0"
8686
8684
  ), f.value && f.value.length && (f.value.forEach((n) => df.close(n)), f.value = []), await R9(), e.value.forEach((n, u) => {
@@ -8721,7 +8719,7 @@ const z6 = (e) => {
8721
8719
  });
8722
8720
  }, t1 = "v1", u1 = W9(`/api/enterpriseright/permission/${t1}`), Fv = W9("/api/device-relation/deviceproject/v1/project/device/video", d1), z1 = we.get("/permissionset/user-portal-menu");
8723
8721
  function d1(e) {
8724
- const A = GA() ? GA().id : 1;
8722
+ const A = YA() ? YA().id : 1;
8725
8723
  return e.params || (e.params = {}), e.params.project = A, e.params.projectId = A, e;
8726
8724
  }
8727
8725
  function Sv(e) {
@@ -8959,32 +8957,32 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8959
8957
  "direction-control": import("@das-fed/ui/packages/icons/direction-control")
8960
8958
  });
8961
8959
  const f = e, v = A, r = o(!0), P = o(), t = o(!1), z = o(), d = EA(() => {
8962
- var s;
8963
- return (s = z.value) == null ? void 0 : s.video;
8964
- }), n = o(!1), u = o(!0), x = (s) => {
8965
- P.value = s, P.value.on(window.mpegts.Events.ERROR, (p) => {
8960
+ var q;
8961
+ return (q = z.value) == null ? void 0 : q.video;
8962
+ }), n = o(!1), u = o(!0), x = (q) => {
8963
+ P.value = q, P.value.on(window.mpegts.Events.ERROR, (p) => {
8966
8964
  });
8967
8965
  }, X = () => {
8968
8966
  r.value = !r.value, P.value && (P.value.muted = r.value);
8969
8967
  }, i = () => {
8970
8968
  t.value = !t.value;
8971
- }, a = o(""), q = () => {
8972
- const s = document.createElement("canvas");
8969
+ }, a = o(""), s = () => {
8970
+ const q = document.createElement("canvas");
8973
8971
  if (d.value) {
8974
- s.width = d.value.clientWidth, s.height = d.value.clientHeight;
8975
- const p = s.getContext("2d");
8976
- p == null || p.drawImage(d.value, 0, 0, s.width, s.height);
8977
- const m = s.toDataURL("image/jpg"), V = `【${f.title}】${le().format("YYYYMMDDHHmmss").toString()}.jpg`;
8972
+ q.width = d.value.clientWidth, q.height = d.value.clientHeight;
8973
+ const p = q.getContext("2d");
8974
+ p == null || p.drawImage(d.value, 0, 0, q.width, q.height);
8975
+ const m = q.toDataURL("image/jpg"), V = `【${f.title}】${le().format("YYYYMMDDHHmmss").toString()}.jpg`;
8978
8976
  if (a.value = m, "download" in document.createElement("a")) {
8979
8977
  const R = document.createElement("a");
8980
- R.download = V, R.style.display = "none", R.href = m, document.body.appendChild(R), document.body.appendChild(s), R.click(), URL.revokeObjectURL(R.href), document.body.removeChild(R), document.body.removeChild(s);
8978
+ R.download = V, R.style.display = "none", R.href = m, document.body.appendChild(R), document.body.appendChild(q), R.click(), URL.revokeObjectURL(R.href), document.body.removeChild(R), document.body.removeChild(q);
8981
8979
  }
8982
8980
  }
8983
- }, c = (s) => {
8984
- v("directionControl", s);
8985
- }, H = (s) => {
8986
- v("zoomControl", s);
8987
- }, b = (s) => f.authType.includes(s);
8981
+ }, b = (q) => {
8982
+ v("directionControl", q);
8983
+ }, H = (q) => {
8984
+ v("zoomControl", q);
8985
+ }, c = (q) => f.authType.includes(q);
8988
8986
  return OA(
8989
8987
  () => d.value,
8990
8988
  () => {
@@ -9026,7 +9024,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9026
9024
  u.value = !0;
9027
9025
  });
9028
9026
  }
9029
- ), (s, p) => (fA(), mA("div", x1, [
9027
+ ), (q, p) => (fA(), mA("div", x1, [
9030
9028
  B(D(Of), {
9031
9029
  spinning: f.loading,
9032
9030
  type: "component",
@@ -9046,7 +9044,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9046
9044
  ])
9047
9045
  ]),
9048
9046
  k("div", V1, [
9049
- ["live"].includes(s.type) ? (fA(), mA(
9047
+ ["live"].includes(q.type) ? (fA(), mA(
9050
9048
  "span",
9051
9049
  N1,
9052
9050
  rA(D(M)("正在实时预览")),
@@ -9101,13 +9099,13 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9101
9099
  B(D(N9), {
9102
9100
  class: "icon icon-screenshot",
9103
9101
  icon: "screenshot",
9104
- onClick: DA(q, ["stop"])
9102
+ onClick: DA(s, ["stop"])
9105
9103
  })
9106
9104
  ]),
9107
9105
  _: 1
9108
9106
  /* STABLE */
9109
9107
  }, 8, ["content"]),
9110
- b("control") ? (fA(), XA(D(WA), {
9108
+ c("control") ? (fA(), XA(D(WA), {
9111
9109
  key: 0,
9112
9110
  content: D(M)("聚焦-")
9113
9111
  }, {
@@ -9122,7 +9120,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9122
9120
  _: 1
9123
9121
  /* STABLE */
9124
9122
  }, 8, ["content"])) : nA("v-if", !0),
9125
- b("control") ? (fA(), XA(D(WA), {
9123
+ c("control") ? (fA(), XA(D(WA), {
9126
9124
  key: 1,
9127
9125
  content: D(M)("聚焦+")
9128
9126
  }, {
@@ -9137,7 +9135,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9137
9135
  _: 1
9138
9136
  /* STABLE */
9139
9137
  }, 8, ["content"])) : nA("v-if", !0),
9140
- b("control") ? (fA(), XA(D(WA), {
9138
+ c("control") ? (fA(), XA(D(WA), {
9141
9139
  key: 2,
9142
9140
  content: D(M)("方向控制")
9143
9141
  }, {
@@ -9160,7 +9158,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9160
9158
  ]),
9161
9159
  t.value ? (fA(), XA(p1, {
9162
9160
  key: 1,
9163
- onChange: c
9161
+ onChange: b
9164
9162
  })) : nA("v-if", !0)
9165
9163
  ]),
9166
9164
  _: 1
@@ -9345,7 +9343,7 @@ const y1 = /* @__PURE__ */ qA({
9345
9343
  if (!t)
9346
9344
  return z;
9347
9345
  }, r = async () => {
9348
- const P = GA().id, [t, z] = await z1().run({
9346
+ const P = YA().id, [t, z] = await z1().run({
9349
9347
  code: "strategy",
9350
9348
  showBtn: !1
9351
9349
  });
@@ -9360,7 +9358,7 @@ const y1 = /* @__PURE__ */ qA({
9360
9358
  projectId: P,
9361
9359
  deviceIds: n == null ? void 0 : n.deviceId
9362
9360
  }, i = (await v(x)).map((a) => {
9363
- let q = a.lookupOrOperation == 1;
9361
+ let s = a.lookupOrOperation == 1;
9364
9362
  return {
9365
9363
  id: a.id,
9366
9364
  productId: a.productId,
@@ -9368,7 +9366,7 @@ const y1 = /* @__PURE__ */ qA({
9368
9366
  deviceName: a.deviceName,
9369
9367
  authType: a.controlAuthorization == 1 ? 2 : 1,
9370
9368
  // 1 查看权限 2 查看+操作权限
9371
- show: !!q
9369
+ show: !!s
9372
9370
  };
9373
9371
  });
9374
9372
  A.value = i.filter((a) => !!a.show), (u = A.value) != null && u.length && W1({ gridNum: e.value, deviceList: A.value });
@@ -9794,40 +9792,40 @@ class C1 extends Zf {
9794
9792
  return this._httpClient.getCookieString(A);
9795
9793
  }
9796
9794
  }
9797
- class YA {
9795
+ class QA {
9798
9796
  static write(A) {
9799
- return `${A}${YA.RecordSeparator}`;
9797
+ return `${A}${QA.RecordSeparator}`;
9800
9798
  }
9801
9799
  static parse(A) {
9802
- if (A[A.length - 1] !== YA.RecordSeparator)
9800
+ if (A[A.length - 1] !== QA.RecordSeparator)
9803
9801
  throw new Error("Message is incomplete.");
9804
- const f = A.split(YA.RecordSeparator);
9802
+ const f = A.split(QA.RecordSeparator);
9805
9803
  return f.pop(), f;
9806
9804
  }
9807
9805
  }
9808
- YA.RecordSeparatorCode = 30;
9809
- YA.RecordSeparator = String.fromCharCode(YA.RecordSeparatorCode);
9806
+ QA.RecordSeparatorCode = 30;
9807
+ QA.RecordSeparator = String.fromCharCode(QA.RecordSeparatorCode);
9810
9808
  class _1 {
9811
9809
  // Handshake request is always JSON
9812
9810
  writeHandshakeRequest(A) {
9813
- return YA.write(JSON.stringify(A));
9811
+ return QA.write(JSON.stringify(A));
9814
9812
  }
9815
9813
  parseHandshakeResponse(A) {
9816
9814
  let f, v;
9817
9815
  if (q9(A)) {
9818
- const z = new Uint8Array(A), d = z.indexOf(YA.RecordSeparatorCode);
9816
+ const z = new Uint8Array(A), d = z.indexOf(QA.RecordSeparatorCode);
9819
9817
  if (d === -1)
9820
9818
  throw new Error("Message is incomplete.");
9821
9819
  const n = d + 1;
9822
9820
  f = String.fromCharCode.apply(null, Array.prototype.slice.call(z.slice(0, n))), v = z.byteLength > n ? z.slice(n).buffer : null;
9823
9821
  } else {
9824
- const z = A, d = z.indexOf(YA.RecordSeparator);
9822
+ const z = A, d = z.indexOf(QA.RecordSeparator);
9825
9823
  if (d === -1)
9826
9824
  throw new Error("Message is incomplete.");
9827
9825
  const n = d + 1;
9828
9826
  f = z.substring(0, n), v = z.length > n ? z.substring(n) : null;
9829
9827
  }
9830
- const r = YA.parse(f), P = JSON.parse(r[0]);
9828
+ const r = QA.parse(f), P = JSON.parse(r[0]);
9831
9829
  if (P.type)
9832
9830
  throw new Error("Expected a handshake response from the server.");
9833
9831
  return [v, P];
@@ -10996,7 +10994,7 @@ class c8 {
10996
10994
  if (!A)
10997
10995
  return [];
10998
10996
  f === null && (f = F9.instance);
10999
- const v = YA.parse(A), r = [];
10997
+ const v = QA.parse(A), r = [];
11000
10998
  for (const P of v) {
11001
10999
  const t = JSON.parse(P);
11002
11000
  if (typeof t.type != "number")
@@ -11035,7 +11033,7 @@ class c8 {
11035
11033
  * @returns {string} A string containing the serialized representation of the message.
11036
11034
  */
11037
11035
  writeMessage(A) {
11038
- return YA.write(JSON.stringify(A));
11036
+ return QA.write(JSON.stringify(A));
11039
11037
  }
11040
11038
  _isInvocationMessage(A) {
11041
11039
  this._assertNotEmptyString(A.target, "Invalid payload for Invocation message."), A.invocationId !== void 0 && this._assertNotEmptyString(A.invocationId, "Invalid payload for Invocation message.");
@@ -11164,27 +11162,27 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11164
11162
  userType: 1
11165
11163
  });
11166
11164
  if (f || !v || !v.length) return null;
11167
- const r = QA(v).find((P) => P.code === A);
11165
+ const r = UA(v).find((P) => P.code === A);
11168
11166
  return r || null;
11169
11167
  }, R8 = () => {
11170
11168
  const e = sf(), { entryApp: A } = Xf.hooks.useEntryApp(), { entryMenu: f } = Xf.hooks.useEntryMenu();
11171
11169
  let v = null;
11172
11170
  return _A(async () => {
11173
11171
  await lf();
11174
- const r = (q) => {
11172
+ const r = (s) => {
11175
11173
  try {
11176
- return JSON.parse(q);
11174
+ return JSON.parse(s);
11177
11175
  } catch {
11178
11176
  return !1;
11179
11177
  }
11180
- }, P = async (q) => {
11181
- var b, s, p, m, V;
11182
- const c = uA(), H = ((b = c.appcategorys) == null ? void 0 : b.map((R) => R.apps).flat()) || [];
11183
- if (Array.isArray(q)) {
11184
- const R = q.filter((l) => l.code).map((l) => l.code);
11185
- if (q.length) {
11186
- if (c.currentSubAppCode) {
11187
- const j = c.currentSubApp.menus ?? [], O = QA(j).find((N) => R.includes(N.code));
11178
+ }, P = async (s) => {
11179
+ var c, q, p, m, V;
11180
+ const b = uA(), H = ((c = b.appcategorys) == null ? void 0 : c.map((R) => R.apps).flat()) || [];
11181
+ if (Array.isArray(s)) {
11182
+ const R = s.filter((l) => l.code).map((l) => l.code);
11183
+ if (s.length) {
11184
+ if (b.currentSubAppCode) {
11185
+ const j = b.currentSubApp.menus ?? [], O = UA(j).find((N) => R.includes(N.code));
11188
11186
  if (O) {
11189
11187
  f({ currentMenu: O });
11190
11188
  return;
@@ -11194,8 +11192,8 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11194
11192
  l && A({ microApp: l });
11195
11193
  }
11196
11194
  }
11197
- if (typeof q == "string") {
11198
- let R = q;
11195
+ if (typeof s == "string") {
11196
+ let R = s;
11199
11197
  const l = "_showEchartTooltip", j = R.endsWith(l);
11200
11198
  j && (R = R.slice(0, R.indexOf(l)));
11201
11199
  const O = "_zdkbInfo", N = R.endsWith(O);
@@ -11208,7 +11206,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11208
11206
  const _ = await M3(h.code, Q);
11209
11207
  if (_) {
11210
11208
  const G = JSON.stringify({ showEchartTooltip: j });
11211
- (s = e.query) != null && s.app && e.query.app === h.code && ((p = e.query) != null && p.menu) && e.query.menu === Q ? NA.sendMessageToMicroApp(_.applicationPath, `${Q}:todetail`, G) : (await A({ microApp: h, menuCode: Q }), setTimeout(() => {
11209
+ (q = e.query) != null && q.app && e.query.app === h.code && ((p = e.query) != null && p.menu) && e.query.menu === Q ? NA.sendMessageToMicroApp(_.applicationPath, `${Q}:todetail`, G) : (await A({ microApp: h, menuCode: Q }), setTimeout(() => {
11212
11210
  NA.sendMessageToMicroApp(_.applicationPath, `${Q}:todetail`, G, {
11213
11211
  awaitListener: !0
11214
11212
  });
@@ -11246,49 +11244,49 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11246
11244
  }
11247
11245
  };
11248
11246
  let t = o(!0);
11249
- const z = (q) => {
11247
+ const z = (s) => {
11250
11248
  setTimeout(async () => {
11251
- var c, H;
11249
+ var b, H;
11252
11250
  if (t.value) {
11253
- const [b, s] = await l8().run({}, { params: { aliasName: q.actionValue } });
11254
- b ? await pe().run({
11255
- uniqueId: q.uniqueId,
11251
+ const [c, q] = await l8().run({}, { params: { aliasName: s.actionValue } });
11252
+ c ? await pe().run({
11253
+ uniqueId: s.uniqueId,
11256
11254
  status: 0,
11257
- errorMsg: "未找到" + q.actionValue
11258
- }) : s.length ? (s.length > 1 ? P(s) : P((c = s[0]) == null ? void 0 : c.code), await pe().run({
11259
- uniqueId: q.uniqueId,
11255
+ errorMsg: "未找到" + s.actionValue
11256
+ }) : q.length ? (q.length > 1 ? P(q) : P((b = q[0]) == null ? void 0 : b.code), await pe().run({
11257
+ uniqueId: s.uniqueId,
11260
11258
  status: 1,
11261
- targetName: (H = s[0]) == null ? void 0 : H.name
11259
+ targetName: (H = q[0]) == null ? void 0 : H.name
11262
11260
  })) : await pe().run({
11263
- uniqueId: q.uniqueId,
11261
+ uniqueId: s.uniqueId,
11264
11262
  status: 0,
11265
- errorMsg: "未找到" + q.actionValue
11263
+ errorMsg: "未找到" + s.actionValue
11266
11264
  });
11267
11265
  }
11268
11266
  t.value = !0;
11269
11267
  }, 2e3);
11270
- }, d = (q) => {
11271
- const c = t9(), H = JSON.parse(atob(c.split(".")[1])).sub;
11272
- p8().on(`${q}:${H}`, async function(s) {
11273
- let p = r(s);
11268
+ }, d = (s) => {
11269
+ const b = t9(), H = JSON.parse(atob(b.split(".")[1])).sub;
11270
+ p8().on(`${s}:${H}`, async function(q) {
11271
+ let p = r(q);
11274
11272
  if (p)
11275
11273
  p.uniqueId && p.actionKey == "switch-menu" && z(p);
11276
- else if (s.includes("openAppMenu=")) {
11277
- const m = s.split("="), V = JSON.parse(m[1]);
11274
+ else if (q.includes("openAppMenu=")) {
11275
+ const m = q.split("="), V = JSON.parse(m[1]);
11278
11276
  P(V);
11279
- } else s.includes("iocIsRun") && (t.value = !1);
11277
+ } else q.includes("iocIsRun") && (t.value = !1);
11280
11278
  });
11281
11279
  }, n = o(""), [u, x] = await I3().run();
11282
11280
  n.value = x, d(n.value);
11283
11281
  const X = async () => {
11284
- const [q, c] = await I3().run();
11285
- c !== n.value && (n.value = c, d(n.value));
11282
+ const [s, b] = await I3().run();
11283
+ b !== n.value && (n.value = b, d(n.value));
11286
11284
  };
11287
11285
  v = setInterval(() => {
11288
11286
  X();
11289
11287
  }, 72e5);
11290
- const i = o("online"), a = (q) => {
11291
- q === "online" && i.value === "offline" && setTimeout(() => {
11288
+ const i = o("online"), a = (s) => {
11289
+ s === "online" && i.value === "offline" && setTimeout(() => {
11292
11290
  X();
11293
11291
  }, 5e3), i.value = (window.navigator.onLine ? "on" : "off") + "line";
11294
11292
  };
@@ -11358,7 +11356,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11358
11356
  { id: 2, name: AA("时").value },
11359
11357
  { id: 1, name: AA("分").value },
11360
11358
  { id: 3, name: AA("不限").value }
11361
- ]), q = o([]), c = o(""), H = o(AA("告警对象位置").value), b = o(""), s = o([]), p = o("");
11359
+ ]), s = o([]), b = o(""), H = o(AA("告警对象位置").value), c = o(""), q = o([]), p = o("");
11362
11360
  o("[]");
11363
11361
  const m = o(!0), V = o(!0), R = async (J) => {
11364
11362
  const I = { name: "1" };
@@ -11384,7 +11382,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11384
11382
  ), OA(
11385
11383
  O,
11386
11384
  (J) => {
11387
- J ? (n.value.reportTheme = AA("告警对象").value, j.value = !0) : (b.value = AA("请输入").value, n.value.reportTheme = "", j.value = !1);
11385
+ J ? (n.value.reportTheme = AA("告警对象").value, j.value = !0) : (c.value = AA("请输入").value, n.value.reportTheme = "", j.value = !1);
11388
11386
  },
11389
11387
  { immediate: !0 }
11390
11388
  );
@@ -11394,15 +11392,15 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11394
11392
  }, Q = (J) => {
11395
11393
  u.value.reportTheme = "";
11396
11394
  }, h = (J, I) => {
11397
- I.length > 0 && (c.value = I[0].path), n.value.reportPosition = J, p.value = "";
11395
+ I.length > 0 && (b.value = I[0].path), n.value.reportPosition = J, p.value = "";
11398
11396
  }, _ = (J) => {
11399
- J && (u.value.reportPosition = "", c.value = ""), J ? (n.value.reportPosition = null, c.value = "", H.value = AA("告警对象位置").value) : (n.value.reportPosition = null, c.value = "", H.value = AA("请选择").value);
11397
+ J && (u.value.reportPosition = "", b.value = ""), J ? (n.value.reportPosition = null, b.value = "", H.value = AA("告警对象位置").value) : (n.value.reportPosition = null, b.value = "", H.value = AA("请选择").value);
11400
11398
  }, G = (J) => {
11401
- J && (u.value.reportTheme = ""), J ? (n.value.reportTheme = "", b.value = AA("告警对象").value) : (n.value.reportTheme = "", b.value = AA("请输入").value);
11399
+ J && (u.value.reportTheme = ""), J ? (n.value.reportTheme = "", c.value = AA("告警对象").value) : (n.value.reportTheme = "", c.value = AA("请输入").value);
11402
11400
  }, Y = () => {
11403
11401
  u.value.processTypeId = "", u.value.reason = "", u.value.treatmentPlan = "", u.value.reportPosition = "", u.value.reportTheme = "", u.value.workOrderRules = "", u.value.eventTypeId = "", u.value.eventLevelId = "", u.value.timeLimit = "";
11404
11402
  }, S = () => {
11405
- n.value.processTypeId = "confirm", n.value.reason = "", n.value.treatmentPlan = "", n.value.remarks = "", n.value.reportPosition = "", n.value.reportTheme = "", n.value.workOrderRules = null, V.value = !0, O.value = !0, j.value = !0, n.value.reportTheme = AA("告警对象").value, c.value = "", H.value = AA("告警对象位置").value, b.value = AA("请输入").value, n.value.eventTypeId = "", n.value.eventLevelId = null, n.value.timeLimit = "", n.value.interval = 1, X.value = [], i.value = [];
11403
+ n.value.processTypeId = "confirm", n.value.reason = "", n.value.treatmentPlan = "", n.value.remarks = "", n.value.reportPosition = "", n.value.reportTheme = "", n.value.workOrderRules = null, V.value = !0, O.value = !0, j.value = !0, n.value.reportTheme = AA("告警对象").value, b.value = "", H.value = AA("告警对象位置").value, c.value = AA("请输入").value, n.value.eventTypeId = "", n.value.eventLevelId = null, n.value.timeLimit = "", n.value.interval = 1, X.value = [], i.value = [];
11406
11404
  }, C = (J) => {
11407
11405
  J == "eventTypeId" && (n.value.eventLevelId = null, W()), J == "eventLevelId" && E(), J == "interval" && (u.value.timeLimit = "", n.value.interval == 3 ? (x.value = !0, n.value.timeLimit = "") : x.value = !1);
11408
11406
  }, L = async () => {
@@ -11440,9 +11438,9 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11440
11438
  P.value = !1;
11441
11439
  return;
11442
11440
  }
11443
- P.value = !1, q.value = g;
11444
- for (let LA = 0; LA < q.value.length; LA++)
11445
- q.value[LA].id === "createorder" && Z();
11441
+ P.value = !1, s.value = g;
11442
+ for (let LA = 0; LA < s.value.length; LA++)
11443
+ s.value[LA].id === "createorder" && Z();
11446
11444
  }, dA = () => {
11447
11445
  let J = !0;
11448
11446
  if (n.value.processTypeId == "dealwith")
@@ -11579,7 +11577,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11579
11577
  type: "select",
11580
11578
  modelValue: n.value.processTypeId,
11581
11579
  "onUpdate:modelValue": I[0] || (I[0] = (g) => n.value.processTypeId = g),
11582
- options: q.value,
11580
+ options: s.value,
11583
11581
  col: 1,
11584
11582
  optionsLabelKey: "name",
11585
11583
  optionsValueKey: "id",
@@ -11649,12 +11647,12 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11649
11647
  props: { disabled: "_disabled", label: "name" },
11650
11648
  modelValue: n.value.reportPosition,
11651
11649
  "onUpdate:modelValue": I[8] || (I[8] = (g) => n.value.reportPosition = g),
11652
- path: c.value,
11653
- "onUpdate:path": I[9] || (I[9] = (g) => c.value = g),
11650
+ path: b.value,
11651
+ "onUpdate:path": I[9] || (I[9] = (g) => b.value = g),
11654
11652
  keyword: p.value,
11655
11653
  "onUpdate:keyword": I[10] || (I[10] = (g) => p.value = g),
11656
11654
  showFullPath: !0,
11657
- data: s.value,
11655
+ data: q.value,
11658
11656
  placeholder: H.value,
11659
11657
  disabled: m.value,
11660
11658
  load: R,
@@ -11711,7 +11709,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11711
11709
  disabled: j.value,
11712
11710
  modelValue: n.value.reportTheme,
11713
11711
  "onUpdate:modelValue": I[14] || (I[14] = (g) => n.value.reportTheme = g),
11714
- placeholder: b.value,
11712
+ placeholder: c.value,
11715
11713
  onChange: Q
11716
11714
  }, null, 8, ["disabled", "modelValue", "placeholder"]),
11717
11715
  B(D(i7), {
@@ -12042,9 +12040,9 @@ const cX = () => {
12042
12040
  var O;
12043
12041
  const j = (((O = uA().appcategorys) == null ? void 0 : O.map((N) => N.apps).flat()) ?? []).find((N) => N.code === "alarm");
12044
12042
  j && x({ microApp: j, menuPath: `/${j.routeUrl}/realTimeAlarm` });
12045
- }, q = [], c = (l) => {
12046
- if (q.push(l), P.value.length < 2) {
12047
- H(q[0]), q.shift();
12043
+ }, s = [], b = (l) => {
12044
+ if (s.push(l), P.value.length < 2) {
12045
+ H(s[0]), s.shift();
12048
12046
  return;
12049
12047
  }
12050
12048
  }, H = (l) => {
@@ -12068,14 +12066,14 @@ const cX = () => {
12068
12066
  onClose: () => {
12069
12067
  setTimeout(() => {
12070
12068
  const O = P.value.findIndex((N) => N == j);
12071
- if (O >= 0 && P.value.splice(O, 1), P.value.length < 2 && q.length) {
12072
- H(q[0]), q.shift();
12069
+ if (O >= 0 && P.value.splice(O, 1), P.value.length < 2 && s.length) {
12070
+ H(s[0]), s.shift();
12073
12071
  return;
12074
12072
  }
12075
12073
  }, 300);
12076
12074
  }
12077
- }), P.value.includes(j) || P.value.push(j), b(l);
12078
- }, b = (l) => {
12075
+ }), P.value.includes(j) || P.value.push(j), c(l);
12076
+ }, c = (l) => {
12079
12077
  if (l) {
12080
12078
  if (!d.value) {
12081
12079
  p();
@@ -12083,13 +12081,13 @@ const cX = () => {
12083
12081
  }
12084
12082
  if (!l.coverId) {
12085
12083
  if (n.value.playLine === null) {
12086
- p(), Number(l.noticeNum) != 0 && s(l);
12084
+ p(), Number(l.noticeNum) != 0 && q(l);
12087
12085
  return;
12088
12086
  }
12089
- Number(l.alarmLevelId) < n.value.playLine && (p(), Number(l.noticeNum) != 0 && s(l));
12087
+ Number(l.alarmLevelId) < n.value.playLine && (p(), Number(l.noticeNum) != 0 && q(l));
12090
12088
  }
12091
12089
  }
12092
- }, s = (l) => {
12090
+ }, q = (l) => {
12093
12091
  const j = Number(l.noticeNum), O = location.origin + "/oss";
12094
12092
  n.value.isplay && n.value.playId == l.recordId ? p() : (j < 0 ? n.value.loop = !0 : n.value.loop = !1, j > 0 ? (n.value.loopTotalCount = Number(l.noticeNum), n.value.loopCount = 0) : (n.value.loopTotalCount = 0, n.value.loopCount = 0), n.value.isplay = !0, n.value.playId = l.recordId, n.value.playLine = Number(l.alarmLevelId), n.value.playPath = O + l.noticePath, m());
12095
12093
  }, p = () => {
@@ -12122,11 +12120,11 @@ const cX = () => {
12122
12120
  url: "/api/alarm/socket/v1/record/subscribe",
12123
12121
  reconnectWhenClose: !0,
12124
12122
  opened: () => {
12125
- const N = GA().id;
12123
+ const N = YA().id;
12126
12124
  N && e.value.send(N);
12127
12125
  },
12128
12126
  message: async (N) => {
12129
- NA.sendMessageToMicroApp("enterpriseadmin/alarm", "alarm:message", { alarmMessage: N }), window.self === window.top && (N.messageType === "ADD" && (A.value = A.value + 1, N.coverId || c(N)), N.messageType === "DELETE" && (A.value = A.value - 1, n.value.playId == N.recordId && p()));
12127
+ NA.sendMessageToMicroApp("enterpriseadmin/alarm", "alarm:message", { alarmMessage: N }), window.self === window.top && (N.messageType === "ADD" && (A.value = A.value + 1, N.coverId || b(N)), N.messageType === "DELETE" && (A.value = A.value - 1, n.value.playId == N.recordId && p()));
12130
12128
  }
12131
12129
  }));
12132
12130
  }
@@ -12178,7 +12176,7 @@ const cX = () => {
12178
12176
  );
12179
12177
  const { initNextTick: d } = E6(), { loading: n, pageKey: u, innerPage: x, commandList: X, initNextTick: i } = M6(d);
12180
12178
  G6(x, d, i), Y6(), k6(), S6();
12181
- const { $changePwd: a, $personSetDialog: q } = U6(), { $aiPanel: c, toApp: H } = f1(), { changeEnterprisesVisible: b, userId: s, tenantId: p, changeEnterprise: m } = Jv();
12179
+ const { $changePwd: a, $personSetDialog: s } = U6(), { $aiPanel: b, toApp: H } = f1(), { changeEnterprisesVisible: c, userId: q, tenantId: p, changeEnterprise: m } = Jv();
12182
12180
  B6();
12183
12181
  const { fontColor: V, backgroudColor: R, borderColor: l } = Q6();
12184
12182
  return e1(), v1(X), n1(), P1(), w1(), R8(), (j, O) => (fA(), mA("div", sX, [
@@ -12211,9 +12209,9 @@ const cX = () => {
12211
12209
  }, 8, ["platformInitNextTick"]),
12212
12210
  nA(" 切换租户 "),
12213
12211
  B(D(Tn), {
12214
- visible: D(b),
12215
- "onUpdate:visible": O[0] || (O[0] = (N) => FA(b) ? b.value = N : null),
12216
- userId: D(s),
12212
+ visible: D(c),
12213
+ "onUpdate:visible": O[0] || (O[0] = (N) => FA(c) ? c.value = N : null),
12214
+ userId: D(q),
12217
12215
  tenantId: D(p),
12218
12216
  onConfirm: D(m)
12219
12217
  }, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
@@ -12233,7 +12231,7 @@ const cX = () => {
12233
12231
  D(T6),
12234
12232
  {
12235
12233
  ref_key: "$personSetDialog",
12236
- ref: q
12234
+ ref: s
12237
12235
  },
12238
12236
  null,
12239
12237
  512
@@ -12244,7 +12242,7 @@ const cX = () => {
12244
12242
  platformInitNextTick: D(d),
12245
12243
  onToApp: D(H),
12246
12244
  ref_key: "$aiPanel",
12247
- ref: c
12245
+ ref: b
12248
12246
  }, null, 8, ["platformInitNextTick", "onToApp"]),
12249
12247
  nA(" 告警 "),
12250
12248
  B(D(iX))
@@ -12420,11 +12418,11 @@ o("@das-fed/web");
12420
12418
  const xX = [
12421
12419
  {
12422
12420
  path: RA,
12423
- component: () => import("./index-DUMHs9Ne.js")
12421
+ component: () => import("./index-CI649lUE.js")
12424
12422
  },
12425
12423
  {
12426
12424
  path: Av,
12427
- component: () => import("./index-D0IwIvDd.js")
12425
+ component: () => import("./index-C4x9zluU.js")
12428
12426
  }
12429
12427
  ], O2 = {
12430
12428
  routes: xX,