@das-fed/web 6.4.0-hot.54 → 6.4.0-hot.55

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.
@@ -1,7 +1,7 @@
1
- import { defineComponent as qA, ref as o, onUnmounted as Xn, createElementBlock as mA, createCommentVNode as nA, openBlock as fA, createElementVNode as Q, createVNode as k, createTextVNode as aA, unref as D, toDisplayString as rA, watch as OA, createBlock as XA, computed as EA, mergeProps as bn, withCtx as U, renderSlot as r9, getCurrentScope as cn, onScopeDispose as an, getCurrentInstance as sn, onMounted as _A, nextTick as R9, reactive as g3, Fragment as i9, renderList as ye, withDirectives as h9, h as jA, render as Q9, vShow as af, normalizeClass as B3, isRef as FA, onBeforeUnmount as K9, useCssVars as qn, withModifiers as DA, toRefs as Hn, normalizeStyle as b7, createSlots as pn } from "vue";
1
+ import { defineComponent as qA, ref as o, onUnmounted as Xn, createElementBlock as lA, createCommentVNode as nA, openBlock as fA, createElementVNode as Q, createVNode as k, createTextVNode as aA, unref as D, toDisplayString as rA, watch as OA, createBlock as XA, computed as EA, mergeProps as bn, withCtx as U, renderSlot as r9, getCurrentScope as cn, onScopeDispose as an, getCurrentInstance as sn, onMounted as _A, nextTick as R9, reactive as g3, Fragment as i9, renderList as ye, withDirectives as h9, h as jA, render as Q9, vShow as af, normalizeClass as B3, isRef as FA, onBeforeUnmount as K9, useCssVars as qn, withModifiers as VA, toRefs as Hn, normalizeStyle as b7, createSlots as pn } from "vue";
2
2
  import { DasWebLayout as xn, DasWebTabs as On, DasWebMenu as mn, DasWebNav as ln, layout as S, layoutData as k3 } from "@das-fed/web/packages/layout/index";
3
3
  import { useRoute as sf, useRouter as y9 } from "vue-router";
4
- import { microFrontend as NA } from "@das-fed/web/packages/micro-frontend/index";
4
+ import { microFrontend as mA } from "@das-fed/web/packages/micro-frontend/index";
5
5
  import { i18n as AA, t as g, currentLang as C9, setLang as Dn, setI18nRule as Vn } from "@das-fed/web/packages/i18n/index";
6
6
  import { DasIconWarning as Nn } from "@das-fed/ui/packages/icons/warning/index";
7
7
  import { DasIconClose2 as Rn } from "@das-fed/ui/packages/icons/close-2/index";
@@ -69,14 +69,14 @@ const hA = "/home", RA = "/application", $3 = [
69
69
  const f = A, v = o(!0), r = o(""), P = o(0), t = o({}), z = () => {
70
70
  f("close-tip", !0), v.value = !0;
71
71
  };
72
- NA.sendMessageToMicroApp("iot/iot", "iot:banner-data-1", null, { awaitListener: !0 });
73
- const { remove: d } = NA.addEventListenerFromMicroApp("iot:banner-data-2", (n) => {
72
+ mA.sendMessageToMicroApp("iot/iot", "iot:banner-data-1", null, { awaitListener: !0 });
73
+ const { remove: d } = mA.addEventListenerFromMicroApp("iot:banner-data-2", (n) => {
74
74
  const u = JSON.parse(n.data);
75
75
  v.value = u == null ? void 0 : u.isClosed, r.value = u == null ? void 0 : u.expireDate, P.value = u == null ? void 0 : u.relativeDate, t.value = u == null ? void 0 : u.curExample;
76
76
  });
77
77
  return Xn(() => {
78
78
  d();
79
- }), (n, u) => v.value ? nA("v-if", !0) : (fA(), mA("div", ar, [
79
+ }), (n, u) => v.value ? nA("v-if", !0) : (fA(), lA("div", ar, [
80
80
  Q("div", ir, [
81
81
  k(D(Nn), {
82
82
  class: "icons",
@@ -196,8 +196,8 @@ function Nr(...e) {
196
196
  Array.isArray(f) || (f = [f]), Array.isArray(v) || (v = [v]);
197
197
  const P = [], t = () => {
198
198
  P.forEach((u) => u()), P.length = 0;
199
- }, z = (u, p, X, i) => (u.addEventListener(p, X, i), () => u.removeEventListener(p, X, i)), d = OA(() => [vv(A), fv(r)], ([u, p]) => {
200
- t(), u && P.push(...f.flatMap((X) => v.map((i) => z(u, X, i, p))));
199
+ }, z = (u, x, X, a) => (u.addEventListener(x, X, a), () => u.removeEventListener(x, X, a)), d = OA(() => [vv(A), fv(r)], ([u, x]) => {
200
+ t(), u && P.push(...f.flatMap((X) => v.map((a) => z(u, X, a, x))));
201
201
  }, { immediate: !0, flush: "post" }), n = () => {
202
202
  d(), t();
203
203
  };
@@ -262,28 +262,28 @@ function $9(e, A = {}) {
262
262
  } else
263
263
  return !1;
264
264
  return !1;
265
- }), [d, n, u, , p] = t;
265
+ }), [d, n, u, , x] = t;
266
266
  async function X() {
267
267
  z.value && (f != null && f[u] && await f[n](), P.value = !1);
268
268
  }
269
- async function i() {
269
+ async function a() {
270
270
  if (!z.value)
271
271
  return;
272
272
  await X();
273
273
  const s = vv(r);
274
274
  s && (await s[d](), P.value = !0);
275
275
  }
276
- async function a() {
277
- P.value ? await X() : await i();
276
+ async function i() {
277
+ P.value ? await X() : await a();
278
278
  }
279
- return f && Nr(f, p, () => {
279
+ return f && Nr(f, x, () => {
280
280
  P.value = !!(f != null && f[u]);
281
281
  }, !1), v && ev(X), {
282
282
  isSupported: z,
283
283
  isFullscreen: P,
284
- enter: i,
284
+ enter: a,
285
285
  exit: X,
286
- toggle: a
286
+ toggle: i
287
287
  };
288
288
  }
289
289
  var x7;
@@ -347,13 +347,13 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
347
347
  setTimeout(() => b(), 50);
348
348
  };
349
349
  b();
350
- }), p = async (s) => {
350
+ }), x = async (s) => {
351
351
  var H;
352
352
  await u();
353
353
  const b = !!((H = f.value) != null && H.pageSwith);
354
354
  t.value = s && b ? [...P.value] : [];
355
355
  }, X = async () => {
356
- var c, q, x, 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
358
  const [s, b] = await yr().run();
359
359
  if (s) return null;
@@ -361,7 +361,7 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
361
361
  P.value = [];
362
362
  const { name: j, phone: O } = await fr();
363
363
  let N = "";
364
- if ((q = f.value) != null && q.nameSwith && j && (P.value.push(j), N = N + `${j} `), (x = f.value) != null && x.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
  }
@@ -377,22 +377,22 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
377
377
  return n.value = !1, b;
378
378
  };
379
379
  X();
380
- const i = y9(), a = sf();
380
+ const a = y9(), i = sf();
381
381
  return OA(
382
- () => i.currentRoute.value,
382
+ () => a.currentRoute.value,
383
383
  (s) => {
384
- var q, x, m;
385
- const b = !!((q = f.value) != null && q.pageSwith), H = ((x = s.meta) == null ? void 0 : x.showWatermark) ?? !0;
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
386
  let c = ((m = s.query) == null ? void 0 : m.showWatermark) ?? !0;
387
- c === "false" && (c = !1), p(b && !!(H && c));
387
+ c === "false" && (c = !1), x(b && !!(H && c));
388
388
  },
389
389
  { immediate: !0 }
390
- ), NA.addEventListenerFromMicroApp("systemconfig:watermark-change", async () => {
390
+ ), mA.addEventListenerFromMicroApp("systemconfig:watermark-change", async () => {
391
391
  var H, c;
392
392
  await X();
393
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), p(!!(s && b));
394
+ let b = ((c = i.query) == null ? void 0 : c.showWatermark) ?? !0;
395
+ b === "false" && (b = !1), x(!!(s && b));
396
396
  }), (s, b) => (fA(), XA(D(vr), {
397
397
  class: "watermark",
398
398
  font: z,
@@ -457,7 +457,7 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
457
457
  class: "content",
458
458
  innerHTML: f.content
459
459
  }, null, 8, Ir),
460
- f.desc && f.desc.length ? (fA(), mA(
460
+ f.desc && f.desc.length ? (fA(), lA(
461
461
  i9,
462
462
  { key: 0 },
463
463
  [
@@ -468,10 +468,10 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
468
468
  -1
469
469
  /* HOISTED */
470
470
  )),
471
- (fA(!0), mA(
471
+ (fA(!0), lA(
472
472
  i9,
473
473
  null,
474
- ye(f.desc, (r, P) => h9((fA(), mA("div", {
474
+ ye(f.desc, (r, P) => h9((fA(), lA("div", {
475
475
  key: P,
476
476
  class: "desc-item"
477
477
  }, [
@@ -577,26 +577,26 @@ const kr = (e = {}) => {
577
577
  var X;
578
578
  const n = d.code, u = (d == null ? void 0 : d.originalCode) ?? "";
579
579
  z[n] || (z[n] = []);
580
- let p = [];
581
- d != null && d.children && ((X = d == null ? void 0 : d.children) != null && X.length) && (d.children.forEach((i) => {
582
- var a;
583
- !(i != null && i.children) || !((a = i.children) != null && a.length) ? p.push({
584
- code: i.code,
585
- originalCode: i.originalCode,
586
- name: i.name
587
- }) : UA([i]).forEach((b) => {
588
- p.push({
580
+ let x = [];
581
+ d != null && d.children && ((X = d == null ? void 0 : d.children) != null && X.length) && (d.children.forEach((a) => {
582
+ var i;
583
+ !(a != null && a.children) || !((i = a.children) != null && i.length) ? x.push({
584
+ code: a.code,
585
+ originalCode: a.originalCode,
586
+ name: a.name
587
+ }) : UA([a]).forEach((b) => {
588
+ x.push({
589
589
  code: b.code,
590
590
  originalCode: b.originalCode,
591
591
  name: b.name
592
592
  });
593
593
  });
594
- }), p.forEach((i) => {
595
- let a = i.originalCode ? i.originalCode : i.code ? i.code : "";
596
- a.includes(n + ".") && (a = a.replace(n + ".", "").replaceAll(".", "-")), a.includes(u + ".") && (a = a.replace(u + ".", "").replaceAll(".", "-"));
594
+ }), x.forEach((a) => {
595
+ let i = a.originalCode ? a.originalCode : a.code ? a.code : "";
596
+ i.includes(n + ".") && (i = i.replace(n + ".", "").replaceAll(".", "-")), i.includes(u + ".") && (i = i.replace(u + ".", "").replaceAll(".", "-"));
597
597
  const s = {
598
- code: a,
599
- name: i.name
598
+ code: i,
599
+ name: a.name
600
600
  };
601
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
  }));
@@ -707,8 +707,8 @@ function tA() {
707
707
  function c() {
708
708
  }
709
709
  return function(q) {
710
- var x;
711
- return c.prototype = q, x = new c(), c.prototype = null, x;
710
+ var 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 {
@@ -795,7 +795,7 @@ function tA() {
795
795
  return this.init.prototype.extend(this);
796
796
  }
797
797
  };
798
- }(), p = n.WordArray = u.extend({
798
+ }(), x = n.WordArray = u.extend({
799
799
  /**
800
800
  * Initializes a newly created word array.
801
801
  *
@@ -825,7 +825,7 @@ function tA() {
825
825
  * var string = wordArray.toString(CryptoJS.enc.Utf8);
826
826
  */
827
827
  toString: function(c) {
828
- return (c || i).stringify(this);
828
+ return (c || a).stringify(this);
829
829
  },
830
830
  /**
831
831
  * Concatenates a word array to this word array.
@@ -839,15 +839,15 @@ function tA() {
839
839
  * wordArray1.concat(wordArray2);
840
840
  */
841
841
  concat: function(c) {
842
- var q = this.words, x = c.words, m = this.sigBytes, V = c.sigBytes;
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
- var l = x[R >>> 2] >>> 24 - R % 4 * 8 & 255;
845
+ var l = p[R >>> 2] >>> 24 - R % 4 * 8 & 255;
846
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
- q[m + j >>> 2] = x[j >>> 2];
850
+ q[m + j >>> 2] = p[j >>> 2];
851
851
  return this.sigBytes += V, this;
852
852
  },
853
853
  /**
@@ -888,11 +888,11 @@ function tA() {
888
888
  * var wordArray = CryptoJS.lib.WordArray.random(16);
889
889
  */
890
890
  random: function(c) {
891
- for (var q = [], x = 0; x < c; x += 4)
891
+ for (var q = [], p = 0; p < c; p += 4)
892
892
  q.push(t());
893
- return new p.init(q, c);
893
+ return new x.init(q, c);
894
894
  }
895
- }), X = d.enc = {}, i = X.Hex = {
895
+ }), X = d.enc = {}, a = X.Hex = {
896
896
  /**
897
897
  * Converts a word array to a hex string.
898
898
  *
@@ -907,7 +907,7 @@ function tA() {
907
907
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
908
908
  */
909
909
  stringify: function(c) {
910
- for (var q = c.words, x = c.sigBytes, m = [], V = 0; V < x; V++) {
910
+ for (var q = c.words, p = c.sigBytes, m = [], V = 0; V < p; V++) {
911
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
  }
@@ -927,11 +927,11 @@ function tA() {
927
927
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
928
928
  */
929
929
  parse: function(c) {
930
- for (var q = c.length, x = [], m = 0; m < q; m += 2)
931
- x[m >>> 3] |= parseInt(c.substr(m, 2), 16) << 24 - m % 8 * 4;
932
- return new p.init(x, q / 2);
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
- }, a = X.Latin1 = {
934
+ }, i = X.Latin1 = {
935
935
  /**
936
936
  * Converts a word array to a Latin1 string.
937
937
  *
@@ -946,7 +946,7 @@ function tA() {
946
946
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
947
947
  */
948
948
  stringify: function(c) {
949
- for (var q = c.words, x = c.sigBytes, m = [], V = 0; V < x; V++) {
949
+ for (var q = c.words, p = c.sigBytes, m = [], V = 0; V < p; V++) {
950
950
  var R = q[V >>> 2] >>> 24 - V % 4 * 8 & 255;
951
951
  m.push(String.fromCharCode(R));
952
952
  }
@@ -966,9 +966,9 @@ function tA() {
966
966
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
967
967
  */
968
968
  parse: function(c) {
969
- for (var q = c.length, x = [], m = 0; m < q; m++)
970
- x[m >>> 2] |= (c.charCodeAt(m) & 255) << 24 - m % 4 * 8;
971
- return new p.init(x, q);
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
973
  }, s = X.Utf8 = {
974
974
  /**
@@ -986,7 +986,7 @@ function tA() {
986
986
  */
987
987
  stringify: function(c) {
988
988
  try {
989
- return decodeURIComponent(escape(a.stringify(c)));
989
+ return decodeURIComponent(escape(i.stringify(c)));
990
990
  } catch {
991
991
  throw new Error("Malformed UTF-8 data");
992
992
  }
@@ -1005,7 +1005,7 @@ function tA() {
1005
1005
  * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
1006
1006
  */
1007
1007
  parse: function(c) {
1008
- return a.parse(unescape(encodeURIComponent(c)));
1008
+ return i.parse(unescape(encodeURIComponent(c)));
1009
1009
  }
1010
1010
  }, b = n.BufferedBlockAlgorithm = u.extend({
1011
1011
  /**
@@ -1016,7 +1016,7 @@ function tA() {
1016
1016
  * bufferedBlockAlgorithm.reset();
1017
1017
  */
1018
1018
  reset: function() {
1019
- this._data = new p.init(), this._nDataBytes = 0;
1019
+ this._data = new x.init(), this._nDataBytes = 0;
1020
1020
  },
1021
1021
  /**
1022
1022
  * Adds new data to this block algorithm's buffer.
@@ -1046,15 +1046,15 @@ function tA() {
1046
1046
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
1047
1047
  */
1048
1048
  _process: function(c) {
1049
- var q, x = this._data, m = x.words, V = x.sigBytes, R = this.blockSize, l = R * 4, j = V / l;
1049
+ var q, p = this._data, m = p.words, V = p.sigBytes, R = this.blockSize, l = R * 4, j = V / l;
1050
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
- q = m.splice(0, O), x.sigBytes -= N;
1055
+ q = m.splice(0, O), p.sigBytes -= N;
1056
1056
  }
1057
- return new p.init(q, N);
1057
+ return new x.init(q, N);
1058
1058
  },
1059
1059
  /**
1060
1060
  * Creates a copy of this object.
@@ -1147,8 +1147,8 @@ function tA() {
1147
1147
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
1148
1148
  */
1149
1149
  _createHelper: function(c) {
1150
- return function(q, x) {
1151
- return new c.init(x).finalize(q);
1150
+ return function(q, p) {
1151
+ return new c.init(p).finalize(q);
1152
1152
  };
1153
1153
  },
1154
1154
  /**
@@ -1165,8 +1165,8 @@ function tA() {
1165
1165
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
1166
1166
  */
1167
1167
  _createHmacHelper: function(c) {
1168
- return function(q, x) {
1169
- return new H.HMAC.init(c, x).finalize(q);
1168
+ return function(q, p) {
1169
+ return new H.HMAC.init(c, p).finalize(q);
1170
1170
  };
1171
1171
  }
1172
1172
  });
@@ -1382,11 +1382,11 @@ function Df() {
1382
1382
  * var x32WordArray = x64WordArray.toX32();
1383
1383
  */
1384
1384
  toX32: function() {
1385
- for (var n = this.words, u = n.length, p = [], X = 0; X < u; X++) {
1386
- var i = n[X];
1387
- p.push(i.high), p.push(i.low);
1385
+ for (var n = this.words, u = n.length, x = [], X = 0; X < u; X++) {
1386
+ var a = n[X];
1387
+ x.push(a.high), x.push(a.low);
1388
1388
  }
1389
- return z.create(p, this.sigBytes);
1389
+ return z.create(x, this.sigBytes);
1390
1390
  },
1391
1391
  /**
1392
1392
  * Creates a copy of this word array.
@@ -1398,7 +1398,7 @@ function Df() {
1398
1398
  * var clone = x64WordArray.clone();
1399
1399
  */
1400
1400
  clone: function() {
1401
- for (var n = t.clone.call(this), u = n.words = this.words.slice(0), p = u.length, X = 0; X < p; X++)
1401
+ for (var n = t.clone.call(this), u = n.words = this.words.slice(0), x = u.length, X = 0; X < x; X++)
1402
1402
  u[X] = u[X].clone();
1403
1403
  return n;
1404
1404
  }
@@ -1417,8 +1417,8 @@ function uP() {
1417
1417
  if (typeof ArrayBuffer == "function") {
1418
1418
  var v = f, r = v.lib, P = r.WordArray, t = P.init, z = P.init = function(d) {
1419
1419
  if (d instanceof ArrayBuffer && (d = new Uint8Array(d)), (d instanceof Int8Array || typeof Uint8ClampedArray < "u" && d instanceof Uint8ClampedArray || d instanceof Int16Array || d instanceof Uint16Array || d instanceof Int32Array || d instanceof Uint32Array || d instanceof Float32Array || d instanceof Float64Array) && (d = new Uint8Array(d.buffer, d.byteOffset, d.byteLength)), d instanceof Uint8Array) {
1420
- for (var n = d.byteLength, u = [], p = 0; p < n; p++)
1421
- u[p >>> 2] |= d[p] << 24 - p % 4 * 8;
1420
+ for (var n = d.byteLength, u = [], x = 0; x < n; x++)
1421
+ u[x >>> 2] |= d[x] << 24 - x % 4 * 8;
1422
1422
  t.call(this, u, n);
1423
1423
  } else
1424
1424
  t.apply(this, arguments);
@@ -1452,11 +1452,11 @@ function zP() {
1452
1452
  * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
1453
1453
  */
1454
1454
  stringify: function(d) {
1455
- for (var n = d.words, u = d.sigBytes, p = [], X = 0; X < u; X += 2) {
1456
- var i = n[X >>> 2] >>> 16 - X % 4 * 8 & 65535;
1457
- p.push(String.fromCharCode(i));
1455
+ for (var n = d.words, u = d.sigBytes, x = [], X = 0; X < u; X += 2) {
1456
+ var a = n[X >>> 2] >>> 16 - X % 4 * 8 & 65535;
1457
+ x.push(String.fromCharCode(a));
1458
1458
  }
1459
- return p.join("");
1459
+ return x.join("");
1460
1460
  },
1461
1461
  /**
1462
1462
  * Converts a UTF-16 BE string to a word array.
@@ -1472,8 +1472,8 @@ function zP() {
1472
1472
  * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
1473
1473
  */
1474
1474
  parse: function(d) {
1475
- for (var n = d.length, u = [], p = 0; p < n; p++)
1476
- u[p >>> 1] |= d.charCodeAt(p) << 16 - p % 2 * 16;
1475
+ for (var n = d.length, u = [], x = 0; x < n; x++)
1476
+ u[x >>> 1] |= d.charCodeAt(x) << 16 - x % 2 * 16;
1477
1477
  return P.create(u, n * 2);
1478
1478
  }
1479
1479
  }, t.Utf16LE = {
@@ -1491,11 +1491,11 @@ function zP() {
1491
1491
  * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
1492
1492
  */
1493
1493
  stringify: function(d) {
1494
- for (var n = d.words, u = d.sigBytes, p = [], X = 0; X < u; X += 2) {
1495
- var i = z(n[X >>> 2] >>> 16 - X % 4 * 8 & 65535);
1496
- p.push(String.fromCharCode(i));
1494
+ for (var n = d.words, u = d.sigBytes, x = [], X = 0; X < u; X += 2) {
1495
+ var a = z(n[X >>> 2] >>> 16 - X % 4 * 8 & 65535);
1496
+ x.push(String.fromCharCode(a));
1497
1497
  }
1498
- return p.join("");
1498
+ return x.join("");
1499
1499
  },
1500
1500
  /**
1501
1501
  * Converts a UTF-16 LE string to a word array.
@@ -1511,8 +1511,8 @@ function zP() {
1511
1511
  * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
1512
1512
  */
1513
1513
  parse: function(d) {
1514
- for (var n = d.length, u = [], p = 0; p < n; p++)
1515
- u[p >>> 1] |= z(d.charCodeAt(p) << 16 - p % 2 * 16);
1514
+ for (var n = d.length, u = [], x = 0; x < n; x++)
1515
+ u[x >>> 1] |= z(d.charCodeAt(x) << 16 - x % 2 * 16);
1516
1516
  return P.create(u, n * 2);
1517
1517
  }
1518
1518
  };
@@ -1546,12 +1546,12 @@ function H9() {
1546
1546
  * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
1547
1547
  */
1548
1548
  stringify: function(d) {
1549
- var n = d.words, u = d.sigBytes, p = this._map;
1549
+ var n = d.words, u = d.sigBytes, x = this._map;
1550
1550
  d.clamp();
1551
- for (var X = [], i = 0; i < u; i += 3)
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(p.charAt(H >>> 6 * (3 - c) & 63));
1554
- var q = p.charAt(64);
1551
+ for (var X = [], a = 0; a < u; a += 3)
1552
+ for (var i = n[a >>> 2] >>> 24 - a % 4 * 8 & 255, s = n[a + 1 >>> 2] >>> 24 - (a + 1) % 4 * 8 & 255, b = n[a + 2 >>> 2] >>> 24 - (a + 2) % 4 * 8 & 255, H = i << 16 | s << 8 | b, c = 0; c < 4 && a + c * 0.75 < u; c++)
1553
+ X.push(x.charAt(H >>> 6 * (3 - c) & 63));
1554
+ var q = x.charAt(64);
1555
1555
  if (q)
1556
1556
  for (; X.length % 4; )
1557
1557
  X.push(q);
@@ -1571,28 +1571,28 @@ function H9() {
1571
1571
  * var wordArray = CryptoJS.enc.Base64.parse(base64String);
1572
1572
  */
1573
1573
  parse: function(d) {
1574
- var n = d.length, u = this._map, p = this._reverseMap;
1575
- if (!p) {
1576
- p = this._reverseMap = [];
1574
+ var n = d.length, u = this._map, x = this._reverseMap;
1575
+ if (!x) {
1576
+ x = this._reverseMap = [];
1577
1577
  for (var X = 0; X < u.length; X++)
1578
- p[u.charCodeAt(X)] = X;
1578
+ x[u.charCodeAt(X)] = X;
1579
1579
  }
1580
- var i = u.charAt(64);
1581
- if (i) {
1582
- var a = d.indexOf(i);
1583
- a !== -1 && (n = a);
1580
+ var a = u.charAt(64);
1581
+ if (a) {
1582
+ var i = d.indexOf(a);
1583
+ i !== -1 && (n = i);
1584
1584
  }
1585
- return z(d, n, p);
1585
+ return z(d, n, x);
1586
1586
  },
1587
1587
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
1588
1588
  };
1589
1589
  function z(d, n, u) {
1590
- for (var p = [], X = 0, i = 0; i < n; i++)
1591
- if (i % 4) {
1592
- var a = u[d.charCodeAt(i - 1)] << i % 4 * 2, s = u[d.charCodeAt(i)] >>> 6 - i % 4 * 2, b = a | s;
1593
- p[X >>> 2] |= b << 24 - X % 4 * 8, X++;
1590
+ for (var x = [], X = 0, a = 0; a < n; a++)
1591
+ if (a % 4) {
1592
+ var i = u[d.charCodeAt(a - 1)] << a % 4 * 2, s = u[d.charCodeAt(a)] >>> 6 - a % 4 * 2, b = i | s;
1593
+ x[X >>> 2] |= b << 24 - X % 4 * 8, X++;
1594
1594
  }
1595
- return P.create(p, X);
1595
+ return P.create(x, X);
1596
1596
  }
1597
1597
  }(), f.enc.Base64;
1598
1598
  });
@@ -1624,16 +1624,16 @@ function dP() {
1624
1624
  */
1625
1625
  stringify: function(d, n) {
1626
1626
  n === void 0 && (n = !0);
1627
- var u = d.words, p = d.sigBytes, X = n ? this._safe_map : this._map;
1627
+ var u = d.words, x = d.sigBytes, X = n ? this._safe_map : this._map;
1628
1628
  d.clamp();
1629
- for (var i = [], a = 0; a < p; a += 3)
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 < p; q++)
1631
- i.push(X.charAt(c >>> 6 * (3 - q) & 63));
1632
- var x = X.charAt(64);
1633
- if (x)
1634
- for (; i.length % 4; )
1635
- i.push(x);
1636
- return i.join("");
1629
+ for (var a = [], i = 0; i < x; i += 3)
1630
+ for (var s = u[i >>> 2] >>> 24 - i % 4 * 8 & 255, b = u[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255, H = u[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, c = s << 16 | b << 8 | H, q = 0; q < 4 && i + q * 0.75 < x; q++)
1631
+ a.push(X.charAt(c >>> 6 * (3 - q) & 63));
1632
+ var p = X.charAt(64);
1633
+ if (p)
1634
+ for (; a.length % 4; )
1635
+ a.push(p);
1636
+ return a.join("");
1637
1637
  },
1638
1638
  /**
1639
1639
  * Converts a Base64url string to a word array.
@@ -1652,15 +1652,15 @@ function dP() {
1652
1652
  */
1653
1653
  parse: function(d, n) {
1654
1654
  n === void 0 && (n = !0);
1655
- var u = d.length, p = n ? this._safe_map : this._map, X = this._reverseMap;
1655
+ var u = d.length, x = n ? this._safe_map : this._map, X = this._reverseMap;
1656
1656
  if (!X) {
1657
1657
  X = this._reverseMap = [];
1658
- for (var i = 0; i < p.length; i++)
1659
- X[p.charCodeAt(i)] = i;
1658
+ for (var a = 0; a < x.length; a++)
1659
+ X[x.charCodeAt(a)] = a;
1660
1660
  }
1661
- var a = p.charAt(64);
1662
- if (a) {
1663
- var s = d.indexOf(a);
1661
+ var i = x.charAt(64);
1662
+ if (i) {
1663
+ var s = d.indexOf(i);
1664
1664
  s !== -1 && (u = s);
1665
1665
  }
1666
1666
  return z(d, u, X);
@@ -1669,12 +1669,12 @@ function dP() {
1669
1669
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
1670
1670
  };
1671
1671
  function z(d, n, u) {
1672
- for (var p = [], X = 0, i = 0; i < n; i++)
1673
- if (i % 4) {
1674
- var a = u[d.charCodeAt(i - 1)] << i % 4 * 2, s = u[d.charCodeAt(i)] >>> 6 - i % 4 * 2, b = a | s;
1675
- p[X >>> 2] |= b << 24 - X % 4 * 8, X++;
1672
+ for (var x = [], X = 0, a = 0; a < n; a++)
1673
+ if (a % 4) {
1674
+ var i = u[d.charCodeAt(a - 1)] << a % 4 * 2, s = u[d.charCodeAt(a)] >>> 6 - a % 4 * 2, b = i | s;
1675
+ x[X >>> 2] |= b << 24 - X % 4 * 8, X++;
1676
1676
  }
1677
- return P.create(p, X);
1677
+ return P.create(x, X);
1678
1678
  }
1679
1679
  }(), f.enc.Base64url;
1680
1680
  });
@@ -1706,14 +1706,14 @@ function p9() {
1706
1706
  var c = b + H, q = s[c];
1707
1707
  s[c] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360;
1708
1708
  }
1709
- var x = 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], M = s[b + 9], J = s[b + 10], _ = s[b + 11], G = s[b + 12], Y = s[b + 13], h = s[b + 14], C = s[b + 15], L = x[0], W = x[1], E = x[2], w = x[3];
1710
- L = p(L, W, E, w, m, 7, n[0]), w = p(w, L, W, E, V, 12, n[1]), E = p(E, w, L, W, R, 17, n[2]), W = p(W, E, w, L, l, 22, n[3]), L = p(L, W, E, w, j, 7, n[4]), w = p(w, L, W, E, O, 12, n[5]), E = p(E, w, L, W, N, 17, n[6]), W = p(W, E, w, L, Z, 22, n[7]), L = p(L, W, E, w, T, 7, n[8]), w = p(w, L, W, E, M, 12, n[9]), E = p(E, w, L, W, J, 17, n[10]), W = p(W, E, w, L, _, 22, n[11]), L = p(L, W, E, w, G, 7, n[12]), w = p(w, L, W, E, Y, 12, n[13]), E = p(E, w, L, W, h, 17, n[14]), W = p(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, J, 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, M, 5, n[24]), w = X(w, L, W, E, h, 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, h, 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, J, 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, M, 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, h, 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, J, 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, M, 21, n[63]), x[0] = x[0] + L | 0, x[1] = x[1] + W | 0, x[2] = x[2] + E | 0, x[3] = x[3] + w | 0;
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], M = s[b + 9], J = s[b + 10], _ = s[b + 11], G = s[b + 12], Y = s[b + 13], h = s[b + 14], C = s[b + 15], L = p[0], W = p[1], E = p[2], w = p[3];
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, M, 12, n[9]), E = x(E, w, L, W, J, 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, h, 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, J, 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, M, 5, n[24]), w = X(w, L, W, E, h, 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 = a(L, W, E, w, O, 4, n[32]), w = a(w, L, W, E, T, 11, n[33]), E = a(E, w, L, W, _, 16, n[34]), W = a(W, E, w, L, h, 23, n[35]), L = a(L, W, E, w, V, 4, n[36]), w = a(w, L, W, E, j, 11, n[37]), E = a(E, w, L, W, Z, 16, n[38]), W = a(W, E, w, L, J, 23, n[39]), L = a(L, W, E, w, Y, 4, n[40]), w = a(w, L, W, E, m, 11, n[41]), E = a(E, w, L, W, l, 16, n[42]), W = a(W, E, w, L, N, 23, n[43]), L = a(L, W, E, w, M, 4, n[44]), w = a(w, L, W, E, G, 11, n[45]), E = a(E, w, L, W, C, 16, n[46]), W = a(W, E, w, L, R, 23, n[47]), L = i(L, W, E, w, m, 6, n[48]), w = i(w, L, W, E, Z, 10, n[49]), E = i(E, w, L, W, h, 15, n[50]), W = i(W, E, w, L, O, 21, n[51]), L = i(L, W, E, w, G, 6, n[52]), w = i(w, L, W, E, l, 10, n[53]), E = i(E, w, L, W, J, 15, n[54]), W = i(W, E, w, L, V, 21, n[55]), L = i(L, W, E, w, T, 6, n[56]), w = i(w, L, W, E, C, 10, n[57]), E = i(E, w, L, W, N, 15, n[58]), W = i(W, E, w, L, Y, 21, n[59]), L = i(L, W, E, w, j, 6, n[60]), w = i(w, L, W, E, _, 10, n[61]), E = i(E, w, L, W, R, 15, n[62]), W = i(W, E, w, L, M, 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
1713
  var s = this._data, b = s.words, H = this._nDataBytes * 8, c = s.sigBytes * 8;
1714
1714
  b[c >>> 5] |= 128 << 24 - c % 32;
1715
- var q = v.floor(H / 4294967296), x = H;
1716
- b[(c + 64 >>> 9 << 4) + 15] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, b[(c + 64 >>> 9 << 4) + 14] = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, s.sigBytes = (b.length + 1) * 4, this._process();
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;
@@ -1725,21 +1725,21 @@ function p9() {
1725
1725
  return s._hash = this._hash.clone(), s;
1726
1726
  }
1727
1727
  });
1728
- function p(s, b, H, c, q, x, m) {
1728
+ function x(s, b, H, c, q, p, m) {
1729
1729
  var V = s + (b & H | ~b & c) + q + m;
1730
- return (V << x | V >>> 32 - x) + b;
1730
+ return (V << p | V >>> 32 - p) + b;
1731
1731
  }
1732
- function X(s, b, H, c, q, x, m) {
1732
+ function X(s, b, H, c, q, p, m) {
1733
1733
  var V = s + (b & c | H & ~c) + q + m;
1734
- return (V << x | V >>> 32 - x) + b;
1734
+ return (V << p | V >>> 32 - p) + b;
1735
1735
  }
1736
- function i(s, b, H, c, q, x, m) {
1736
+ function a(s, b, H, c, q, p, m) {
1737
1737
  var V = s + (b ^ H ^ c) + q + m;
1738
- return (V << x | V >>> 32 - x) + b;
1738
+ return (V << p | V >>> 32 - p) + b;
1739
1739
  }
1740
- function a(s, b, H, c, q, x, m) {
1740
+ function i(s, b, H, c, q, p, m) {
1741
1741
  var V = s + (H ^ (b | ~c)) + q + m;
1742
- return (V << x | V >>> 32 - x) + b;
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;
@@ -1763,22 +1763,22 @@ function zv() {
1763
1763
  3285377520
1764
1764
  ]);
1765
1765
  },
1766
- _doProcessBlock: function(u, p) {
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++) {
1766
+ _doProcessBlock: function(u, x) {
1767
+ for (var X = this._hash.words, a = X[0], i = X[1], s = X[2], b = X[3], H = X[4], c = 0; c < 80; c++) {
1768
1768
  if (c < 16)
1769
- d[c] = u[p + c] | 0;
1769
+ d[c] = u[x + c] | 0;
1770
1770
  else {
1771
1771
  var q = d[c - 3] ^ d[c - 8] ^ d[c - 14] ^ d[c - 16];
1772
1772
  d[c] = q << 1 | q >>> 31;
1773
1773
  }
1774
- var x = (i << 5 | i >>> 27) + H + d[c];
1775
- c < 20 ? x += (a & s | ~a & b) + 1518500249 : c < 40 ? x += (a ^ s ^ b) + 1859775393 : c < 60 ? x += (a & s | a & b | s & b) - 1894007588 : x += (a ^ s ^ b) - 899497514, H = b, b = s, s = a << 30 | a >>> 2, a = i, i = x;
1774
+ var p = (a << 5 | a >>> 27) + H + d[c];
1775
+ c < 20 ? p += (i & s | ~i & b) + 1518500249 : c < 40 ? p += (i ^ s ^ b) + 1859775393 : c < 60 ? p += (i & s | i & b | s & b) - 1894007588 : p += (i ^ s ^ b) - 899497514, H = b, b = s, s = i << 30 | i >>> 2, i = a, a = p;
1776
1776
  }
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;
1777
+ X[0] = X[0] + a | 0, X[1] = X[1] + i | 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
- var u = this._data, p = u.words, X = this._nDataBytes * 8, i = u.sigBytes * 8;
1781
- return p[i >>> 5] |= 128 << 24 - i % 32, p[(i + 64 >>> 9 << 4) + 14] = Math.floor(X / 4294967296), p[(i + 64 >>> 9 << 4) + 15] = X, u.sigBytes = p.length * 4, this._process(), this._hash;
1780
+ var u = this._data, x = u.words, X = this._nDataBytes * 8, a = u.sigBytes * 8;
1781
+ return x[a >>> 5] |= 128 << 24 - a % 32, x[(a + 64 >>> 9 << 4) + 14] = Math.floor(X / 4294967296), x[(a + 64 >>> 9 << 4) + 15] = X, u.sigBytes = x.length * 4, this._process(), this._hash;
1782
1782
  },
1783
1783
  clone: function() {
1784
1784
  var u = t.clone.call(this);
@@ -1799,42 +1799,42 @@ function Be() {
1799
1799
  return function(v) {
1800
1800
  var r = f, P = r.lib, t = P.WordArray, z = P.Hasher, d = r.algo, n = [], u = [];
1801
1801
  (function() {
1802
- function i(H) {
1802
+ function a(H) {
1803
1803
  for (var c = v.sqrt(H), q = 2; q <= c; q++)
1804
1804
  if (!(H % q))
1805
1805
  return !1;
1806
1806
  return !0;
1807
1807
  }
1808
- function a(H) {
1808
+ function i(H) {
1809
1809
  return (H - (H | 0)) * 4294967296 | 0;
1810
1810
  }
1811
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++;
1812
+ a(s) && (b < 8 && (n[b] = i(v.pow(s, 1 / 2))), u[b] = i(v.pow(s, 1 / 3)), b++), s++;
1813
1813
  })();
1814
- var p = [], X = d.SHA256 = z.extend({
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
- _doProcessBlock: function(i, a) {
1819
- for (var s = this._hash.words, b = s[0], H = s[1], c = s[2], q = s[3], x = s[4], m = s[5], V = s[6], R = s[7], l = 0; l < 64; l++) {
1818
+ _doProcessBlock: function(a, i) {
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
- p[l] = i[a + l] | 0;
1821
+ x[l] = a[i + l] | 0;
1822
1822
  else {
1823
- var j = p[l - 15], O = (j << 25 | j >>> 7) ^ (j << 14 | j >>> 18) ^ j >>> 3, N = p[l - 2], Z = (N << 15 | N >>> 17) ^ (N << 13 | N >>> 19) ^ N >>> 10;
1824
- p[l] = O + p[l - 7] + Z + p[l - 16];
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
+ x[l] = O + x[l - 7] + Z + x[l - 16];
1825
1825
  }
1826
- var T = x & m ^ ~x & V, M = b & H ^ b & c ^ H & c, J = (b << 30 | b >>> 2) ^ (b << 19 | b >>> 13) ^ (b << 10 | b >>> 22), _ = (x << 26 | x >>> 6) ^ (x << 21 | x >>> 11) ^ (x << 7 | x >>> 25), G = R + _ + T + u[l] + p[l], Y = J + M;
1827
- R = V, V = m, m = x, x = q + G | 0, q = c, c = H, H = b, b = G + Y | 0;
1826
+ var T = p & m ^ ~p & V, M = b & H ^ b & c ^ H & c, J = (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 = J + M;
1827
+ R = V, V = m, m = p, p = q + G | 0, q = c, c = H, H = b, b = G + Y | 0;
1828
1828
  }
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] + x | 0, s[5] = s[5] + m | 0, s[6] = s[6] + V | 0, s[7] = s[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, 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;
1832
+ var a = this._data, i = a.words, s = this._nDataBytes * 8, b = a.sigBytes * 8;
1833
+ return i[b >>> 5] |= 128 << 24 - b % 32, i[(b + 64 >>> 9 << 4) + 14] = v.floor(s / 4294967296), i[(b + 64 >>> 9 << 4) + 15] = s, a.sigBytes = i.length * 4, this._process(), this._hash;
1834
1834
  },
1835
1835
  clone: function() {
1836
- var i = z.clone.call(this);
1837
- return i._hash = this._hash.clone(), i;
1836
+ var a = z.clone.call(this);
1837
+ return a._hash = this._hash.clone(), a;
1838
1838
  }
1839
1839
  });
1840
1840
  r.SHA256 = z._createHelper(X), r.HmacSHA256 = z._createHmacHelper(X);
@@ -1883,7 +1883,7 @@ function dv() {
1883
1883
  function u() {
1884
1884
  return z.create.apply(z, arguments);
1885
1885
  }
1886
- var p = [
1886
+ var x = [
1887
1887
  u(1116352408, 3609767458),
1888
1888
  u(1899447441, 602891725),
1889
1889
  u(3049323471, 3964484399),
@@ -1966,10 +1966,10 @@ function dv() {
1966
1966
  u(1816402316, 1246189591)
1967
1967
  ], X = [];
1968
1968
  (function() {
1969
- for (var a = 0; a < 80; a++)
1970
- X[a] = u();
1969
+ for (var i = 0; i < 80; i++)
1970
+ X[i] = u();
1971
1971
  })();
1972
- var i = n.SHA512 = P.extend({
1972
+ var a = n.SHA512 = P.extend({
1973
1973
  _doReset: function() {
1974
1974
  this._hash = new d.init([
1975
1975
  new z.init(1779033703, 4089235720),
@@ -1982,33 +1982,33 @@ function dv() {
1982
1982
  new z.init(1541459225, 327033209)
1983
1983
  ]);
1984
1984
  },
1985
- _doProcessBlock: function(a, s) {
1986
- for (var b = this._hash.words, H = b[0], c = b[1], q = b[2], x = 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, M = q.low, J = x.high, _ = x.low, G = m.high, Y = m.low, h = 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 = M, d9 = J, F = _, I = G, B = Y, LA = h, CA = C, vf = L, I9 = W, Lf = E, M9 = w, JA = 0; JA < 80; JA++) {
1985
+ _doProcessBlock: function(i, 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, M = q.low, J = p.high, _ = p.low, G = m.high, Y = m.low, h = V.high, C = V.low, L = R.high, W = R.low, E = l.high, w = l.low, zA = j, dA = O, DA = N, K = Z, $ = T, eA = M, d9 = J, F = _, I = G, B = Y, LA = h, CA = C, vf = L, I9 = W, Lf = E, M9 = w, JA = 0; JA < 80; JA++) {
1987
1987
  var GA, v9, nf = X[JA];
1988
1988
  if (JA < 16)
1989
- v9 = nf.high = a[s + JA * 2] | 0, GA = nf.low = a[s + JA * 2 + 1] | 0;
1989
+ v9 = nf.high = i[s + JA * 2] | 0, GA = nf.low = i[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
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 = B & CA ^ ~B & 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 | B << 18) ^ (I >>> 18 | B << 14) ^ (I << 23 | B >>> 9), un = (B >>> 14 | I << 18) ^ (B >>> 18 | I << 14) ^ (B << 23 | I >>> 9), z7 = p[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
- Lf = vf, M9 = I9, vf = LA, I9 = CA, LA = I, CA = B, B = F + BA | 0, I = d9 + n9 + (B >>> 0 < F >>> 0 ? 1 : 0) | 0, d9 = $, F = eA, $ = lA, eA = K, lA = zA, K = dA, dA = BA + X7 | 0, zA = n9 + dn + (dA >>> 0 < BA >>> 0 ? 1 : 0) | 0;
1994
+ var vn = I & LA ^ ~I & vf, t7 = B & CA ^ ~B & I9, nn = zA & DA ^ zA & $ ^ DA & $, 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 | B << 18) ^ (I >>> 18 | B << 14) ^ (I << 23 | B >>> 9), un = (B >>> 14 | I << 18) ^ (B >>> 18 | I << 14) ^ (B << 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
+ Lf = vf, M9 = I9, vf = LA, I9 = CA, LA = I, CA = B, B = F + BA | 0, I = d9 + n9 + (B >>> 0 < F >>> 0 ? 1 : 0) | 0, d9 = $, F = eA, $ = DA, eA = K, DA = 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 = c.low = Z + K, c.high = N + lA + (Z >>> 0 < K >>> 0 ? 1 : 0), M = q.low = M + eA, q.high = T + $ + (M >>> 0 < eA >>> 0 ? 1 : 0), _ = x.low = _ + F, x.high = J + d9 + (_ >>> 0 < F >>> 0 ? 1 : 0), Y = m.low = Y + B, m.high = G + I + (Y >>> 0 < B >>> 0 ? 1 : 0), C = V.low = C + CA, V.high = h + 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 + DA + (Z >>> 0 < K >>> 0 ? 1 : 0), M = q.low = M + eA, q.high = T + $ + (M >>> 0 < eA >>> 0 ? 1 : 0), _ = p.low = _ + F, p.high = J + d9 + (_ >>> 0 < F >>> 0 ? 1 : 0), Y = m.low = Y + B, m.high = G + I + (Y >>> 0 < B >>> 0 ? 1 : 0), C = V.low = C + CA, V.high = h + 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, 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();
2000
+ var i = this._data, s = i.words, b = this._nDataBytes * 8, H = i.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, i.sigBytes = s.length * 4, this._process();
2002
2002
  var c = this._hash.toX32();
2003
2003
  return c;
2004
2004
  },
2005
2005
  clone: function() {
2006
- var a = P.clone.call(this);
2007
- return a._hash = this._hash.clone(), a;
2006
+ var i = P.clone.call(this);
2007
+ return i._hash = this._hash.clone(), i;
2008
2008
  },
2009
2009
  blockSize: 1024 / 32
2010
2010
  });
2011
- v.SHA512 = P._createHelper(i), v.HmacSHA512 = P._createHmacHelper(i);
2011
+ v.SHA512 = P._createHelper(a), v.HmacSHA512 = P._createHmacHelper(a);
2012
2012
  }(), f.SHA512;
2013
2013
  });
2014
2014
  }(Gf)), Gf.exports;
@@ -2050,12 +2050,12 @@ function cP() {
2050
2050
  e.exports = v(tA(), Df());
2051
2051
  })(PA, function(f) {
2052
2052
  return function(v) {
2053
- var r = f, P = r.lib, t = P.WordArray, z = P.Hasher, d = r.x64, n = d.Word, u = r.algo, p = [], X = [], i = [];
2053
+ var r = f, P = r.lib, t = P.WordArray, z = P.Hasher, d = r.x64, n = d.Word, u = r.algo, x = [], X = [], a = [];
2054
2054
  (function() {
2055
2055
  for (var b = 1, H = 0, c = 0; c < 24; c++) {
2056
- p[b + 5 * H] = (c + 1) * (c + 2) / 2 % 64;
2057
- var q = H % 5, x = (2 * b + 3 * H) % 5;
2058
- b = q, H = x;
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
2060
  for (var b = 0; b < 5; b++)
2061
2061
  for (var H = 0; H < 5; H++)
@@ -2068,13 +2068,13 @@ function cP() {
2068
2068
  }
2069
2069
  m & 128 ? m = m << 1 ^ 113 : m <<= 1;
2070
2070
  }
2071
- i[V] = n.create(R, l);
2071
+ a[V] = n.create(R, l);
2072
2072
  }
2073
2073
  })();
2074
- var a = [];
2074
+ var i = [];
2075
2075
  (function() {
2076
2076
  for (var b = 0; b < 25; b++)
2077
- a[b] = n.create();
2077
+ i[b] = n.create();
2078
2078
  })();
2079
2079
  var s = u.SHA3 = z.extend({
2080
2080
  /**
@@ -2094,10 +2094,10 @@ function cP() {
2094
2094
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
2095
2095
  },
2096
2096
  _doProcessBlock: function(b, H) {
2097
- for (var c = this._state, q = this.blockSize / 2, x = 0; x < q; x++) {
2098
- var m = b[H + 2 * x], V = b[H + 2 * x + 1];
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 = c[x];
2100
+ var R = c[p];
2101
2101
  R.high ^= V, R.low ^= m;
2102
2102
  }
2103
2103
  for (var l = 0; l < 24; l++) {
@@ -2106,28 +2106,28 @@ function cP() {
2106
2106
  var R = c[j + 5 * Z];
2107
2107
  O ^= R.high, N ^= R.low;
2108
2108
  }
2109
- var T = a[j];
2109
+ var T = i[j];
2110
2110
  T.high = O, T.low = N;
2111
2111
  }
2112
2112
  for (var j = 0; j < 5; j++)
2113
- for (var M = a[(j + 4) % 5], J = a[(j + 1) % 5], _ = J.high, G = J.low, O = M.high ^ (_ << 1 | G >>> 31), N = M.low ^ (G << 1 | _ >>> 31), Z = 0; Z < 5; Z++) {
2113
+ for (var M = i[(j + 4) % 5], J = i[(j + 1) % 5], _ = J.high, G = J.low, O = M.high ^ (_ << 1 | G >>> 31), N = M.low ^ (G << 1 | _ >>> 31), Z = 0; Z < 5; Z++) {
2114
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 = c[Y], h = R.high, C = R.low, L = p[Y];
2118
+ var O, N, R = c[Y], h = R.high, C = R.low, L = x[Y];
2119
2119
  L < 32 ? (O = h << L | C >>> 32 - L, N = C << L | h >>> 32 - L) : (O = C << L - 32 | h >>> 64 - L, N = h << L - 32 | C >>> 64 - L);
2120
- var W = a[X[Y]];
2120
+ var W = i[X[Y]];
2121
2121
  W.high = O, W.low = N;
2122
2122
  }
2123
- var E = a[0], w = c[0];
2123
+ var E = i[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 = c[Y], zA = a[Y], dA = a[(j + 1) % 5 + 5 * Z], lA = a[(j + 2) % 5 + 5 * Z];
2128
- R.high = zA.high ^ ~dA.high & lA.high, R.low = zA.low ^ ~dA.low & lA.low;
2127
+ var Y = j + 5 * Z, R = c[Y], zA = i[Y], dA = i[(j + 1) % 5 + 5 * Z], DA = i[(j + 2) % 5 + 5 * Z];
2128
+ R.high = zA.high ^ ~dA.high & DA.high, R.low = zA.low ^ ~dA.low & DA.low;
2129
2129
  }
2130
- var R = c[0], K = i[l];
2130
+ var R = c[0], K = a[l];
2131
2131
  R.high ^= K.high, R.low ^= K.low;
2132
2132
  }
2133
2133
  },
@@ -2136,8 +2136,8 @@ function cP() {
2136
2136
  this._nDataBytes * 8;
2137
2137
  var c = b.sigBytes * 8, q = this.blockSize * 32;
2138
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
- for (var x = this._state, m = this.cfg.outputLength / 8, V = m / 8, R = [], l = 0; l < V; l++) {
2140
- var j = x[l], O = j.high, N = j.low;
2139
+ for (var p = this._state, m = this.cfg.outputLength / 8, V = m / 8, R = [], l = 0; l < V; l++) {
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);
2142
2142
  }
2143
2143
  return new t.init(R, m);
@@ -2332,7 +2332,7 @@ function aP() {
2332
2332
  3,
2333
2333
  9,
2334
2334
  11
2335
- ]), p = t.create([
2335
+ ]), x = t.create([
2336
2336
  11,
2337
2337
  14,
2338
2338
  15,
@@ -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]), s = d.RIPEMD160 = z.extend({
2497
+ ]), a = t.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), i = 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
  },
@@ -2503,11 +2503,11 @@ function aP() {
2503
2503
  var j = R + l, O = V[j];
2504
2504
  V[j] = (O << 8 | O >>> 24) & 16711935 | (O << 24 | O >>> 8) & 4278255360;
2505
2505
  }
2506
- var N = this._hash.words, Z = i.words, T = a.words, M = n.words, J = u.words, _ = p.words, G = X.words, Y, h, C, L, W, E, w, zA, dA, lA;
2507
- E = Y = N[0], w = h = N[1], zA = C = N[2], dA = L = N[3], lA = W = N[4];
2506
+ var N = this._hash.words, Z = a.words, T = i.words, M = n.words, J = u.words, _ = x.words, G = X.words, Y, h, C, L, W, E, w, zA, dA, DA;
2507
+ E = Y = N[0], w = h = N[1], zA = C = N[2], dA = L = N[3], DA = W = N[4];
2508
2508
  for (var K, l = 0; l < 80; l += 1)
2509
- K = Y + V[R + M[l]] | 0, l < 16 ? K += b(h, C, L) + Z[0] : l < 32 ? K += H(h, C, L) + Z[1] : l < 48 ? K += c(h, C, L) + Z[2] : l < 64 ? K += q(h, C, L) + Z[3] : K += x(h, C, L) + Z[4], K = K | 0, K = m(K, _[l]), K = K + W | 0, Y = W, W = L, L = m(C, 10), C = h, h = K, K = E + V[R + J[l]] | 0, l < 16 ? K += x(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
- 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] + h + zA | 0, N[0] = K;
2509
+ K = Y + V[R + M[l]] | 0, l < 16 ? K += b(h, C, L) + Z[0] : l < 32 ? K += H(h, C, L) + Z[1] : l < 48 ? K += c(h, C, L) + Z[2] : l < 64 ? K += q(h, C, L) + Z[3] : K += p(h, C, L) + Z[4], K = K | 0, K = m(K, _[l]), K = K + W | 0, Y = W, W = L, L = m(C, 10), C = h, h = K, K = E + V[R + J[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 + DA | 0, E = DA, DA = dA, dA = m(zA, 10), zA = w, w = K;
2510
+ K = N[1] + C + dA | 0, N[1] = N[2] + L + DA | 0, N[2] = N[3] + W + E | 0, N[3] = N[4] + Y + w | 0, N[4] = N[0] + h + zA | 0, N[0] = K;
2511
2511
  },
2512
2512
  _doFinalize: function() {
2513
2513
  var V = this._data, R = V.words, l = this._nDataBytes * 8, j = V.sigBytes * 8;
@@ -2535,7 +2535,7 @@ function aP() {
2535
2535
  function q(V, R, l) {
2536
2536
  return V & l | R & ~l;
2537
2537
  }
2538
- function x(V, R, l) {
2538
+ function p(V, R, l) {
2539
2539
  return V ^ (R | ~l);
2540
2540
  }
2541
2541
  function m(V, R) {
@@ -2567,11 +2567,11 @@ function ke() {
2567
2567
  */
2568
2568
  init: function(n, u) {
2569
2569
  n = this._hasher = new n.init(), typeof u == "string" && (u = z.parse(u));
2570
- var p = n.blockSize, X = p * 4;
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(), s = i.words, b = a.words, H = 0; H < p; H++)
2572
+ for (var a = this._oKey = u.clone(), i = this._iKey = u.clone(), s = a.words, b = i.words, H = 0; H < x; H++)
2573
2573
  s[H] ^= 1549556828, b[H] ^= 909522486;
2574
- i.sigBytes = a.sigBytes = X, this.reset();
2574
+ a.sigBytes = i.sigBytes = X, this.reset();
2575
2575
  },
2576
2576
  /**
2577
2577
  * Resets this HMAC to its initial state.
@@ -2614,9 +2614,9 @@ function ke() {
2614
2614
  * var hmac = hmacHasher.finalize(wordArray);
2615
2615
  */
2616
2616
  finalize: function(n) {
2617
- var u = this._hasher, p = u.finalize(n);
2617
+ var u = this._hasher, x = u.finalize(n);
2618
2618
  u.reset();
2619
- var X = u.finalize(this._oKey.clone().concat(p));
2619
+ var X = u.finalize(this._oKey.clone().concat(x));
2620
2620
  return X;
2621
2621
  }
2622
2622
  });
@@ -2655,8 +2655,8 @@ function iP() {
2655
2655
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
2656
2656
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
2657
2657
  */
2658
- init: function(p) {
2659
- this.cfg = this.cfg.extend(p);
2658
+ init: function(x) {
2659
+ this.cfg = this.cfg.extend(x);
2660
2660
  },
2661
2661
  /**
2662
2662
  * Computes the Password-Based Key Derivation Function 2.
@@ -2670,12 +2670,12 @@ function iP() {
2670
2670
  *
2671
2671
  * var key = kdf.compute(password, salt);
2672
2672
  */
2673
- compute: function(p, X) {
2674
- for (var i = this.cfg, a = n.create(i.hasher, p), s = t.create(), b = t.create([1]), H = s.words, c = b.words, q = i.keySize, x = i.iterations; H.length < q; ) {
2675
- var m = a.update(X).finalize(b);
2676
- a.reset();
2677
- for (var V = m.words, R = V.length, l = m, j = 1; j < x; j++) {
2678
- l = a.finalize(l), a.reset();
2673
+ compute: function(x, X) {
2674
+ for (var a = this.cfg, i = n.create(a.hasher, x), s = t.create(), b = t.create([1]), H = s.words, c = b.words, q = a.keySize, p = a.iterations; H.length < q; ) {
2675
+ var m = i.update(X).finalize(b);
2676
+ i.reset();
2677
+ for (var V = m.words, R = V.length, l = m, j = 1; j < p; j++) {
2678
+ l = i.finalize(l), i.reset();
2679
2679
  for (var O = l.words, N = 0; N < R; N++)
2680
2680
  V[N] ^= O[N];
2681
2681
  }
@@ -2684,8 +2684,8 @@ function iP() {
2684
2684
  return s.sigBytes = q * 4, s;
2685
2685
  }
2686
2686
  });
2687
- v.PBKDF2 = function(p, X, i) {
2688
- return u.create(i).compute(p, X);
2687
+ v.PBKDF2 = function(x, X, a) {
2688
+ return u.create(a).compute(x, X);
2689
2689
  };
2690
2690
  }(), f.PBKDF2;
2691
2691
  });
@@ -2737,25 +2737,25 @@ function z9() {
2737
2737
  *
2738
2738
  * var key = kdf.compute(password, salt);
2739
2739
  */
2740
- compute: function(u, p) {
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
- X && a.update(X), X = a.update(u).finalize(p), a.reset();
2740
+ compute: function(u, x) {
2741
+ for (var X, a = this.cfg, i = a.hasher.create(), s = t.create(), b = s.words, H = a.keySize, c = a.iterations; b.length < H; ) {
2742
+ X && i.update(X), X = i.update(u).finalize(x), i.reset();
2743
2743
  for (var q = 1; q < c; q++)
2744
- X = a.finalize(X), a.reset();
2744
+ X = i.finalize(X), i.reset();
2745
2745
  s.concat(X);
2746
2746
  }
2747
2747
  return s.sigBytes = H * 4, s;
2748
2748
  }
2749
2749
  });
2750
- v.EvpKDF = function(u, p, X) {
2751
- return n.create(X).compute(u, p);
2750
+ v.EvpKDF = function(u, x, X) {
2751
+ return n.create(X).compute(u, x);
2752
2752
  };
2753
2753
  }(), f.EvpKDF;
2754
2754
  });
2755
2755
  }(Kf)), Kf.exports;
2756
2756
  }
2757
2757
  var Cf = { exports: {} }, B7;
2758
- function VA() {
2758
+ function NA() {
2759
2759
  return B7 || (B7 = 1, function(e, A) {
2760
2760
  (function(f, v, r) {
2761
2761
  e.exports = v(tA(), z9());
@@ -2763,7 +2763,7 @@ function VA() {
2763
2763
  f.lib.Cipher || function(v) {
2764
2764
  var r = f, P = r.lib, t = P.Base, z = P.WordArray, d = P.BufferedBlockAlgorithm, n = r.enc;
2765
2765
  n.Utf8;
2766
- var u = n.Base64, p = r.algo, X = p.EvpKDF, i = P.Cipher = d.extend({
2766
+ var u = n.Base64, x = r.algo, X = x.EvpKDF, a = P.Cipher = d.extend({
2767
2767
  /**
2768
2768
  * Configuration options.
2769
2769
  *
@@ -2895,14 +2895,14 @@ function VA() {
2895
2895
  };
2896
2896
  }()
2897
2897
  });
2898
- P.StreamCipher = i.extend({
2898
+ P.StreamCipher = a.extend({
2899
2899
  _doFinalize: function() {
2900
2900
  var O = this._process(!0);
2901
2901
  return O;
2902
2902
  },
2903
2903
  blockSize: 1
2904
2904
  });
2905
- var a = r.mode = {}, s = P.BlockCipherMode = t.extend({
2905
+ var i = r.mode = {}, s = P.BlockCipherMode = t.extend({
2906
2906
  /**
2907
2907
  * Creates this mode for encryption.
2908
2908
  *
@@ -2946,7 +2946,7 @@ function VA() {
2946
2946
  init: function(O, N) {
2947
2947
  this._cipher = O, this._iv = N;
2948
2948
  }
2949
- }), b = a.CBC = function() {
2949
+ }), b = i.CBC = function() {
2950
2950
  var O = s.extend();
2951
2951
  O.Encryptor = O.extend({
2952
2952
  /**
@@ -3021,20 +3021,20 @@ function VA() {
3021
3021
  O.sigBytes -= N;
3022
3022
  }
3023
3023
  };
3024
- P.BlockCipher = i.extend({
3024
+ P.BlockCipher = a.extend({
3025
3025
  /**
3026
3026
  * Configuration options.
3027
3027
  *
3028
3028
  * @property {Mode} mode The block mode to use. Default: CBC
3029
3029
  * @property {Padding} padding The padding strategy to use. Default: Pkcs7
3030
3030
  */
3031
- cfg: i.cfg.extend({
3031
+ cfg: a.cfg.extend({
3032
3032
  mode: b,
3033
3033
  padding: c
3034
3034
  }),
3035
3035
  reset: function() {
3036
3036
  var O;
3037
- i.reset.call(this);
3037
+ a.reset.call(this);
3038
3038
  var N = this.cfg, Z = N.iv, T = N.mode;
3039
3039
  this._xformMode == this._ENC_XFORM_MODE ? O = T.createEncryptor : (O = T.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == O ? this._mode.init(this, Z && Z.words) : (this._mode = O.call(T, this, Z && Z.words), this._mode.__creator = O);
3040
3040
  },
@@ -3088,7 +3088,7 @@ function VA() {
3088
3088
  toString: function(O) {
3089
3089
  return (O || this.formatter).stringify(this);
3090
3090
  }
3091
- }), x = r.format = {}, m = x.OpenSSL = {
3091
+ }), p = r.format = {}, m = p.OpenSSL = {
3092
3092
  /**
3093
3093
  * Converts a cipher params object to an OpenSSL-compatible string.
3094
3094
  *
@@ -3296,7 +3296,7 @@ var _f = { exports: {} }, k7;
3296
3296
  function sP() {
3297
3297
  return k7 || (k7 = 1, function(e, A) {
3298
3298
  (function(f, v, r) {
3299
- e.exports = v(tA(), VA());
3299
+ e.exports = v(tA(), NA());
3300
3300
  })(PA, function(f) {
3301
3301
  return f.mode.CFB = function() {
3302
3302
  var v = f.lib.BlockCipherMode.extend();
@@ -3314,8 +3314,8 @@ function sP() {
3314
3314
  function r(P, t, z, d) {
3315
3315
  var n, u = this._iv;
3316
3316
  u ? (n = u.slice(0), this._iv = void 0) : n = this._prevBlock, d.encryptBlock(n, 0);
3317
- for (var p = 0; p < z; p++)
3318
- P[t + p] ^= n[p];
3317
+ for (var x = 0; x < z; x++)
3318
+ P[t + x] ^= n[x];
3319
3319
  }
3320
3320
  return v;
3321
3321
  }(), f.mode.CFB;
@@ -3326,17 +3326,17 @@ var $f = { exports: {} }, Q7;
3326
3326
  function qP() {
3327
3327
  return Q7 || (Q7 = 1, function(e, A) {
3328
3328
  (function(f, v, r) {
3329
- e.exports = v(tA(), VA());
3329
+ e.exports = v(tA(), NA());
3330
3330
  })(PA, function(f) {
3331
3331
  return f.mode.CTR = function() {
3332
3332
  var v = f.lib.BlockCipherMode.extend(), r = v.Encryptor = v.extend({
3333
3333
  processBlock: function(P, t) {
3334
3334
  var z = this._cipher, d = z.blockSize, n = this._iv, u = this._counter;
3335
3335
  n && (u = this._counter = n.slice(0), this._iv = void 0);
3336
- var p = u.slice(0);
3337
- z.encryptBlock(p, 0), u[d - 1] = u[d - 1] + 1 | 0;
3336
+ var x = u.slice(0);
3337
+ z.encryptBlock(x, 0), u[d - 1] = u[d - 1] + 1 | 0;
3338
3338
  for (var X = 0; X < d; X++)
3339
- P[t + X] ^= p[X];
3339
+ P[t + X] ^= x[X];
3340
3340
  }
3341
3341
  });
3342
3342
  return v.Decryptor = r, v;
@@ -3348,7 +3348,7 @@ var Ae = { exports: {} }, Y7;
3348
3348
  function HP() {
3349
3349
  return Y7 || (Y7 = 1, function(e, A) {
3350
3350
  (function(f, v, r) {
3351
- e.exports = v(tA(), VA());
3351
+ e.exports = v(tA(), NA());
3352
3352
  })(PA, function(f) {
3353
3353
  /** @preserve
3354
3354
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
@@ -3370,12 +3370,12 @@ function HP() {
3370
3370
  }
3371
3371
  var t = v.Encryptor = v.extend({
3372
3372
  processBlock: function(z, d) {
3373
- var n = this._cipher, u = n.blockSize, p = this._iv, X = this._counter;
3374
- p && (X = this._counter = p.slice(0), this._iv = void 0), P(X);
3375
- var i = X.slice(0);
3376
- n.encryptBlock(i, 0);
3377
- for (var a = 0; a < u; a++)
3378
- z[d + a] ^= i[a];
3373
+ var n = this._cipher, u = n.blockSize, x = this._iv, X = this._counter;
3374
+ x && (X = this._counter = x.slice(0), this._iv = void 0), P(X);
3375
+ var a = X.slice(0);
3376
+ n.encryptBlock(a, 0);
3377
+ for (var i = 0; i < u; i++)
3378
+ z[d + i] ^= a[i];
3379
3379
  }
3380
3380
  });
3381
3381
  return v.Decryptor = t, v;
@@ -3387,15 +3387,15 @@ var fe = { exports: {} }, G7;
3387
3387
  function pP() {
3388
3388
  return G7 || (G7 = 1, function(e, A) {
3389
3389
  (function(f, v, r) {
3390
- e.exports = v(tA(), VA());
3390
+ e.exports = v(tA(), NA());
3391
3391
  })(PA, function(f) {
3392
3392
  return f.mode.OFB = function() {
3393
3393
  var v = f.lib.BlockCipherMode.extend(), r = v.Encryptor = v.extend({
3394
3394
  processBlock: function(P, t) {
3395
3395
  var z = this._cipher, d = z.blockSize, n = this._iv, u = this._keystream;
3396
3396
  n && (u = this._keystream = n.slice(0), this._iv = void 0), z.encryptBlock(u, 0);
3397
- for (var p = 0; p < d; p++)
3398
- P[t + p] ^= u[p];
3397
+ for (var x = 0; x < d; x++)
3398
+ P[t + x] ^= u[x];
3399
3399
  }
3400
3400
  });
3401
3401
  return v.Decryptor = r, v;
@@ -3407,7 +3407,7 @@ var ee = { exports: {} }, U7;
3407
3407
  function xP() {
3408
3408
  return U7 || (U7 = 1, function(e, A) {
3409
3409
  (function(f, v, r) {
3410
- e.exports = v(tA(), VA());
3410
+ e.exports = v(tA(), NA());
3411
3411
  })(PA, function(f) {
3412
3412
  return f.mode.ECB = function() {
3413
3413
  var v = f.lib.BlockCipherMode.extend();
@@ -3428,7 +3428,7 @@ var ve = { exports: {} }, J7;
3428
3428
  function OP() {
3429
3429
  return J7 || (J7 = 1, function(e, A) {
3430
3430
  (function(f, v, r) {
3431
- e.exports = v(tA(), VA());
3431
+ e.exports = v(tA(), NA());
3432
3432
  })(PA, function(f) {
3433
3433
  return f.pad.AnsiX923 = {
3434
3434
  pad: function(v, r) {
@@ -3447,7 +3447,7 @@ var ne = { exports: {} }, F7;
3447
3447
  function mP() {
3448
3448
  return F7 || (F7 = 1, function(e, A) {
3449
3449
  (function(f, v, r) {
3450
- e.exports = v(tA(), VA());
3450
+ e.exports = v(tA(), NA());
3451
3451
  })(PA, function(f) {
3452
3452
  return f.pad.Iso10126 = {
3453
3453
  pad: function(v, r) {
@@ -3466,7 +3466,7 @@ var re = { exports: {} }, S7;
3466
3466
  function lP() {
3467
3467
  return S7 || (S7 = 1, function(e, A) {
3468
3468
  (function(f, v, r) {
3469
- e.exports = v(tA(), VA());
3469
+ e.exports = v(tA(), NA());
3470
3470
  })(PA, function(f) {
3471
3471
  return f.pad.Iso97971 = {
3472
3472
  pad: function(v, r) {
@@ -3483,7 +3483,7 @@ var Pe = { exports: {} }, h7;
3483
3483
  function DP() {
3484
3484
  return h7 || (h7 = 1, function(e, A) {
3485
3485
  (function(f, v, r) {
3486
- e.exports = v(tA(), VA());
3486
+ e.exports = v(tA(), NA());
3487
3487
  })(PA, function(f) {
3488
3488
  return f.pad.ZeroPadding = {
3489
3489
  pad: function(v, r) {
@@ -3505,7 +3505,7 @@ var te = { exports: {} }, K7;
3505
3505
  function VP() {
3506
3506
  return K7 || (K7 = 1, function(e, A) {
3507
3507
  (function(f, v, r) {
3508
- e.exports = v(tA(), VA());
3508
+ e.exports = v(tA(), NA());
3509
3509
  })(PA, function(f) {
3510
3510
  return f.pad.NoPadding = {
3511
3511
  pad: function() {
@@ -3520,7 +3520,7 @@ var ue = { exports: {} }, C7;
3520
3520
  function NP() {
3521
3521
  return C7 || (C7 = 1, function(e, A) {
3522
3522
  (function(f, v, r) {
3523
- e.exports = v(tA(), VA());
3523
+ e.exports = v(tA(), NA());
3524
3524
  })(PA, function(f) {
3525
3525
  return function(v) {
3526
3526
  var r = f, P = r.lib, t = P.CipherParams, z = r.enc, d = z.Hex, n = r.format;
@@ -3555,8 +3555,8 @@ function NP() {
3555
3555
  * var cipherParams = CryptoJS.format.Hex.parse(hexString);
3556
3556
  */
3557
3557
  parse: function(u) {
3558
- var p = d.parse(u);
3559
- return t.create({ ciphertext: p });
3558
+ var x = d.parse(u);
3559
+ return t.create({ ciphertext: x });
3560
3560
  }
3561
3561
  };
3562
3562
  }(), f.format.Hex;
@@ -3567,27 +3567,27 @@ var ze = { exports: {} }, _7;
3567
3567
  function RP() {
3568
3568
  return _7 || (_7 = 1, function(e, A) {
3569
3569
  (function(f, v, r) {
3570
- e.exports = v(tA(), H9(), p9(), z9(), VA());
3570
+ e.exports = v(tA(), H9(), p9(), z9(), NA());
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 = [], p = [], X = [], i = [], a = [], s = [], b = [];
3573
+ var v = f, r = v.lib, P = r.BlockCipher, t = v.algo, z = [], d = [], n = [], u = [], x = [], X = [], a = [], i = [], s = [], b = [];
3574
3574
  (function() {
3575
- for (var q = [], x = 0; x < 256; x++)
3576
- x < 128 ? q[x] = x << 1 : q[x] = x << 1 ^ 283;
3577
- for (var m = 0, V = 0, x = 0; x < 256; x++) {
3575
+ for (var q = [], p = 0; p < 256; p++)
3576
+ p < 128 ? q[p] = p << 1 : q[p] = p << 1 ^ 283;
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
3580
  var l = q[m], j = q[l], O = q[j], N = q[R] * 257 ^ R * 16843008;
3581
- n[m] = N << 24 | N >>> 8, u[m] = N << 16 | N >>> 16, p[m] = N << 8 | N >>> 24, X[m] = N;
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, s[R] = N << 8 | N >>> 24, b[R] = N, m ? (m = l ^ q[q[q[O ^ l]]], V ^= q[q[V]]) : m = V = 1;
3583
+ a[R] = N << 24 | N >>> 8, i[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
3586
  var H = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], c = t.AES = P.extend({
3587
3587
  _doReset: function() {
3588
3588
  var q;
3589
3589
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
3590
- for (var x = this._keyPriorReset = this._key, m = x.words, V = x.sigBytes / 4, R = this._nRounds = V + 6, l = (R + 1) * 4, j = this._keySchedule = [], O = 0; O < l; O++)
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
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;
@@ -3595,26 +3595,26 @@ function RP() {
3595
3595
  var q = j[O];
3596
3596
  else
3597
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]];
3598
+ Z < 4 || O <= 4 ? N[Z] = q : N[Z] = a[z[q >>> 24]] ^ i[z[q >>> 16 & 255]] ^ s[z[q >>> 8 & 255]] ^ b[z[q & 255]];
3599
3599
  }
3600
3600
  }
3601
3601
  },
3602
- encryptBlock: function(q, x) {
3603
- this._doCryptBlock(q, x, this._keySchedule, n, u, p, X, z);
3602
+ encryptBlock: function(q, p) {
3603
+ this._doCryptBlock(q, p, this._keySchedule, n, u, x, X, z);
3604
3604
  },
3605
- decryptBlock: function(q, x) {
3606
- var m = q[x + 1];
3607
- q[x + 1] = q[x + 3], q[x + 3] = m, this._doCryptBlock(q, x, this._invKeySchedule, i, a, s, b, d);
3608
- var m = q[x + 1];
3609
- q[x + 1] = q[x + 3], q[x + 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, a, i, 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(q, x, m, V, R, l, j, O) {
3612
- for (var N = this._nRounds, Z = q[x] ^ m[0], T = q[x + 1] ^ m[1], M = q[x + 2] ^ m[2], J = q[x + 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], M = q[p + 2] ^ m[2], J = q[p + 3] ^ m[3], _ = 4, G = 1; G < N; G++) {
3613
3613
  var Y = V[Z >>> 24] ^ R[T >>> 16 & 255] ^ l[M >>> 8 & 255] ^ j[J & 255] ^ m[_++], h = V[T >>> 24] ^ R[M >>> 16 & 255] ^ l[J >>> 8 & 255] ^ j[Z & 255] ^ m[_++], C = V[M >>> 24] ^ R[J >>> 16 & 255] ^ l[Z >>> 8 & 255] ^ j[T & 255] ^ m[_++], L = V[J >>> 24] ^ R[Z >>> 16 & 255] ^ l[T >>> 8 & 255] ^ j[M & 255] ^ m[_++];
3614
3614
  Z = Y, T = h, M = C, J = L;
3615
3615
  }
3616
3616
  var Y = (O[Z >>> 24] << 24 | O[T >>> 16 & 255] << 16 | O[M >>> 8 & 255] << 8 | O[J & 255]) ^ m[_++], h = (O[T >>> 24] << 24 | O[M >>> 16 & 255] << 16 | O[J >>> 8 & 255] << 8 | O[Z & 255]) ^ m[_++], C = (O[M >>> 24] << 24 | O[J >>> 16 & 255] << 16 | O[Z >>> 8 & 255] << 8 | O[T & 255]) ^ m[_++], L = (O[J >>> 24] << 24 | O[Z >>> 16 & 255] << 16 | O[T >>> 8 & 255] << 8 | O[M & 255]) ^ m[_++];
3617
- q[x] = Y, q[x + 1] = h, q[x + 2] = C, q[x + 3] = L;
3617
+ q[p] = Y, q[p + 1] = h, q[p + 2] = C, q[p + 3] = L;
3618
3618
  },
3619
3619
  keySize: 256 / 32
3620
3620
  });
@@ -3627,7 +3627,7 @@ var de = { exports: {} }, $7;
3627
3627
  function jP() {
3628
3628
  return $7 || ($7 = 1, function(e, A) {
3629
3629
  (function(f, v, r) {
3630
- e.exports = v(tA(), H9(), p9(), z9(), VA());
3630
+ e.exports = v(tA(), H9(), p9(), z9(), NA());
3631
3631
  })(PA, function(f) {
3632
3632
  return function() {
3633
3633
  var v = f, r = v.lib, P = r.WordArray, t = r.BlockCipher, z = v.algo, d = [
@@ -3736,7 +3736,7 @@ function jP() {
3736
3736
  36,
3737
3737
  29,
3738
3738
  32
3739
- ], u = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], p = [
3739
+ ], u = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], x = [
3740
3740
  {
3741
3741
  0: 8421888,
3742
3742
  268435456: 32768,
@@ -4274,22 +4274,22 @@ function jP() {
4274
4274
  8064,
4275
4275
  504,
4276
4276
  2147483679
4277
- ], i = z.DES = t.extend({
4277
+ ], a = z.DES = t.extend({
4278
4278
  _doReset: function() {
4279
- for (var H = this._key, c = H.words, q = [], x = 0; x < 56; x++) {
4280
- var m = d[x] - 1;
4281
- q[x] = c[m >>> 5] >>> 31 - m % 32 & 1;
4279
+ for (var H = this._key, c = H.words, q = [], p = 0; p < 56; p++) {
4280
+ var m = d[p] - 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
- for (var l = V[R] = [], j = u[R], x = 0; x < 24; x++)
4285
- l[x / 6 | 0] |= q[(n[x] - 1 + j) % 28] << 31 - x % 6, l[4 + (x / 6 | 0)] |= q[28 + (n[x + 24] - 1 + j) % 28] << 31 - x % 6;
4284
+ for (var l = V[R] = [], j = u[R], p = 0; p < 24; p++)
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
- for (var x = 1; x < 7; x++)
4288
- l[x] = l[x] >>> (x - 1) * 4 + 3;
4287
+ for (var p = 1; p < 7; p++)
4288
+ l[p] = l[p] >>> (p - 1) * 4 + 3;
4289
4289
  l[7] = l[7] << 5 | l[7] >>> 27;
4290
4290
  }
4291
- for (var O = this._invSubKeys = [], x = 0; x < 16; x++)
4292
- O[x] = V[15 - x];
4291
+ for (var O = this._invSubKeys = [], p = 0; p < 16; p++)
4292
+ O[p] = V[15 - p];
4293
4293
  },
4294
4294
  encryptBlock: function(H, c) {
4295
4295
  this._doCryptBlock(H, c, this._subKeys);
@@ -4298,20 +4298,20 @@ function jP() {
4298
4298
  this._doCryptBlock(H, c, this._invSubKeys);
4299
4299
  },
4300
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
- for (var x = 0; x < 16; x++) {
4303
- for (var m = q[x], V = this._lBlock, R = this._rBlock, l = 0, j = 0; j < 8; j++)
4304
- l |= p[j][((R ^ m[j]) & X[j]) >>> 0];
4301
+ this._lBlock = H[c], this._rBlock = H[c + 1], i.call(this, 4, 252645135), i.call(this, 16, 65535), s.call(this, 2, 858993459), s.call(this, 8, 16711935), i.call(this, 1, 1431655765);
4302
+ for (var p = 0; p < 16; p++) {
4303
+ for (var m = q[p], V = this._lBlock, R = this._rBlock, l = 0, j = 0; j < 8; j++)
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), 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;
4308
+ this._lBlock = this._rBlock, this._rBlock = O, i.call(this, 1, 1431655765), s.call(this, 8, 16711935), s.call(this, 2, 858993459), i.call(this, 16, 65535), i.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, c) {
4314
+ function i(H, c) {
4315
4315
  var q = (this._lBlock >>> H ^ this._rBlock) & c;
4316
4316
  this._rBlock ^= q, this._lBlock ^= q << H;
4317
4317
  }
@@ -4319,14 +4319,14 @@ function jP() {
4319
4319
  var q = (this._rBlock >>> H ^ this._lBlock) & c;
4320
4320
  this._lBlock ^= q, this._rBlock ^= q << H;
4321
4321
  }
4322
- v.DES = t._createHelper(i);
4322
+ v.DES = t._createHelper(a);
4323
4323
  var b = z.TripleDES = t.extend({
4324
4324
  _doReset: function() {
4325
4325
  var H = this._key, c = H.words;
4326
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 q = c.slice(0, 2), x = 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(x)), 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 = a.createEncryptor(P.create(q)), this._des2 = a.createEncryptor(P.create(p)), this._des3 = a.createEncryptor(P.create(m));
4330
4330
  },
4331
4331
  encryptBlock: function(H, c) {
4332
4332
  this._des1.encryptBlock(H, c), this._des2.decryptBlock(H, c), this._des3.encryptBlock(H, c);
@@ -4347,34 +4347,34 @@ var Xe = { exports: {} }, A3;
4347
4347
  function ZP() {
4348
4348
  return A3 || (A3 = 1, function(e, A) {
4349
4349
  (function(f, v, r) {
4350
- e.exports = v(tA(), H9(), p9(), z9(), VA());
4350
+ e.exports = v(tA(), H9(), p9(), z9(), NA());
4351
4351
  })(PA, function(f) {
4352
4352
  return function() {
4353
4353
  var v = f, r = v.lib, P = r.StreamCipher, t = v.algo, z = t.RC4 = P.extend({
4354
4354
  _doReset: function() {
4355
- for (var u = this._key, p = u.words, X = u.sigBytes, i = this._S = [], a = 0; a < 256; a++)
4356
- i[a] = a;
4357
- for (var a = 0, s = 0; a < 256; a++) {
4358
- var b = a % X, H = p[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;
4355
+ for (var u = this._key, x = u.words, X = u.sigBytes, a = this._S = [], i = 0; i < 256; i++)
4356
+ a[i] = i;
4357
+ for (var i = 0, s = 0; i < 256; i++) {
4358
+ var b = i % X, H = x[b >>> 2] >>> 24 - b % 4 * 8 & 255;
4359
+ s = (s + a[i] + H) % 256;
4360
+ var c = a[i];
4361
+ a[i] = a[s], a[s] = c;
4362
4362
  }
4363
4363
  this._i = this._j = 0;
4364
4364
  },
4365
- _doProcessBlock: function(u, p) {
4366
- u[p] ^= d.call(this);
4365
+ _doProcessBlock: function(u, x) {
4366
+ u[x] ^= d.call(this);
4367
4367
  },
4368
4368
  keySize: 256 / 32,
4369
4369
  ivSize: 0
4370
4370
  });
4371
4371
  function d() {
4372
- for (var u = this._S, p = this._i, X = this._j, i = 0, a = 0; a < 4; a++) {
4373
- p = (p + 1) % 256, X = (X + u[p]) % 256;
4374
- var s = u[p];
4375
- u[p] = u[X], u[X] = s, i |= u[(u[p] + u[X]) % 256] << 24 - a * 8;
4372
+ for (var u = this._S, x = this._i, X = this._j, a = 0, i = 0; i < 4; i++) {
4373
+ x = (x + 1) % 256, X = (X + u[x]) % 256;
4374
+ var s = u[x];
4375
+ u[x] = u[X], u[X] = s, a |= u[(u[x] + u[X]) % 256] << 24 - i * 8;
4376
4376
  }
4377
- return this._i = p, this._j = X, i;
4377
+ return this._i = x, this._j = X, a;
4378
4378
  }
4379
4379
  v.RC4 = P._createHelper(z);
4380
4380
  var n = t.RC4Drop = z.extend({
@@ -4401,13 +4401,13 @@ var be = { exports: {} }, f3;
4401
4401
  function TP() {
4402
4402
  return f3 || (f3 = 1, function(e, A) {
4403
4403
  (function(f, v, r) {
4404
- e.exports = v(tA(), H9(), p9(), z9(), VA());
4404
+ e.exports = v(tA(), H9(), p9(), z9(), NA());
4405
4405
  })(PA, function(f) {
4406
4406
  return function() {
4407
4407
  var v = f, r = v.lib, P = r.StreamCipher, t = v.algo, z = [], d = [], n = [], u = t.Rabbit = P.extend({
4408
4408
  _doReset: function() {
4409
- for (var X = this._key.words, i = this.cfg.iv, a = 0; a < 4; a++)
4410
- X[a] = (X[a] << 8 | X[a] >>> 24) & 16711935 | (X[a] << 24 | X[a] >>> 8) & 4278255360;
4409
+ for (var X = this._key.words, a = this.cfg.iv, i = 0; i < 4; i++)
4410
+ X[i] = (X[i] << 8 | X[i] >>> 24) & 16711935 | (X[i] << 24 | X[i] >>> 8) & 4278255360;
4411
4411
  var s = this._X = [
4412
4412
  X[0],
4413
4413
  X[3] << 16 | X[2] >>> 16,
@@ -4428,33 +4428,33 @@ function TP() {
4428
4428
  X[3] & 4294901760 | X[0] & 65535
4429
4429
  ];
4430
4430
  this._b = 0;
4431
- for (var a = 0; a < 4; a++)
4432
- p.call(this);
4433
- for (var a = 0; a < 8; a++)
4434
- b[a] ^= s[a + 4 & 7];
4435
- if (i) {
4436
- var H = i.words, c = H[0], q = H[1], x = (c << 8 | c >>> 24) & 16711935 | (c << 24 | c >>> 8) & 4278255360, m = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, V = x >>> 16 | m & 4294901760, R = m << 16 | x & 65535;
4437
- b[0] ^= x, b[1] ^= V, b[2] ^= m, b[3] ^= R, b[4] ^= x, b[5] ^= V, b[6] ^= m, b[7] ^= R;
4438
- for (var a = 0; a < 4; a++)
4439
- p.call(this);
4431
+ for (var i = 0; i < 4; i++)
4432
+ x.call(this);
4433
+ for (var i = 0; i < 8; i++)
4434
+ b[i] ^= s[i + 4 & 7];
4435
+ if (a) {
4436
+ var H = a.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
+ for (var i = 0; i < 4; i++)
4439
+ x.call(this);
4440
4440
  }
4441
4441
  },
4442
- _doProcessBlock: function(X, i) {
4443
- var a = this._X;
4444
- p.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;
4442
+ _doProcessBlock: function(X, a) {
4443
+ var i = this._X;
4444
+ x.call(this), z[0] = i[0] ^ i[5] >>> 16 ^ i[3] << 16, z[1] = i[2] ^ i[7] >>> 16 ^ i[5] << 16, z[2] = i[4] ^ i[1] >>> 16 ^ i[7] << 16, z[3] = i[6] ^ i[3] >>> 16 ^ i[1] << 16;
4445
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];
4446
+ z[s] = (z[s] << 8 | z[s] >>> 24) & 16711935 | (z[s] << 24 | z[s] >>> 8) & 4278255360, X[a + s] ^= z[s];
4447
4447
  },
4448
4448
  blockSize: 128 / 32,
4449
4449
  ivSize: 64 / 32
4450
4450
  });
4451
- function p() {
4452
- for (var X = this._X, i = this._C, a = 0; a < 8; a++)
4453
- d[a] = i[a];
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
- for (var a = 0; a < 8; a++) {
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;
4451
+ function x() {
4452
+ for (var X = this._X, a = this._C, i = 0; i < 8; i++)
4453
+ d[i] = a[i];
4454
+ a[0] = a[0] + 1295307597 + this._b | 0, a[1] = a[1] + 3545052371 + (a[0] >>> 0 < d[0] >>> 0 ? 1 : 0) | 0, a[2] = a[2] + 886263092 + (a[1] >>> 0 < d[1] >>> 0 ? 1 : 0) | 0, a[3] = a[3] + 1295307597 + (a[2] >>> 0 < d[2] >>> 0 ? 1 : 0) | 0, a[4] = a[4] + 3545052371 + (a[3] >>> 0 < d[3] >>> 0 ? 1 : 0) | 0, a[5] = a[5] + 886263092 + (a[4] >>> 0 < d[4] >>> 0 ? 1 : 0) | 0, a[6] = a[6] + 1295307597 + (a[5] >>> 0 < d[5] >>> 0 ? 1 : 0) | 0, a[7] = a[7] + 3545052371 + (a[6] >>> 0 < d[6] >>> 0 ? 1 : 0) | 0, this._b = a[7] >>> 0 < d[7] >>> 0 ? 1 : 0;
4455
+ for (var i = 0; i < 8; i++) {
4456
+ var s = X[i] + a[i], 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[i] = 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
  }
@@ -4467,12 +4467,12 @@ var ce = { exports: {} }, e3;
4467
4467
  function oP() {
4468
4468
  return e3 || (e3 = 1, function(e, A) {
4469
4469
  (function(f, v, r) {
4470
- e.exports = v(tA(), H9(), p9(), z9(), VA());
4470
+ e.exports = v(tA(), H9(), p9(), z9(), NA());
4471
4471
  })(PA, function(f) {
4472
4472
  return function() {
4473
4473
  var v = f, r = v.lib, P = r.StreamCipher, t = v.algo, z = [], d = [], n = [], u = t.RabbitLegacy = P.extend({
4474
4474
  _doReset: function() {
4475
- var X = this._key.words, i = this.cfg.iv, a = this._X = [
4475
+ var X = this._key.words, a = this.cfg.iv, i = this._X = [
4476
4476
  X[0],
4477
4477
  X[3] << 16 | X[2] >>> 16,
4478
4478
  X[1],
@@ -4493,32 +4493,32 @@ function oP() {
4493
4493
  ];
4494
4494
  this._b = 0;
4495
4495
  for (var b = 0; b < 4; b++)
4496
- p.call(this);
4496
+ x.call(this);
4497
4497
  for (var b = 0; b < 8; b++)
4498
- s[b] ^= a[b + 4 & 7];
4499
- if (i) {
4500
- var H = i.words, c = H[0], q = H[1], x = (c << 8 | c >>> 24) & 16711935 | (c << 24 | c >>> 8) & 4278255360, m = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, V = x >>> 16 | m & 4294901760, R = m << 16 | x & 65535;
4501
- s[0] ^= x, s[1] ^= V, s[2] ^= m, s[3] ^= R, s[4] ^= x, s[5] ^= V, s[6] ^= m, s[7] ^= R;
4498
+ s[b] ^= i[b + 4 & 7];
4499
+ if (a) {
4500
+ var H = a.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
4502
  for (var b = 0; b < 4; b++)
4503
- p.call(this);
4503
+ x.call(this);
4504
4504
  }
4505
4505
  },
4506
- _doProcessBlock: function(X, i) {
4507
- var a = this._X;
4508
- p.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;
4506
+ _doProcessBlock: function(X, a) {
4507
+ var i = this._X;
4508
+ x.call(this), z[0] = i[0] ^ i[5] >>> 16 ^ i[3] << 16, z[1] = i[2] ^ i[7] >>> 16 ^ i[5] << 16, z[2] = i[4] ^ i[1] >>> 16 ^ i[7] << 16, z[3] = i[6] ^ i[3] >>> 16 ^ i[1] << 16;
4509
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];
4510
+ z[s] = (z[s] << 8 | z[s] >>> 24) & 16711935 | (z[s] << 24 | z[s] >>> 8) & 4278255360, X[a + s] ^= z[s];
4511
4511
  },
4512
4512
  blockSize: 128 / 32,
4513
4513
  ivSize: 64 / 32
4514
4514
  });
4515
- function p() {
4516
- for (var X = this._X, i = this._C, a = 0; a < 8; a++)
4517
- d[a] = i[a];
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
- for (var a = 0; a < 8; a++) {
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;
4515
+ function x() {
4516
+ for (var X = this._X, a = this._C, i = 0; i < 8; i++)
4517
+ d[i] = a[i];
4518
+ a[0] = a[0] + 1295307597 + this._b | 0, a[1] = a[1] + 3545052371 + (a[0] >>> 0 < d[0] >>> 0 ? 1 : 0) | 0, a[2] = a[2] + 886263092 + (a[1] >>> 0 < d[1] >>> 0 ? 1 : 0) | 0, a[3] = a[3] + 1295307597 + (a[2] >>> 0 < d[2] >>> 0 ? 1 : 0) | 0, a[4] = a[4] + 3545052371 + (a[3] >>> 0 < d[3] >>> 0 ? 1 : 0) | 0, a[5] = a[5] + 886263092 + (a[4] >>> 0 < d[4] >>> 0 ? 1 : 0) | 0, a[6] = a[6] + 1295307597 + (a[5] >>> 0 < d[5] >>> 0 ? 1 : 0) | 0, a[7] = a[7] + 3545052371 + (a[6] >>> 0 < d[6] >>> 0 ? 1 : 0) | 0, this._b = a[7] >>> 0 < d[7] >>> 0 ? 1 : 0;
4519
+ for (var i = 0; i < 8; i++) {
4520
+ var s = X[i] + a[i], 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[i] = 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
  }
@@ -4531,7 +4531,7 @@ var ae = { exports: {} }, v3;
4531
4531
  function LP() {
4532
4532
  return v3 || (v3 = 1, function(e, A) {
4533
4533
  (function(f, v, r) {
4534
- e.exports = v(tA(), H9(), p9(), z9(), VA());
4534
+ e.exports = v(tA(), H9(), p9(), z9(), NA());
4535
4535
  })(PA, function(f) {
4536
4536
  return function() {
4537
4537
  var v = f, r = v.lib, P = r.BlockCipher, t = v.algo;
@@ -5592,23 +5592,23 @@ function LP() {
5592
5592
  pbox: [],
5593
5593
  sbox: []
5594
5594
  };
5595
- function p(b, H) {
5596
- let c = H >> 24 & 255, q = H >> 16 & 255, x = H >> 8 & 255, m = H & 255, V = b.sbox[0][c] + b.sbox[1][q];
5597
- return V = V ^ b.sbox[2][x], V = V + b.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
5599
  function X(b, H, c) {
5600
- let q = H, x = c, m;
5600
+ let q = H, p = c, m;
5601
5601
  for (let V = 0; V < z; ++V)
5602
- q = q ^ b.pbox[V], x = p(b, q) ^ x, m = q, q = x, x = m;
5603
- return m = q, q = x, x = m, x = x ^ b.pbox[z], q = q ^ b.pbox[z + 1], { left: q, right: x };
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(b, H, c) {
5606
- let q = H, x = c, m;
5605
+ function a(b, H, c) {
5606
+ let q = H, p = c, m;
5607
5607
  for (let V = z + 1; V > 1; --V)
5608
- q = q ^ b.pbox[V], x = p(b, q) ^ x, m = q, q = x, x = m;
5609
- return m = q, q = x, x = m, x = x ^ b.pbox[1], q = q ^ b.pbox[0], { left: q, right: x };
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(b, H, c) {
5611
+ function i(b, H, c) {
5612
5612
  for (let R = 0; R < 4; R++) {
5613
5613
  b.sbox[R] = [];
5614
5614
  for (let l = 0; l < 256; l++)
@@ -5617,19 +5617,19 @@ function LP() {
5617
5617
  let q = 0;
5618
5618
  for (let R = 0; R < z + 2; R++)
5619
5619
  b.pbox[R] = d[R] ^ H[q], q++, q >= c && (q = 0);
5620
- let x = 0, m = 0, V = 0;
5620
+ let p = 0, m = 0, V = 0;
5621
5621
  for (let R = 0; R < z + 2; R += 2)
5622
- V = X(b, x, m), x = V.left, m = V.right, b.pbox[R] = x, b.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(b, x, m), x = V.left, m = V.right, b.sbox[R][l] = x, b.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
5628
  var s = t.Blowfish = P.extend({
5629
5629
  _doReset: function() {
5630
5630
  if (this._keyPriorReset !== this._key) {
5631
5631
  var b = this._keyPriorReset = this._key, H = b.words, c = b.sigBytes / 4;
5632
- a(u, H, c);
5632
+ i(u, H, c);
5633
5633
  }
5634
5634
  },
5635
5635
  encryptBlock: function(b, H) {
@@ -5637,7 +5637,7 @@ function LP() {
5637
5637
  b[H] = c.left, b[H + 1] = c.right;
5638
5638
  },
5639
5639
  decryptBlock: function(b, H) {
5640
- var c = i(u, b[H], b[H + 1]);
5640
+ var c = a(u, b[H], b[H + 1]);
5641
5641
  b[H] = c.left, b[H + 1] = c.right;
5642
5642
  },
5643
5643
  blockSize: 64 / 32,
@@ -5651,7 +5651,7 @@ function LP() {
5651
5651
  }
5652
5652
  (function(e, A) {
5653
5653
  (function(f, v, r) {
5654
- e.exports = v(tA(), Df(), uP(), zP(), H9(), dP(), p9(), zv(), Be(), XP(), dv(), bP(), cP(), aP(), ke(), iP(), z9(), VA(), sP(), qP(), HP(), pP(), xP(), OP(), mP(), lP(), DP(), VP(), NP(), RP(), jP(), ZP(), TP(), oP(), LP());
5654
+ e.exports = v(tA(), Df(), uP(), zP(), H9(), dP(), p9(), zv(), Be(), XP(), dv(), bP(), cP(), aP(), ke(), iP(), z9(), NA(), sP(), qP(), HP(), pP(), xP(), OP(), mP(), lP(), DP(), VP(), NP(), RP(), jP(), ZP(), TP(), oP(), LP());
5655
5655
  })(PA, function(f) {
5656
5656
  return f;
5657
5657
  });
@@ -5669,9 +5669,9 @@ function WP(e, A, f, v) {
5669
5669
  });
5670
5670
  }
5671
5671
  function wP(e, A, f, v, r, P, t, z) {
5672
- let d = bv(A, f, v, r, P), n = wA.AES.encrypt.apply(null, [e, d.key, d.options]), u = t === "base64" ? wA.enc.Base64 : wA.enc.Hex, p = n.ciphertext.toString(u);
5672
+ let d = bv(A, f, v, r, P), n = wA.AES.encrypt.apply(null, [e, d.key, d.options]), u = t === "base64" ? wA.enc.Base64 : wA.enc.Hex, x = n.ciphertext.toString(u);
5673
5673
  z({
5674
- value: p,
5674
+ value: x,
5675
5675
  error: null
5676
5676
  });
5677
5677
  }
@@ -5686,9 +5686,9 @@ function EP(e, A, f, v) {
5686
5686
  });
5687
5687
  }
5688
5688
  function IP(e, A, f, v, r, P, t, z) {
5689
- let d = bv(A, f, v, r, P), n = wA.DES.encrypt.apply(null, [e, d.key, d.options]), u = t === "base64" ? wA.enc.Base64 : wA.enc.Hex, p = n.ciphertext.toString(u);
5689
+ let d = bv(A, f, v, r, P), n = wA.DES.encrypt.apply(null, [e, d.key, d.options]), u = t === "base64" ? wA.enc.Base64 : wA.enc.Hex, x = n.ciphertext.toString(u);
5690
5690
  z({
5691
- value: p,
5691
+ value: x,
5692
5692
  error: null
5693
5693
  });
5694
5694
  }
@@ -5781,9 +5781,9 @@ 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 || "", p = v[u.toLowerCase()], X = e.codingMode || "", i = r[X.toLowerCase()], s = (Number(e.encryptKeyLength) || 0) / 8;
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 || "", a = r[X.toLowerCase()], s = (Number(e.encryptKeyLength) || 0) / 8;
5785
5785
  return new Promise((b) => {
5786
- t !== "aes" && t !== "des" ? b({ error: "加密类型出错==", value: null }) : QP[t](A, d, { mode: z, keySize: s, padding: p, encoding: i, iv: n }, (H) => {
5786
+ t !== "aes" && t !== "des" ? b({ error: "加密类型出错==", value: null }) : QP[t](A, d, { mode: z, keySize: s, padding: x, encoding: a, iv: n }, (H) => {
5787
5787
  b(H);
5788
5788
  });
5789
5789
  });
@@ -5845,8 +5845,8 @@ async function UP(e) {
5845
5845
  return "goLogin";
5846
5846
  if (n && u) {
5847
5847
  if (d) {
5848
- let p = await YP(v, u);
5849
- p.error, u = p.value ?? "";
5848
+ let x = await YP(v, u);
5849
+ x.error, u = x.value ?? "";
5850
5850
  }
5851
5851
  A[n] = u;
5852
5852
  }
@@ -6426,14 +6426,14 @@ function uf(e, A, f, v, r, P) {
6426
6426
  var u = P.get(e);
6427
6427
  if (u)
6428
6428
  return u;
6429
- P.set(e, t), zd(e) ? e.forEach(function(i) {
6430
- t.add(uf(i, A, f, i, e, P));
6431
- }) : Pd(e) && e.forEach(function(i, a) {
6432
- t.set(a, uf(i, A, f, a, e, P));
6429
+ P.set(e, t), zd(e) ? e.forEach(function(a) {
6430
+ t.add(uf(a, A, f, a, e, P));
6431
+ }) : Pd(e) && e.forEach(function(a, i) {
6432
+ t.set(i, uf(a, A, f, i, e, P));
6433
6433
  });
6434
- var p = Oz, X = z ? void 0 : p(e);
6435
- return Xu(X || e, function(i, a) {
6436
- X && (a = i, i = e[a]), iu(t, a, uf(i, A, f, a, e, P));
6434
+ var x = Oz, X = z ? void 0 : x(e);
6435
+ return Xu(X || e, function(a, i) {
6436
+ X && (i = a, a = e[i]), iu(t, i, uf(a, A, f, i, e, P));
6437
6437
  }), t;
6438
6438
  }
6439
6439
  var yd = 1, Wd = 4;
@@ -6478,12 +6478,12 @@ const bf = (e, A = "") => {
6478
6478
  const f = e.findIndex((P) => P.code === A), v = e.slice(0, f), r = e.slice(f + 1);
6479
6479
  return { left: v, right: r };
6480
6480
  }, Id = (e, A, f) => {
6481
- var p;
6482
- const v = UA(A).filter((X) => X.routeUrl).filter((X) => !(X != null && X.disable) && !(X != null && X.expired)), P = (((p = ZA()) == null ? void 0 : p.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;
6481
+ var x;
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((a) => a.code === X.code)).map((X) => {
6483
+ var a, i;
6484
6484
  return {
6485
6485
  ...X,
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
6486
+ name: ((a = v.find((s) => s.code === X.code)) == null ? void 0 : a.tabName) ?? ((i = v.find((s) => s.code === X.code)) == null ? void 0 : i.name) ?? X.name
6487
6487
  };
6488
6488
  });
6489
6489
  if (!t.length && !z.length || !d.length)
@@ -6495,11 +6495,11 @@ const bf = (e, A = "") => {
6495
6495
  ]), Te(e);
6496
6496
  let n = null;
6497
6497
  if (z.length) {
6498
- const X = z.find((i) => d.map((a) => a.code).includes(i.code));
6498
+ const X = z.find((a) => d.map((i) => i.code).includes(a.code));
6499
6499
  X && (n = X);
6500
6500
  }
6501
6501
  if (!n && t.length) {
6502
- const X = t.reverse().find((i) => d.map((a) => a.code).includes(i.code));
6502
+ const X = t.reverse().find((a) => d.map((i) => i.code).includes(a.code));
6503
6503
  X && (n = X);
6504
6504
  }
6505
6505
  return n ? (IA([
@@ -6539,16 +6539,16 @@ const bf = (e, A = "") => {
6539
6539
  t != null && t.children && t.children.length && (t.originalChildren = o9(t.children)), (t != null && t.expired || t != null && t.disable) && (t.children = []);
6540
6540
  }), { menus: r, originalMenus: P };
6541
6541
  }, Md = async (e) => {
6542
- var X, i, a, s, b;
6542
+ var X, a, i, s, b;
6543
6543
  let { microApp: A = null, menuCode: f = "", menuPath: v = "", route: r = {} } = e;
6544
6544
  const P = ((X = r.meta) == null ? void 0 : X.showLayout) ?? !0;
6545
- let t = ((i = r.query) == null ? void 0 : i.showLayout) ?? !0;
6545
+ let t = ((a = r.query) == null ? void 0 : a.showLayout) ?? !0;
6546
6546
  t === "false" && (t = !1);
6547
6547
  let z = (A == null ? void 0 : A.code) ?? "";
6548
6548
  if (!z) return { menuConfig: [], currentApp: null, currentMenu: null, query: null };
6549
6549
  let d = [], n = [];
6550
6550
  const u = uA().subAppList ?? [];
6551
- if (u.length && (d = ((a = u.find((H) => H.code === A.code)) == null ? void 0 : a.menus) ?? []), !d.length) {
6551
+ if (u.length && (d = ((i = u.find((H) => H.code === A.code)) == null ? void 0 : i.menus) ?? []), !d.length) {
6552
6552
  const { menus: H, originalMenus: c } = await Ue(z);
6553
6553
  d = H ?? [], n = c ?? [];
6554
6554
  }
@@ -6558,8 +6558,8 @@ const bf = (e, A = "") => {
6558
6558
  const { instanceInfo: H } = await zt();
6559
6559
  if (H) {
6560
6560
  let c = !1;
6561
- d.forEach((x) => {
6562
- x.routeUrl === "/deviceInstance" && (x.fixed = !0, x.divise = !0, x.menuCode = x.code, x.tagName = x.tabName = g("实例"), x.name = H.instanceName, x.leftIcon = "change2", x.rightIcon = "change2");
6561
+ d.forEach((p) => {
6562
+ p.routeUrl === "/deviceInstance" && (p.fixed = !0, p.divise = !0, p.menuCode = p.code, p.tagName = p.tabName = g("实例"), p.name = H.instanceName, p.leftIcon = "change2", p.rightIcon = "change2");
6563
6563
  });
6564
6564
  const q = yn(H.endTime) || H.endTime == 0 || H.endTime === 253370736e6 || H.endTime === "253370736000000" ? "-" : Number(H.endTime);
6565
6565
  if (c = le().endOf("day") > le(q).endOf("day"), !f && !v && H.id && !c) {
@@ -6569,21 +6569,21 @@ const bf = (e, A = "") => {
6569
6569
  }
6570
6570
  }
6571
6571
  if (P && t) {
6572
- const H = UA(d), q = ((s = (ZA().tabMap ?? {})[A.code]) == null ? void 0 : s.map((x) => {
6572
+ const H = UA(d), q = ((s = (ZA().tabMap ?? {})[A.code]) == null ? void 0 : s.map((p) => {
6573
6573
  var m, V;
6574
6574
  return {
6575
- ...x,
6576
- name: ((m = H.find((R) => R.code === x.code)) == null ? void 0 : m.tabName) ?? ((V = H.find((R) => R.code === x.code)) == null ? void 0 : V.name) ?? x.name
6575
+ ...p,
6576
+ 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
6577
6577
  };
6578
6578
  })) ?? [];
6579
6579
  if (q.length) {
6580
- const x = q.filter(
6580
+ const p = q.filter(
6581
6581
  (m) => f && f === m.code || v && v === `/${m.applicationPath}${m.path}`.replace(/\/\//g, "/") || H.map((V) => V.code).includes(m.code)
6582
6582
  );
6583
6583
  IA([
6584
6584
  {
6585
6585
  key: `tabMap:${A.code}`,
6586
- value: x
6586
+ value: p
6587
6587
  }
6588
6588
  ]);
6589
6589
  }
@@ -6603,41 +6603,41 @@ const bf = (e, A = "") => {
6603
6603
  query: { ...r.query, app: z }
6604
6604
  };
6605
6605
  }
6606
- let p = bf(d, f);
6607
- if (!p) {
6606
+ let x = bf(d, f);
6607
+ if (!x) {
6608
6608
  if (!P || !t)
6609
6609
  return { menuConfig: d, currentApp: null, currentMenu: null, query: { ...r.query, app: z } };
6610
6610
  const H = Id(A.code, d, f);
6611
- H != null && H.currentApp && (A = H.currentApp), H != null && H.currentMenu && (p = H.currentMenu), H != null && H.currentTab && (r.query = ((b = H.currentTab) == null ? void 0 : b.query) ?? {});
6611
+ 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) ?? {});
6612
6612
  }
6613
6613
  if ((A == null ? void 0 : A.routeUrl) === RA)
6614
6614
  return { menuConfig: [], currentApp: A, currentMenu: null, query: null };
6615
- if (p) {
6616
- const H = `/${p.applicationPath}${p.routeUrl}`;
6615
+ if (x) {
6616
+ const H = `/${x.applicationPath}${x.routeUrl}`;
6617
6617
  let c = "";
6618
6618
  v && v.startsWith(H) && v !== H && (c = v);
6619
- const q = { ...r.query, app: z, menu: p.code };
6619
+ const q = { ...r.query, app: z, menu: x.code };
6620
6620
  if (P && t) {
6621
- const x = { ...A, currentMenuCode: p.code, menus: d, originalMenus: n };
6621
+ const p = { ...A, currentMenuCode: x.code, menus: d, originalMenus: n };
6622
6622
  MA([
6623
- { key: "currentSubApp", value: x },
6623
+ { key: "currentSubApp", value: p },
6624
6624
  { key: "currentSubAppCode", value: z },
6625
- { key: "subAppList", value: x }
6625
+ { key: "subAppList", value: p }
6626
6626
  ]);
6627
6627
  const m = {
6628
6628
  currentApplication: A.routeUrl,
6629
- applicationPath: p.applicationPath,
6629
+ applicationPath: x.applicationPath,
6630
6630
  applicationCode: z,
6631
- menuId: p.id,
6632
- code: p.code,
6633
- name: (p == null ? void 0 : p.tabName) ?? p.name,
6634
- path: p.routeUrl,
6631
+ menuId: x.id,
6632
+ code: x.code,
6633
+ name: (x == null ? void 0 : x.tabName) ?? x.name,
6634
+ path: x.routeUrl,
6635
6635
  query: q
6636
6636
  };
6637
6637
  IA([
6638
6638
  {
6639
6639
  key: "currentCode",
6640
- value: p.code
6640
+ value: x.code
6641
6641
  },
6642
6642
  {
6643
6643
  key: "currentTab",
@@ -6653,7 +6653,7 @@ const bf = (e, A = "") => {
6653
6653
  }
6654
6654
  ]);
6655
6655
  }
6656
- return { menuConfig: d, currentApp: A, currentMenu: p, query: q, microPath: c };
6656
+ return { menuConfig: d, currentApp: A, currentMenu: x, query: q, microPath: c };
6657
6657
  }
6658
6658
  return { menuConfig: d, currentApp: A, currentMenu: null, query: { ...r.query, app: z } };
6659
6659
  }, gd = f9.get("/appcategory"), Bd = f9.get("/app/common"), N3 = o(!1), oe = o([]), kd = EA(() => {
@@ -6679,8 +6679,8 @@ const bf = (e, A = "") => {
6679
6679
  const [d, n = []] = await Ud().run();
6680
6680
  if (A = n, A && A.length) {
6681
6681
  const u = ((t = YA()) == null ? void 0 : t.id) || 0;
6682
- if (u && (f = A.find((p) => p.id === u)), !u || !f) {
6683
- const p = e.tenant.id ?? "", X = A.filter((i) => i.tenant === p);
6682
+ if (u && (f = A.find((x) => x.id === u)), !u || !f) {
6683
+ const x = e.tenant.id ?? "", X = A.filter((a) => a.tenant === x);
6684
6684
  X && X.length && (f = X[0]);
6685
6685
  }
6686
6686
  }
@@ -6688,7 +6688,7 @@ const bf = (e, A = "") => {
6688
6688
  const [d, n = []] = await Yd().run();
6689
6689
  if (A = n, A && A.length) {
6690
6690
  const u = ((z = YA()) == null ? void 0 : z.id) || 0;
6691
- u && (f = c7(A, (p) => p.id === u)), (!u || !f) && (f = c7(A, (p) => p.type === 7));
6691
+ u && (f = c7(A, (x) => x.id === u)), (!u || !f) && (f = c7(A, (x) => x.type === 7));
6692
6692
  }
6693
6693
  }
6694
6694
  const [r, P] = await Fd().run({ projectId: (f == null ? void 0 : f.id) ?? 0 });
@@ -6738,7 +6738,7 @@ const bf = (e, A = "") => {
6738
6738
  ssl: z.value
6739
6739
  };
6740
6740
  return Object.keys(s).find((b) => s[b] === !0) ?? "default";
6741
- }, p = () => ({
6741
+ }, x = () => ({
6742
6742
  style: f.value ? 1 : 2,
6743
6743
  skinStyle: u()
6744
6744
  }), X = EA(() => {
@@ -6749,13 +6749,13 @@ const bf = (e, A = "") => {
6749
6749
  cjb: s ? i5 : p5,
6750
6750
  ssl: s ? s5 : x5
6751
6751
  }[u()];
6752
- }), { onPreview: i } = Pr(), a = () => {
6753
- i({ previewList: [X.value], previewBtnConfig: !0 });
6752
+ }), { onPreview: a } = Pr(), i = () => {
6753
+ a({ previewList: [X.value], previewBtnConfig: !0 });
6754
6754
  };
6755
6755
  return A({
6756
6756
  init: d,
6757
- getResult: p
6758
- }), (s, b) => h9((fA(), mA(
6757
+ getResult: x
6758
+ }), (s, b) => h9((fA(), lA(
6759
6759
  "div",
6760
6760
  O5,
6761
6761
  [
@@ -6947,7 +6947,7 @@ const bf = (e, A = "") => {
6947
6947
  alt: "",
6948
6948
  width: "100%",
6949
6949
  height: "100% ",
6950
- onClick: a
6950
+ onClick: i
6951
6951
  }, null, 8, M5)
6952
6952
  ])
6953
6953
  ])
@@ -6976,7 +6976,7 @@ const bf = (e, A = "") => {
6976
6976
  ]), v = EA(() => ({ type: C9.value === "zh-CN" ? 1 : 2 }));
6977
6977
  return A({
6978
6978
  getResult: () => ({ ...v.value })
6979
- }), (P, t) => h9((fA(), mA(
6979
+ }), (P, t) => h9((fA(), lA(
6980
6980
  "div",
6981
6981
  k5,
6982
6982
  [
@@ -7022,10 +7022,10 @@ const bf = (e, A = "") => {
7022
7022
  applicationPath: "",
7023
7023
  levelType: 1
7024
7024
  }), u = zr();
7025
- let p = !0;
7026
- const X = o(!1), { run: i } = A6(), { run: a } = f6(), s = () => {
7025
+ let x = !0;
7026
+ const X = o(!1), { run: a } = A6(), { run: i } = f6(), s = () => {
7027
7027
  var m;
7028
- p = !0, (m = u.value) == null || m.resetLazyLoad();
7028
+ x = !0, (m = u.value) == null || m.resetLazyLoad();
7029
7029
  };
7030
7030
  return {
7031
7031
  builtInDialog: r,
@@ -7047,13 +7047,13 @@ const bf = (e, A = "") => {
7047
7047
  dataType: f.value.parentId === "-1" ? 2 : 3,
7048
7048
  isTenant: A.type === 1
7049
7049
  };
7050
- p ? (p = !1, X.value = !0) : V.parentId = m.id;
7051
- let [R, l] = await i(V);
7050
+ x ? (x = !1, X.value = !0) : V.parentId = m.id;
7051
+ let [R, l] = await a(V);
7052
7052
  return X.value = !1, R ? { data: [] } : { data: l.data || [] };
7053
7053
  },
7054
7054
  search: async (m) => {
7055
7055
  if (!m) return {};
7056
- const [V, R] = await a({
7056
+ const [V, R] = await i({
7057
7057
  name: m,
7058
7058
  orgId: A.id,
7059
7059
  dataType: 2,
@@ -7082,11 +7082,11 @@ const z6 = (e) => {
7082
7082
  { value: 2, label: g("设备看板") },
7083
7083
  { value: 3, label: g("数据编排") },
7084
7084
  { value: 4, label: g("轻分析") }
7085
- ]), z = o([]), d = o(20), n = o(1), u = o(0), p = o(""), X = o(""), i = o(""), a = o(!1), { run: s } = e6(), { run: b } = v6(), { run: H } = n6(), { run: c } = r6(), { run: q } = P6(), x = (G) => {
7085
+ ]), z = o([]), d = o(20), n = o(1), u = o(0), x = o(""), X = o(""), a = o(""), i = o(!1), { run: s } = e6(), { run: b } = v6(), { run: H } = n6(), { run: c } = r6(), { run: q } = P6(), p = (G) => {
7086
7086
  const Y = [], h = G[2], C = h.displays, L = h.scenes, W = h[g("2D3D集成根目录")];
7087
7087
  m(C, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", Y), m(L, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", Y), m(W, g("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", Y);
7088
7088
  const E = (n.value - 1) * d.value, w = E + d.value;
7089
- z.value = Y.filter((zA) => zA.name.includes(p.value)).slice(E, w), u.value = Y.length;
7089
+ z.value = Y.filter((zA) => zA.name.includes(x.value)).slice(E, w), u.value = Y.length;
7090
7090
  }, m = (G, Y, h, C) => {
7091
7091
  for (const L in G) {
7092
7092
  const W = G[L];
@@ -7098,20 +7098,20 @@ const z6 = (e) => {
7098
7098
  }
7099
7099
  }
7100
7100
  }, V = () => {
7101
- n.value = 1, u.value = 0, p.value = "";
7101
+ n.value = 1, u.value = 0, x.value = "";
7102
7102
  }, R = () => {
7103
7103
  var G, Y, h;
7104
- V(), P.value = ((G = A.value) == null ? void 0 : G.urlType) ?? 0, X.value = ((Y = A.value) == null ? void 0 : Y.urlId) ?? "", i.value = ((h = A.value) == null ? void 0 : h.routeUrl) ?? "", rf.afterMsg = x, N(), r.value = !0;
7104
+ V(), P.value = ((G = A.value) == null ? void 0 : G.urlType) ?? 0, X.value = ((Y = A.value) == null ? void 0 : Y.urlId) ?? "", a.value = ((h = A.value) == null ? void 0 : h.routeUrl) ?? "", rf.afterMsg = p, N(), r.value = !0;
7105
7105
  }, l = (G, Y, h) => {
7106
- i.value = Y.url;
7106
+ a.value = Y.url;
7107
7107
  }, j = () => {
7108
7108
  if (!X.value) {
7109
7109
  Ee.warning(g("至少选择一个链接"));
7110
7110
  return;
7111
7111
  }
7112
- A.value.urlType = P.value, A.value.urlId = X.value, A.value.routeUrl = i.value, r.value = !1;
7112
+ A.value.urlType = P.value, A.value.urlId = X.value, A.value.routeUrl = a.value, r.value = !1;
7113
7113
  }, O = (G) => {
7114
- V(), P.value = G, X.value = "", i.value = "", N();
7114
+ V(), P.value = G, X.value = "", a.value = "", N();
7115
7115
  }, N = () => {
7116
7116
  if (f.type !== 7) return;
7117
7117
  ({
@@ -7127,13 +7127,13 @@ const z6 = (e) => {
7127
7127
  }, T = async () => {
7128
7128
  const G = {
7129
7129
  project: v.value,
7130
- groupName: p.value,
7130
+ groupName: x.value,
7131
7131
  pageIndex: n.value,
7132
7132
  pageSize: d.value
7133
7133
  };
7134
- a.value = !0;
7134
+ i.value = !0;
7135
7135
  const [Y, h] = await b(G);
7136
- if (a.value = !1, Y) {
7136
+ if (i.value = !1, Y) {
7137
7137
  z.value = [];
7138
7138
  return;
7139
7139
  }
@@ -7141,13 +7141,13 @@ const z6 = (e) => {
7141
7141
  }, M = async () => {
7142
7142
  const G = {
7143
7143
  project: v.value,
7144
- name: p.value,
7144
+ name: x.value,
7145
7145
  pageIndex: n.value,
7146
7146
  pageSize: d.value
7147
7147
  };
7148
- a.value = !0;
7148
+ i.value = !0;
7149
7149
  const [Y, h] = await s(G);
7150
- if (a.value = !1, Y) {
7150
+ if (i.value = !1, Y) {
7151
7151
  z.value = [];
7152
7152
  return;
7153
7153
  }
@@ -7155,13 +7155,13 @@ const z6 = (e) => {
7155
7155
  }, J = async () => {
7156
7156
  const G = {
7157
7157
  project: v.value,
7158
- pageName: p.value,
7158
+ pageName: x.value,
7159
7159
  pageIndex: n.value,
7160
7160
  pageSize: d.value
7161
7161
  };
7162
- a.value = !0;
7162
+ i.value = !0;
7163
7163
  const [Y, h] = await c(G);
7164
- if (a.value = !1, Y) {
7164
+ if (i.value = !1, Y) {
7165
7165
  z.value = [];
7166
7166
  return;
7167
7167
  }
@@ -7169,22 +7169,22 @@ const z6 = (e) => {
7169
7169
  }, _ = async () => {
7170
7170
  const G = {
7171
7171
  project: v.value,
7172
- name: p.value,
7172
+ name: x.value,
7173
7173
  pageIndex: n.value,
7174
7174
  pageSize: d.value
7175
7175
  };
7176
- a.value = !0;
7176
+ i.value = !0;
7177
7177
  const [Y, h] = await H(G);
7178
- if (a.value = !1, Y) {
7178
+ if (i.value = !1, Y) {
7179
7179
  z.value = [];
7180
7180
  return;
7181
7181
  }
7182
7182
  z.value = h.data.map((C) => (C.type = g("数据编排"), C)) || [], u.value = h.totalCount;
7183
7183
  };
7184
7184
  return _A(() => {
7185
- rf || (rf = new mf({ url: u6, reconnectWhenClose: !0, message: x }));
7185
+ rf || (rf = new mf({ url: u6, reconnectWhenClose: !0, message: p }));
7186
7186
  }), {
7187
- loading: a,
7187
+ loading: i,
7188
7188
  urlDialog: r,
7189
7189
  urlType: P,
7190
7190
  urlTypeOptions: t,
@@ -7192,7 +7192,7 @@ const z6 = (e) => {
7192
7192
  pageSize: d,
7193
7193
  pageIndex: n,
7194
7194
  totalCount: u,
7195
- tableFilter: p,
7195
+ tableFilter: x,
7196
7196
  urlId: X,
7197
7197
  openUrlDialog: R,
7198
7198
  tableChange: l,
@@ -7223,7 +7223,7 @@ const z6 = (e) => {
7223
7223
  size: "mini",
7224
7224
  "default-footer": !0,
7225
7225
  modelValue: r.value,
7226
- "onUpdate:modelValue": u[0] || (u[0] = (p) => r.value = p),
7226
+ "onUpdate:modelValue": u[0] || (u[0] = (x) => r.value = x),
7227
7227
  onConfirm: z,
7228
7228
  onCancel: d
7229
7229
  }, {
@@ -7277,18 +7277,18 @@ const z6 = (e) => {
7277
7277
  $ || (P.value = eA);
7278
7278
  }, u = async () => {
7279
7279
  await d(), await n();
7280
- }, p = () => {
7280
+ }, x = () => {
7281
7281
  P.value.routeUrl = "", z.value.routeUrl = "";
7282
7282
  }, {
7283
7283
  builtInDialog: X,
7284
- $typeTree: i,
7285
- treeId: a,
7284
+ $typeTree: a,
7285
+ treeId: i,
7286
7286
  treePath: s,
7287
7287
  keyword: b,
7288
7288
  treeData: H,
7289
7289
  openBuiltInDialog: c,
7290
7290
  loadChildNode: q,
7291
- search: x,
7291
+ search: p,
7292
7292
  toggleTree: m,
7293
7293
  confirmFormBuiltIn: V
7294
7294
  } = t6({
@@ -7322,7 +7322,7 @@ const z6 = (e) => {
7322
7322
  }, zA = async (K) => {
7323
7323
  const [$, eA] = await _5().run();
7324
7324
  $ || (await n(), await Je(), K(), v("reset-confirm"));
7325
- }, dA = () => (P.value.type === 1 || P.value.type === 2) && !P.value.routeUrl ? (z.value.routeUrl = g("必填"), !1) : (z.value.routeUrl = "", P.value.homeAlias && P.value.homeAlias.length > 50 ? (z.value.homeAlias = g("最多50个字符,可以是任意字符"), !1) : (z.value.homeAlias = "", !0)), lA = () => {
7325
+ }, dA = () => (P.value.type === 1 || P.value.type === 2) && !P.value.routeUrl ? (z.value.routeUrl = g("必填"), !1) : (z.value.routeUrl = "", P.value.homeAlias && P.value.homeAlias.length > 50 ? (z.value.homeAlias = g("最多50个字符,可以是任意字符"), !1) : (z.value.homeAlias = "", !0)), DA = () => {
7326
7326
  const K = P.value, $ = {
7327
7327
  id: K.id,
7328
7328
  type: K.type,
@@ -7335,8 +7335,8 @@ const z6 = (e) => {
7335
7335
  return _A(u), A({
7336
7336
  init: u,
7337
7337
  formValidate: dA,
7338
- getResult: lA
7339
- }), (K, $) => (fA(), mA(
7338
+ getResult: DA
7339
+ }), (K, $) => (fA(), lA(
7340
7340
  i9,
7341
7341
  null,
7342
7342
  [
@@ -7361,7 +7361,7 @@ const z6 = (e) => {
7361
7361
  "options-value-key": "code",
7362
7362
  "options-label-key": "name",
7363
7363
  "margin-right": "0",
7364
- onChange: p
7364
+ onChange: x
7365
7365
  }, null, 8, ["label", "modelValue", "options"]),
7366
7366
  k(D(yA), {
7367
7367
  type: "custom",
@@ -7488,9 +7488,9 @@ const z6 = (e) => {
7488
7488
  k(D(dr), {
7489
7489
  "node-key": "id",
7490
7490
  ref_key: "$typeTree",
7491
- ref: i,
7492
- modelValue: D(a),
7493
- "onUpdate:modelValue": $[5] || ($[5] = (eA) => FA(a) ? a.value = eA : null),
7491
+ ref: a,
7492
+ modelValue: D(i),
7493
+ "onUpdate:modelValue": $[5] || ($[5] = (eA) => FA(i) ? i.value = eA : null),
7494
7494
  path: D(s),
7495
7495
  "onUpdate:path": $[6] || ($[6] = (eA) => FA(s) ? s.value = eA : null),
7496
7496
  "filter-value": D(b),
@@ -7499,7 +7499,7 @@ const z6 = (e) => {
7499
7499
  "is-ellipsis": "",
7500
7500
  "default-expanded-keys": ["-1"],
7501
7501
  load: D(q),
7502
- search: D(x),
7502
+ search: D(p),
7503
7503
  "input-options": { placeholder: D(g)("搜索门户名称") },
7504
7504
  onNodeClick: D(m)
7505
7505
  }, null, 8, ["modelValue", "path", "filter-value", "data", "load", "search", "input-options", "onNodeClick"])
@@ -7668,18 +7668,18 @@ const z6 = (e) => {
7668
7668
  ]), u = () => {
7669
7669
  var X;
7670
7670
  d.value = (X = P9.value) != null && X.homeAlias ? P9.value.homeAlias : g("首页"), f.value = !0;
7671
- }, p = async () => {
7671
+ }, x = async () => {
7672
7672
  var b, H, c, q;
7673
- const X = (b = r.value) == null ? void 0 : b.getResult(), [i] = await D6().run(X);
7674
- if (i) return;
7673
+ const X = (b = r.value) == null ? void 0 : b.getResult(), [a] = await D6().run(X);
7674
+ if (a) return;
7675
7675
  await Qv();
7676
- const a = (H = t.value) == null ? void 0 : H.getResult(), [s] = await N6().run(a);
7676
+ const i = (H = t.value) == null ? void 0 : H.getResult(), [s] = await N6().run(i);
7677
7677
  if (s) {
7678
7678
  z.value = "lang";
7679
7679
  return;
7680
7680
  }
7681
7681
  if ((c = P.value) != null && c.formValidate()) {
7682
- const x = (q = P.value) == null ? void 0 : q.getResult(), [m] = await V6().run(x);
7682
+ const p = (q = P.value) == null ? void 0 : q.getResult(), [m] = await V6().run(p);
7683
7683
  if (m) {
7684
7684
  z.value = "home";
7685
7685
  return;
@@ -7693,12 +7693,12 @@ const z6 = (e) => {
7693
7693
  };
7694
7694
  return A({
7695
7695
  openDialog: u
7696
- }), (X, i) => (fA(), mA("div", R6, [
7696
+ }), (X, a) => (fA(), lA("div", R6, [
7697
7697
  f.value ? (fA(), XA(D(nr), {
7698
7698
  key: 0,
7699
7699
  title: D(AA)("个性化设置").value,
7700
7700
  modelValue: f.value,
7701
- "onUpdate:modelValue": i[3] || (i[3] = (a) => f.value = a),
7701
+ "onUpdate:modelValue": a[3] || (a[3] = (i) => f.value = i),
7702
7702
  "body-style": { padding: 0 },
7703
7703
  direction: "rtl"
7704
7704
  }, {
@@ -7706,7 +7706,7 @@ const z6 = (e) => {
7706
7706
  Q("div", j6, [
7707
7707
  k(D(kA), {
7708
7708
  size: "middle",
7709
- onClick: i[2] || (i[2] = (a) => f.value = !1),
7709
+ onClick: a[2] || (a[2] = (i) => f.value = !1),
7710
7710
  style: { "margin-right": "12px" }
7711
7711
  }, {
7712
7712
  default: U(() => [
@@ -7723,7 +7723,7 @@ const z6 = (e) => {
7723
7723
  btnType: "primary",
7724
7724
  size: "middle",
7725
7725
  loading: v.value,
7726
- onClick: p
7726
+ onClick: x
7727
7727
  }, {
7728
7728
  default: U(() => [
7729
7729
  aA(
@@ -7741,7 +7741,7 @@ const z6 = (e) => {
7741
7741
  k(D(rr), {
7742
7742
  options: n.value,
7743
7743
  activeKey: z.value,
7744
- "onUpdate:activeKey": i[0] || (i[0] = (a) => z.value = a),
7744
+ "onUpdate:activeKey": a[0] || (a[0] = (i) => z.value = i),
7745
7745
  "tab-width": "110px"
7746
7746
  }, null, 8, ["options", "activeKey"]),
7747
7747
  k(D(B5), {
@@ -7758,7 +7758,7 @@ const z6 = (e) => {
7758
7758
  ref_key: "setHomeRef",
7759
7759
  ref: P,
7760
7760
  isShow: z.value === "home",
7761
- onResetConfirm: i[1] || (i[1] = (a) => f.value = !1)
7761
+ onResetConfirm: a[1] || (a[1] = (i) => f.value = !1)
7762
7762
  }, null, 8, ["isShow"])
7763
7763
  ]),
7764
7764
  _: 1
@@ -7787,7 +7787,7 @@ const z6 = (e) => {
7787
7787
  };
7788
7788
  return K9(() => {
7789
7789
  v.value = !1;
7790
- }), (t, z) => (fA(), mA("div", L6, [
7790
+ }), (t, z) => (fA(), lA("div", L6, [
7791
7791
  t.src ? (fA(), XA(D(Of), {
7792
7792
  key: 0,
7793
7793
  spinning: !v.value
@@ -7847,20 +7847,20 @@ const z6 = (e) => {
7847
7847
  initNextTick: P
7848
7848
  };
7849
7849
  }, I6 = (e, A, f) => (A >= e.length || f < 0 || f >= e.length || ([e[A], e[f]] = [e[f], e[A]]), e), M6 = (e) => {
7850
- 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), p = o(!1), X = o(!1);
7850
+ 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);
7851
7851
  OA(
7852
7852
  () => f.path,
7853
7853
  (c) => {
7854
- p.value = c === hA;
7854
+ x.value = c === hA;
7855
7855
  },
7856
7856
  {
7857
7857
  immediate: !0
7858
7858
  }
7859
7859
  ), OA(
7860
- () => [p.value, X.value, u.value],
7860
+ () => [x.value, X.value, u.value],
7861
7861
  () => {
7862
7862
  S.nav.setConfig({
7863
- showFullScreen: p.value,
7863
+ showFullScreen: x.value,
7864
7864
  showChangeEnterprise: X.value,
7865
7865
  showAIHelper: u.value,
7866
7866
  showSearch: !0,
@@ -7871,7 +7871,7 @@ const z6 = (e) => {
7871
7871
  immediate: !0
7872
7872
  }
7873
7873
  );
7874
- const i = async () => {
7874
+ const a = async () => {
7875
7875
  let c = {};
7876
7876
  return await Mn([
7877
7877
  Sd,
@@ -7880,27 +7880,27 @@ const z6 = (e) => {
7880
7880
  gv,
7881
7881
  Qv,
7882
7882
  Qd
7883
- ]).then((x) => Object.assign(c, ...x)), z.value = !1, c;
7884
- }, a = async () => {
7883
+ ]).then((p) => Object.assign(c, ...p)), z.value = !1, c;
7884
+ }, i = async () => {
7885
7885
  const c = P9.value;
7886
7886
  let q = [...$3].map((V) => ({
7887
7887
  ...V,
7888
7888
  label: g(V.label)
7889
7889
  }));
7890
7890
  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));
7891
- const x = c != null && c.enable && (c == null ? void 0 : c.displayPosition) !== 2 ? hA : RA;
7892
- sessionStorage.getItem("defalt-page") || f.path !== x && await A.replace(x), sessionStorage.setItem("defalt-page", x);
7891
+ const p = c != null && c.enable && (c == null ? void 0 : c.displayPosition) !== 2 ? hA : RA;
7892
+ sessionStorage.getItem("defalt-page") || f.path !== p && await A.replace(p), sessionStorage.setItem("defalt-page", p);
7893
7893
  const m = S.nav.getItems().filter((V) => !V.fixed) ?? [];
7894
7894
  S.nav.setItems([...d.value, ...m]);
7895
7895
  }, s = o(!1), b = async () => {
7896
7896
  var T;
7897
7897
  await e();
7898
- const c = YA().id, q = await i();
7898
+ const c = YA().id, q = await a();
7899
7899
  if (!q) return;
7900
- const { navConfig: x, projectConfig: m, currentProject: V, tenantList: R } = q, l = (V == null ? void 0 : V.id) || 0;
7900
+ const { navConfig: p, projectConfig: m, currentProject: V, tenantList: R } = q, l = (V == null ? void 0 : V.id) || 0;
7901
7901
  c != l && (t.value = t.value === "0" ? "1" : "0"), X.value = ((T = qf()) == null ? void 0 : T.flag) !== 4 && R && R.length > 1;
7902
7902
  const j = await v("aiPlatform", "aiPlatform.dasaiassistant", "", "enterpriseadmin", !0);
7903
- u.value = !!j, a(), m && m.length && (S.nav.setProjectConfig({
7903
+ u.value = !!j, i(), m && m.length && (S.nav.setProjectConfig({
7904
7904
  treeProps: {
7905
7905
  disabled: (M) => M.type !== 7
7906
7906
  },
@@ -7925,14 +7925,14 @@ const z6 = (e) => {
7925
7925
  return S.nav.addEventListener("onBeforeMount", b), OA(
7926
7926
  () => P9.value,
7927
7927
  () => {
7928
- a();
7928
+ i();
7929
7929
  },
7930
7930
  { deep: !0 }
7931
7931
  ), { loading: z, pageKey: t, innerPage: d, commandList: n, layoutInited: s, initNextTick: () => new Promise((c) => {
7932
7932
  const q = async () => {
7933
7933
  var V;
7934
- let x = ((V = f.meta) == null ? void 0 : V.showLayout) ?? !0, { showLayout: m = !0 } = f.query;
7935
- if (m === "false" && (m = !1), !x || !m || s.value) {
7934
+ let p = ((V = f.meta) == null ? void 0 : V.showLayout) ?? !0, { showLayout: m = !0 } = f.query;
7935
+ if (m === "false" && (m = !1), !p || !m || s.value) {
7936
7936
  c();
7937
7937
  return;
7938
7938
  }
@@ -7991,32 +7991,32 @@ const z6 = (e) => {
7991
7991
  let r = "", P = {};
7992
7992
  OA(
7993
7993
  () => e.currentRoute.value,
7994
- async (a) => {
7995
- var x, m, V, R, l, j, O, N, Z, T;
7996
- const s = ((x = a.meta) == null ? void 0 : x.showLayout) ?? !0;
7997
- let b = ((m = a.query) == null ? void 0 : m.showLayout) ?? !0;
7998
- if (b === "false" && (b = !1), !s || !b || a.path === r && xe(a.query, P)) return;
7999
- r = o9(a.path), P = o9(a.query);
7994
+ async (i) => {
7995
+ var p, m, V, R, l, j, O, N, Z, T;
7996
+ const s = ((p = i.meta) == null ? void 0 : p.showLayout) ?? !0;
7997
+ let b = ((m = i.query) == null ? void 0 : m.showLayout) ?? !0;
7998
+ if (b === "false" && (b = !1), !s || !b || i.path === r && xe(i.query, P)) return;
7999
+ r = o9(i.path), P = o9(i.query);
8000
8000
  const H = uA().currentSubAppCode ?? "";
8001
8001
  if (!H) return;
8002
- const c = ((V = a.query) == null ? void 0 : V.menu) ?? ((R = ZA()) == null ? void 0 : R.currentCode) ?? "";
8002
+ const c = ((V = i.query) == null ? void 0 : V.menu) ?? ((R = ZA()) == null ? void 0 : R.currentCode) ?? "";
8003
8003
  if (!c) return;
8004
8004
  const q = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
8005
8005
  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 : "");
8006
8006
  }
8007
8007
  );
8008
- const { deleteApp: t } = m9(), { entryMenu: z } = jf(), { reloadRoute: d, unloadRoute: n } = Uv(), u = (a) => {
8008
+ const { deleteApp: t } = m9(), { entryMenu: z } = jf(), { reloadRoute: d, unloadRoute: n } = Uv(), u = (i) => {
8009
8009
  var c;
8010
- 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);
8010
+ const s = UA(zf(i.applicationCode)).find((q) => q.code === i.code), H = (((c = ZA().tabMap) == null ? void 0 : c[i.applicationCode]) ?? []).find((q) => q.code === i.code);
8011
8011
  z({ currentMenu: s, route: { path: H.path, query: H.query ?? {} } });
8012
- }, p = (a) => {
8013
- if (!a || !a.length) return;
8014
- const s = a.filter((b) => !b.path.startsWith(b9)).map((b) => b.path);
8015
- s && s.length && n(s), a.forEach((b) => S.iframeView.triggerEventListener("onUnloadPage", b.path));
8016
- }, X = (a) => {
8012
+ }, x = (i) => {
8013
+ if (!i || !i.length) return;
8014
+ const s = i.filter((b) => !b.path.startsWith(b9)).map((b) => b.path);
8015
+ s && s.length && n(s), i.forEach((b) => S.iframeView.triggerEventListener("onUnloadPage", b.path));
8016
+ }, X = (i) => {
8017
8017
  const s = uA().currentSubAppCode ?? "";
8018
8018
  xA.innerSet = !0;
8019
- const b = ZA(), H = b.tabMap[s], c = H.findIndex((l) => l.code === a.data.code);
8019
+ const b = ZA(), H = b.tabMap[s], c = H.findIndex((l) => l.code === i.data.code);
8020
8020
  if (c === -1) return;
8021
8021
  const q = () => {
8022
8022
  var O;
@@ -8031,7 +8031,7 @@ const z6 = (e) => {
8031
8031
  }
8032
8032
  const j = b.currentCode;
8033
8033
  let O = null;
8034
- 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), p([l]), IA([{ key: `tabMap:${s}`, value: H }]), O ? u(O) : IA([{ key: `preTab:${s}`, value: {} }]);
8034
+ 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: {} }]);
8035
8035
  },
8036
8036
  all: q,
8037
8037
  other: async (l) => {
@@ -8041,7 +8041,7 @@ const z6 = (e) => {
8041
8041
  query: j.query
8042
8042
  }), S.menu.setActiveItem(j.menuId), S.tab.setActiveItem(j.code);
8043
8043
  const O = H.filter((N) => N.code !== l.value);
8044
- O.forEach((N) => S.tab.removeItem(N.code)), p(O), IA([{ key: `tabMap:${s}`, value: [j] }]), u(j);
8044
+ O.forEach((N) => S.tab.removeItem(N.code)), x(O), IA([{ key: `tabMap:${s}`, value: [j] }]), u(j);
8045
8045
  },
8046
8046
  right: async (l) => {
8047
8047
  const j = b.currentCode;
@@ -8050,44 +8050,44 @@ const z6 = (e) => {
8050
8050
  u(Z);
8051
8051
  }
8052
8052
  const O = H.slice(c + 1);
8053
- O.forEach((N) => S.tab.removeItem(N.code)), p(O), H.splice(c + 1), IA([{ key: `tabMap:${s}`, value: H }]);
8053
+ O.forEach((N) => S.tab.removeItem(N.code)), x(O), H.splice(c + 1), IA([{ key: `tabMap:${s}`, value: H }]);
8054
8054
  }
8055
- })[a.type](a.data);
8055
+ })[i.type](i.data);
8056
8056
  };
8057
- S.tab.addEventListener("onItemClick", async (a) => {
8058
- ZA().currentCode !== a.currentCode && (xA.innerSet = !0, u(a));
8059
- }), S.tab.addEventListener("onItemRemove", (a) => {
8057
+ S.tab.addEventListener("onItemClick", async (i) => {
8058
+ ZA().currentCode !== i.currentCode && (xA.innerSet = !0, u(i));
8059
+ }), S.tab.addEventListener("onItemRemove", (i) => {
8060
8060
  const s = ZA(), b = uA().currentSubAppCode ?? "";
8061
- s.tabMap[b].findIndex((q) => q.code === a.code) !== -1 && (tf(a.applicationCode, [a.code]), X({ type: "me", data: a }));
8062
- }), S.tab.addEventListener("onMenuClick", (a) => {
8061
+ s.tabMap[b].findIndex((q) => q.code === i.code) !== -1 && (tf(i.applicationCode, [i.code]), X({ type: "me", data: i }));
8062
+ }), S.tab.addEventListener("onMenuClick", (i) => {
8063
8063
  let s = [];
8064
- const b = ZA().tabMap[a.applicationCode] ?? [];
8065
- if (a.type.key === "right") {
8066
- const H = b.findIndex((c) => c.code === a.data.value);
8064
+ const b = ZA().tabMap[i.applicationCode] ?? [];
8065
+ if (i.type.key === "right") {
8066
+ const H = b.findIndex((c) => c.code === i.data.value);
8067
8067
  s = b.slice(H + 1);
8068
8068
  }
8069
- a.type.key === "other" && (s = b.filter((H) => H.code !== a.data.value)), a.type.key === "all" && (s = [...b]), tf(
8070
- a.applicationCode,
8069
+ i.type.key === "other" && (s = b.filter((H) => H.code !== i.data.value)), i.type.key === "all" && (s = [...b]), tf(
8070
+ i.applicationCode,
8071
8071
  s.map((H) => H.code)
8072
- ), X({ type: a.type.key, data: a.data });
8073
- }), S.tab.addEventListener("onPageRefresh", async (a) => {
8074
- if (!a) return;
8075
- if (a.path.startsWith(b9)) {
8072
+ ), X({ type: i.type.key, data: i.data });
8073
+ }), S.tab.addEventListener("onPageRefresh", async (i) => {
8074
+ if (!i) return;
8075
+ if (i.path.startsWith(b9)) {
8076
8076
  S.iframeView.triggerEventListener("onRefreshCurrentPage");
8077
8077
  return;
8078
8078
  }
8079
- tf(a.applicationCode, [a.code]);
8080
- const s = UA(zf(a.applicationCode)).find((c) => c.code === a.code);
8079
+ tf(i.applicationCode, [i.code]);
8080
+ const s = UA(zf(i.applicationCode)).find((c) => c.code === i.code);
8081
8081
  if (!s) return;
8082
- if (s.routeUrl !== a.path) {
8083
- d([a.path]), n([`/${a.applicationPath}${s.routeUrl}`]), await z({ currentMenu: s });
8082
+ if (s.routeUrl !== i.path) {
8083
+ d([i.path]), n([`/${i.applicationPath}${s.routeUrl}`]), await z({ currentMenu: s });
8084
8084
  return;
8085
8085
  }
8086
- const b = { app: s.applicationCode, menu: s.code }, H = { ...a.query };
8087
- xe(b, H) || await z({ currentMenu: s }), d([a.path]);
8086
+ const b = { app: s.applicationCode, menu: s.code }, H = { ...i.query };
8087
+ xe(b, H) || await z({ currentMenu: s }), d([i.path]);
8088
8088
  });
8089
- const { enter: i } = $9();
8090
- return S.tab.addEventListener("onToggleFullScreen", i), { fontColor: A, backgroudColor: f, borderColor: v };
8089
+ const { enter: a } = $9();
8090
+ return S.tab.addEventListener("onToggleFullScreen", a), { fontColor: A, backgroudColor: f, borderColor: v };
8091
8091
  }, qe = u9(), j3 = (qe == null ? void 0 : qe.isAutoCloseApp) ?? !0, Z3 = location.href.includes("showLayout=false"), T3 = window.self !== window.top, Y6 = () => {
8092
8092
  const e = () => {
8093
8093
  S.nav.setItems([]), S.menu.setItems([]), S.tab.setItems([]), tv();
@@ -8106,7 +8106,7 @@ const z6 = (e) => {
8106
8106
  }
8107
8107
  const f = uA();
8108
8108
  f.subAppList && f.subAppList.length && sessionStorage.setItem("has-subapp", "true"), e();
8109
- }), window.__isAutoCloseApp = !0, sessionStorage.getItem("has-subapp") && (location.pathname !== RA && location.pathname !== hA && (window.__isAutoCloseApp = !1, window.location.replace(location.origin + RA)), sessionStorage.removeItem("has-subapp")), NA.addEventListenerFromMicroApp("system-reload", () => {
8109
+ }), window.__isAutoCloseApp = !0, sessionStorage.getItem("has-subapp") && (location.pathname !== RA && location.pathname !== hA && (window.__isAutoCloseApp = !1, window.location.replace(location.origin + RA)), sessionStorage.removeItem("has-subapp")), mA.addEventListenerFromMicroApp("system-reload", () => {
8110
8110
  e(), location.pathname !== RA && location.pathname !== hA && (window.__isAutoCloseApp = !1, window.location.replace(location.origin + RA));
8111
8111
  });
8112
8112
  }, m9 = () => {
@@ -8117,12 +8117,12 @@ const z6 = (e) => {
8117
8117
  S.menu.setItems([]), S.menu.setActiveItem(""), S.tab.setItems([]), S.tab.setActiveItem("");
8118
8118
  }, d = async (X) => {
8119
8119
  if (X.routeUrl && !t.includes(X.routeUrl)) return !0;
8120
- const i = X.code ?? "", s = (uA().subAppList ?? []).find((x) => x.code === i);
8120
+ const a = X.code ?? "", s = (uA().subAppList ?? []).find((p) => p.code === a);
8121
8121
  let b = [], H = [], c = !1;
8122
8122
  if (s && (b = s.menus ?? []), !b.length) {
8123
- const { menus: x, originalMenus: m, err: V } = await Ue(i);
8123
+ const { menus: p, originalMenus: m, err: V } = await Ue(a);
8124
8124
  if (V) return !1;
8125
- b = x ?? [], H = m ?? [];
8125
+ b = p ?? [], H = m ?? [];
8126
8126
  }
8127
8127
  if (b.length ? bf(b) || (await G9({
8128
8128
  title: g("提示"),
@@ -8132,9 +8132,9 @@ const z6 = (e) => {
8132
8132
  return MA([{ key: "subAppList", value: q }]), !0;
8133
8133
  }, n = async (X) => {
8134
8134
  var Z, T, M, J, _;
8135
- const { microApp: i = null, menuCode: a = "", menuPath: s = "", route: b = {} } = X;
8135
+ const { microApp: a = null, menuCode: i = "", menuPath: s = "", route: b = {} } = X;
8136
8136
  let H = b;
8137
- if (!i && s) {
8137
+ if (!a && s) {
8138
8138
  if (z(), !(t && t.find((Y) => s.startsWith("/" + Y) || s.startsWith(Y)))) return;
8139
8139
  await e.push({ path: s, query: H.query });
8140
8140
  return;
@@ -8142,26 +8142,26 @@ const z6 = (e) => {
8142
8142
  const c = ((Z = H.meta) == null ? void 0 : Z.showLayout) ?? !0;
8143
8143
  let q = ((T = H.query) == null ? void 0 : T.showLayout) ?? !0;
8144
8144
  q === "false" && (q = !1);
8145
- const x = (i == null ? void 0 : i.openType) ?? 1, m = (i == null ? void 0 : i.type) ?? 1;
8146
- if (i.routeUrl && !t.includes(i.routeUrl)) {
8145
+ const p = (a == null ? void 0 : a.openType) ?? 1, m = (a == null ? void 0 : a.type) ?? 1;
8146
+ if (a.routeUrl && !t.includes(a.routeUrl)) {
8147
8147
  lv({
8148
- appCode: i.code,
8149
- displayAppName: i.name
8148
+ appCode: a.code,
8149
+ displayAppName: a.name
8150
8150
  }), z();
8151
8151
  const G = ((M = uA()) == null ? void 0 : M.subAppList) ?? [];
8152
- if ((G == null ? void 0 : G.find((h) => h.code === i.code)) || G == null || G.push(i), MA([
8153
- { key: "currentSubApp", value: i },
8154
- { key: "currentSubAppCode", value: i.code },
8152
+ if ((G == null ? void 0 : G.find((h) => h.code === a.code)) || G == null || G.push(a), MA([
8153
+ { key: "currentSubApp", value: a },
8154
+ { key: "currentSubAppCode", value: a.code },
8155
8155
  { key: "subAppList", value: G }
8156
8156
  ]), G.forEach((h) => {
8157
8157
  const C = { ...h, value: h.code, label: h.name };
8158
8158
  S.nav.appendItem(C);
8159
- }), S.nav.setActiveItem(i.code), i.routeUrl.includes("entrance=main")) {
8160
- await e.push({ path: i.routeUrl, query: { ...H.query, app: i.code } });
8159
+ }), S.nav.setActiveItem(a.code), a.routeUrl.includes("entrance=main")) {
8160
+ await e.push({ path: a.routeUrl, query: { ...H.query, app: a.code } });
8161
8161
  return;
8162
8162
  }
8163
- if (x === 1 && m === 2) {
8164
- const h = await qv(i.routeUrl, (i == null ? void 0 : i.param) ?? []), C = Ve(Oe(me(h))), L = `${b9}-${i.code}`;
8163
+ if (p === 1 && m === 2) {
8164
+ const h = await qv(a.routeUrl, (a == null ? void 0 : a.param) ?? []), C = Ve(Oe(me(h))), L = `${b9}-${a.code}`;
8165
8165
  if (!e.options.routes.find((W) => W.path === L)) {
8166
8166
  const W = {
8167
8167
  path: L,
@@ -8176,7 +8176,7 @@ const z6 = (e) => {
8176
8176
  path: L,
8177
8177
  query: {
8178
8178
  ...H.query,
8179
- app: i.code
8179
+ app: a.code
8180
8180
  }
8181
8181
  });
8182
8182
  return;
@@ -8188,19 +8188,19 @@ const z6 = (e) => {
8188
8188
  currentMenu: l = null,
8189
8189
  microPath: j = "",
8190
8190
  query: O = {}
8191
- } = await Md({ microApp: i, menuCode: a, menuPath: s, route: H });
8191
+ } = await Md({ microApp: a, menuCode: i, menuPath: s, route: H });
8192
8192
  if (l && (H = {
8193
8193
  path: j || `/${l.applicationPath}${l.routeUrl}`.replace(/\/\//g, "/"),
8194
8194
  query: { ...O, app: l.applicationCode, menu: l.code },
8195
8195
  meta: { ...(H == null ? void 0 : H.meta) ?? {} }
8196
- }), R && (R == null ? void 0 : R.code) !== (i == null ? void 0 : i.code)) {
8196
+ }), R && (R == null ? void 0 : R.code) !== (a == null ? void 0 : a.code)) {
8197
8197
  if (R.fixed && (await e.push(R.path), z(), S.nav.setActiveItem(R.path)), !R.fixed) {
8198
8198
  const G = (J = uA().subAppList) == null ? void 0 : J.find((C) => C.code === R.code), Y = ZA().preTab[R.code], h = { ...(Y == null ? void 0 : Y.query) ?? {} };
8199
8199
  await n({ microApp: G, menuCode: (Y == null ? void 0 : Y.code) ?? "", route: { query: h } });
8200
8200
  }
8201
8201
  return;
8202
8202
  }
8203
- const N = R || i;
8203
+ const N = R || a;
8204
8204
  if (!l && s) {
8205
8205
  await e.push({
8206
8206
  path: s,
@@ -8229,7 +8229,7 @@ const z6 = (e) => {
8229
8229
  }
8230
8230
  A({ currentMenu: l, microPath: j, route: H });
8231
8231
  }, u = async (X) => {
8232
- var i;
8232
+ var a;
8233
8233
  if (xA.innerSet = !0, X.fixed) {
8234
8234
  await e.push(X.path), S.menu.setItems([]), S.tab.setItems([]), S.nav.setActiveItem(X.path), MA([
8235
8235
  { key: "currentSubAppCode", value: "" },
@@ -8241,8 +8241,8 @@ const z6 = (e) => {
8241
8241
  return;
8242
8242
  }
8243
8243
  if (!X.fixed) {
8244
- 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) ?? {} };
8245
- await n({ microApp: a, menuCode: b, route: { query: H } });
8244
+ const i = (a = uA().subAppList) == null ? void 0 : a.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) ?? {} };
8245
+ await n({ microApp: i, menuCode: b, route: { query: H } });
8246
8246
  }
8247
8247
  };
8248
8248
  return {
@@ -8251,24 +8251,24 @@ const z6 = (e) => {
8251
8251
  changeApp: u,
8252
8252
  deleteApp: async (X) => {
8253
8253
  var H;
8254
- const i = uA();
8255
- if (!((H = i.subAppList) != null && H.length)) return;
8256
- const a = i.subAppList.findIndex((c) => c.code === X.code);
8257
- if (a === -1) return;
8254
+ const a = uA();
8255
+ if (!((H = a.subAppList) != null && H.length)) return;
8256
+ const i = a.subAppList.findIndex((c) => c.code === X.code);
8257
+ if (i === -1) return;
8258
8258
  const s = ZA().tabMap[X.code] ?? [];
8259
8259
  if (s.length) {
8260
8260
  const c = s.filter((q) => !q.path.startsWith(b9)).map((q) => q.path);
8261
8261
  c && c.length && f(c), s.forEach((q) => S.iframeView.triggerEventListener("onUnloadPage", q.path));
8262
8262
  }
8263
8263
  let b = null;
8264
- 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([
8264
+ if (a.currentSubAppCode === X.code && (i + 1 !== a.subAppList.length ? a.subAppList[i + 1] && (b = a.subAppList[i + 1]) : a.subAppList[i - 1] && (b = a.subAppList[i - 1])), a.subAppList.splice(i, 1), MA([{ key: "subAppList", value: a.subAppList }]), IA([
8265
8265
  { key: `preTab:${X.code}`, value: {} },
8266
8266
  { key: `tabMap:${X.code}`, value: [] }
8267
8267
  ]), b) {
8268
8268
  const c = { ...b, value: b.code, label: b.name };
8269
8269
  await u(c), S.nav.setActiveItem(b.code);
8270
8270
  }
8271
- if (!i.subAppList.length) {
8271
+ if (!a.subAppList.length) {
8272
8272
  if (S.menu.setItems([]), S.tab.setItems([]), location.pathname !== RA && location.pathname !== hA) {
8273
8273
  const c = $3.find((q) => q.value === RA);
8274
8274
  c && u(c);
@@ -8285,10 +8285,10 @@ const z6 = (e) => {
8285
8285
  const { currentMenu: t, route: z = {}, microPath: d = "" } = P;
8286
8286
  if (!t) return;
8287
8287
  let n = { ...z.query, app: t.applicationCode, menu: t.code };
8288
- const u = (t == null ? void 0 : t.openType) ?? 1, p = (t == null ? void 0 : t.type) ?? 1;
8288
+ const u = (t == null ? void 0 : t.openType) ?? 1, x = (t == null ? void 0 : t.type) ?? 1;
8289
8289
  let X = "";
8290
8290
  if (u === 1)
8291
- if (p === 1)
8291
+ if (x === 1)
8292
8292
  if (t.routeUrl.startsWith(b9)) {
8293
8293
  const b = gn(t.routeUrl, "iframeSrc");
8294
8294
  if (X = `${b9}-${t.code}`, !e.options.routes.find((H) => H.path === X)) {
@@ -8320,8 +8320,8 @@ const z6 = (e) => {
8320
8320
  await e.push({ path: X, query: n });
8321
8321
  }
8322
8322
  if (u === 2) {
8323
- let b = p === 1 ? `/${t.applicationPath}${t.routeUrl}`.replace(/\/\//g, "/") : t.routeUrl;
8324
- b = Ve(Oe(me(b))), xA.innerSet ? (X = Av, await e.push({ path: X, query: n }), b && window.open(b, "_blank")) : p === 1 && (X = b, n = { ...n, showLayout: !1 }, await e.push({
8323
+ let b = x === 1 ? `/${t.applicationPath}${t.routeUrl}`.replace(/\/\//g, "/") : t.routeUrl;
8324
+ 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({
8325
8325
  path: X,
8326
8326
  query: n
8327
8327
  }));
@@ -8332,9 +8332,9 @@ const z6 = (e) => {
8332
8332
  menuCode: t.code,
8333
8333
  displayMenuName: t.name
8334
8334
  });
8335
- const i = ((s = z.meta) == null ? void 0 : s.showLayout) ?? !0;
8336
- let a = (n == null ? void 0 : n.showLayout) ?? !0;
8337
- if (a === "false" && (a = !1), i && a) {
8335
+ const a = ((s = z.meta) == null ? void 0 : s.showLayout) ?? !0;
8336
+ let i = (n == null ? void 0 : n.showLayout) ?? !0;
8337
+ if (i === "false" && (i = !1), a && i) {
8338
8338
  const b = {
8339
8339
  currentApplication: uA().currentSubApp.routeUrl,
8340
8340
  applicationPath: t.applicationPath,
@@ -8373,11 +8373,11 @@ const z6 = (e) => {
8373
8373
  const { entryApp: v } = m9(), r = y9();
8374
8374
  let { mainAppName: P = "", microAppName: t = "", microApps: z = [] } = u9();
8375
8375
  !P && t && (z = [{ name: t }]);
8376
- const d = async (p) => {
8377
- var x, m, V, R;
8378
- let X = { ...p }, { showLayout: i = !0 } = X.query;
8379
- i === "false" && (i = !1);
8380
- const a = async () => {
8376
+ const d = async (x) => {
8377
+ var p, m, V, R;
8378
+ let X = { ...x }, { showLayout: a = !0 } = X.query;
8379
+ a === "false" && (a = !1);
8380
+ const i = async () => {
8381
8381
  var O, N;
8382
8382
  let l = uA().appcategorys ?? [];
8383
8383
  if (!Array.isArray(l)) return [];
@@ -8405,7 +8405,7 @@ const z6 = (e) => {
8405
8405
  return;
8406
8406
  }
8407
8407
  }
8408
- const b = await a(), H = b.map((l) => l.code), c = ((x = X.query) == null ? void 0 : x.app) ?? "", q = ((m = uA()) == null ? void 0 : m.subAppList) ?? [];
8408
+ const b = await i(), H = b.map((l) => l.code), c = ((p = X.query) == null ? void 0 : p.app) ?? "", q = ((m = uA()) == null ? void 0 : m.subAppList) ?? [];
8409
8409
  if (q.length) {
8410
8410
  const l = q.filter((O) => O.code !== c && !H.includes(O.code)), j = q.filter(
8411
8411
  (O) => c === O.code || H.includes(O.code)
@@ -8419,7 +8419,7 @@ const z6 = (e) => {
8419
8419
  }
8420
8420
  if (X.query.app) {
8421
8421
  let l = b.find((j) => j.code === X.query.app);
8422
- if (!l && i) {
8422
+ if (!l && a) {
8423
8423
  const { currentApp: j } = Te(X.query.app);
8424
8424
  if (j) {
8425
8425
  l = j;
@@ -8446,7 +8446,7 @@ const z6 = (e) => {
8446
8446
  return;
8447
8447
  }
8448
8448
  }
8449
- if (i) {
8449
+ if (a) {
8450
8450
  (R = (V = uA()) == null ? void 0 : V.subAppList) == null || R.forEach((j) => {
8451
8451
  const O = { ...j, value: j.code, label: j.name };
8452
8452
  S.nav.appendItem(O);
@@ -8464,13 +8464,13 @@ const z6 = (e) => {
8464
8464
  let n = "", u = {};
8465
8465
  OA(
8466
8466
  () => r.currentRoute.value,
8467
- async (p) => {
8468
- if (!(p.path === n && xe(p.query, u))) {
8469
- if (n = o9(p.path), u = o9(p.query), await f(), xA.innerSet) {
8467
+ async (x) => {
8468
+ if (!(x.path === n && xe(x.query, u))) {
8469
+ if (n = o9(x.path), u = o9(x.query), await f(), xA.innerSet) {
8470
8470
  xA.innerSet = !1;
8471
8471
  return;
8472
8472
  }
8473
- d(p);
8473
+ d(x);
8474
8474
  }
8475
8475
  }
8476
8476
  );
@@ -8497,16 +8497,16 @@ const z6 = (e) => {
8497
8497
  logout: "true"
8498
8498
  };
8499
8499
  f.ssoLocale && (d.locale = "locale");
8500
- const n = Object.keys(d).map((p) => `${p}=${d[p]}`).join("&"), u = `${f.baseURL}${t.logout}?${n}`;
8500
+ const n = Object.keys(d).map((x) => `${x}=${d[x]}`).join("&"), u = `${f.baseURL}${t.logout}?${n}`;
8501
8501
  window.__isAutoCloseApp = !1, location.replace(u), sessionStorage.clear(), localStorage.removeItem("idelTime"), Fn();
8502
8502
  }, { entryApp: r } = m9(), P = async () => {
8503
- const t = "personCenter", d = (uA().appcategorys || []).map((i) => i.apps).flat(), { originalMenus: n = [] } = await Ue(t), p = UA(n).filter((i) => i.isMenu && i.routeUrl).find((i) => i.routeUrl === "/userInfo");
8504
- if (p != null && p.disable || p != null && p.expired) {
8505
- const { title: i, content: a, desc: s } = await he(p);
8506
- await G9({ title: i, content: a, desc: s });
8503
+ const t = "personCenter", d = (uA().appcategorys || []).map((a) => a.apps).flat(), { originalMenus: n = [] } = await Ue(t), x = UA(n).filter((a) => a.isMenu && a.routeUrl).find((a) => a.routeUrl === "/userInfo");
8504
+ if (x != null && x.disable || x != null && x.expired) {
8505
+ const { title: a, content: i, desc: s } = await he(x);
8506
+ await G9({ title: a, content: i, desc: s });
8507
8507
  return;
8508
8508
  }
8509
- const X = d.find((i) => i.code === t);
8509
+ const X = d.find((a) => a.code === t);
8510
8510
  X && r({ microApp: X, menuPath: `/${X.routeUrl}/userInfo` });
8511
8511
  };
8512
8512
  return S.nav.addEventListener("onUserCommandChange", (t) => {
@@ -8539,16 +8539,16 @@ const z6 = (e) => {
8539
8539
  const [d, n] = await J6().run({ tenant: z });
8540
8540
  if (d) return;
8541
8541
  A.value = !1;
8542
- const { access_token: u = "", refresh_token: p = "", expires_in: X = 0, sub: i = "", name: a = "", flag: s = "", tenant: b = "" } = n, H = {
8542
+ const { access_token: u = "", refresh_token: x = "", expires_in: X = 0, sub: a = "", name: i = "", flag: s = "", tenant: b = "" } = n, H = {
8543
8543
  accessToken: u,
8544
8544
  accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(X) * 1e3,
8545
- refreshToken: p,
8545
+ refreshToken: x,
8546
8546
  info: n
8547
8547
  };
8548
8548
  Un().save(H), G3(H);
8549
8549
  const c = {
8550
- id: i,
8551
- name: a,
8550
+ id: a,
8551
+ name: i,
8552
8552
  flag: s,
8553
8553
  tenantId: b
8554
8554
  };
@@ -8557,12 +8557,12 @@ const z6 = (e) => {
8557
8557
  if (e != null && e.ssoLocale)
8558
8558
  q = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${z}`;
8559
8559
  else {
8560
- const [x, m] = await F6().run();
8560
+ const [p, m] = await F6().run();
8561
8561
  m != null && m.loginHost && (q = `${m.loginHost}/oauth/refreshOauthToken?tenantId=${z}`);
8562
8562
  }
8563
8563
  if (q) {
8564
- const x = document.createElement("iframe");
8565
- x.src = q, x.style.display = "none", document.body.appendChild(x), setTimeout(() => P(), 300);
8564
+ const p = document.createElement("iframe");
8565
+ p.src = q, p.style.display = "none", document.body.appendChild(p), setTimeout(() => P(), 300);
8566
8566
  } else
8567
8567
  P();
8568
8568
  }
@@ -8588,12 +8588,12 @@ const z6 = (e) => {
8588
8588
  return S.nav.addEventListener("searchToPage", async (v) => {
8589
8589
  const { item: r, keyword: P, cb: t } = v;
8590
8590
  if (r != null && r.disable || r != null && r.expired) {
8591
- const { title: p, content: X, desc: i } = await he(r);
8592
- await G9({ title: p, content: X, desc: i });
8591
+ const { title: x, content: X, desc: a } = await he(r);
8592
+ await G9({ title: x, content: X, desc: a });
8593
8593
  return;
8594
8594
  }
8595
8595
  await C6().run({ searchVal: P, clickData: r });
8596
- const n = ((uA().appcategorys ?? []).map((p) => p.apps).flat() ?? []).find((p) => p.code === r.applicationCode);
8596
+ const n = ((uA().appcategorys ?? []).map((x) => x.apps).flat() ?? []).find((x) => x.code === r.applicationCode);
8597
8597
  if (!n) return;
8598
8598
  const u = r.applicationCode !== r.code ? r.code : "";
8599
8599
  f({ microApp: n, menuCode: u }), t();
@@ -8609,20 +8609,28 @@ const z6 = (e) => {
8609
8609
  };
8610
8610
  }, f1 = () => {
8611
8611
  const e = o(), { entryApp: A } = m9();
8612
- return S.nav.addEventListener("openAI", () => {
8613
- var v;
8614
- (v = e.value) == null || v.openPanel();
8612
+ S.nav.addEventListener("openAI", () => {
8613
+ var r;
8614
+ (r = e.value) == null || r.openPanel();
8615
+ });
8616
+ const f = (r) => {
8617
+ let P = r.startsWith("/") ? `http://example.com${r}` : `http://example.com/${r}`;
8618
+ const t = new URL(P), z = new URLSearchParams(t.search), d = z.get("app"), n = z.get("menu");
8619
+ if (n && d) {
8620
+ const X = ((uA().appcategorys ?? []).map((a) => a.apps).flat() ?? []).find((a) => a.code === d);
8621
+ if (!X) return;
8622
+ A({ microApp: X, menuCode: n });
8623
+ }
8624
+ }, v = (r) => {
8625
+ r && mA.sendMessageToMicroApp("", "openAIPanel");
8626
+ };
8627
+ return mA.addEventListenerFromMicroApp("aiPlatform:openHistoryPanel", () => {
8628
+ var r;
8629
+ (r = e.value) == null || r.closePanel();
8615
8630
  }), {
8616
8631
  $aiPanel: e,
8617
- toApp: (v) => {
8618
- let r = v.startsWith("/") ? `http://example.com${v}` : `http://example.com/${v}`;
8619
- const P = new URL(r), t = new URLSearchParams(P.search), z = t.get("app"), d = t.get("menu");
8620
- if (d && z) {
8621
- const p = ((uA().appcategorys ?? []).map((X) => X.apps).flat() ?? []).find((X) => X.code === z);
8622
- if (!p) return;
8623
- A({ microApp: p, menuCode: d });
8624
- }
8625
- }
8632
+ toApp: f,
8633
+ getAIPanelStatus: v
8626
8634
  };
8627
8635
  }, xA = g3({
8628
8636
  /** 菜单或者应用跳转是否通过触发界面调用的 */
@@ -8630,7 +8638,7 @@ const z6 = (e) => {
8630
8638
  excludeRoutes: [],
8631
8639
  routeKeepAliveVisible: !0
8632
8640
  }), e1 = () => {
8633
- NA.addEventListenerFromMicroApp("iot:change-instance", (e) => {
8641
+ mA.addEventListenerFromMicroApp("iot:change-instance", (e) => {
8634
8642
  const A = uA(), f = A.currentSubAppCode;
8635
8643
  let v = zf(f);
8636
8644
  v.forEach((P) => {
@@ -8652,21 +8660,21 @@ const z6 = (e) => {
8652
8660
  });
8653
8661
  }, v1 = (e) => {
8654
8662
  ["personcenter", "rightmanage"].forEach((f) => {
8655
- NA.addEventListenerFromMicroApp(`${f}:change-userinfo`, (v) => {
8663
+ mA.addEventListenerFromMicroApp(`${f}:change-userinfo`, (v) => {
8656
8664
  const { userInfo: r } = v.data, P = r != null && r.headPicture ? Hf(r.headPicture) : void 0;
8657
8665
  S.nav.setUserInfo({ headPicture: P, commandList: e.value }), sessionStorage.setItem("userInfo", JSON.stringify(r));
8658
8666
  });
8659
8667
  });
8660
8668
  }, n1 = () => {
8661
- NA.addEventListenerFromMicroApp("devicePanelShow", (e) => {
8669
+ mA.addEventListenerFromMicroApp("devicePanelShow", (e) => {
8662
8670
  const { deviceId: A = "", panelCode: f = "", deviceName: v = "", x: r = 0, y: P = 0, isCenter: t = !1 } = e.data;
8663
8671
  K3(A, f, v, r, P, t);
8664
- }), NA.addEventListenerFromMicroApp("closeDevicePanel", (e) => {
8672
+ }), mA.addEventListenerFromMicroApp("closeDevicePanel", (e) => {
8665
8673
  Cn();
8666
- }), NA.addEventListenerFromMicroApp("alarmDevicePanelShow", (e) => {
8674
+ }), mA.addEventListenerFromMicroApp("alarmDevicePanelShow", (e) => {
8667
8675
  const { deviceId: A = "", panelCode: f = "", alarmTime: v = "" } = e.data;
8668
8676
  _n(A, f, v);
8669
- }), NA.addEventListenerFromMicroApp("closeAlarmPanel", (e) => {
8677
+ }), mA.addEventListenerFromMicroApp("closeAlarmPanel", (e) => {
8670
8678
  $n();
8671
8679
  });
8672
8680
  }, r1 = xf.get("/platform/login/pwd-advance-notify-check"), P1 = () => {
@@ -8682,7 +8690,7 @@ const z6 = (e) => {
8682
8690
  await r1().run();
8683
8691
  },
8684
8692
  message: async (t) => {
8685
- if (NA.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: t }), window.self !== window.top) return;
8693
+ if (mA.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: t }), window.self !== window.top) return;
8686
8694
  const d = YA().id;
8687
8695
  e.value = t.filter(
8688
8696
  (n) => n.projectId === d || n.projectId === 0 || n.projectId === "0"
@@ -8757,14 +8765,14 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8757
8765
  }, d = () => {
8758
8766
  v("itemClick");
8759
8767
  }, n = EA(() => `calc(100% / ${Math.sqrt(f.gridNum)})`);
8760
- return (u, p) => (fA(), mA(
8768
+ return (u, x) => (fA(), lA(
8761
8769
  "div",
8762
8770
  {
8763
8771
  ref_key: "containerRef",
8764
8772
  ref: r,
8765
8773
  class: B3(["wrapper", { "is-active": f.active }]),
8766
- onDblclick: p[0] || (p[0] = (X) => z()),
8767
- onClick: p[1] || (p[1] = (X) => d())
8774
+ onDblclick: x[0] || (x[0] = (X) => z()),
8775
+ onClick: x[1] || (x[1] = (X) => d())
8768
8776
  },
8769
8777
  [
8770
8778
  r9(u.$slots, "default", {}, void 0, !0)
@@ -8785,9 +8793,9 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8785
8793
  const f = e, v = A, r = (P) => {
8786
8794
  v("update:activeIndex", P);
8787
8795
  };
8788
- return (P, t) => (fA(), mA("div", i1, [
8796
+ return (P, t) => (fA(), lA("div", i1, [
8789
8797
  nA(' :active="index === activeIndex" '),
8790
- (fA(!0), mA(
8798
+ (fA(!0), lA(
8791
8799
  i9,
8792
8800
  null,
8793
8801
  ye(f.gridNum, (z, d) => (fA(), XA(a1, {
@@ -8816,11 +8824,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8816
8824
  const f = A, v = (r) => {
8817
8825
  f("change", r);
8818
8826
  };
8819
- return (r, P) => (fA(), mA(
8827
+ return (r, P) => (fA(), lA(
8820
8828
  "div",
8821
8829
  {
8822
8830
  class: "direction-control",
8823
- onDblclick: P[9] || (P[9] = DA((t) => t.stopPropagation(), ["stop"]))
8831
+ onDblclick: P[9] || (P[9] = VA((t) => t.stopPropagation(), ["stop"]))
8824
8832
  },
8825
8833
  [
8826
8834
  k(D(WA), {
@@ -8829,7 +8837,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8829
8837
  default: U(() => [
8830
8838
  Q("div", {
8831
8839
  class: "icon icon-top-left",
8832
- onClick: P[0] || (P[0] = DA((t) => v("leftUp"), ["stop"]))
8840
+ onClick: P[0] || (P[0] = VA((t) => v("leftUp"), ["stop"]))
8833
8841
  })
8834
8842
  ]),
8835
8843
  _: 1
@@ -8841,7 +8849,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8841
8849
  default: U(() => [
8842
8850
  Q("div", {
8843
8851
  class: "icon icon-top",
8844
- onClick: P[1] || (P[1] = DA((t) => v("up"), ["stop"]))
8852
+ onClick: P[1] || (P[1] = VA((t) => v("up"), ["stop"]))
8845
8853
  })
8846
8854
  ]),
8847
8855
  _: 1
@@ -8853,7 +8861,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8853
8861
  default: U(() => [
8854
8862
  Q("div", {
8855
8863
  class: "icon icon-top-right",
8856
- onClick: P[2] || (P[2] = DA((t) => v("rightUp"), ["stop"]))
8864
+ onClick: P[2] || (P[2] = VA((t) => v("rightUp"), ["stop"]))
8857
8865
  })
8858
8866
  ]),
8859
8867
  _: 1
@@ -8865,7 +8873,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8865
8873
  default: U(() => [
8866
8874
  Q("div", {
8867
8875
  class: "icon icon-left",
8868
- onClick: P[3] || (P[3] = DA((t) => v("left"), ["stop"]))
8876
+ onClick: P[3] || (P[3] = VA((t) => v("left"), ["stop"]))
8869
8877
  })
8870
8878
  ]),
8871
8879
  _: 1
@@ -8877,7 +8885,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8877
8885
  default: U(() => [
8878
8886
  Q("div", {
8879
8887
  class: "icon icon-auto",
8880
- onClick: P[4] || (P[4] = DA((t) => v("auto"), ["stop"]))
8888
+ onClick: P[4] || (P[4] = VA((t) => v("auto"), ["stop"]))
8881
8889
  })
8882
8890
  ]),
8883
8891
  _: 1
@@ -8889,7 +8897,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8889
8897
  default: U(() => [
8890
8898
  Q("div", {
8891
8899
  class: "icon icon-right",
8892
- onClick: P[5] || (P[5] = DA((t) => v("right"), ["stop"]))
8900
+ onClick: P[5] || (P[5] = VA((t) => v("right"), ["stop"]))
8893
8901
  })
8894
8902
  ]),
8895
8903
  _: 1
@@ -8901,7 +8909,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8901
8909
  default: U(() => [
8902
8910
  Q("div", {
8903
8911
  class: "icon icon-bottom-left",
8904
- onClick: P[6] || (P[6] = DA((t) => v("leftDown"), ["stop"]))
8912
+ onClick: P[6] || (P[6] = VA((t) => v("leftDown"), ["stop"]))
8905
8913
  })
8906
8914
  ]),
8907
8915
  _: 1
@@ -8913,7 +8921,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8913
8921
  default: U(() => [
8914
8922
  Q("div", {
8915
8923
  class: "icon icon-bottom",
8916
- onClick: P[7] || (P[7] = DA((t) => v("down"), ["stop"]))
8924
+ onClick: P[7] || (P[7] = VA((t) => v("down"), ["stop"]))
8917
8925
  })
8918
8926
  ]),
8919
8927
  _: 1
@@ -8925,7 +8933,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8925
8933
  default: U(() => [
8926
8934
  Q("div", {
8927
8935
  class: "icon icon-bottom-right",
8928
- onClick: P[8] || (P[8] = DA((t) => v("rightDown"), ["stop"]))
8936
+ onClick: P[8] || (P[8] = VA((t) => v("rightDown"), ["stop"]))
8929
8937
  })
8930
8938
  ]),
8931
8939
  _: 1
@@ -8964,21 +8972,21 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
8964
8972
  const f = e, v = A, r = o(!0), P = o(), t = o(!1), z = o(), d = EA(() => {
8965
8973
  var q;
8966
8974
  return (q = z.value) == null ? void 0 : q.video;
8967
- }), n = o(!1), u = o(!0), p = (q) => {
8968
- P.value = q, P.value.on(window.mpegts.Events.ERROR, (x) => {
8975
+ }), n = o(!1), u = o(!0), x = (q) => {
8976
+ P.value = q, P.value.on(window.mpegts.Events.ERROR, (p) => {
8969
8977
  });
8970
8978
  }, X = () => {
8971
8979
  r.value = !r.value, P.value && (P.value.muted = r.value);
8972
- }, i = () => {
8980
+ }, a = () => {
8973
8981
  t.value = !t.value;
8974
- }, a = o(""), s = () => {
8982
+ }, i = o(""), s = () => {
8975
8983
  const q = document.createElement("canvas");
8976
8984
  if (d.value) {
8977
8985
  q.width = d.value.clientWidth, q.height = d.value.clientHeight;
8978
- const x = q.getContext("2d");
8979
- x == null || x.drawImage(d.value, 0, 0, q.width, q.height);
8986
+ const p = q.getContext("2d");
8987
+ p == null || p.drawImage(d.value, 0, 0, q.width, q.height);
8980
8988
  const m = q.toDataURL("image/jpg"), V = `【${f.title}】${le().format("YYYYMMDDHHmmss").toString()}.jpg`;
8981
- if (a.value = m, "download" in document.createElement("a")) {
8989
+ if (i.value = m, "download" in document.createElement("a")) {
8982
8990
  const R = document.createElement("a");
8983
8991
  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);
8984
8992
  }
@@ -9029,7 +9037,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9029
9037
  u.value = !0;
9030
9038
  });
9031
9039
  }
9032
- ), (q, x) => (fA(), mA("div", x1, [
9040
+ ), (q, p) => (fA(), lA("div", x1, [
9033
9041
  k(D(Of), {
9034
9042
  spinning: f.loading,
9035
9043
  type: "component",
@@ -9049,7 +9057,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9049
9057
  ])
9050
9058
  ]),
9051
9059
  Q("div", V1, [
9052
- ["live"].includes(q.type) ? (fA(), mA(
9060
+ ["live"].includes(q.type) ? (fA(), lA(
9053
9061
  "span",
9054
9062
  N1,
9055
9063
  rA(D(g)("正在实时预览")),
@@ -9065,11 +9073,11 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9065
9073
  ref_key: "dasLivePlayerRef",
9066
9074
  ref: z,
9067
9075
  muted: r.value,
9068
- onLoaded: p,
9076
+ onLoaded: x,
9069
9077
  src: f.videoUrl
9070
9078
  }, null, 8, ["muted", "src"])) : nA("v-if", !0),
9071
9079
  Q("div", R1, [
9072
- x[3] || (x[3] = Q(
9080
+ p[3] || (p[3] = Q(
9073
9081
  "div",
9074
9082
  { class: "video-bottom_l" },
9075
9083
  null,
@@ -9081,7 +9089,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9081
9089
  "div",
9082
9090
  {
9083
9091
  class: "controls",
9084
- onDblclick: x[2] || (x[2] = DA((m) => m.stopPropagation(), ["stop"]))
9092
+ onDblclick: p[2] || (p[2] = VA((m) => m.stopPropagation(), ["stop"]))
9085
9093
  },
9086
9094
  [
9087
9095
  k(D(WA), {
@@ -9091,7 +9099,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9091
9099
  k(D(N9), {
9092
9100
  class: "icon icon-volume",
9093
9101
  icon: r.value ? "muted" : "volume",
9094
- onClick: DA(X, ["stop"])
9102
+ onClick: VA(X, ["stop"])
9095
9103
  }, null, 8, ["icon"])
9096
9104
  ]),
9097
9105
  _: 1
@@ -9104,7 +9112,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9104
9112
  k(D(N9), {
9105
9113
  class: "icon icon-screenshot",
9106
9114
  icon: "screenshot",
9107
- onClick: DA(s, ["stop"])
9115
+ onClick: VA(s, ["stop"])
9108
9116
  })
9109
9117
  ]),
9110
9118
  _: 1
@@ -9119,7 +9127,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9119
9127
  key: 0,
9120
9128
  class: "icon icon-shrink",
9121
9129
  icon: "shrink",
9122
- onClick: x[0] || (x[0] = DA((m) => H("zoomOut"), ["stop"]))
9130
+ onClick: p[0] || (p[0] = VA((m) => H("zoomOut"), ["stop"]))
9123
9131
  })) : nA("v-if", !0)
9124
9132
  ]),
9125
9133
  _: 1
@@ -9134,7 +9142,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9134
9142
  key: 0,
9135
9143
  class: "icon icon-enlarge",
9136
9144
  icon: "enlarge",
9137
- onClick: x[1] || (x[1] = DA((m) => H("zoomIn"), ["stop"]))
9145
+ onClick: p[1] || (p[1] = VA((m) => H("zoomIn"), ["stop"]))
9138
9146
  })) : nA("v-if", !0)
9139
9147
  ]),
9140
9148
  _: 1
@@ -9149,7 +9157,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
9149
9157
  key: 0,
9150
9158
  class: "icon icon-direction-control",
9151
9159
  icon: "direction-control",
9152
- onClick: DA(i, ["stop"])
9160
+ onClick: VA(a, ["stop"])
9153
9161
  })) : nA("v-if", !0)
9154
9162
  ]),
9155
9163
  _: 1
@@ -9359,22 +9367,22 @@ const y1 = /* @__PURE__ */ qA({
9359
9367
  var u;
9360
9368
  if (window.self === window.top && (n == null ? void 0 : n.project) === P) {
9361
9369
  e.value = n.layout;
9362
- let p = {
9370
+ let x = {
9363
9371
  projectId: P,
9364
9372
  deviceIds: n == null ? void 0 : n.deviceId
9365
- }, i = (await v(p)).map((a) => {
9366
- let s = a.lookupOrOperation == 1;
9373
+ }, a = (await v(x)).map((i) => {
9374
+ let s = i.lookupOrOperation == 1;
9367
9375
  return {
9368
- id: a.id,
9369
- productId: a.productId,
9370
- deviceId: a.deviceId,
9371
- deviceName: a.deviceName,
9372
- authType: a.controlAuthorization == 1 ? 2 : 1,
9376
+ id: i.id,
9377
+ productId: i.productId,
9378
+ deviceId: i.deviceId,
9379
+ deviceName: i.deviceName,
9380
+ authType: i.controlAuthorization == 1 ? 2 : 1,
9373
9381
  // 1 查看权限 2 查看+操作权限
9374
9382
  show: !!s
9375
9383
  };
9376
9384
  });
9377
- A.value = i.filter((a) => !!a.show), (u = A.value) != null && u.length && W1({ gridNum: e.value, deviceList: A.value });
9385
+ A.value = a.filter((i) => !!i.show), (u = A.value) != null && u.length && W1({ gridNum: e.value, deviceList: A.value });
9378
9386
  }
9379
9387
  }
9380
9388
  }));
@@ -10128,9 +10136,9 @@ class Ce {
10128
10136
  invoke(A, ...f) {
10129
10137
  const [v, r] = this._replaceStreamingParams(f), P = this._createInvocation(A, f, !1, r);
10130
10138
  return new Promise((z, d) => {
10131
- this._callbacks[P.invocationId] = (u, p) => {
10132
- if (p) {
10133
- d(p);
10139
+ this._callbacks[P.invocationId] = (u, x) => {
10140
+ if (x) {
10141
+ d(x);
10134
10142
  return;
10135
10143
  } else u && (u.type === vA.Completion ? u.error ? d(new Error(u.error)) : z(u.result) : d(new Error(`Unexpected message type: ${u.type}`)));
10136
10144
  };
@@ -10649,8 +10657,8 @@ class z8 {
10649
10657
  const z = this._httpClient.getCookieString(A);
10650
10658
  let d = !1;
10651
10659
  if (sA.isNode || sA.isReactNative) {
10652
- const n = {}, [u, p] = L9();
10653
- n[u] = p, v && (n[a9.Authorization] = `Bearer ${v}`), z && (n[a9.Cookie] = z), t = new this._webSocketConstructor(A, void 0, {
10660
+ const n = {}, [u, x] = L9();
10661
+ n[u] = x, v && (n[a9.Authorization] = `Bearer ${v}`), z && (n[a9.Cookie] = z), t = new this._webSocketConstructor(A, void 0, {
10654
10662
  headers: { ...n, ...this._headers }
10655
10663
  });
10656
10664
  } else
@@ -10823,16 +10831,16 @@ class d8 {
10823
10831
  if (this.transport = u, !d) {
10824
10832
  try {
10825
10833
  d = await this._getNegotiationResponse(A);
10826
- } catch (p) {
10827
- return Promise.reject(p);
10834
+ } catch (x) {
10835
+ return Promise.reject(x);
10828
10836
  }
10829
10837
  P = this._createConnectUrl(A, d.connectionToken);
10830
10838
  }
10831
10839
  try {
10832
10840
  await this._startTransport(P, r), this.connectionId = d.connectionId;
10833
10841
  return;
10834
- } catch (p) {
10835
- if (this._logger.log(y.Error, `Failed to start the transport '${n.transport}': ${p}`), d = void 0, t.push(new M1(`${n.transport} failed: ${p}`, HA[n.transport])), this._connectionState !== "Connecting") {
10842
+ } catch (x) {
10843
+ if (this._logger.log(y.Error, `Failed to start the transport '${n.transport}': ${x}`), d = void 0, t.push(new M1(`${n.transport} failed: ${x}`, HA[n.transport])), this._connectionState !== "Connecting") {
10836
10844
  const X = "Failed to select transport before stop() was called.";
10837
10845
  return this._logger.log(y.Debug, X), Promise.reject(new KA(X));
10838
10846
  }
@@ -11181,7 +11189,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11181
11189
  return !1;
11182
11190
  }
11183
11191
  }, P = async (s) => {
11184
- var c, q, x, m, V;
11192
+ var c, q, p, m, V;
11185
11193
  const b = uA(), H = ((c = b.appcategorys) == null ? void 0 : c.map((R) => R.apps).flat()) || [];
11186
11194
  if (Array.isArray(s)) {
11187
11195
  const R = s.filter((l) => l.code).map((l) => l.code);
@@ -11211,8 +11219,8 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11211
11219
  const _ = await M3(J.code, M);
11212
11220
  if (_) {
11213
11221
  const G = JSON.stringify({ showEchartTooltip: j });
11214
- (q = e.query) != null && q.app && e.query.app === J.code && ((x = e.query) != null && x.menu) && e.query.menu === M ? NA.sendMessageToMicroApp(_.applicationPath, `${M}:todetail`, G) : (await A({ microApp: J, menuCode: M }), setTimeout(() => {
11215
- NA.sendMessageToMicroApp(_.applicationPath, `${M}:todetail`, G, {
11222
+ (q = e.query) != null && q.app && e.query.app === J.code && ((p = e.query) != null && p.menu) && e.query.menu === M ? mA.sendMessageToMicroApp(_.applicationPath, `${M}:todetail`, G) : (await A({ microApp: J, menuCode: M }), setTimeout(() => {
11223
+ mA.sendMessageToMicroApp(_.applicationPath, `${M}:todetail`, G, {
11216
11224
  awaitListener: !0
11217
11225
  });
11218
11226
  }, 300));
@@ -11234,8 +11242,8 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11234
11242
  const G = await M3(_.code, Z);
11235
11243
  if (G) {
11236
11244
  const Y = JSON.stringify({ showEchartTooltip: j });
11237
- (m = e.query) != null && m.app && e.query.app === T.code && ((V = e.query) != null && V.menu) && e.query.menu === Z ? NA.sendMessageToMicroApp(G.applicationPath, `${Z}:todetail`, Y) : (await A({ microApp: T, menuCode: Z }), setTimeout(() => {
11238
- NA.sendMessageToMicroApp(G.applicationPath, `${Z}:todetail`, Y, {
11245
+ (m = e.query) != null && m.app && e.query.app === T.code && ((V = e.query) != null && V.menu) && e.query.menu === Z ? mA.sendMessageToMicroApp(G.applicationPath, `${Z}:todetail`, Y) : (await A({ microApp: T, menuCode: Z }), setTimeout(() => {
11246
+ mA.sendMessageToMicroApp(G.applicationPath, `${Z}:todetail`, Y, {
11239
11247
  awaitListener: !0
11240
11248
  });
11241
11249
  }, 300));
@@ -11273,16 +11281,16 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11273
11281
  }, d = (s) => {
11274
11282
  const b = t9(), H = JSON.parse(atob(b.split(".")[1])).sub;
11275
11283
  p8().on(`${s}:${H}`, async function(q) {
11276
- let x = r(q);
11277
- if (x)
11278
- x.uniqueId && x.actionKey == "switch-menu" && z(x);
11284
+ let p = r(q);
11285
+ if (p)
11286
+ p.uniqueId && p.actionKey == "switch-menu" && z(p);
11279
11287
  else if (q.includes("openAppMenu=")) {
11280
11288
  const m = q.split("="), V = JSON.parse(m[1]);
11281
11289
  P(V);
11282
11290
  } else q.includes("iocIsRun") && (t.value = !1);
11283
11291
  });
11284
- }, n = o(""), [u, p] = await I3().run();
11285
- n.value = p, d(n.value);
11292
+ }, n = o(""), [u, x] = await I3().run();
11293
+ n.value = x, d(n.value);
11286
11294
  const X = async () => {
11287
11295
  const [s, b] = await I3().run();
11288
11296
  b !== n.value && (n.value = b, d(n.value));
@@ -11290,12 +11298,12 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11290
11298
  v = setInterval(() => {
11291
11299
  X();
11292
11300
  }, 72e5);
11293
- const i = o("online"), a = (s) => {
11294
- s === "online" && i.value === "offline" && setTimeout(() => {
11301
+ const a = o("online"), i = (s) => {
11302
+ s === "online" && a.value === "offline" && setTimeout(() => {
11295
11303
  X();
11296
- }, 5e3), i.value = (window.navigator.onLine ? "on" : "off") + "line";
11304
+ }, 5e3), a.value = (window.navigator.onLine ? "on" : "off") + "line";
11297
11305
  };
11298
- window.addEventListener("online", () => a("online")), window.addEventListener("offline", () => a("offline"));
11306
+ window.addEventListener("online", () => i("online")), window.addEventListener("offline", () => i("offline"));
11299
11307
  }), K9(() => {
11300
11308
  v && clearInterval(v);
11301
11309
  }), {};
@@ -11357,11 +11365,11 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11357
11365
  // 事件等级id
11358
11366
  timeLimit: ""
11359
11367
  // 处置时限
11360
- }), p = o(!1), X = o([]), i = o([]), a = o([
11368
+ }), x = o(!1), X = o([]), a = o([]), i = o([
11361
11369
  { id: 2, name: AA("时").value },
11362
11370
  { id: 1, name: AA("分").value },
11363
11371
  { id: 3, name: AA("不限").value }
11364
- ]), s = o([]), b = o(""), H = o(AA("告警对象位置").value), c = o(""), q = o([]), x = o("");
11372
+ ]), s = o([]), b = o(""), H = o(AA("告警对象位置").value), c = o(""), q = o([]), p = o("");
11365
11373
  o("[]");
11366
11374
  const m = o(!0), V = o(!0), R = async (F) => {
11367
11375
  const I = { name: "1" };
@@ -11397,7 +11405,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11397
11405
  }, M = (F) => {
11398
11406
  u.value.reportTheme = "";
11399
11407
  }, J = (F, I) => {
11400
- I.length > 0 && (b.value = I[0].path), n.value.reportPosition = F, x.value = "";
11408
+ I.length > 0 && (b.value = I[0].path), n.value.reportPosition = F, p.value = "";
11401
11409
  }, _ = (F) => {
11402
11410
  F && (u.value.reportPosition = "", b.value = ""), F ? (n.value.reportPosition = null, b.value = "", H.value = AA("告警对象位置").value) : (n.value.reportPosition = null, b.value = "", H.value = AA("请选择").value);
11403
11411
  }, G = (F) => {
@@ -11405,9 +11413,9 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11405
11413
  }, Y = () => {
11406
11414
  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 = "";
11407
11415
  }, h = () => {
11408
- 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 = [];
11416
+ 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 = [], a.value = [];
11409
11417
  }, C = (F) => {
11410
- F == "eventTypeId" && (n.value.eventLevelId = null, W()), F == "eventLevelId" && E(), F == "interval" && (u.value.timeLimit = "", n.value.interval == 3 ? (p.value = !0, n.value.timeLimit = "") : p.value = !1);
11418
+ F == "eventTypeId" && (n.value.eventLevelId = null, W()), F == "eventLevelId" && E(), F == "interval" && (u.value.timeLimit = "", n.value.interval == 3 ? (x.value = !0, n.value.timeLimit = "") : x.value = !1);
11411
11419
  }, L = async () => {
11412
11420
  const [F, I] = await I8().run();
11413
11421
  if (F) return {};
@@ -11418,10 +11426,10 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11418
11426
  }, [I, B] = await M8(F).run();
11419
11427
  if (I) return {};
11420
11428
  const LA = { 1: AA("一级").value, 2: AA("二级").value, 3: AA("三级").value, 4: AA("四级").value };
11421
- i.value = B.map((CA) => ({
11429
+ a.value = B.map((CA) => ({
11422
11430
  id: `${CA}`,
11423
11431
  name: LA[CA] ? LA[CA] : CA
11424
- })), B.length && !n.value.eventLevelId && (n.value.eventLevelId = i.value[0].id, E());
11432
+ })), B.length && !n.value.eventLevelId && (n.value.eventLevelId = a.value[0].id, E());
11425
11433
  }, E = async () => {
11426
11434
  const F = {
11427
11435
  eventTypeId: n.value.eventTypeId,
@@ -11457,7 +11465,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11457
11465
  n.value.eventTypeId || (F = !1, u.value.eventTypeId = AA("必选").value), n.value.eventLevelId || (F = !1, u.value.eventLevelId = AA("必选").value), n.value.interval != 3 && !I.test(n.value.timeLimit) && (F = !1, u.value.timeLimit = AA("必填,请输入1~999之间的正整数").value);
11458
11466
  }
11459
11467
  return F;
11460
- }, lA = () => {
11468
+ }, DA = () => {
11461
11469
  d9();
11462
11470
  }, K = async (F) => {
11463
11471
  dA() && (z.value = F, $());
@@ -11490,7 +11498,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11490
11498
  return A({
11491
11499
  open: eA,
11492
11500
  close: d9
11493
- }), (F, I) => (fA(), mA("div", B8, [
11501
+ }), (F, I) => (fA(), lA("div", B8, [
11494
11502
  k(D(j9), {
11495
11503
  modelValue: d.value,
11496
11504
  "onUpdate:modelValue": I[31] || (I[31] = (B) => d.value = B),
@@ -11514,7 +11522,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11514
11522
  Q("div", U8, [
11515
11523
  k(D(kA), {
11516
11524
  size: "middle",
11517
- onClick: lA
11525
+ onClick: DA
11518
11526
  }, {
11519
11527
  default: U(() => [
11520
11528
  aA(
@@ -11654,8 +11662,8 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11654
11662
  "onUpdate:modelValue": I[8] || (I[8] = (B) => n.value.reportPosition = B),
11655
11663
  path: b.value,
11656
11664
  "onUpdate:path": I[9] || (I[9] = (B) => b.value = B),
11657
- keyword: x.value,
11658
- "onUpdate:keyword": I[10] || (I[10] = (B) => x.value = B),
11665
+ keyword: p.value,
11666
+ "onUpdate:keyword": I[10] || (I[10] = (B) => p.value = B),
11659
11667
  showFullPath: !0,
11660
11668
  data: q.value,
11661
11669
  placeholder: H.value,
@@ -11784,7 +11792,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11784
11792
  "onUpdate:modelValue": I[22] || (I[22] = (B) => n.value.eventLevelId = B),
11785
11793
  error: u.value.eventLevelId,
11786
11794
  "onUpdate:error": I[23] || (I[23] = (B) => u.value.eventLevelId = B),
11787
- options: i.value,
11795
+ options: a.value,
11788
11796
  col: 1,
11789
11797
  optionsLabelKey: "name",
11790
11798
  optionsValueKey: "id",
@@ -11819,7 +11827,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11819
11827
  value: "id",
11820
11828
  label: "name"
11821
11829
  },
11822
- options: a.value,
11830
+ options: i.value,
11823
11831
  "border-type": "underline",
11824
11832
  size: "small",
11825
11833
  "get-popup-container": T,
@@ -11872,7 +11880,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11872
11880
  }, P = () => {
11873
11881
  v("handerDetail", f.msgItem);
11874
11882
  };
11875
- return (t, z) => (fA(), mA(
11883
+ return (t, z) => (fA(), lA(
11876
11884
  i9,
11877
11885
  null,
11878
11886
  [
@@ -11965,7 +11973,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11965
11973
  t.msgItem.equipmentCode && t.msgItem.equipmentPanelCode ? (fA(), XA(D(kA), {
11966
11974
  key: 0,
11967
11975
  block: "",
11968
- onClick: DA(P, ["stop"]),
11976
+ onClick: VA(P, ["stop"]),
11969
11977
  btnType: "primary-text",
11970
11978
  size: "middle"
11971
11979
  }, {
@@ -11983,7 +11991,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
11983
11991
  key: 1,
11984
11992
  block: "",
11985
11993
  btnType: "primary-text",
11986
- onClick: DA(r, ["stop"]),
11994
+ onClick: VA(r, ["stop"]),
11987
11995
  size: "middle"
11988
11996
  }, {
11989
11997
  default: U(() => [
@@ -12031,20 +12039,20 @@ const cX = () => {
12031
12039
  loop: !1
12032
12040
  // 轮播-无限次播放
12033
12041
  });
12034
- NA.addEventListenerFromMicroApp("alarm:change-alarmconfig", (l) => {
12042
+ mA.addEventListenerFromMicroApp("alarm:change-alarmconfig", (l) => {
12035
12043
  const { isRealTimeAlarm: j, audioPlay: O } = l.data;
12036
- j != null && (z.value = j), O != null && (d.value = O, d.value || x());
12044
+ j != null && (z.value = j), O != null && (d.value = O, d.value || p());
12037
12045
  });
12038
12046
  const u = (l) => {
12039
12047
  var O;
12040
12048
  const j = [];
12041
12049
  j.push({ alarmId: l.recordId }), r.value = j, (O = f.value) == null || O.open();
12042
- }, { entryApp: p } = Xf.hooks.useEntryApp(), X = (l) => {
12050
+ }, { entryApp: x } = Xf.hooks.useEntryApp(), X = (l) => {
12043
12051
  K3(l.equipmentCode, l.equipmentPanelCode);
12044
- }, { handleAlarmVue: i } = h8(f, r), a = async () => {
12052
+ }, { handleAlarmVue: a } = h8(f, r), i = async () => {
12045
12053
  var O;
12046
12054
  const j = (((O = uA().appcategorys) == null ? void 0 : O.map((N) => N.apps).flat()) ?? []).find((N) => N.code === "alarm");
12047
- j && p({ microApp: j, menuPath: `/${j.routeUrl}/realTimeAlarm` });
12055
+ j && x({ microApp: j, menuPath: `/${j.routeUrl}/realTimeAlarm` });
12048
12056
  }, s = [], b = (l) => {
12049
12057
  if (s.push(l), P.value.length < 2) {
12050
12058
  H(s[0]), s.shift();
@@ -12066,7 +12074,7 @@ const cX = () => {
12066
12074
  }),
12067
12075
  duration: 5,
12068
12076
  onClick: () => {
12069
- a();
12077
+ i();
12070
12078
  },
12071
12079
  onClose: () => {
12072
12080
  setTimeout(() => {
@@ -12081,21 +12089,21 @@ const cX = () => {
12081
12089
  }, c = (l) => {
12082
12090
  if (l) {
12083
12091
  if (!d.value) {
12084
- x();
12092
+ p();
12085
12093
  return;
12086
12094
  }
12087
12095
  if (!l.coverId) {
12088
12096
  if (n.value.playLine === null) {
12089
- x(), Number(l.noticeNum) != 0 && q(l);
12097
+ p(), Number(l.noticeNum) != 0 && q(l);
12090
12098
  return;
12091
12099
  }
12092
- Number(l.alarmLevelId) < n.value.playLine && (x(), Number(l.noticeNum) != 0 && q(l));
12100
+ Number(l.alarmLevelId) < n.value.playLine && (p(), Number(l.noticeNum) != 0 && q(l));
12093
12101
  }
12094
12102
  }
12095
12103
  }, q = (l) => {
12096
12104
  const j = Number(l.noticeNum), O = location.origin + "/oss";
12097
- n.value.isplay && n.value.playId == l.recordId ? x() : (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());
12098
- }, x = () => {
12105
+ 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());
12106
+ }, p = () => {
12099
12107
  n.value.playId = "", n.value.playPath = "", n.value.playLine = null, n.value.loopCount = 0, n.value.loopTotalCount = 0, n.value.isplay = !1, n.value.loop = !1;
12100
12108
  }, m = () => {
12101
12109
  v.value.onended = function() {
@@ -12110,7 +12118,7 @@ const cX = () => {
12110
12118
  alarmCount: A,
12111
12119
  audioObj: n,
12112
12120
  audioAlarmRef: v,
12113
- handleAlarmVue: i,
12121
+ handleAlarmVue: a,
12114
12122
  creatAlarmSocket: async () => {
12115
12123
  V();
12116
12124
  const [l, j] = await Z8().run({
@@ -12129,7 +12137,7 @@ const cX = () => {
12129
12137
  N && e.value.send(N);
12130
12138
  },
12131
12139
  message: async (N) => {
12132
- 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 && x()));
12140
+ mA.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()));
12133
12141
  }
12134
12142
  }));
12135
12143
  }
@@ -12142,7 +12150,7 @@ const cX = () => {
12142
12150
  await lf(), f();
12143
12151
  }), K9(() => {
12144
12152
  A.value && A.value.disconnect(), A.value = null;
12145
- }), (t, z) => (fA(), mA(
12153
+ }), (t, z) => (fA(), lA(
12146
12154
  i9,
12147
12155
  null,
12148
12156
  [
@@ -12170,21 +12178,21 @@ const cX = () => {
12170
12178
  const A = e, { isFullscreen: f } = $9(), v = u9().showLayout ?? !0, r = EA(() => v && A.showLayout && !f.value), P = EA(() => xA.excludeRoutes), t = EA(() => xA.routeKeepAliveVisible), z = EA(() => ({ mode: SA.value.style === 1 ? "vertical" : "inline" }));
12171
12179
  OA(
12172
12180
  () => k3.nav.activeItem,
12173
- (j) => {
12174
- var O;
12175
- if (j) {
12176
- const Z = !!(((O = uA()) == null ? void 0 : O.menuCollapses) || []).find((T) => T === j);
12177
- S.menu.setCollapse(Z);
12181
+ (O) => {
12182
+ var N;
12183
+ if (O) {
12184
+ const T = !!(((N = uA()) == null ? void 0 : N.menuCollapses) || []).find((M) => M === O);
12185
+ S.menu.setCollapse(T);
12178
12186
  }
12179
12187
  },
12180
12188
  { immediate: !0 }
12181
12189
  );
12182
- const { initNextTick: d } = E6(), { loading: n, pageKey: u, innerPage: p, commandList: X, initNextTick: i } = M6(d);
12183
- G6(p, d, i), Y6(), k6(), S6();
12184
- const { $changePwd: a, $personSetDialog: s } = U6(), { $aiPanel: b, toApp: H } = f1(), { changeEnterprisesVisible: c, userId: q, tenantId: x, changeEnterprise: m } = Jv();
12190
+ const { initNextTick: d } = E6(), { loading: n, pageKey: u, innerPage: x, commandList: X, initNextTick: a } = M6(d);
12191
+ G6(x, d, a), Y6(), k6(), S6();
12192
+ const { $changePwd: i, $personSetDialog: s } = U6(), { $aiPanel: b, toApp: H, getAIPanelStatus: c } = f1(), { changeEnterprisesVisible: q, userId: p, tenantId: m, changeEnterprise: V } = Jv();
12185
12193
  B6();
12186
- const { fontColor: V, backgroudColor: R, borderColor: l } = Q6();
12187
- return e1(), v1(X), n1(), P1(), w1(), R8(), (j, O) => (fA(), mA("div", sX, [
12194
+ const { fontColor: R, backgroudColor: l, borderColor: j } = Q6();
12195
+ return e1(), v1(X), n1(), P1(), w1(), R8(), (O, N) => (fA(), lA("div", sX, [
12188
12196
  nA(` <button @click="test(0)">test</button>\r
12189
12197
  <button style="margin-left: 5px" @click="test(1)">test2</button> `),
12190
12198
  k(D(wr), { platformInitNextTick: D(d) }, {
@@ -12195,16 +12203,16 @@ const cX = () => {
12195
12203
  showLayout: r.value,
12196
12204
  excludeRoutes: P.value,
12197
12205
  routeKeepAliveVisible: t.value,
12198
- tabsAttr: { fontColor: D(V), backgroudColor: D(R), borderColor: D(l) },
12206
+ tabsAttr: { fontColor: D(R), backgroudColor: D(l), borderColor: D(j) },
12199
12207
  menuAttr: z.value
12200
12208
  }, pn({
12201
12209
  _: 2
12202
12210
  /* DYNAMIC */
12203
12211
  }, [
12204
- ye(j.$slots, (N, Z, T) => ({
12205
- name: Z,
12212
+ ye(O.$slots, (Z, T, M) => ({
12213
+ name: T,
12206
12214
  fn: U(() => [
12207
- r9(j.$slots, Z, {}, void 0, !0)
12215
+ r9(O.$slots, T, {}, void 0, !0)
12208
12216
  ])
12209
12217
  }))
12210
12218
  ]), 1032, ["loading", "pageKey", "showLayout", "excludeRoutes", "routeKeepAliveVisible", "tabsAttr", "menuAttr"])
@@ -12214,18 +12222,18 @@ const cX = () => {
12214
12222
  }, 8, ["platformInitNextTick"]),
12215
12223
  nA(" 切换租户 "),
12216
12224
  k(D(Tn), {
12217
- visible: D(c),
12218
- "onUpdate:visible": O[0] || (O[0] = (N) => FA(c) ? c.value = N : null),
12219
- userId: D(q),
12220
- tenantId: D(x),
12221
- onConfirm: D(m)
12225
+ visible: D(q),
12226
+ "onUpdate:visible": N[0] || (N[0] = (Z) => FA(q) ? q.value = Z : null),
12227
+ userId: D(p),
12228
+ tenantId: D(m),
12229
+ onConfirm: D(V)
12222
12230
  }, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
12223
12231
  nA(" 修改密码 "),
12224
12232
  k(
12225
12233
  D(Zn),
12226
12234
  {
12227
12235
  ref_key: "$changePwd",
12228
- ref: a
12236
+ ref: i
12229
12237
  },
12230
12238
  null,
12231
12239
  512
@@ -12247,13 +12255,14 @@ const cX = () => {
12247
12255
  platformInitNextTick: D(d),
12248
12256
  onToApp: D(H),
12249
12257
  ref_key: "$aiPanel",
12250
- ref: b
12251
- }, null, 8, ["platformInitNextTick", "onToApp"]),
12258
+ ref: b,
12259
+ onGetStatus: D(c)
12260
+ }, null, 8, ["platformInitNextTick", "onToApp", "onGetStatus"]),
12252
12261
  nA(" 告警 "),
12253
12262
  k(D(iX))
12254
12263
  ]));
12255
12264
  }
12256
- }), HX = /* @__PURE__ */ gA(qX, [["__scopeId", "data-v-8afab391"]]), pX = {
12265
+ }), HX = /* @__PURE__ */ gA(qX, [["__scopeId", "data-v-0ae55213"]]), pX = {
12257
12266
  正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
12258
12267
  声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
12259
12268
  截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
@@ -12423,11 +12432,11 @@ o("@das-fed/web");
12423
12432
  const xX = [
12424
12433
  {
12425
12434
  path: RA,
12426
- component: () => import("./index-C5NAaLmZ.js")
12435
+ component: () => import("./index-CPObYd5x.js")
12427
12436
  },
12428
12437
  {
12429
12438
  path: Av,
12430
- component: () => import("./index-CY_b3rH6.js")
12439
+ component: () => import("./index-CJt4Jf9a.js")
12431
12440
  }
12432
12441
  ], O2 = {
12433
12442
  routes: xX,