@das-fed/upf-web 6.4.0-dev.221 → 6.4.0-dev.223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/es5.js +1213 -1208
  2. package/{packages/main-app-framework/index-BSIXDWdJ.js → index-0g6_Ce0M.js} +1 -1
  3. package/index-0g6_Ce0M.js.gz +0 -0
  4. package/{index-D6QATXs1.js → index-CppaPRNy.js} +1 -1
  5. package/{index-D7UQjMU9.js → index-IJWJDds3.js} +772 -769
  6. package/index-IJWJDds3.js.gz +0 -0
  7. package/index.js +1 -1
  8. package/package.json +5 -5
  9. package/packages/i18n/es5.js +63 -58
  10. package/packages/i18n/index.js +47 -44
  11. package/packages/i18n/index.js.gz +0 -0
  12. package/packages/layout/es5.js +96 -96
  13. package/packages/layout/index.js +98 -98
  14. package/packages/layout/index.js.gz +0 -0
  15. package/packages/main-app-framework/es5.js +29 -29
  16. package/packages/main-app-framework/{index-C0K5zcvx.js → index-7BUmPh7i.js} +1 -1
  17. package/{index-DpJn_DL4.js → packages/main-app-framework/index-BP8gHC_g.js} +1 -1
  18. package/packages/main-app-framework/index-BP8gHC_g.js.gz +0 -0
  19. package/packages/main-app-framework/{index-y647qjnX.js → index-CUuJCTjN.js} +27 -27
  20. package/packages/main-app-framework/index-CUuJCTjN.js.gz +0 -0
  21. package/packages/main-app-framework/index.js +1 -1
  22. package/packages/main-app-framework/style.css +1 -1
  23. package/packages/main-app-framework/style.css.gz +0 -0
  24. package/packages/micro-frontend/es5.js +156 -156
  25. package/packages/micro-frontend/index.js +127 -127
  26. package/packages/micro-frontend/index.js.gz +0 -0
  27. package/style.css +1 -1
  28. package/style.css.gz +0 -0
  29. package/index-D7UQjMU9.js.gz +0 -0
  30. package/index-DpJn_DL4.js.gz +0 -0
  31. package/packages/main-app-framework/index-BSIXDWdJ.js.gz +0 -0
  32. package/packages/main-app-framework/index-y647qjnX.js.gz +0 -0
@@ -1,4 +1,4 @@
1
- import { ref as L, createApp as Vi, reactive as et, computed as J, defineComponent as xe, watch as he, openBlock as N, createElementBlock as ce, Fragment as Ye, createBlock as re, TransitionGroup as Ki, normalizeProps as Rr, mergeProps as fn, withCtx as V, renderList as Nt, withDirectives as je, resolveDynamicComponent as Rt, vShow as We, unref as D, createCommentVNode as Q, nextTick as rt, resolveComponent as Gi, createElementVNode as q, normalizeClass as ps, normalizeStyle as Lr, renderSlot as Be, createVNode as Y, Transition as Po, guardReactiveProps as Ro, KeepAlive as Lo, h as we, onBeforeMount as Xi, onMounted as dt, onUnmounted as hs, getCurrentScope as Qi, onScopeDispose as Yi, getCurrentInstance as Ji, onActivated as Zi, createTextVNode as Xe, toDisplayString as Ce, render as tn, onBeforeUnmount as pn, useCssVars as e0, withModifiers as Ae, toRefs as t0, createSlots as n0 } from "vue";
1
+ import { ref as L, createApp as Vi, reactive as et, computed as J, defineComponent as xe, watch as he, openBlock as N, createElementBlock as ce, Fragment as Ye, createBlock as re, TransitionGroup as Ki, normalizeProps as Rr, mergeProps as fn, withCtx as V, renderList as Nt, withDirectives as je, resolveDynamicComponent as Rt, vShow as We, unref as D, createCommentVNode as Q, nextTick as rt, resolveComponent as Gi, createElementVNode as q, normalizeClass as ps, normalizeStyle as Lr, renderSlot as Be, createVNode as Y, Transition as Po, guardReactiveProps as Ro, KeepAlive as Lo, h as we, onBeforeMount as Xi, onMounted as dt, onUnmounted as hs, getCurrentScope as Qi, onScopeDispose as Yi, getCurrentInstance as Ji, onActivated as Zi, createTextVNode as Xe, toDisplayString as Ce, render as nn, onBeforeUnmount as pn, useCssVars as e0, withModifiers as Ae, toRefs as t0, createSlots as n0 } from "vue";
2
2
  import { initTheme as r0, setThemeRule as o0 } from "@das-fed/upf-web/packages/theme/index";
3
3
  import { DasWebLayout as Xr, DasWebNav as xs, DasWebMenu as vs, DasWebTabs as gs, layout as ee, layoutData as ms } from "@das-fed/upf-web/packages/layout/index";
4
4
  import { createPinia as a0 } from "pinia";
@@ -6,47 +6,48 @@ import s0 from "pinia-plugin-persistedstate";
6
6
  import { createRouter as i0, createWebHistory as c0, useRouter as hn, useRoute as xn } from "vue-router";
7
7
  import { languageKey as l0, registerMicroI18nData as u0, microI18nStore as d0, i18n as X, t as ie, currentLang as _s, setI18nRule as f0 } from "@das-fed/upf-web/packages/i18n/index";
8
8
  import { handleI18nData as p0, getUrlParams as Cs, flatTree as Ve, filterTreeArray as h0, setBrowseTitle as x0, updateFavIcon as v0, dateFormat as g0, objEqual as $o, setShowWatermark as $r, setShowLayout as Mr, isEmpty as m0, withToken as _0 } from "@das-fed/upf-utils/common-tools";
9
+ import { setI18nBridge as C0 } from "@das-fed/upf-utils/i18n-bridge";
9
10
  import { getConfig as At } from "@das-fed/upf-utils/config";
10
11
  import { microFrontend as Fe } from "@das-fed/upf-web/packages/micro-frontend/index";
11
- import { DasIconWarning as C0 } from "@das-fed/upf-ui/packages/icons/warning/index";
12
- import { DasIconClose2 as y0 } from "@das-fed/upf-ui/packages/icons/close-2/index";
12
+ import { DasIconWarning as y0 } from "@das-fed/upf-ui/packages/icons/warning/index";
13
+ import { DasIconClose2 as b0 } from "@das-fed/upf-ui/packages/icons/close-2/index";
13
14
  import { getSubApps as ge, getTabInfo as Le, getToken as ft, getTenantInfo as ys, getProjectInfo as ut, getPersonalInfo as Qr, getUserInfo as bs, getMenus as Or } from "@das-fed/upf-utils/common-info";
14
- import { pureImageSrc as b0 } from "@das-fed/upf-utils/pure-image-src";
15
+ import { pureImageSrc as w0 } from "@das-fed/upf-utils/pure-image-src";
15
16
  import { DasNotification as Dn } from "@das-fed/upf-ui/packages/components/notification/index";
16
- import { setProcessEngineToken as ws, setProcessEngineProject as w0 } from "@das-fed/upf-utils/process-engine-info";
17
- import { oauthServer as As, justauth as Yr, enterpriseright as Jr, iotModules as A0, systemConfiguration as Rn, portal as Es } from "@das-fed/upf-utils/api-services/modules";
17
+ import { setProcessEngineToken as ws, setProcessEngineProject as A0 } from "@das-fed/upf-utils/process-engine-info";
18
+ import { oauthServer as As, justauth as Yr, enterpriseright as Jr, iotModules as E0, systemConfiguration as Rn, portal as Es } from "@das-fed/upf-utils/api-services/modules";
18
19
  import { createService as pt } from "@das-fed/upf-utils/create-api-service";
19
- import { login as ks, getTokenParams as Bs, real_uri as Ds, tokenStorage as E0 } from "@das-fed/upf-utils/create-api-service/sso";
20
- import { getAccessToken as k0, removeAccessToken as B0 } from "@das-fed/upf-utils/token-tools";
20
+ import { login as ks, getTokenParams as Bs, real_uri as Ds, tokenStorage as k0 } from "@das-fed/upf-utils/create-api-service/sso";
21
+ import { getAccessToken as B0, removeAccessToken as D0 } from "@das-fed/upf-utils/token-tools";
21
22
  import { DasSpin as Zr } from "@das-fed/upf-ui/packages/components/spin/index";
22
23
  import { DasDialog as eo } from "@das-fed/upf-ui/packages/components/dialog/index";
23
24
  import { DasButton as Lt } from "@das-fed/upf-ui/packages/components/button/index";
24
- import { vDasTooltip as D0 } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
25
- import { setPersonalInfo as S0 } from "@das-fed/upf-utils/common-info/set-personal-info";
26
- import { DasChangePwdRef as I0 } from "@das-fed/upf-ui/packages/business-components/change-pwd/index";
27
- import { systemConfiguration as F0, enterpriseright as to, createService as Ut, spaceManage as Ss } from "@das-fed/upf-utils/api-services";
25
+ import { vDasTooltip as S0 } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
26
+ import { setPersonalInfo as I0 } from "@das-fed/upf-utils/common-info/set-personal-info";
27
+ import { DasChangePwdRef as F0 } from "@das-fed/upf-ui/packages/business-components/change-pwd/index";
28
+ import { systemConfiguration as T0, enterpriseright as to, createService as qt, spaceManage as Ss } from "@das-fed/upf-utils/api-services";
28
29
  import { bus as Is, reportRouter as Wn } from "@das-fed/mframe";
29
30
  import { vAuth as Mo } from "@das-fed/upf-utils/directive";
30
31
  import Nr from "dayjs";
31
- import { devicePanelShow as Fs, closeDevicePanel as T0, alarmDevicePanelShow as P0, closeAlarmPanel as R0 } from "@das-fed/upf-ui/packages/business-components/device-panel/index";
32
- import { DasIconWarningFace as L0 } from "@das-fed/upf-ui/packages/icons/warning-face/index";
32
+ import { devicePanelShow as Fs, closeDevicePanel as P0, alarmDevicePanelShow as R0, closeAlarmPanel as L0 } from "@das-fed/upf-ui/packages/business-components/device-panel/index";
33
+ import { DasIconWarningFace as $0 } from "@das-fed/upf-ui/packages/icons/warning-face/index";
33
34
  import { socketService as no } from "@das-fed/upf-utils/webSocket-service";
34
- import { userInfoNextTick as $0, tokenNextTick as Ln } from "@das-fed/upf-utils/nextTiken";
35
+ import { userInfoNextTick as M0, tokenNextTick as Ln } from "@das-fed/upf-utils/nextTiken";
35
36
  import { mainAppFramework as Sn } from "@das-fed/upf-web/packages/main-app-framework/index";
36
37
  import { DasAutoRegisterIcon as Ts, DasIcon as Tt } from "@das-fed/upf-ui/packages/components/icon/index";
37
38
  import { DasTooltip as Pe } from "@das-fed/upf-ui/packages/components/tooltip/index";
38
- import { DasLivePlayer as M0 } from "@das-fed/upf-ui/packages/components/live-player/index";
39
- import { DasWatermark as O0 } from "@das-fed/upf-ui/packages/components/watermark/index";
40
- import { DasSelect as N0 } from "@das-fed/upf-ui/packages/components/select/index";
41
- import { DasTreeSelect as z0 } from "@das-fed/upf-ui/packages/components/tree-select/index";
39
+ import { DasLivePlayer as O0 } from "@das-fed/upf-ui/packages/components/live-player/index";
40
+ import { DasWatermark as N0 } from "@das-fed/upf-ui/packages/components/watermark/index";
41
+ import { DasSelect as z0 } from "@das-fed/upf-ui/packages/components/select/index";
42
+ import { DasTreeSelect as j0 } from "@das-fed/upf-ui/packages/components/tree-select/index";
42
43
  import { DasInput as Oo } from "@das-fed/upf-ui/packages/components/input/index";
43
44
  import { DasCheckbox as No } from "@das-fed/upf-ui/packages/components/checkbox/index";
44
- import { DasForm as j0 } from "@das-fed/upf-ui/packages/components/form/index";
45
+ import { DasForm as H0 } from "@das-fed/upf-ui/packages/components/form/index";
45
46
  import { DasFormItem as Ze } from "@das-fed/upf-ui/packages/components/form-item/index";
46
- import { flatTree as H0 } from "@das-fed/upf-utils/common-tools/nest-tree-format";
47
- import { setHtmlMinWH as U0 } from "@das-fed/upf-utils/common-tools/setHtmlMinWH";
48
- import { createCeNav as q0, createCeTabs as W0, createCeMenu as V0 } from "@das-fed/upf-web-components/das-web-app";
49
- const K0 = {
47
+ import { flatTree as U0 } from "@das-fed/upf-utils/common-tools/nest-tree-format";
48
+ import { setHtmlMinWH as q0 } from "@das-fed/upf-utils/common-tools/setHtmlMinWH";
49
+ import { createCeNav as W0, createCeTabs as V0, createCeMenu as K0 } from "@das-fed/upf-web-components/das-web-app";
50
+ const G0 = {
50
51
  install: (t, e) => {
51
52
  var r;
52
53
  const n = (r = e == null ? void 0 : e.plugins) == null ? void 0 : r.glob;
@@ -56,7 +57,7 @@ const K0 = {
56
57
  }
57
58
  }, zr = a0();
58
59
  zr.use(s0);
59
- const G0 = (t) => {
60
+ const X0 = (t) => {
60
61
  var u, _, d, f, p;
61
62
  const e = ((u = t == null ? void 0 : t.router) == null ? void 0 : u.routerBase) ?? "/", n = ((_ = t == null ? void 0 : t.router) == null ? void 0 : _.options) || {};
62
63
  let r = Object.assign(((d = t == null ? void 0 : t.router) == null ? void 0 : d.glob) || {});
@@ -109,7 +110,7 @@ const G0 = (t) => {
109
110
  }, Vn = (t, e) => t.map((n) => {
110
111
  const r = n.meta || {};
111
112
  return r.keepAlive = r.keepAlive ?? (e == null ? void 0 : e.keepAlive) ?? !0, { ...n, meta: r };
112
- }), Zg = (t) => {
113
+ }), nm = (t) => {
113
114
  var c;
114
115
  t || (t = {});
115
116
  const e = L(!0);
@@ -117,10 +118,10 @@ const G0 = (t) => {
117
118
  e.value = !1;
118
119
  });
119
120
  const { container: n, component: r, props: o } = (t == null ? void 0 : t.root) || {}, a = Vi(r || Xr, o);
120
- a.use(K0, t), a.use(zr);
121
- const { router: i } = G0(t);
121
+ a.use(G0, t), a.use(zr);
122
+ const { router: i } = X0(t);
122
123
  return a.use(i), a.mount(n || "#app"), (c = window.top) != null && c.vueRouter || window.top && (window.top.vueRouter = i), { app: a, router: i, loading: e, store: zr };
123
- }, em = {
124
+ }, rm = {
124
125
  loaded: {},
125
126
  isLoaded(t, e) {
126
127
  return !!(this.loaded[t] && this.loaded[t][e]);
@@ -131,7 +132,7 @@ const G0 = (t) => {
131
132
  markUnloaded(t, e) {
132
133
  this.loaded[t] && (delete this.loaded[t][e], Object.keys(this.loaded[t]).length === 0 && delete this.loaded[t]);
133
134
  }
134
- }, X0 = async (t, e) => {
135
+ }, Q0 = async (t, e) => {
135
136
  var c, l, s;
136
137
  const n = At() || {}, r = ((c = n.i18n) == null ? void 0 : c.fromOss) ?? !0, o = ((l = n.i18n) == null ? void 0 : l.isPullBack) ?? !1, a = ((s = n.i18n) == null ? void 0 : s.isDasUI) ?? !0;
137
138
  let i = "/oss/resource/";
@@ -150,42 +151,44 @@ const G0 = (t) => {
150
151
  } catch (u) {
151
152
  throw new Error(`registerResources error: ${u}`);
152
153
  }
153
- }, Q0 = "language", $t = et({}), Mt = et({}), nn = et({}), Y0 = Cs(location.href, "lang") || "", J0 = Y0 || window.localStorage.getItem(Q0) || window.navigator.language || "zh-CN", an = L(J0), Z0 = "dasI18n", Ps = () => {
154
+ }, Y0 = "language", $t = et({}), Mt = et({}), rn = et({}), J0 = Cs(location.href, "lang") || "", Z0 = J0 || window.localStorage.getItem(Y0) || window.navigator.language || "zh-CN", zt = L(Z0), ec = "dasI18n", Ps = () => {
154
155
  const t = document.documentElement;
155
- t && t.setAttribute("lang", an.value);
156
+ t && t.setAttribute("lang", zt.value);
156
157
  }, zo = (t = {}, e) => {
157
158
  const n = e === "global", r = !n, o = {};
158
159
  for (const a in t)
159
160
  for (const i in t[a])
160
161
  o[i] || (o[i] = {}), o[i][a] = t[a][i] ?? "", n && (Mt[i] || (Mt[i] = {}), Mt[i][a] = o[i][a]), r && ($t[i] || ($t[i] = {}), $t[i][a] = o[i][a]);
161
- }, ec = (t = {}, e) => {
162
+ }, tc = (t = {}, e) => {
162
163
  var o;
163
164
  const n = e === "global", r = !n;
164
165
  for (const a in t)
165
166
  if (n && !Mt[a] && (Mt[a] = t[a]), r) {
166
167
  const i = (o = t[a]) != null && o._appCode ? t[a]._appCode.toLowerCase() : "";
167
- i && (nn[i] || (nn[i] = {}), nn[i][a] = t[a]), $t[a] || ($t[a] = t[a]);
168
+ i && (rn[i] || (rn[i] = {}), rn[i][a] = t[a]), $t[a] || ($t[a] = t[a]);
168
169
  }
169
- }, tm = async (t) => {
170
+ }, om = async (t) => {
170
171
  Ps();
171
- const e = window[Z0];
172
- e && ec(e, "global");
173
- }, tc = (t) => {
172
+ const e = window[ec];
173
+ e && tc(e, "global");
174
+ }, nc = (t) => {
174
175
  let e = "";
175
176
  const n = /\/([^\/]+)\/([^\/]+)\//, r = t.match(n);
176
177
  return r && r.length >= 3 && (e = r[1] + "/" + r[2]), e ? e.toLowerCase() : "";
177
- }, nc = (t, ...e) => J(() => {
178
- const n = tc(location.pathname);
179
- let r = nn.framework ?? {}, o = nn[n] ?? {}, a = $t[t] || Mt[t] || r[t] || o[t] || t;
178
+ }, rc = (t, ...e) => J(() => {
179
+ const n = nc(location.pathname);
180
+ let r = rn.framework ?? {}, o = rn[n] ?? {}, a = $t[t] || Mt[t] || r[t] || o[t] || t;
180
181
  if (a === t) return t;
181
182
  typeof a == "string" && (a = { "zh-CN": a });
182
- let i = a[an.value];
183
- return an.value === "zh-CN" && a["zh-cn"] && !a["zh-CN"] && (i = a["zh-cn"]), e.map((c, l) => {
183
+ let i = a[zt.value];
184
+ return zt.value === "zh-CN" && a["zh-cn"] && !a["zh-CN"] && (i = a["zh-cn"]), e.map((c, l) => {
184
185
  i && (i = i.replace(`$${l}`, c));
185
186
  }), i;
186
- }), rc = nc, nm = (t, ...e) => rc(t, ...e).value, oc = (t) => {
187
- an.value = t, Ps();
188
- }, rm = () => an, jo = {
187
+ }), oc = rc, ac = (t, ...e) => oc(t, ...e).value;
188
+ C0({ t: ac, currentLang: zt });
189
+ const sc = (t) => {
190
+ zt.value = t, Ps();
191
+ }, am = () => zt, jo = {
189
192
  "en-US": { ant: () => import("ant-design-vue/es/locale/en_US"), dayjs: () => import("dayjs/locale/en") },
190
193
  "zh-CN": { ant: () => import("ant-design-vue/es/locale/zh_CN"), dayjs: () => import("dayjs/locale/zh-cn") },
191
194
  "zh-MO": { ant: () => import("ant-design-vue/es/locale/zh_TW"), dayjs: () => import("dayjs/locale/zh-tw") },
@@ -200,33 +203,33 @@ const G0 = (t) => {
200
203
  "nl-NL": { ant: () => import("ant-design-vue/es/locale/nl_NL"), dayjs: () => import("dayjs/locale/nl") },
201
204
  "tr-TR": { ant: () => import("ant-design-vue/es/locale/tr_TR"), dayjs: () => import("dayjs/locale/tr") }
202
205
  };
203
- function om(t, e) {
206
+ function sm(t, e) {
204
207
  var r;
205
208
  const n = window.DATE_FORMAT_MAP;
206
209
  return n && n[t] && n[t][e] ? n[t][e] : ((r = window.DATE_FORMAT_MAP[t]) == null ? void 0 : r[e]) || "YYYY-MM-DD";
207
210
  }
208
- const am = async (t) => {
211
+ const im = async (t) => {
209
212
  const e = jo[t] || jo["zh-CN"];
210
213
  try {
211
214
  const n = await e.ant();
212
215
  return await e.dayjs(), n.default;
213
216
  } catch {
214
217
  }
215
- }, sm = async (t = [], e = "zh-CN") => {
218
+ }, cm = async (t = [], e = "zh-CN") => {
216
219
  try {
217
- const n = await X0(t, e);
220
+ const n = await Q0(t, e);
218
221
  n != null && n.frontEnd && typeof n.frontEnd == "object" && Object.keys(n.frontEnd).length && t.forEach((r) => {
219
222
  n.frontEnd[r] && typeof n.frontEnd[r] == "object" && Object.keys(n.frontEnd[r]).length && zo({ [e]: n.frontEnd[r] });
220
- }), n != null && n.dasUiEnd && typeof n.dasUiEnd == "object" && Object.keys(n.dasUiEnd).length && zo({ [e]: n.dasUiEnd }), oc(e);
223
+ }), n != null && n.dasUiEnd && typeof n.dasUiEnd == "object" && Object.keys(n.dasUiEnd).length && zo({ [e]: n.dasUiEnd }), sc(e);
221
224
  } catch {
222
225
  }
223
- }, Ot = L("light"), Jt = L({
226
+ }, Ot = L("light"), Zt = L({
224
227
  light: {},
225
228
  dark: {}
226
- }), Zt = L({
229
+ }), en = L({
227
230
  light: {},
228
231
  dark: {}
229
- }), ac = "dasTheme", rn = "das-theme", sc = (t) => {
232
+ }), ic = "dasTheme", on = "das-theme", cc = (t) => {
230
233
  let e = {
231
234
  light: {},
232
235
  dark: {}
@@ -242,7 +245,7 @@ const am = async (t) => {
242
245
  }
243
246
  return e;
244
247
  };
245
- function ic(t) {
248
+ function lc(t) {
246
249
  const e = "das-global-theme", n = "das-custom-theme";
247
250
  if (!document.getElementById(n)) {
248
251
  const o = document.createElement("style");
@@ -258,32 +261,32 @@ function ic(t) {
258
261
  }
259
262
  const Ho = (t, e) => {
260
263
  e || (e = "custom");
261
- const n = ic(e), r = sc(t);
264
+ const n = lc(e), r = cc(t);
262
265
  for (const a in r) {
263
266
  const i = r[a];
264
267
  for (const c in i) {
265
- const l = i[c], s = `${rn}-${a}`;
268
+ const l = i[c], s = `${on}-${a}`;
266
269
  n.insertRule(`.${s} { ${c}:${l} } `, n.cssRules.length);
267
270
  }
268
- e === "global" && (Zt.value[a] || (Zt.value[a] = {}), Zt.value[a] = { ...Zt.value[a], ...i }), e === "custom" && (Jt.value[a] || (Jt.value[a] = {}), Jt.value[a] = { ...Jt.value[a], ...i });
271
+ e === "global" && (en.value[a] || (en.value[a] = {}), en.value[a] = { ...en.value[a], ...i }), e === "custom" && (Zt.value[a] || (Zt.value[a] = {}), Zt.value[a] = { ...Zt.value[a], ...i });
269
272
  }
270
- const o = `${rn}-${Ot.value}`;
273
+ const o = `${on}-${Ot.value}`;
271
274
  document.body.classList.contains(o) || document.body.classList.add(o);
272
- }, im = async (t) => {
275
+ }, lm = async (t) => {
273
276
  var r, o;
274
- const e = window[ac];
277
+ const e = window[ic];
275
278
  e && Ho(e, "global");
276
279
  let n = Object.assign(((r = t == null ? void 0 : t.theme) == null ? void 0 : r.glob) || {});
277
280
  (o = t == null ? void 0 : t.microApps) == null || o.map((a) => {
278
281
  var i;
279
282
  n = Object.assign(n, ((i = a.theme) == null ? void 0 : i.glob) || {});
280
283
  }), Object.values(n).filter((a) => !!a).flat().map((a) => Ho(a));
281
- }, cm = (t) => {
282
- document.body.classList.add(`${rn}-light`), t === "light" && document.body.classList.remove(`${rn}-${Ot.value}`), Ot.value = t, document.body.classList.add(`${rn}-${Ot.value}`);
283
- }, cc = (t) => J(() => {
284
+ }, um = (t) => {
285
+ document.body.classList.add(`${on}-light`), t === "light" && document.body.classList.remove(`${on}-${Ot.value}`), Ot.value = t, document.body.classList.add(`${on}-${Ot.value}`);
286
+ }, uc = (t) => J(() => {
284
287
  var e, n, r, o;
285
- return ((n = (e = Zt.value) == null ? void 0 : e[Ot.value]) == null ? void 0 : n[t]) || ((o = (r = Jt.value) == null ? void 0 : r[Ot.value]) == null ? void 0 : o[t]) || t;
286
- }), lm = (t) => `var(${t})`, um = cc, de = et({
288
+ return ((n = (e = en.value) == null ? void 0 : e[Ot.value]) == null ? void 0 : n[t]) || ((o = (r = Zt.value) == null ? void 0 : r[Ot.value]) == null ? void 0 : o[t]) || t;
289
+ }), dm = (t) => `var(${t})`, fm = uc, de = et({
287
290
  visible: !1,
288
291
  theme: "default",
289
292
  logo: "",
@@ -478,12 +481,12 @@ const Ho = (t, e) => {
478
481
  remove: r
479
482
  };
480
483
  }
481
- }, en = et({
484
+ }, tn = et({
482
485
  eventListeners: {}
483
- }), lc = {
486
+ }), dc = {
484
487
  triggerEventListener: (t, e, n) => {
485
488
  var i;
486
- const r = en.eventListeners, { autoRemove: o = !1 } = n || {}, a = [];
489
+ const r = tn.eventListeners, { autoRemove: o = !1 } = n || {}, a = [];
487
490
  for (const c in r) {
488
491
  const l = r[c];
489
492
  l.type === t && a.push(
@@ -496,9 +499,9 @@ const Ho = (t, e) => {
496
499
  },
497
500
  addEventListener: (t, e) => {
498
501
  const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), r = () => {
499
- en.eventListeners[n] && delete en.eventListeners[n];
502
+ tn.eventListeners[n] && delete tn.eventListeners[n];
500
503
  };
501
- return en.eventListeners[n] = {
504
+ return tn.eventListeners[n] = {
502
505
  type: t,
503
506
  handler: async (o) => {
504
507
  try {
@@ -515,7 +518,7 @@ const Ho = (t, e) => {
515
518
  }, jr = et({
516
519
  visible: !1,
517
520
  style: {}
518
- }), uc = {
521
+ }), fc = {
519
522
  set: (t, e) => {
520
523
  jr.visible = t, e || (e = {}), e.transition || (e.transition = "all 0.3s"), e && (jr.style = e);
521
524
  }
@@ -524,19 +527,19 @@ const Ho = (t, e) => {
524
527
  menu: Ge,
525
528
  tab: Oe,
526
529
  overlay: jr,
527
- iframeView: en,
530
+ iframeView: tn,
528
531
  visible: L(!1)
529
532
  }, ae = {
530
533
  nav: Uo,
531
534
  menu: qo,
532
535
  tab: Wo,
533
- overlay: uc,
534
- iframeView: lc,
536
+ overlay: fc,
537
+ iframeView: dc,
535
538
  setVisible: (t) => mt.visible.value = t,
536
539
  setTheme: (t) => {
537
540
  Uo.setTheme(t), qo.setTheme(t), Wo.setTheme(t);
538
541
  }
539
- }, dc = ["name"], fc = ["name"], pc = /* @__PURE__ */ xe({
542
+ }, pc = ["name"], hc = ["name"], xc = /* @__PURE__ */ xe({
540
543
  __name: "das-iframe-router-view",
541
544
  props: {
542
545
  needTransition: { type: Boolean },
@@ -615,7 +618,7 @@ const Ho = (t, e) => {
615
618
  Ye,
616
619
  null,
617
620
  [
618
- t.needTransition ? (N(), re(
621
+ d.needTransition ? (N(), re(
619
622
  Ki,
620
623
  Rr(fn({ key: 0 }, n.value)),
621
624
  {
@@ -631,7 +634,7 @@ const Ho = (t, e) => {
631
634
  (N(), re(Rt(v.componentInstance), {
632
635
  key: v.key
633
636
  }))
634
- ], 8, dc)), [
637
+ ], 8, pc)), [
635
638
  [We, v.componentInstance && p.toLowerCase() === D(o).path.toLowerCase()]
636
639
  ])),
637
640
  128
@@ -644,7 +647,7 @@ const Ho = (t, e) => {
644
647
  16
645
648
  /* FULL_PROPS */
646
649
  )) : Q("v-if", !0),
647
- t.needTransition ? Q("v-if", !0) : (N(!0), ce(
650
+ d.needTransition ? Q("v-if", !0) : (N(!0), ce(
648
651
  Ye,
649
652
  { key: 1 },
650
653
  Nt(i.value, ({ path: p, meta: v }) => je((N(), ce("div", {
@@ -655,7 +658,7 @@ const Ho = (t, e) => {
655
658
  (N(), re(Rt(v.componentInstance), {
656
659
  key: v.key
657
660
  }))
658
- ], 8, fc)), [
661
+ ], 8, hc)), [
659
662
  [We, v.componentInstance && p.toLowerCase() === D(o).path.toLowerCase()]
660
663
  ])),
661
664
  128
@@ -671,25 +674,25 @@ const Ho = (t, e) => {
671
674
  for (const [r, o] of e)
672
675
  n[r] = o;
673
676
  return n;
674
- }, hc = /* @__PURE__ */ Ne(pc, [["__scopeId", "data-v-4bfc711f"]]), xc = { class: "das-web-app-container" }, vc = {
677
+ }, vc = /* @__PURE__ */ Ne(xc, [["__scopeId", "data-v-4bfc711f"]]), gc = { class: "das-web-app-container" }, mc = {
675
678
  key: 0,
676
679
  class: "das-web-app-header"
677
- }, gc = { class: "das-web-app-main" }, mc = {
680
+ }, _c = { class: "das-web-app-main" }, Cc = {
678
681
  key: 0,
679
682
  class: "aside"
680
- }, _c = { class: "das-web-app-main-container" }, Cc = {
683
+ }, yc = { class: "das-web-app-main-container" }, bc = {
681
684
  key: 0,
682
685
  class: "tab"
683
- }, yc = { class: "das-web-app-main-content" }, bc = { class: "banner" }, wc = { class: "das-web-app-main-router-view" }, Ac = {
686
+ }, wc = { class: "das-web-app-main-content" }, Ac = { class: "banner" }, Ec = { class: "das-web-app-main-router-view" }, kc = {
684
687
  key: 0,
685
688
  style: { width: "100%", height: "100%" }
686
- }, Ec = {
689
+ }, Bc = {
687
690
  key: 1,
688
691
  style: { width: "100%", height: "100%" }
689
- }, kc = { style: { width: "100%", height: "100%" } }, Bc = {
692
+ }, Dc = { style: { width: "100%", height: "100%" } }, Sc = {
690
693
  class: "micro-app",
691
694
  style: { height: "100%", width: "100%" }
692
- }, Dc = /* @__PURE__ */ xe({
695
+ }, Ic = /* @__PURE__ */ xe({
693
696
  __name: "das-web-layout",
694
697
  props: {
695
698
  needTransition: { type: Boolean, default: !0 },
@@ -704,7 +707,7 @@ const Ho = (t, e) => {
704
707
  },
705
708
  setup(t) {
706
709
  const e = t;
707
- q0(), W0(), V0();
710
+ W0(), V0(), K0();
708
711
  const n = xn(), r = L(!1), o = L(!1), a = L(!1), i = J(() => r.value && e.showLayout), c = J(() => o.value && e.showLayout && e.showAside), l = J(() => r.value && e.showLayout && e.showTabs), s = J(() => e.routerViewVisible ?? !0), u = J(() => mt.overlay.visible ?? !1), _ = J(() => ({
709
712
  "das-web-app-overlay-show": u.value === !0,
710
713
  "das-web-app-overlay-hide": u.value === !1,
@@ -719,7 +722,7 @@ const Ho = (t, e) => {
719
722
  showTabs: A = !0,
720
723
  app: S
721
724
  } = C;
722
- U0(w);
725
+ q0(w);
723
726
  let I = !0, z = !0, H = !0;
724
727
  (E === !1 || B === !1 || B === "false") && (I = !1, z = !1, H = !1), (k === !1 || y === !1 || y === "false") && (z = !1), (b === !1 || A === !1 || A === "false") && (H = !1), r.value = I, o.value = z, a.value = H;
725
728
  }
@@ -741,7 +744,7 @@ const Ho = (t, e) => {
741
744
  }, h = J(() => mt.visible.value);
742
745
  return (g, C) => {
743
746
  const E = Gi("router-view");
744
- return N(), ce("div", xc, [
747
+ return N(), ce("div", gc, [
745
748
  je(q(
746
749
  "div",
747
750
  {
@@ -756,7 +759,7 @@ const Ho = (t, e) => {
756
759
  ]),
757
760
  i.value ? je((N(), ce(
758
761
  "div",
759
- vc,
762
+ mc,
760
763
  [
761
764
  Be(g.$slots, "header", {}, void 0, !0)
762
765
  ],
@@ -765,10 +768,10 @@ const Ho = (t, e) => {
765
768
  )), [
766
769
  [We, h.value]
767
770
  ]) : Q("v-if", !0),
768
- q("div", gc, [
771
+ q("div", _c, [
769
772
  c.value ? je((N(), ce(
770
773
  "div",
771
- mc,
774
+ Cc,
772
775
  [
773
776
  Be(g.$slots, "aside", {}, void 0, !0)
774
777
  ],
@@ -777,10 +780,10 @@ const Ho = (t, e) => {
777
780
  )), [
778
781
  [We, h.value]
779
782
  ]) : Q("v-if", !0),
780
- q("div", _c, [
783
+ q("div", yc, [
781
784
  l.value ? je((N(), ce(
782
785
  "div",
783
- Cc,
786
+ bc,
784
787
  [
785
788
  Be(g.$slots, "tab", {}, void 0, !0)
786
789
  ],
@@ -789,10 +792,10 @@ const Ho = (t, e) => {
789
792
  )), [
790
793
  [We, h.value]
791
794
  ]) : Q("v-if", !0),
792
- q("div", yc, [
795
+ q("div", wc, [
793
796
  je(q(
794
797
  "div",
795
- bc,
798
+ Ac,
796
799
  [
797
800
  Be(g.$slots, "banner", {}, void 0, !0)
798
801
  ],
@@ -801,14 +804,14 @@ const Ho = (t, e) => {
801
804
  ), [
802
805
  [We, h.value]
803
806
  ]),
804
- q("div", wc, [
807
+ q("div", Ec, [
805
808
  je((N(), ce("div", {
806
- key: t.pageKey,
809
+ key: g.pageKey,
807
810
  style: { width: "100%", height: "100%" }
808
811
  }, [
809
812
  Be(g.$slots, "router-view", {}, () => [
810
813
  Q(" 有动画 "),
811
- t.needTransition ? (N(), re(E, { key: 0 }, {
814
+ g.needTransition ? (N(), re(E, { key: 0 }, {
812
815
  default: V(({ Component: k }) => [
813
816
  Y(
814
817
  Po,
@@ -838,7 +841,7 @@ const Ho = (t, e) => {
838
841
  Rr(Ro(v.value)),
839
842
  {
840
843
  default: V(() => [
841
- !D(n).meta.keepAlive && !D(n).meta.isIframe ? (N(), ce("div", Ac, [
844
+ !D(n).meta.keepAlive && !D(n).meta.isIframe ? (N(), ce("div", kc, [
842
845
  (N(), re(Rt(k), {
843
846
  key: D(n).path
844
847
  }))
@@ -855,7 +858,7 @@ const Ho = (t, e) => {
855
858
  /* STABLE */
856
859
  })) : Q("v-if", !0),
857
860
  Q(" 无动画 "),
858
- t.needTransition ? Q("v-if", !0) : (N(), re(E, { key: 1 }, {
861
+ g.needTransition ? Q("v-if", !0) : (N(), re(E, { key: 1 }, {
859
862
  default: V(({ Component: k }) => [
860
863
  D(n).meta.keepAlive ? (N(), re(Lo, {
861
864
  key: 0,
@@ -865,7 +868,7 @@ const Ho = (t, e) => {
865
868
  key: D(n).path
866
869
  })) : Q("v-if", !0)
867
870
  ], 1032, ["exclude"])) : Q("v-if", !0),
868
- !D(n).meta.keepAlive && !D(n).meta.isIframe ? (N(), ce("div", Ec, [
871
+ !D(n).meta.keepAlive && !D(n).meta.isIframe ? (N(), ce("div", Bc, [
869
872
  (N(), re(Rt(k), {
870
873
  key: D(n).path
871
874
  }))
@@ -876,12 +879,12 @@ const Ho = (t, e) => {
876
879
  })),
877
880
  je(q(
878
881
  "div",
879
- kc,
882
+ Dc,
880
883
  [
881
- Y(hc, {
884
+ Y(vc, {
882
885
  exclude: f.value,
883
886
  transitionConfig: v.value,
884
- needTransition: t.needTransition
887
+ needTransition: g.needTransition
885
888
  }, null, 8, ["exclude", "transitionConfig", "needTransition"])
886
889
  ],
887
890
  512
@@ -895,7 +898,7 @@ const Ho = (t, e) => {
895
898
  ]),
896
899
  je(q(
897
900
  "div",
898
- Bc,
901
+ Sc,
899
902
  [
900
903
  Be(g.$slots, "default", {}, void 0, !0)
901
904
  ],
@@ -911,7 +914,7 @@ const Ho = (t, e) => {
911
914
  ]);
912
915
  };
913
916
  }
914
- }), dm = /* @__PURE__ */ Ne(Dc, [["__scopeId", "data-v-cc197012"]]), Sc = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], fm = /* @__PURE__ */ xe({
917
+ }), pm = /* @__PURE__ */ Ne(Ic, [["__scopeId", "data-v-cc197012"]]), Fc = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], hm = /* @__PURE__ */ xe({
915
918
  __name: "das-web-nav",
916
919
  setup(t) {
917
920
  const { nav: e } = mt, n = J(() => e.theme), r = J(() => e.logo || ""), o = J(() => e.activeItem || ""), a = J(() => (e.items || []).filter((w) => w.fixed)), i = J(() => (e.items || []).filter((w) => !w.fixed)), c = J(() => {
@@ -989,16 +992,16 @@ const Ho = (t, e) => {
989
992
  "on:changeEnterpriseHandle": C,
990
993
  "on:fullScreen": E,
991
994
  "on:openAI": k
992
- }, null, 40, Sc));
995
+ }, null, 40, Fc));
993
996
  }
994
- }), Ic = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"], pm = /* @__PURE__ */ xe({
997
+ }), Tc = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"], xm = /* @__PURE__ */ xe({
995
998
  __name: "das-web-menu",
996
999
  props: {
997
1000
  menuAttr: {}
998
1001
  },
999
1002
  setup(t) {
1000
1003
  const { menu: e } = mt, n = t, r = J(() => e.theme), o = J(() => n.menuAttr || {}), a = J(() => e.items), i = J(() => e.items.find((d) => d.fixed)), c = J(() => e.activeItem || ""), l = J(() => e.collapse || !1), s = J(() => ({ popupClassName: e.popupClassName ?? "" })), u = async (d) => {
1001
- const f = d.detail[0], p = H0(a.value).find((x) => f === x.id);
1004
+ const f = d.detail[0], p = U0(a.value).find((x) => f === x.id);
1002
1005
  await ae.menu.triggerEventListener("onItemClick", p) && ae.menu.setActiveItem(p.id);
1003
1006
  }, _ = (d) => {
1004
1007
  ae.menu.setCollapse(d.detail[0]), ae.menu.triggerEventListener("toggleCollapse", d.detail[0]);
@@ -1014,9 +1017,9 @@ const Ho = (t, e) => {
1014
1017
  }, o.value, {
1015
1018
  onChange: u,
1016
1019
  "on:toggleCollapse": _
1017
- }), null, 16, Ic)) : Q("v-if", !0);
1020
+ }), null, 16, Tc)) : Q("v-if", !0);
1018
1021
  }
1019
- }), Fc = ["theme", "modelValue", "options"], hm = /* @__PURE__ */ xe({
1022
+ }), Pc = ["theme", "modelValue", "options"], vm = /* @__PURE__ */ xe({
1020
1023
  __name: "das-web-tabs",
1021
1024
  props: {
1022
1025
  tabsAttr: {}
@@ -1050,11 +1053,11 @@ const Ho = (t, e) => {
1050
1053
  "on:menuClick": s,
1051
1054
  "on:pageRefresh": u,
1052
1055
  "on:toggleFullScreen": _
1053
- }), null, 16, Fc)) : Q("v-if", !0);
1056
+ }), null, 16, Pc)) : Q("v-if", !0);
1054
1057
  }
1055
1058
  }), Vo = L("/das-micro-app"), Se = L([]), En = L(!1), bn = L([]), wn = L(!0);
1056
1059
  let $e = null, Me = null, Ft = null;
1057
- const Tc = (t) => new Promise((e) => {
1060
+ const Rc = (t) => new Promise((e) => {
1058
1061
  const n = () => {
1059
1062
  if ($e != null && $e[t]) return e();
1060
1063
  setTimeout(() => n(), 50);
@@ -1063,11 +1066,11 @@ const Tc = (t) => new Promise((e) => {
1063
1066
  }), Pt = (t, e, n, r) => {
1064
1067
  var i;
1065
1068
  const { awaitListener: o = !1 } = r || {}, { origin: a } = new URL(location.href);
1066
- o ? Tc(e).then(() => {
1069
+ o ? Rc(e).then(() => {
1067
1070
  var c;
1068
1071
  (c = window.self) == null || c.postMessage({ type: e, data: n }, a);
1069
1072
  }) : (i = window.self) == null || i.postMessage({ type: e, data: n }, a);
1070
- }, Pc = (t) => new Promise((e) => {
1073
+ }, Lc = (t) => new Promise((e) => {
1071
1074
  const n = () => {
1072
1075
  if (Me != null && Me[t]) return e();
1073
1076
  setTimeout(() => n(), 50);
@@ -1076,11 +1079,11 @@ const Tc = (t) => new Promise((e) => {
1076
1079
  }), Kn = (t, e, n) => {
1077
1080
  var a;
1078
1081
  const { awaitListener: r = !1 } = n || {}, { origin: o } = new URL(location.href);
1079
- r ? Pc(t).then(() => {
1082
+ r ? Lc(t).then(() => {
1080
1083
  var i;
1081
1084
  (i = window.self) == null || i.postMessage({ type: t, data: e }, o);
1082
1085
  }) : (a = window.self) == null || a.postMessage({ type: t, data: e }, o);
1083
- }, Rc = () => {
1086
+ }, $c = () => {
1084
1087
  Me || (Me || (Me = {}), window.addEventListener(
1085
1088
  "message",
1086
1089
  (t) => {
@@ -1091,7 +1094,7 @@ const Tc = (t) => new Promise((e) => {
1091
1094
  },
1092
1095
  !1
1093
1096
  ));
1094
- }, Lc = () => {
1097
+ }, Mc = () => {
1095
1098
  $e || ($e || ($e = {}), window.addEventListener(
1096
1099
  "message",
1097
1100
  (t) => {
@@ -1102,16 +1105,16 @@ const Tc = (t) => new Promise((e) => {
1102
1105
  },
1103
1106
  !1
1104
1107
  ));
1105
- }, $c = (t, e) => {
1106
- Lc();
1108
+ }, Oc = (t, e) => {
1109
+ Mc();
1107
1110
  const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8);
1108
1111
  return $e[t] || ($e[t] = {}), $e[t][n] = e, {
1109
1112
  remove: () => {
1110
1113
  $e[t] && $e[t][n] && delete $e[t][n];
1111
1114
  }
1112
1115
  };
1113
- }, Mc = (t, e) => {
1114
- Rc();
1116
+ }, Nc = (t, e) => {
1117
+ $c();
1115
1118
  const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8);
1116
1119
  return Me[t] || (Me[t] = {}), Me[t][n] = e, {
1117
1120
  remove: () => {
@@ -1189,8 +1192,8 @@ const Tc = (t) => new Promise((e) => {
1189
1192
  },
1190
1193
  sendMessageToMicroApp: Pt,
1191
1194
  sendMessageToMainApp: Kn,
1192
- addEventListenerFromMainApp: $c,
1193
- addEventListenerFromMicroApp: Mc,
1195
+ addEventListenerFromMainApp: Oc,
1196
+ addEventListenerFromMicroApp: Nc,
1194
1197
  setMainAppOverlay: (t, e) => {
1195
1198
  Kn("bodyOverlay", { visible: t, style: e });
1196
1199
  },
@@ -1242,19 +1245,19 @@ const Tc = (t) => new Promise((e) => {
1242
1245
  }
1243
1246
  };
1244
1247
  var Ko;
1245
- const ro = typeof window < "u", Oc = (t) => typeof t == "string", Nc = () => {
1248
+ const ro = typeof window < "u", zc = (t) => typeof t == "string", jc = () => {
1246
1249
  };
1247
1250
  ro && ((Ko = window == null ? void 0 : window.navigator) != null && Ko.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1248
1251
  function Rs(t) {
1249
1252
  return typeof t == "function" ? t() : D(t);
1250
1253
  }
1251
- function zc(t) {
1254
+ function Hc(t) {
1252
1255
  return t;
1253
1256
  }
1254
1257
  function Ls(t) {
1255
1258
  return Qi() ? (Yi(t), !0) : !1;
1256
1259
  }
1257
- function jc(t, e = !0) {
1260
+ function Uc(t, e = !0) {
1258
1261
  Ji() ? dt(t) : e ? t() : rt(t);
1259
1262
  }
1260
1263
  function $s(t) {
@@ -1262,11 +1265,11 @@ function $s(t) {
1262
1265
  const n = Rs(t);
1263
1266
  return (e = n == null ? void 0 : n.$el) != null ? e : n;
1264
1267
  }
1265
- const Hc = ro ? window : void 0, Uc = ro ? window.document : void 0;
1266
- function qc(...t) {
1268
+ const qc = ro ? window : void 0, Wc = ro ? window.document : void 0;
1269
+ function Vc(...t) {
1267
1270
  let e, n, r, o;
1268
- if (Oc(t[0]) || Array.isArray(t[0]) ? ([n, r, o] = t, e = Hc) : [e, n, r, o] = t, !e)
1269
- return Nc;
1271
+ if (zc(t[0]) || Array.isArray(t[0]) ? ([n, r, o] = t, e = qc) : [e, n, r, o] = t, !e)
1272
+ return jc;
1270
1273
  Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
1271
1274
  const a = [], i = () => {
1272
1275
  a.forEach((u) => u()), a.length = 0;
@@ -1277,9 +1280,9 @@ function qc(...t) {
1277
1280
  };
1278
1281
  return Ls(s), s;
1279
1282
  }
1280
- function Wc(t, e = !1) {
1283
+ function Kc(t, e = !1) {
1281
1284
  const n = L(), r = () => n.value = !!t();
1282
- return r(), jc(r, e), n;
1285
+ return r(), Uc(r, e), n;
1283
1286
  }
1284
1287
  const Go = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Xo = "__vueuse_ssr_handlers__";
1285
1288
  Go[Xo] = Go[Xo] || {};
@@ -1325,10 +1328,10 @@ const Qo = [
1325
1328
  "MSFullscreenError"
1326
1329
  ]
1327
1330
  ];
1328
- function qt(t, e = {}) {
1329
- const { document: n = Uc, autoExit: r = !1 } = e, o = t || (n == null ? void 0 : n.querySelector("html")), a = L(!1);
1331
+ function Wt(t, e = {}) {
1332
+ const { document: n = Wc, autoExit: r = !1 } = e, o = t || (n == null ? void 0 : n.querySelector("html")), a = L(!1);
1330
1333
  let i = Qo[0];
1331
- const c = Wc(() => {
1334
+ const c = Kc(() => {
1332
1335
  if (n) {
1333
1336
  for (const v of Qo)
1334
1337
  if (v[1] in n)
@@ -1350,7 +1353,7 @@ function qt(t, e = {}) {
1350
1353
  async function p() {
1351
1354
  a.value ? await d() : await f();
1352
1355
  }
1353
- return n && qc(n, _, () => {
1356
+ return n && Vc(n, _, () => {
1354
1357
  a.value = !!(n != null && n[u]);
1355
1358
  }, !1), r && Ls(d), {
1356
1359
  isSupported: c,
@@ -1364,15 +1367,15 @@ var Yo;
1364
1367
  (function(t) {
1365
1368
  t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
1366
1369
  })(Yo || (Yo = {}));
1367
- var Vc = Object.defineProperty, Jo = Object.getOwnPropertySymbols, Kc = Object.prototype.hasOwnProperty, Gc = Object.prototype.propertyIsEnumerable, Zo = (t, e, n) => e in t ? Vc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Xc = (t, e) => {
1370
+ var Gc = Object.defineProperty, Jo = Object.getOwnPropertySymbols, Xc = Object.prototype.hasOwnProperty, Qc = Object.prototype.propertyIsEnumerable, Zo = (t, e, n) => e in t ? Gc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Yc = (t, e) => {
1368
1371
  for (var n in e)
1369
- Kc.call(e, n) && Zo(t, n, e[n]);
1372
+ Xc.call(e, n) && Zo(t, n, e[n]);
1370
1373
  if (Jo)
1371
1374
  for (var n of Jo(e))
1372
- Gc.call(e, n) && Zo(t, n, e[n]);
1375
+ Qc.call(e, n) && Zo(t, n, e[n]);
1373
1376
  return t;
1374
1377
  };
1375
- const Qc = {
1378
+ const Jc = {
1376
1379
  easeInSine: [0.12, 0, 0.39, 0],
1377
1380
  easeOutSine: [0.61, 1, 0.88, 1],
1378
1381
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -1398,10 +1401,10 @@ const Qc = {
1398
1401
  easeOutBack: [0.34, 1.56, 0.64, 1],
1399
1402
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
1400
1403
  };
1401
- Xc({
1402
- linear: zc
1403
- }, Qc);
1404
- const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1404
+ Yc({
1405
+ linear: Hc
1406
+ }, Jc);
1407
+ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1405
1408
  __name: "das-micro-app",
1406
1409
  props: {
1407
1410
  src: {},
@@ -1422,9 +1425,9 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1422
1425
  name: n.name,
1423
1426
  frameborder: "0",
1424
1427
  onLoad: o
1425
- }, null, 40, Yc));
1428
+ }, null, 40, Zc));
1426
1429
  }
1427
- }), Zc = /* @__PURE__ */ Ne(Jc, [["__scopeId", "data-v-8ae871f6"]]), el = /* @__PURE__ */ xe({
1430
+ }), tl = /* @__PURE__ */ Ne(el, [["__scopeId", "data-v-8ae871f6"]]), nl = /* @__PURE__ */ xe({
1428
1431
  __name: "das-micro-apps",
1429
1432
  setup(t) {
1430
1433
  const e = L(null), n = async (a, i) => {
@@ -1471,7 +1474,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1471
1474
  Ye,
1472
1475
  null,
1473
1476
  [
1474
- c.loaded ? je((N(), re(Zc, {
1477
+ c.loaded ? je((N(), re(tl, {
1475
1478
  key: 0,
1476
1479
  src: c.src || "",
1477
1480
  name: c.name,
@@ -1494,7 +1497,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1494
1497
  /* NEED_PATCH */
1495
1498
  ));
1496
1499
  }
1497
- }), tl = /* @__PURE__ */ Ne(el, [["__scopeId", "data-v-3abdb1e9"]]), xm = /* @__PURE__ */ xe({
1500
+ }), rl = /* @__PURE__ */ Ne(nl, [["__scopeId", "data-v-3abdb1e9"]]), gm = /* @__PURE__ */ xe({
1498
1501
  __name: "das-main-app-layout",
1499
1502
  props: {
1500
1503
  transitionConfig: { default: () => {
@@ -1523,16 +1526,16 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1523
1526
  ]),
1524
1527
  aside: V(() => [
1525
1528
  Be(a.$slots, "aside", {}, () => [
1526
- Y(D(vs), { menuAttr: t.menuAttr }, null, 8, ["menuAttr"])
1529
+ Y(D(vs), { menuAttr: a.menuAttr }, null, 8, ["menuAttr"])
1527
1530
  ])
1528
1531
  ]),
1529
1532
  tab: V(() => [
1530
1533
  Be(a.$slots, "tab", {}, () => [
1531
- Y(D(gs), { tabsAttr: t.tabsAttr }, null, 8, ["tabsAttr"])
1534
+ Y(D(gs), { tabsAttr: a.tabsAttr }, null, 8, ["tabsAttr"])
1532
1535
  ])
1533
1536
  ]),
1534
1537
  default: V(() => [
1535
- Y(tl)
1538
+ Y(rl)
1536
1539
  ]),
1537
1540
  _: 3
1538
1541
  /* FORWARDED */
@@ -1547,9 +1550,9 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1547
1550
  }, 300);
1548
1551
  }), (e, n) => null;
1549
1552
  }
1550
- }), nl = (t) => ["http://", "https://", "ws://", "wss://", "/"].find((n) => t.startsWith(n)) ? t : `/${t}`, vm = (t, e) => {
1553
+ }), ol = (t) => ["http://", "https://", "ws://", "wss://", "/"].find((n) => t.startsWith(n)) ? t : `/${t}`, mm = (t, e) => {
1551
1554
  if (!(t != null && t.microApps) || !Array.isArray(t.microApps)) return;
1552
- window.__IN_DAS_MAIN_APP = !0, t != null && t.microAppRouterPrefix && (Vo.value = t.microAppRouterPrefix), Se.value = (t.microApps || []).filter((o) => !!o.name).map((o) => ({ ...o, entry: nl(o.entry || o.name) })), e == null || e.addRoute({
1555
+ window.__IN_DAS_MAIN_APP = !0, t != null && t.microAppRouterPrefix && (Vo.value = t.microAppRouterPrefix), Se.value = (t.microApps || []).filter((o) => !!o.name).map((o) => ({ ...o, entry: ol(o.entry || o.name) })), e == null || e.addRoute({
1553
1556
  name: "das-micro-app",
1554
1557
  path: `${Vo.value}/:pathMatch(.*)*`,
1555
1558
  component: Ms,
@@ -1564,7 +1567,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1564
1567
  const { name: a, cmd: i, path: c } = o.data;
1565
1568
  i === "reload" && me.reloadMicroAppRoute(a, c), i === "unload" && me.unloadMicroAppRoute(a, c);
1566
1569
  });
1567
- const { enter: n, exit: r } = qt();
1570
+ const { enter: n, exit: r } = Wt();
1568
1571
  me.addEventListenerFromMicroApp("fullscreen", (o) => {
1569
1572
  const a = o.data;
1570
1573
  a && n(), a || r();
@@ -1572,7 +1575,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1572
1575
  const { cmd: a, isAutoCloseApp: i } = o.data || {};
1573
1576
  a === "reload" && (i !== void 0 && (window.__isAutoCloseApp = i), location.reload());
1574
1577
  });
1575
- }, gm = (t, e) => {
1578
+ }, _m = (t, e) => {
1576
1579
  if (!(t != null && t.microAppName)) return;
1577
1580
  window.config.microAppName = t.microAppName, window.self !== window.top && t.microAppName && (window.__IN_DAS_MICRO_APP = !0);
1578
1581
  const n = "das-micro-app-ghost";
@@ -1637,13 +1640,13 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1637
1640
  wn.value = !0, bn.value = [];
1638
1641
  }, 100));
1639
1642
  });
1640
- }, sn = "/home", ot = "/application", rl = [
1643
+ }, sn = "/home", ot = "/application", al = [
1641
1644
  { value: sn, label: "首页", path: sn, fixed: !0 },
1642
1645
  { value: ot, label: "应用", path: ot, fixed: !0 }
1643
- ], _t = "/outerView", Os = "/placeholder", ol = {
1646
+ ], _t = "/outerView", Os = "/placeholder", sl = {
1644
1647
  key: 0,
1645
1648
  class: "box-banner-wrap"
1646
- }, al = { class: "icon-wrap" }, sl = /* @__PURE__ */ xe({
1649
+ }, il = { class: "icon-wrap" }, cl = /* @__PURE__ */ xe({
1647
1650
  __name: "banner",
1648
1651
  emits: ["close-tip"],
1649
1652
  setup(t, { emit: e }) {
@@ -1657,9 +1660,9 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1657
1660
  });
1658
1661
  return hs(() => {
1659
1662
  l();
1660
- }), (s, u) => r.value ? Q("v-if", !0) : (N(), ce("div", ol, [
1661
- q("div", al, [
1662
- Y(D(C0), {
1663
+ }), (s, u) => r.value ? Q("v-if", !0) : (N(), ce("div", sl, [
1664
+ q("div", il, [
1665
+ Y(D(y0), {
1663
1666
  class: "icons",
1664
1667
  iconColor: "#fdaf1a"
1665
1668
  }),
@@ -1669,14 +1672,14 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1669
1672
  /* TEXT */
1670
1673
  )
1671
1674
  ]),
1672
- Y(D(y0), {
1675
+ Y(D(b0), {
1673
1676
  class: "icons close-icon",
1674
1677
  iconColor: "#999999",
1675
1678
  onClick: c
1676
1679
  })
1677
1680
  ]));
1678
1681
  }
1679
- }), il = /* @__PURE__ */ Ne(sl, [["__scopeId", "data-v-cb7c6db7"]]), cl = /* @__PURE__ */ xe({
1682
+ }), ll = /* @__PURE__ */ Ne(cl, [["__scopeId", "data-v-cb7c6db7"]]), ul = /* @__PURE__ */ xe({
1680
1683
  __name: "index",
1681
1684
  setup(t) {
1682
1685
  const e = xn(), n = L("");
@@ -1686,9 +1689,9 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1686
1689
  n.value = r;
1687
1690
  },
1688
1691
  { immediate: !0 }
1689
- ), (r, o) => n.value.startsWith("/iot/iot") ? (N(), re(il, { key: 0 })) : Q("v-if", !0);
1692
+ ), (r, o) => n.value.startsWith("/iot/iot") ? (N(), re(ll, { key: 0 })) : Q("v-if", !0);
1690
1693
  }
1691
- }), ll = /* @__PURE__ */ xe({
1694
+ }), dl = /* @__PURE__ */ xe({
1692
1695
  __name: "base-layout",
1693
1696
  props: {
1694
1697
  loading: { type: Boolean, default: !1 },
@@ -1715,7 +1718,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1715
1718
  routeKeepAliveVisible: e.routeKeepAliveVisible
1716
1719
  }));
1717
1720
  return (o, a) => (N(), re(D(Xr), fn({
1718
- pageKey: t.pageKey,
1721
+ pageKey: o.pageKey,
1719
1722
  "transition-config": n.value
1720
1723
  }, r.value), {
1721
1724
  header: V(() => [
@@ -1725,24 +1728,24 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1725
1728
  ]),
1726
1729
  aside: V(() => [
1727
1730
  Be(o.$slots, "aside", {}, () => [
1728
- Y(D(vs), { menuAttr: t.menuAttr }, null, 8, ["menuAttr"])
1731
+ Y(D(vs), { menuAttr: o.menuAttr }, null, 8, ["menuAttr"])
1729
1732
  ])
1730
1733
  ]),
1731
1734
  tab: V(() => [
1732
1735
  Be(o.$slots, "tab", {}, () => [
1733
- Y(D(gs), { tabsAttr: t.tabsAttr }, null, 8, ["tabsAttr"])
1736
+ Y(D(gs), { tabsAttr: o.tabsAttr }, null, 8, ["tabsAttr"])
1734
1737
  ])
1735
1738
  ]),
1736
1739
  banner: V(() => [
1737
1740
  Be(o.$slots, "banner", {}, () => [
1738
- Y(cl)
1741
+ Y(ul)
1739
1742
  ])
1740
1743
  ]),
1741
1744
  _: 3
1742
1745
  /* FORWARDED */
1743
1746
  }, 16, ["pageKey", "transition-config"]));
1744
1747
  }
1745
- }), ul = F0.get("watermark"), dl = /* @__PURE__ */ xe({
1748
+ }), fl = T0.get("watermark"), pl = /* @__PURE__ */ xe({
1746
1749
  __name: "index",
1747
1750
  props: {
1748
1751
  platformInitNextTick: {}
@@ -1770,11 +1773,11 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1770
1773
  }, d = async () => {
1771
1774
  var h, g, C, E, k, b, w;
1772
1775
  s.value = !0, await (e == null ? void 0 : e.platformInitNextTick());
1773
- const [v, x] = await ul().run();
1776
+ const [v, x] = await fl().run();
1774
1777
  if (v) return null;
1775
1778
  if (n.value = x, !!((h = n.value) != null && h.pageSwith)) {
1776
1779
  a.value = [];
1777
- const { name: B, phone: y } = await $0();
1780
+ const { name: B, phone: y } = await M0();
1778
1781
  let A = "";
1779
1782
  if ((g = n.value) != null && g.nameSwith && B && (a.value.push(B), A = A + `${B} `), (C = n.value) != null && C.phoneSwith && y) {
1780
1783
  const S = y.slice(-4);
@@ -1808,7 +1811,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1808
1811
  const v = !!((m = n.value) != null && m.pageSwith);
1809
1812
  let x = ((h = p.query) == null ? void 0 : h.showWatermark) ?? !0;
1810
1813
  x === "false" && (x = !1), _(!!(v && x));
1811
- }), (v, x) => (N(), re(D(O0), {
1814
+ }), (v, x) => (N(), re(D(N0), {
1812
1815
  class: "watermark",
1813
1816
  font: c,
1814
1817
  zIndex: 2147483647,
@@ -1823,11 +1826,11 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1823
1826
  /* FORWARDED */
1824
1827
  }, 8, ["font", "content", "width", "height"]));
1825
1828
  }
1826
- }), fl = /* @__PURE__ */ Ne(dl, [["__scopeId", "data-v-9d1f6b72"]]), pl = {
1829
+ }), hl = /* @__PURE__ */ Ne(pl, [["__scopeId", "data-v-9d1f6b72"]]), xl = {
1827
1830
  "--menu-tip-diaolg-content": "#212121",
1828
1831
  "--menu-tip-diaolg-divide": "#d9d9d9",
1829
1832
  "--menu-tip-diaolg-info": "#999999"
1830
- }, hl = ["innerHTML"], xl = { class: "footer" }, vl = /* @__PURE__ */ xe({
1833
+ }, vl = ["innerHTML"], gl = { class: "footer" }, ml = /* @__PURE__ */ xe({
1831
1834
  __name: "tip",
1832
1835
  props: {
1833
1836
  title: {},
@@ -1842,18 +1845,18 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1842
1845
  "onUpdate:modelValue": r[0] || (r[0] = (o) => e.value = o),
1843
1846
  type: "feedback",
1844
1847
  feedType: "warning",
1845
- width: t.desc && t.desc.length ? 480 : 460,
1846
- height: t.desc && t.desc.length ? 450 : 340,
1847
- title: t.title,
1848
+ width: n.desc && n.desc.length ? 480 : 460,
1849
+ height: n.desc && n.desc.length ? 450 : 340,
1850
+ title: n.title,
1848
1851
  "custom-class": "menu-tip-diaolg",
1849
- onClosed: t.closeCallback
1852
+ onClosed: n.closeCallback
1850
1853
  }, {
1851
1854
  footer: V(() => [
1852
- q("div", xl, [
1855
+ q("div", gl, [
1853
1856
  Y(D(Lt), {
1854
1857
  btnType: "default",
1855
1858
  size: "small",
1856
- onClick: t.closeCallback
1859
+ onClick: n.closeCallback
1857
1860
  }, {
1858
1861
  default: V(() => [
1859
1862
  Xe(
@@ -1870,9 +1873,9 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1870
1873
  default: V(() => [
1871
1874
  q("div", {
1872
1875
  class: "content",
1873
- innerHTML: t.content
1874
- }, null, 8, hl),
1875
- t.desc && t.desc.length ? (N(), ce(
1876
+ innerHTML: n.content
1877
+ }, null, 8, vl),
1878
+ n.desc && n.desc.length ? (N(), ce(
1876
1879
  Ye,
1877
1880
  { key: 0 },
1878
1881
  [
@@ -1886,7 +1889,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1886
1889
  (N(!0), ce(
1887
1890
  Ye,
1888
1891
  null,
1889
- Nt(t.desc, (o, a) => je((N(), ce("div", {
1892
+ Nt(n.desc, (o, a) => je((N(), ce("div", {
1890
1893
  key: a,
1891
1894
  class: "desc-item"
1892
1895
  }, [
@@ -1896,7 +1899,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1896
1899
  /* TEXT */
1897
1900
  )
1898
1901
  ])), [
1899
- [D(D0)]
1902
+ [D(S0)]
1900
1903
  ])),
1901
1904
  128
1902
1905
  /* KEYED_FRAGMENT */
@@ -1910,16 +1913,16 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
1910
1913
  /* STABLE */
1911
1914
  }, 8, ["modelValue", "width", "height", "title", "onClosed"]));
1912
1915
  }
1913
- }), gl = /* @__PURE__ */ Ne(vl, [["__scopeId", "data-v-75a4552b"]]), In = ({ title: t = "", content: e = "", desc: n = [] }) => new Promise((r) => {
1916
+ }), _l = /* @__PURE__ */ Ne(ml, [["__scopeId", "data-v-75a4552b"]]), In = ({ title: t = "", content: e = "", desc: n = [] }) => new Promise((r) => {
1914
1917
  const o = document.createElement("div");
1915
1918
  o.setAttribute("id", "entry-app-dialog"), document.body.appendChild(o);
1916
- const i = we(gl, { title: t, content: e, desc: n, closeCallback: () => {
1917
- tn(null, o), document.body.removeChild(o), r(null);
1919
+ const i = we(_l, { title: t, content: e, desc: n, closeCallback: () => {
1920
+ nn(null, o), document.body.removeChild(o), r(null);
1918
1921
  } });
1919
- tn(i, o);
1922
+ nn(i, o);
1920
1923
  });
1921
- o0(pl);
1922
- const ml = (t = {}) => {
1924
+ o0(xl);
1925
+ const Cl = (t = {}) => {
1923
1926
  var n;
1924
1927
  sessionStorage.setItem("tenantInfo", JSON.stringify(t));
1925
1928
  const e = {
@@ -1929,9 +1932,9 @@ const ml = (t = {}) => {
1929
1932
  tenantId: ((n = t == null ? void 0 : t.tenant) == null ? void 0 : n.id) ?? ""
1930
1933
  };
1931
1934
  sessionStorage.setItem("hotentUserInfo", JSON.stringify(e));
1932
- }, _l = (t = "") => {
1935
+ }, yl = (t = "") => {
1933
1936
  localStorage.setItem("fav-icon", t);
1934
- }, Cl = () => {
1937
+ }, bl = () => {
1935
1938
  sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
1936
1939
  }, He = (t) => {
1937
1940
  let e = Le();
@@ -1976,7 +1979,7 @@ const ml = (t = {}) => {
1976
1979
  for (const n in e.subAppList)
1977
1980
  e.subAppList[n].code === e.currentSubAppCode && (e.subAppList[n].currentMenuCode = t);
1978
1981
  sessionStorage.setItem("subApps", JSON.stringify(e));
1979
- }, yl = (t, e) => {
1982
+ }, wl = (t, e) => {
1980
1983
  const n = "permission-btn", r = JSON.parse(sessionStorage.getItem(n) || "{}") || {}, o = t != null && t.length ? t.filter((l) => l.routeUrl) : [], a = t != null && t.length ? t.filter((l) => !l.routeUrl && l.children).map((l) => l.children).flat() : [], i = [...o, ...a], c = {};
1981
1984
  return i.forEach((l) => {
1982
1985
  var d;
@@ -2006,17 +2009,17 @@ const ml = (t = {}) => {
2006
2009
  c[s].push(v), u && s !== u && (c["origin-auth"] || (c["origin-auth"] = {}), c["origin-auth"][u] || (c["origin-auth"][u] = []), c["origin-auth"][u].push(v));
2007
2010
  }));
2008
2011
  }), r[e] = c, sessionStorage.setItem(n, JSON.stringify(r)), r;
2009
- }, bl = () => {
2012
+ }, Al = () => {
2010
2013
  sessionStorage.removeItem("permission-btn");
2011
- }, wl = (t, e) => {
2014
+ }, El = (t, e) => {
2012
2015
  const n = "breadcrumb", r = t.filter((a) => a.routeUrl), o = JSON.parse(sessionStorage.getItem(n) || "{}") || {};
2013
2016
  return r.forEach((a) => {
2014
2017
  const c = ((a == null ? void 0 : a.style) ?? 1) === 1, l = a.code;
2015
2018
  o[e] || (o[e] = {}), o[e][l] = c;
2016
2019
  }), sessionStorage.setItem(n, JSON.stringify(o)), o;
2017
- }, Al = () => {
2020
+ }, kl = () => {
2018
2021
  sessionStorage.removeItem("breadcrumb");
2019
- }, El = (t, e) => {
2022
+ }, Bl = (t, e) => {
2020
2023
  const n = "tabStyle", r = t.filter((a) => a.routeUrl), o = JSON.parse(sessionStorage.getItem(n) || "{}") || {};
2021
2024
  return r.forEach((a) => {
2022
2025
  const i = a.code, c = {
@@ -2025,13 +2028,13 @@ const ml = (t = {}) => {
2025
2028
  };
2026
2029
  o[e] || (o[e] = {}), o[e][i] = c;
2027
2030
  }), sessionStorage.setItem(n, JSON.stringify(o)), o;
2028
- }, kl = () => {
2029
- sessionStorage.removeItem("tabStyle");
2030
- }, Bl = (t) => {
2031
- sessionStorage.setItem("instance", JSON.stringify(t));
2032
2031
  }, Dl = () => {
2033
- bl(), oo(), Ns(), Al(), kl();
2032
+ sessionStorage.removeItem("tabStyle");
2034
2033
  }, Sl = (t) => {
2034
+ sessionStorage.setItem("instance", JSON.stringify(t));
2035
+ }, Il = () => {
2036
+ Al(), oo(), Ns(), kl(), Dl();
2037
+ }, Fl = (t) => {
2035
2038
  const e = JSON.parse(sessionStorage.getItem(t) || "{}");
2036
2039
  if (e && JSON.stringify(e) !== "{}" && e != null && e.exitConfirmPages && e.exitConfirmPages.length) {
2037
2040
  const n = (e == null ? void 0 : e.currentPage) ?? "";
@@ -2050,10 +2053,10 @@ const ml = (t = {}) => {
2050
2053
  }
2051
2054
  };
2052
2055
  var oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2053
- function Il(t) {
2056
+ function Tl(t) {
2054
2057
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2055
2058
  }
2056
- function Fl(t) {
2059
+ function Pl(t) {
2057
2060
  if (t.__esModule) return t;
2058
2061
  var e = t.default;
2059
2062
  if (typeof e == "function") {
@@ -2073,14 +2076,14 @@ function Fl(t) {
2073
2076
  }), n;
2074
2077
  }
2075
2078
  var js = { exports: {} };
2076
- function Tl(t) {
2079
+ function Rl(t) {
2077
2080
  throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
2078
2081
  }
2079
2082
  var Xn = { exports: {} };
2080
- const Pl = {}, Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2083
+ const Ll = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2081
2084
  __proto__: null,
2082
- default: Pl
2083
- }, Symbol.toStringTag, { value: "Module" })), Ll = /* @__PURE__ */ Fl(Rl);
2085
+ default: Ll
2086
+ }, Symbol.toStringTag, { value: "Module" })), Ml = /* @__PURE__ */ Pl($l);
2084
2087
  var ea;
2085
2088
  function se() {
2086
2089
  return ea || (ea = 1, function(t, e) {
@@ -2089,9 +2092,9 @@ function se() {
2089
2092
  })(oe, function() {
2090
2093
  var n = n || function(r, o) {
2091
2094
  var a;
2092
- if (typeof window < "u" && window.crypto && (a = window.crypto), typeof self < "u" && self.crypto && (a = self.crypto), typeof globalThis < "u" && globalThis.crypto && (a = globalThis.crypto), !a && typeof window < "u" && window.msCrypto && (a = window.msCrypto), !a && typeof oe < "u" && oe.crypto && (a = oe.crypto), !a && typeof Tl == "function")
2095
+ if (typeof window < "u" && window.crypto && (a = window.crypto), typeof self < "u" && self.crypto && (a = self.crypto), typeof globalThis < "u" && globalThis.crypto && (a = globalThis.crypto), !a && typeof window < "u" && window.msCrypto && (a = window.msCrypto), !a && typeof oe < "u" && oe.crypto && (a = oe.crypto), !a && typeof Rl == "function")
2093
2096
  try {
2094
- a = Ll;
2097
+ a = Ml;
2095
2098
  } catch {
2096
2099
  }
2097
2100
  var i = function() {
@@ -2813,7 +2816,7 @@ function $n() {
2813
2816
  }(Qn)), Qn.exports;
2814
2817
  }
2815
2818
  var Yn = { exports: {} }, na;
2816
- function $l() {
2819
+ function Ol() {
2817
2820
  return na || (na = 1, function(t, e) {
2818
2821
  (function(n, r) {
2819
2822
  t.exports = r(se());
@@ -2835,7 +2838,7 @@ function $l() {
2835
2838
  }(Yn)), Yn.exports;
2836
2839
  }
2837
2840
  var Jn = { exports: {} }, ra;
2838
- function Ml() {
2841
+ function Nl() {
2839
2842
  return ra || (ra = 1, function(t, e) {
2840
2843
  (function(n, r) {
2841
2844
  t.exports = r(se());
@@ -3004,7 +3007,7 @@ function Et() {
3004
3007
  }(Zn)), Zn.exports;
3005
3008
  }
3006
3009
  var er = { exports: {} }, aa;
3007
- function Ol() {
3010
+ function zl() {
3008
3011
  return aa || (aa = 1, function(t, e) {
3009
3012
  (function(n, r) {
3010
3013
  t.exports = r(se());
@@ -3248,7 +3251,7 @@ function ao() {
3248
3251
  }(rr)), rr.exports;
3249
3252
  }
3250
3253
  var or = { exports: {} }, la;
3251
- function Nl() {
3254
+ function jl() {
3252
3255
  return la || (la = 1, function(t, e) {
3253
3256
  (function(n, r, o) {
3254
3257
  t.exports = r(se(), ao());
@@ -3388,18 +3391,18 @@ function Us() {
3388
3391
  ]);
3389
3392
  },
3390
3393
  _doProcessBlock: function(p, v) {
3391
- for (var x = this._hash.words, m = x[0], h = x[1], g = x[2], C = x[3], E = x[4], k = x[5], b = x[6], w = x[7], B = m.high, y = m.low, A = h.high, S = h.low, I = g.high, z = g.low, H = C.high, G = C.low, K = E.high, U = E.low, W = k.high, Z = k.low, T = b.high, P = b.low, M = w.high, $ = w.low, ue = B, le = y, De = A, ne = S, xt = I, st = z, vt = H, j = G, R = K, O = U, Te = W, Je = Z, Cn = T, Kt = P, qn = M, Gt = $, Ke = 0; Ke < 80; Ke++) {
3394
+ for (var x = this._hash.words, m = x[0], h = x[1], g = x[2], C = x[3], E = x[4], k = x[5], b = x[6], w = x[7], B = m.high, y = m.low, A = h.high, S = h.low, I = g.high, z = g.low, H = C.high, G = C.low, K = E.high, U = E.low, W = k.high, Z = k.low, T = b.high, P = b.low, M = w.high, $ = w.low, ue = B, le = y, De = A, ne = S, xt = I, st = z, vt = H, j = G, R = K, O = U, Te = W, Je = Z, Cn = T, Gt = P, qn = M, Xt = $, Ke = 0; Ke < 80; Ke++) {
3392
3395
  var qe, it, yn = d[Ke];
3393
3396
  if (Ke < 16)
3394
3397
  it = yn.high = p[v + Ke * 2] | 0, qe = yn.low = p[v + Ke * 2 + 1] | 0;
3395
3398
  else {
3396
- var yo = d[Ke - 15], St = yo.high, Xt = yo.low, Pi = (St >>> 1 | Xt << 31) ^ (St >>> 8 | Xt << 24) ^ St >>> 7, bo = (Xt >>> 1 | St << 31) ^ (Xt >>> 8 | St << 24) ^ (Xt >>> 7 | St << 25), wo = d[Ke - 2], It = wo.high, Qt = wo.low, Ri = (It >>> 19 | Qt << 13) ^ (It << 3 | Qt >>> 29) ^ It >>> 6, Ao = (Qt >>> 19 | It << 13) ^ (Qt << 3 | It >>> 29) ^ (Qt >>> 6 | It << 26), Eo = d[Ke - 7], Li = Eo.high, $i = Eo.low, ko = d[Ke - 16], Mi = ko.high, Bo = ko.low;
3399
+ var yo = d[Ke - 15], St = yo.high, Qt = yo.low, Pi = (St >>> 1 | Qt << 31) ^ (St >>> 8 | Qt << 24) ^ St >>> 7, bo = (Qt >>> 1 | St << 31) ^ (Qt >>> 8 | St << 24) ^ (Qt >>> 7 | St << 25), wo = d[Ke - 2], It = wo.high, Yt = wo.low, Ri = (It >>> 19 | Yt << 13) ^ (It << 3 | Yt >>> 29) ^ It >>> 6, Ao = (Yt >>> 19 | It << 13) ^ (Yt << 3 | It >>> 29) ^ (Yt >>> 6 | It << 26), Eo = d[Ke - 7], Li = Eo.high, $i = Eo.low, ko = d[Ke - 16], Mi = ko.high, Bo = ko.low;
3397
3400
  qe = bo + $i, it = Pi + Li + (qe >>> 0 < bo >>> 0 ? 1 : 0), qe = qe + Ao, it = it + Ri + (qe >>> 0 < Ao >>> 0 ? 1 : 0), qe = qe + Bo, it = it + Mi + (qe >>> 0 < Bo >>> 0 ? 1 : 0), yn.high = it, yn.low = qe;
3398
3401
  }
3399
- var Oi = R & Te ^ ~R & Cn, Do = O & Je ^ ~O & Kt, Ni = ue & De ^ ue & xt ^ De & xt, zi = le & ne ^ le & st ^ ne & st, ji = (ue >>> 28 | le << 4) ^ (ue << 30 | le >>> 2) ^ (ue << 25 | le >>> 7), So = (le >>> 28 | ue << 4) ^ (le << 30 | ue >>> 2) ^ (le << 25 | ue >>> 7), Hi = (R >>> 14 | O << 18) ^ (R >>> 18 | O << 14) ^ (R << 23 | O >>> 9), Ui = (O >>> 14 | R << 18) ^ (O >>> 18 | R << 14) ^ (O << 23 | R >>> 9), Io = _[Ke], qi = Io.high, Fo = Io.low, ze = Gt + Ui, ct = qn + Hi + (ze >>> 0 < Gt >>> 0 ? 1 : 0), ze = ze + Do, ct = ct + Oi + (ze >>> 0 < Do >>> 0 ? 1 : 0), ze = ze + Fo, ct = ct + qi + (ze >>> 0 < Fo >>> 0 ? 1 : 0), ze = ze + qe, ct = ct + it + (ze >>> 0 < qe >>> 0 ? 1 : 0), To = So + zi, Wi = ji + Ni + (To >>> 0 < So >>> 0 ? 1 : 0);
3400
- qn = Cn, Gt = Kt, Cn = Te, Kt = Je, Te = R, Je = O, O = j + ze | 0, R = vt + ct + (O >>> 0 < j >>> 0 ? 1 : 0) | 0, vt = xt, j = st, xt = De, st = ne, De = ue, ne = le, le = ze + To | 0, ue = ct + Wi + (le >>> 0 < ze >>> 0 ? 1 : 0) | 0;
3402
+ var Oi = R & Te ^ ~R & Cn, Do = O & Je ^ ~O & Gt, Ni = ue & De ^ ue & xt ^ De & xt, zi = le & ne ^ le & st ^ ne & st, ji = (ue >>> 28 | le << 4) ^ (ue << 30 | le >>> 2) ^ (ue << 25 | le >>> 7), So = (le >>> 28 | ue << 4) ^ (le << 30 | ue >>> 2) ^ (le << 25 | ue >>> 7), Hi = (R >>> 14 | O << 18) ^ (R >>> 18 | O << 14) ^ (R << 23 | O >>> 9), Ui = (O >>> 14 | R << 18) ^ (O >>> 18 | R << 14) ^ (O << 23 | R >>> 9), Io = _[Ke], qi = Io.high, Fo = Io.low, ze = Xt + Ui, ct = qn + Hi + (ze >>> 0 < Xt >>> 0 ? 1 : 0), ze = ze + Do, ct = ct + Oi + (ze >>> 0 < Do >>> 0 ? 1 : 0), ze = ze + Fo, ct = ct + qi + (ze >>> 0 < Fo >>> 0 ? 1 : 0), ze = ze + qe, ct = ct + it + (ze >>> 0 < qe >>> 0 ? 1 : 0), To = So + zi, Wi = ji + Ni + (To >>> 0 < So >>> 0 ? 1 : 0);
3403
+ qn = Cn, Xt = Gt, Cn = Te, Gt = Je, Te = R, Je = O, O = j + ze | 0, R = vt + ct + (O >>> 0 < j >>> 0 ? 1 : 0) | 0, vt = xt, j = st, xt = De, st = ne, De = ue, ne = le, le = ze + To | 0, ue = ct + Wi + (le >>> 0 < ze >>> 0 ? 1 : 0) | 0;
3401
3404
  }
3402
- y = m.low = y + le, m.high = B + ue + (y >>> 0 < le >>> 0 ? 1 : 0), S = h.low = S + ne, h.high = A + De + (S >>> 0 < ne >>> 0 ? 1 : 0), z = g.low = z + st, g.high = I + xt + (z >>> 0 < st >>> 0 ? 1 : 0), G = C.low = G + j, C.high = H + vt + (G >>> 0 < j >>> 0 ? 1 : 0), U = E.low = U + O, E.high = K + R + (U >>> 0 < O >>> 0 ? 1 : 0), Z = k.low = Z + Je, k.high = W + Te + (Z >>> 0 < Je >>> 0 ? 1 : 0), P = b.low = P + Kt, b.high = T + Cn + (P >>> 0 < Kt >>> 0 ? 1 : 0), $ = w.low = $ + Gt, w.high = M + qn + ($ >>> 0 < Gt >>> 0 ? 1 : 0);
3405
+ y = m.low = y + le, m.high = B + ue + (y >>> 0 < le >>> 0 ? 1 : 0), S = h.low = S + ne, h.high = A + De + (S >>> 0 < ne >>> 0 ? 1 : 0), z = g.low = z + st, g.high = I + xt + (z >>> 0 < st >>> 0 ? 1 : 0), G = C.low = G + j, C.high = H + vt + (G >>> 0 < j >>> 0 ? 1 : 0), U = E.low = U + O, E.high = K + R + (U >>> 0 < O >>> 0 ? 1 : 0), Z = k.low = Z + Je, k.high = W + Te + (Z >>> 0 < Je >>> 0 ? 1 : 0), P = b.low = P + Gt, b.high = T + Cn + (P >>> 0 < Gt >>> 0 ? 1 : 0), $ = w.low = $ + Xt, w.high = M + qn + ($ >>> 0 < Xt >>> 0 ? 1 : 0);
3403
3406
  },
3404
3407
  _doFinalize: function() {
3405
3408
  var p = this._data, v = p.words, x = this._nDataBytes * 8, m = p.sigBytes * 8;
@@ -3419,7 +3422,7 @@ function Us() {
3419
3422
  }(ar)), ar.exports;
3420
3423
  }
3421
3424
  var sr = { exports: {} }, da;
3422
- function zl() {
3425
+ function Hl() {
3423
3426
  return da || (da = 1, function(t, e) {
3424
3427
  (function(n, r, o) {
3425
3428
  t.exports = r(se(), $n(), Us());
@@ -3449,7 +3452,7 @@ function zl() {
3449
3452
  }(sr)), sr.exports;
3450
3453
  }
3451
3454
  var ir = { exports: {} }, fa;
3452
- function jl() {
3455
+ function Ul() {
3453
3456
  return fa || (fa = 1, function(t, e) {
3454
3457
  (function(n, r, o) {
3455
3458
  t.exports = r(se(), $n());
@@ -3559,7 +3562,7 @@ function jl() {
3559
3562
  }(ir)), ir.exports;
3560
3563
  }
3561
3564
  var cr = { exports: {} }, pa;
3562
- function Hl() {
3565
+ function ql() {
3563
3566
  return pa || (pa = 1, function(t, e) {
3564
3567
  (function(n, r) {
3565
3568
  t.exports = r(se());
@@ -4030,7 +4033,7 @@ function so() {
4030
4033
  }(lr)), lr.exports;
4031
4034
  }
4032
4035
  var ur = { exports: {} }, xa;
4033
- function Ul() {
4036
+ function Wl() {
4034
4037
  return xa || (xa = 1, function(t, e) {
4035
4038
  (function(n, r, o) {
4036
4039
  t.exports = r(se(), ao(), so());
@@ -4698,7 +4701,7 @@ function Ee() {
4698
4701
  }(fr)), fr.exports;
4699
4702
  }
4700
4703
  var pr = { exports: {} }, ma;
4701
- function ql() {
4704
+ function Vl() {
4702
4705
  return ma || (ma = 1, function(t, e) {
4703
4706
  (function(n, r, o) {
4704
4707
  t.exports = r(se(), Ee());
@@ -4728,7 +4731,7 @@ function ql() {
4728
4731
  }(pr)), pr.exports;
4729
4732
  }
4730
4733
  var hr = { exports: {} }, _a;
4731
- function Wl() {
4734
+ function Kl() {
4732
4735
  return _a || (_a = 1, function(t, e) {
4733
4736
  (function(n, r, o) {
4734
4737
  t.exports = r(se(), Ee());
@@ -4750,7 +4753,7 @@ function Wl() {
4750
4753
  }(hr)), hr.exports;
4751
4754
  }
4752
4755
  var xr = { exports: {} }, Ca;
4753
- function Vl() {
4756
+ function Gl() {
4754
4757
  return Ca || (Ca = 1, function(t, e) {
4755
4758
  (function(n, r, o) {
4756
4759
  t.exports = r(se(), Ee());
@@ -4789,7 +4792,7 @@ function Vl() {
4789
4792
  }(xr)), xr.exports;
4790
4793
  }
4791
4794
  var vr = { exports: {} }, ya;
4792
- function Kl() {
4795
+ function Xl() {
4793
4796
  return ya || (ya = 1, function(t, e) {
4794
4797
  (function(n, r, o) {
4795
4798
  t.exports = r(se(), Ee());
@@ -4809,7 +4812,7 @@ function Kl() {
4809
4812
  }(vr)), vr.exports;
4810
4813
  }
4811
4814
  var gr = { exports: {} }, ba;
4812
- function Gl() {
4815
+ function Ql() {
4813
4816
  return ba || (ba = 1, function(t, e) {
4814
4817
  (function(n, r, o) {
4815
4818
  t.exports = r(se(), Ee());
@@ -4830,7 +4833,7 @@ function Gl() {
4830
4833
  }(gr)), gr.exports;
4831
4834
  }
4832
4835
  var mr = { exports: {} }, wa;
4833
- function Xl() {
4836
+ function Yl() {
4834
4837
  return wa || (wa = 1, function(t, e) {
4835
4838
  (function(n, r, o) {
4836
4839
  t.exports = r(se(), Ee());
@@ -4849,7 +4852,7 @@ function Xl() {
4849
4852
  }(mr)), mr.exports;
4850
4853
  }
4851
4854
  var _r = { exports: {} }, Aa;
4852
- function Ql() {
4855
+ function Jl() {
4853
4856
  return Aa || (Aa = 1, function(t, e) {
4854
4857
  (function(n, r, o) {
4855
4858
  t.exports = r(se(), Ee());
@@ -4868,7 +4871,7 @@ function Ql() {
4868
4871
  }(_r)), _r.exports;
4869
4872
  }
4870
4873
  var Cr = { exports: {} }, Ea;
4871
- function Yl() {
4874
+ function Zl() {
4872
4875
  return Ea || (Ea = 1, function(t, e) {
4873
4876
  (function(n, r, o) {
4874
4877
  t.exports = r(se(), Ee());
@@ -4885,7 +4888,7 @@ function Yl() {
4885
4888
  }(Cr)), Cr.exports;
4886
4889
  }
4887
4890
  var yr = { exports: {} }, ka;
4888
- function Jl() {
4891
+ function eu() {
4889
4892
  return ka || (ka = 1, function(t, e) {
4890
4893
  (function(n, r, o) {
4891
4894
  t.exports = r(se(), Ee());
@@ -4907,7 +4910,7 @@ function Jl() {
4907
4910
  }(yr)), yr.exports;
4908
4911
  }
4909
4912
  var br = { exports: {} }, Ba;
4910
- function Zl() {
4913
+ function tu() {
4911
4914
  return Ba || (Ba = 1, function(t, e) {
4912
4915
  (function(n, r, o) {
4913
4916
  t.exports = r(se(), Ee());
@@ -4922,7 +4925,7 @@ function Zl() {
4922
4925
  }(br)), br.exports;
4923
4926
  }
4924
4927
  var wr = { exports: {} }, Da;
4925
- function eu() {
4928
+ function nu() {
4926
4929
  return Da || (Da = 1, function(t, e) {
4927
4930
  (function(n, r, o) {
4928
4931
  t.exports = r(se(), Ee());
@@ -4969,7 +4972,7 @@ function eu() {
4969
4972
  }(wr)), wr.exports;
4970
4973
  }
4971
4974
  var Ar = { exports: {} }, Sa;
4972
- function tu() {
4975
+ function ru() {
4973
4976
  return Sa || (Sa = 1, function(t, e) {
4974
4977
  (function(n, r, o) {
4975
4978
  t.exports = r(se(), Et(), kt(), ht(), Ee());
@@ -5029,7 +5032,7 @@ function tu() {
5029
5032
  }(Ar)), Ar.exports;
5030
5033
  }
5031
5034
  var Er = { exports: {} }, Ia;
5032
- function nu() {
5035
+ function ou() {
5033
5036
  return Ia || (Ia = 1, function(t, e) {
5034
5037
  (function(n, r, o) {
5035
5038
  t.exports = r(se(), Et(), kt(), ht(), Ee());
@@ -5749,7 +5752,7 @@ function nu() {
5749
5752
  }(Er)), Er.exports;
5750
5753
  }
5751
5754
  var kr = { exports: {} }, Fa;
5752
- function ru() {
5755
+ function au() {
5753
5756
  return Fa || (Fa = 1, function(t, e) {
5754
5757
  (function(n, r, o) {
5755
5758
  t.exports = r(se(), Et(), kt(), ht(), Ee());
@@ -5803,7 +5806,7 @@ function ru() {
5803
5806
  }(kr)), kr.exports;
5804
5807
  }
5805
5808
  var Br = { exports: {} }, Ta;
5806
- function ou() {
5809
+ function su() {
5807
5810
  return Ta || (Ta = 1, function(t, e) {
5808
5811
  (function(n, r, o) {
5809
5812
  t.exports = r(se(), Et(), kt(), ht(), Ee());
@@ -5869,7 +5872,7 @@ function ou() {
5869
5872
  }(Br)), Br.exports;
5870
5873
  }
5871
5874
  var Dr = { exports: {} }, Pa;
5872
- function au() {
5875
+ function iu() {
5873
5876
  return Pa || (Pa = 1, function(t, e) {
5874
5877
  (function(n, r, o) {
5875
5878
  t.exports = r(se(), Et(), kt(), ht(), Ee());
@@ -5933,7 +5936,7 @@ function au() {
5933
5936
  }(Dr)), Dr.exports;
5934
5937
  }
5935
5938
  var Sr = { exports: {} }, Ra;
5936
- function su() {
5939
+ function cu() {
5937
5940
  return Ra || (Ra = 1, function(t, e) {
5938
5941
  (function(n, r, o) {
5939
5942
  t.exports = r(se(), Et(), kt(), ht(), Ee());
@@ -7056,16 +7059,16 @@ function su() {
7056
7059
  }
7057
7060
  (function(t, e) {
7058
7061
  (function(n, r, o) {
7059
- t.exports = r(se(), $n(), $l(), Ml(), Et(), Ol(), kt(), Hs(), ao(), Nl(), Us(), zl(), jl(), Hl(), so(), Ul(), ht(), Ee(), ql(), Wl(), Vl(), Kl(), Gl(), Xl(), Ql(), Yl(), Jl(), Zl(), eu(), tu(), nu(), ru(), ou(), au(), su());
7062
+ t.exports = r(se(), $n(), Ol(), Nl(), Et(), zl(), kt(), Hs(), ao(), jl(), Us(), Hl(), Ul(), ql(), so(), Wl(), ht(), Ee(), Vl(), Kl(), Gl(), Xl(), Ql(), Yl(), Jl(), Zl(), eu(), tu(), nu(), ru(), ou(), au(), su(), iu(), cu());
7060
7063
  })(oe, function(n) {
7061
7064
  return n;
7062
7065
  });
7063
7066
  })(js);
7064
- var iu = js.exports;
7065
- const Re = /* @__PURE__ */ Il(iu);
7066
- function cu(t, e, n, r) {
7067
+ var lu = js.exports;
7068
+ const Re = /* @__PURE__ */ Tl(lu);
7069
+ function uu(t, e, n, r) {
7067
7070
  qs(t, e).then(({ input: o, key: a }) => Vs(o, a, n, !0, r)).then((o) => {
7068
- lu.apply(null, o);
7071
+ du.apply(null, o);
7069
7072
  }).catch((o) => {
7070
7073
  r({
7071
7074
  value: null,
@@ -7073,16 +7076,16 @@ function cu(t, e, n, r) {
7073
7076
  });
7074
7077
  });
7075
7078
  }
7076
- function lu(t, e, n, r, o, a, i, c) {
7079
+ function du(t, e, n, r, o, a, i, c) {
7077
7080
  let l = Ws(e, n, r, o, a), s = Re.AES.encrypt.apply(null, [t, l.key, l.options]), u = i === "base64" ? Re.enc.Base64 : Re.enc.Hex, _ = s.ciphertext.toString(u);
7078
7081
  c({
7079
7082
  value: _,
7080
7083
  error: null
7081
7084
  });
7082
7085
  }
7083
- function uu(t, e, n, r) {
7086
+ function fu(t, e, n, r) {
7084
7087
  qs(t, e).then(({ input: o, key: a }) => Vs(o, a, n, !1, r)).then((o) => {
7085
- du.apply(null, o);
7088
+ pu.apply(null, o);
7086
7089
  }).catch((o) => {
7087
7090
  r({
7088
7091
  value: null,
@@ -7090,7 +7093,7 @@ function uu(t, e, n, r) {
7090
7093
  });
7091
7094
  });
7092
7095
  }
7093
- function du(t, e, n, r, o, a, i, c) {
7096
+ function pu(t, e, n, r, o, a, i, c) {
7094
7097
  let l = Ws(e, n, r, o, a), s = Re.DES.encrypt.apply(null, [t, l.key, l.options]), u = i === "base64" ? Re.enc.Base64 : Re.enc.Hex, _ = s.ciphertext.toString(u);
7095
7098
  c({
7096
7099
  value: _,
@@ -7119,7 +7122,7 @@ function Ws(t, e, n, r, o) {
7119
7122
  async function Vs(t, e, n, r = !1, o) {
7120
7123
  let a;
7121
7124
  try {
7122
- a = await fu(n);
7125
+ a = await hu(n);
7123
7126
  } catch (u) {
7124
7127
  return Promise.reject(u);
7125
7128
  }
@@ -7128,39 +7131,39 @@ async function Vs(t, e, n, r = !1, o) {
7128
7131
  return Promise.reject("非ECB模式iv不能为空");
7129
7132
  let c;
7130
7133
  try {
7131
- c = await pu(n, r);
7134
+ c = await xu(n, r);
7132
7135
  } catch (u) {
7133
7136
  return Promise.reject(u);
7134
7137
  }
7135
7138
  let l;
7136
7139
  try {
7137
- l = await hu(n);
7140
+ l = await vu(n);
7138
7141
  } catch (u) {
7139
7142
  return Promise.reject(u);
7140
7143
  }
7141
7144
  let s;
7142
7145
  try {
7143
- s = await xu(n);
7146
+ s = await gu(n);
7144
7147
  } catch (u) {
7145
7148
  return Promise.reject(u);
7146
7149
  }
7147
7150
  return [t, e, c, i, a, l, s, o];
7148
7151
  }
7149
- async function fu(t) {
7152
+ async function hu(t) {
7150
7153
  let { mode: e = "CBC" } = t || {};
7151
7154
  return e = e.trim().toUpperCase(), ["CBC", "CFB", "OFB", "ECB"].indexOf(e) === -1 ? Promise.reject("mode模式配置错误") : e;
7152
7155
  }
7153
- async function pu(t, e = !1) {
7156
+ async function xu(t, e = !1) {
7154
7157
  if (!e)
7155
7158
  return 8;
7156
7159
  let { keySize: n = 0 } = t || {};
7157
7160
  return [16, 24, 32].indexOf(n) !== -1 ? n : Promise.reject("keySize配置错误");
7158
7161
  }
7159
- async function hu(t) {
7162
+ async function vu(t) {
7160
7163
  let { padding: e = "pkcs7" } = t || {};
7161
7164
  return e = e.trim().toLowerCase(), ["pkcs7", "pkcs5", "zero", "iso10126", "ansix923"].indexOf(e) !== -1 ? e : Promise.reject("padding配置错误");
7162
7165
  }
7163
- async function xu(t) {
7166
+ async function gu(t) {
7164
7167
  let { encoding: e = "base64" } = t || {};
7165
7168
  return e = e.trim().toLowerCase(), ["base64", "hex"].indexOf(e) !== -1 ? e : Promise.reject("encoding配置错误");
7166
7169
  }
@@ -7175,10 +7178,10 @@ function La(t, e) {
7175
7178
  }
7176
7179
  return Re.enc.Latin1.parse(n);
7177
7180
  }
7178
- const vu = {
7179
- aes: cu,
7180
- des: uu
7181
- }, gu = (t = {}, e) => {
7181
+ const mu = {
7182
+ aes: uu,
7183
+ des: fu
7184
+ }, _u = (t = {}, e) => {
7182
7185
  const n = { aes: "aes", des: "des" }, r = {
7183
7186
  pkcs5padding: "Pkcs5",
7184
7187
  pkcs7padding: "Pkcs7",
@@ -7188,7 +7191,7 @@ const vu = {
7188
7191
  }, o = { hex: "hex", base64: "base64" };
7189
7192
  let a = t.encryptType || "", i = n[a.toLowerCase()], c = t.encryptMode || "", l = t.encryptKey || "", s = t.encryptOffset || "", u = t.encryptPadding || "", _ = r[u.toLowerCase()], d = t.codingMode || "", f = o[d.toLowerCase()], v = (Number(t.encryptKeyLength) || 0) / 8;
7190
7193
  return new Promise((x) => {
7191
- i !== "aes" && i !== "des" ? x({ error: "加密类型出错==", value: null }) : vu[i](e, l, { mode: c, keySize: v, padding: _, encoding: f, iv: s }, (m) => {
7194
+ i !== "aes" && i !== "des" ? x({ error: "加密类型出错==", value: null }) : mu[i](e, l, { mode: c, keySize: v, padding: _, encoding: f, iv: s }, (m) => {
7192
7195
  x(m);
7193
7196
  });
7194
7197
  });
@@ -7215,7 +7218,7 @@ async function Xs(t) {
7215
7218
  CURRENT_PROJECT: ut().id
7216
7219
  }[t];
7217
7220
  }
7218
- async function mu(t) {
7221
+ async function Cu(t) {
7219
7222
  if (typeof t != "string") return "";
7220
7223
  let e = null;
7221
7224
  try {
@@ -7238,7 +7241,7 @@ async function mu(t) {
7238
7241
  }
7239
7242
  return JSON.stringify(n);
7240
7243
  }
7241
- async function _u(t) {
7244
+ async function yu(t) {
7242
7245
  let e = {};
7243
7246
  for (let n = 0; n < t.length; n++) {
7244
7247
  let r = t[n] || {}, { attributeContentEnum: o, paramName: a, attributeContent: i, paramType: c, isEncrypted: l } = r, s = a, u = i;
@@ -7246,11 +7249,11 @@ async function _u(t) {
7246
7249
  if (!ft())
7247
7250
  return ks({ ...Bs, redirect_uri: Ds }), "goLogin";
7248
7251
  u = await Xs(o);
7249
- } else if (c === Ks.JSON && (u = await mu(i), u === "goLogin"))
7252
+ } else if (c === Ks.JSON && (u = await Cu(i), u === "goLogin"))
7250
7253
  return "goLogin";
7251
7254
  if (s && u) {
7252
7255
  if (l) {
7253
- let _ = await gu(r, u);
7256
+ let _ = await _u(r, u);
7254
7257
  _.error, u = _.value ?? "";
7255
7258
  }
7256
7259
  e[s] = u;
@@ -7258,7 +7261,7 @@ async function _u(t) {
7258
7261
  }
7259
7262
  return e;
7260
7263
  }
7261
- function Cu(t) {
7264
+ function bu(t) {
7262
7265
  let e = {}, n = t.split("&");
7263
7266
  for (let r = 0; r < n.length; r++) {
7264
7267
  let a = n[r].split("=");
@@ -7269,35 +7272,35 @@ function Cu(t) {
7269
7272
  }
7270
7273
  return e;
7271
7274
  }
7272
- function yu(t) {
7275
+ function wu(t) {
7273
7276
  return Object.keys(t).map((e) => `${e}=${t[e]}`).join("&");
7274
7277
  }
7275
- function bu(t, e) {
7278
+ function Au(t, e) {
7276
7279
  let n = t.split("?").filter((s) => s.length > 0), r = Object.keys(e).map((s) => {
7277
7280
  let u = e[s];
7278
7281
  return `${encodeURIComponent(s)}=${encodeURIComponent(u)}`;
7279
7282
  }).join("&");
7280
7283
  if (n.length !== 2)
7281
7284
  return r.length > 0 ? `${t}?${r}` : t;
7282
- let o = n[0], a = Cu(n[1]), i = /* @__PURE__ */ new Set();
7285
+ let o = n[0], a = bu(n[1]), i = /* @__PURE__ */ new Set();
7283
7286
  Object.keys(a).forEach((s) => {
7284
7287
  e[s] && i.add(s);
7285
7288
  }), i.forEach((s) => {
7286
7289
  delete a[s];
7287
7290
  });
7288
- let c = r, l = yu(a);
7291
+ let c = r, l = wu(a);
7289
7292
  return l.length > 0 && (r.length > 0 ? c = `${l}&${r}` : c = l), c.length > 0 ? `${o}?${c}` : o;
7290
7293
  }
7291
7294
  const Qs = async (t, e) => {
7292
- const n = await _u(e);
7293
- return n === "goLogin" ? "" : bu(t, n) ?? "";
7295
+ const n = await yu(e);
7296
+ return n === "goLogin" ? "" : Au(t, n) ?? "";
7294
7297
  }, Hr = (t) => {
7295
7298
  const e = new URL(t, location.origin);
7296
- return ["true", "1"].includes(e.searchParams.get("autoSetToken")) && (e.searchParams.append("access_token", k0()), e.searchParams.delete("autoSetToken")), e.toString();
7297
- }, Ys = "v1", wu = pt(`/api/personal-center/personal-server/${Ys}`), Au = pt(`/api/enterpriseright/permission/${Ys}`), Eu = wu.get("/info"), ku = As.get("/user-info");
7298
- Au.get("/user/tenant");
7299
+ return ["true", "1"].includes(e.searchParams.get("autoSetToken")) && (e.searchParams.append("access_token", B0()), e.searchParams.delete("autoSetToken")), e.toString();
7300
+ }, Ys = "v1", Eu = pt(`/api/personal-center/personal-server/${Ys}`), ku = pt(`/api/enterpriseright/permission/${Ys}`), Bu = Eu.get("/info"), Du = As.get("/user-info");
7301
+ ku.get("/user/tenant");
7299
7302
  Yr.post("/tenant/page");
7300
- const Bu = "v1", Du = pt(`/api/user-portrait/user-data/${Bu}`), Js = Du.post("/data/actions", (t) => (t.ignoreErrorMessage = !0, t)), Zs = "pc", ei = "pc", Su = async (t) => {
7303
+ const Su = "v1", Iu = pt(`/api/user-portrait/user-data/${Su}`), Js = Iu.post("/data/actions", (t) => (t.ignoreErrorMessage = !0, t)), Zs = "pc", ei = "pc", Fu = async (t) => {
7301
7304
  const e = JSON.parse(sessionStorage.getItem("access-sys") || "{}");
7302
7305
  (e == null ? void 0 : e.projectId) !== t && (await Js().run({
7303
7306
  action: "access-sys",
@@ -7319,14 +7322,14 @@ const Bu = "v1", Du = pt(`/api/user-portrait/user-data/${Bu}`), Js = Du.post("/d
7319
7322
  displayMenuName: o
7320
7323
  }
7321
7324
  });
7322
- }, Iu = async () => {
7323
- const [t, e] = await Eu().run({});
7324
- return t ? { personalConfig: null } : (Su(ut().id), { personalConfig: e });
7325
- }, Fu = async () => {
7326
- const [t, e] = await ku().run();
7327
- return t ? { tenantConfig: null } : (ml(e), { tenantConfig: e });
7328
- }, Tu = Jr.get("/permissionset/user-portal-menu"), Pu = A0.deviceManage.get("/instance/getLast");
7329
- function Ru() {
7325
+ }, Tu = async () => {
7326
+ const [t, e] = await Bu().run({});
7327
+ return t ? { personalConfig: null } : (Fu(ut().id), { personalConfig: e });
7328
+ }, Pu = async () => {
7329
+ const [t, e] = await Du().run();
7330
+ return t ? { tenantConfig: null } : (Cl(e), { tenantConfig: e });
7331
+ }, Ru = Jr.get("/permissionset/user-portal-menu"), Lu = E0.deviceManage.get("/instance/getLast");
7332
+ function $u() {
7330
7333
  this.__data__ = [], this.size = 0;
7331
7334
  }
7332
7335
  function ni(t, e) {
@@ -7338,22 +7341,22 @@ function Mn(t, e) {
7338
7341
  return n;
7339
7342
  return -1;
7340
7343
  }
7341
- var Lu = Array.prototype, $u = Lu.splice;
7342
- function Mu(t) {
7344
+ var Mu = Array.prototype, Ou = Mu.splice;
7345
+ function Nu(t) {
7343
7346
  var e = this.__data__, n = Mn(e, t);
7344
7347
  if (n < 0)
7345
7348
  return !1;
7346
7349
  var r = e.length - 1;
7347
- return n == r ? e.pop() : $u.call(e, n, 1), --this.size, !0;
7350
+ return n == r ? e.pop() : Ou.call(e, n, 1), --this.size, !0;
7348
7351
  }
7349
- function Ou(t) {
7352
+ function zu(t) {
7350
7353
  var e = this.__data__, n = Mn(e, t);
7351
7354
  return n < 0 ? void 0 : e[n][1];
7352
7355
  }
7353
- function Nu(t) {
7356
+ function ju(t) {
7354
7357
  return Mn(this.__data__, t) > -1;
7355
7358
  }
7356
- function zu(t, e) {
7359
+ function Hu(t, e) {
7357
7360
  var n = this.__data__, r = Mn(n, t);
7358
7361
  return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
7359
7362
  }
@@ -7364,66 +7367,66 @@ function at(t) {
7364
7367
  this.set(r[0], r[1]);
7365
7368
  }
7366
7369
  }
7367
- at.prototype.clear = Ru;
7368
- at.prototype.delete = Mu;
7369
- at.prototype.get = Ou;
7370
- at.prototype.has = Nu;
7371
- at.prototype.set = zu;
7372
- function ju() {
7370
+ at.prototype.clear = $u;
7371
+ at.prototype.delete = Nu;
7372
+ at.prototype.get = zu;
7373
+ at.prototype.has = ju;
7374
+ at.prototype.set = Hu;
7375
+ function Uu() {
7373
7376
  this.__data__ = new at(), this.size = 0;
7374
7377
  }
7375
- function Hu(t) {
7378
+ function qu(t) {
7376
7379
  var e = this.__data__, n = e.delete(t);
7377
7380
  return this.size = e.size, n;
7378
7381
  }
7379
- function Uu(t) {
7382
+ function Wu(t) {
7380
7383
  return this.__data__.get(t);
7381
7384
  }
7382
- function qu(t) {
7385
+ function Vu(t) {
7383
7386
  return this.__data__.has(t);
7384
7387
  }
7385
- var ri = typeof global == "object" && global && global.Object === Object && global, Wu = typeof self == "object" && self && self.Object === Object && self, tt = ri || Wu || Function("return this")(), zt = tt.Symbol, oi = Object.prototype, Vu = oi.hasOwnProperty, Ku = oi.toString, Yt = zt ? zt.toStringTag : void 0;
7386
- function Gu(t) {
7387
- var e = Vu.call(t, Yt), n = t[Yt];
7388
+ var ri = typeof global == "object" && global && global.Object === Object && global, Ku = typeof self == "object" && self && self.Object === Object && self, tt = ri || Ku || Function("return this")(), jt = tt.Symbol, oi = Object.prototype, Gu = oi.hasOwnProperty, Xu = oi.toString, Jt = jt ? jt.toStringTag : void 0;
7389
+ function Qu(t) {
7390
+ var e = Gu.call(t, Jt), n = t[Jt];
7388
7391
  try {
7389
- t[Yt] = void 0;
7392
+ t[Jt] = void 0;
7390
7393
  var r = !0;
7391
7394
  } catch {
7392
7395
  }
7393
- var o = Ku.call(t);
7394
- return r && (e ? t[Yt] = n : delete t[Yt]), o;
7396
+ var o = Xu.call(t);
7397
+ return r && (e ? t[Jt] = n : delete t[Jt]), o;
7395
7398
  }
7396
- var Xu = Object.prototype, Qu = Xu.toString;
7397
- function Yu(t) {
7398
- return Qu.call(t);
7399
+ var Yu = Object.prototype, Ju = Yu.toString;
7400
+ function Zu(t) {
7401
+ return Ju.call(t);
7399
7402
  }
7400
- var Ju = "[object Null]", Zu = "[object Undefined]", $a = zt ? zt.toStringTag : void 0;
7403
+ var ed = "[object Null]", td = "[object Undefined]", $a = jt ? jt.toStringTag : void 0;
7401
7404
  function vn(t) {
7402
- return t == null ? t === void 0 ? Zu : Ju : $a && $a in Object(t) ? Gu(t) : Yu(t);
7405
+ return t == null ? t === void 0 ? td : ed : $a && $a in Object(t) ? Qu(t) : Zu(t);
7403
7406
  }
7404
7407
  function gn(t) {
7405
7408
  var e = typeof t;
7406
7409
  return t != null && (e == "object" || e == "function");
7407
7410
  }
7408
- var ed = "[object AsyncFunction]", td = "[object Function]", nd = "[object GeneratorFunction]", rd = "[object Proxy]";
7411
+ var nd = "[object AsyncFunction]", rd = "[object Function]", od = "[object GeneratorFunction]", ad = "[object Proxy]";
7409
7412
  function ai(t) {
7410
7413
  if (!gn(t))
7411
7414
  return !1;
7412
7415
  var e = vn(t);
7413
- return e == td || e == nd || e == ed || e == rd;
7416
+ return e == rd || e == od || e == nd || e == ad;
7414
7417
  }
7415
7418
  var Ir = tt["__core-js_shared__"], Ma = function() {
7416
7419
  var t = /[^.]+$/.exec(Ir && Ir.keys && Ir.keys.IE_PROTO || "");
7417
7420
  return t ? "Symbol(src)_1." + t : "";
7418
7421
  }();
7419
- function od(t) {
7422
+ function sd(t) {
7420
7423
  return !!Ma && Ma in t;
7421
7424
  }
7422
- var ad = Function.prototype, sd = ad.toString;
7425
+ var id = Function.prototype, cd = id.toString;
7423
7426
  function Bt(t) {
7424
7427
  if (t != null) {
7425
7428
  try {
7426
- return sd.call(t);
7429
+ return cd.call(t);
7427
7430
  } catch {
7428
7431
  }
7429
7432
  try {
@@ -7433,48 +7436,48 @@ function Bt(t) {
7433
7436
  }
7434
7437
  return "";
7435
7438
  }
7436
- var id = /[\\^$.*+?()[\]{}|]/g, cd = /^\[object .+?Constructor\]$/, ld = Function.prototype, ud = Object.prototype, dd = ld.toString, fd = ud.hasOwnProperty, pd = RegExp(
7437
- "^" + dd.call(fd).replace(id, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7439
+ var ld = /[\\^$.*+?()[\]{}|]/g, ud = /^\[object .+?Constructor\]$/, dd = Function.prototype, fd = Object.prototype, pd = dd.toString, hd = fd.hasOwnProperty, xd = RegExp(
7440
+ "^" + pd.call(hd).replace(ld, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7438
7441
  );
7439
- function hd(t) {
7440
- if (!gn(t) || od(t))
7442
+ function vd(t) {
7443
+ if (!gn(t) || sd(t))
7441
7444
  return !1;
7442
- var e = ai(t) ? pd : cd;
7445
+ var e = ai(t) ? xd : ud;
7443
7446
  return e.test(Bt(t));
7444
7447
  }
7445
- function xd(t, e) {
7448
+ function gd(t, e) {
7446
7449
  return t == null ? void 0 : t[e];
7447
7450
  }
7448
7451
  function Dt(t, e) {
7449
- var n = xd(t, e);
7450
- return hd(n) ? n : void 0;
7452
+ var n = gd(t, e);
7453
+ return vd(n) ? n : void 0;
7451
7454
  }
7452
7455
  var cn = Dt(tt, "Map"), ln = Dt(Object, "create");
7453
- function vd() {
7456
+ function md() {
7454
7457
  this.__data__ = ln ? ln(null) : {}, this.size = 0;
7455
7458
  }
7456
- function gd(t) {
7459
+ function _d(t) {
7457
7460
  var e = this.has(t) && delete this.__data__[t];
7458
7461
  return this.size -= e ? 1 : 0, e;
7459
7462
  }
7460
- var md = "__lodash_hash_undefined__", _d = Object.prototype, Cd = _d.hasOwnProperty;
7461
- function yd(t) {
7463
+ var Cd = "__lodash_hash_undefined__", yd = Object.prototype, bd = yd.hasOwnProperty;
7464
+ function wd(t) {
7462
7465
  var e = this.__data__;
7463
7466
  if (ln) {
7464
7467
  var n = e[t];
7465
- return n === md ? void 0 : n;
7468
+ return n === Cd ? void 0 : n;
7466
7469
  }
7467
- return Cd.call(e, t) ? e[t] : void 0;
7470
+ return bd.call(e, t) ? e[t] : void 0;
7468
7471
  }
7469
- var bd = Object.prototype, wd = bd.hasOwnProperty;
7470
- function Ad(t) {
7472
+ var Ad = Object.prototype, Ed = Ad.hasOwnProperty;
7473
+ function kd(t) {
7471
7474
  var e = this.__data__;
7472
- return ln ? e[t] !== void 0 : wd.call(e, t);
7475
+ return ln ? e[t] !== void 0 : Ed.call(e, t);
7473
7476
  }
7474
- var Ed = "__lodash_hash_undefined__";
7475
- function kd(t, e) {
7477
+ var Bd = "__lodash_hash_undefined__";
7478
+ function Dd(t, e) {
7476
7479
  var n = this.__data__;
7477
- return this.size += this.has(t) ? 0 : 1, n[t] = ln && e === void 0 ? Ed : e, this;
7480
+ return this.size += this.has(t) ? 0 : 1, n[t] = ln && e === void 0 ? Bd : e, this;
7478
7481
  }
7479
7482
  function bt(t) {
7480
7483
  var e = -1, n = t == null ? 0 : t.length;
@@ -7483,73 +7486,73 @@ function bt(t) {
7483
7486
  this.set(r[0], r[1]);
7484
7487
  }
7485
7488
  }
7486
- bt.prototype.clear = vd;
7487
- bt.prototype.delete = gd;
7488
- bt.prototype.get = yd;
7489
- bt.prototype.has = Ad;
7490
- bt.prototype.set = kd;
7491
- function Bd() {
7489
+ bt.prototype.clear = md;
7490
+ bt.prototype.delete = _d;
7491
+ bt.prototype.get = wd;
7492
+ bt.prototype.has = kd;
7493
+ bt.prototype.set = Dd;
7494
+ function Sd() {
7492
7495
  this.size = 0, this.__data__ = {
7493
7496
  hash: new bt(),
7494
7497
  map: new (cn || at)(),
7495
7498
  string: new bt()
7496
7499
  };
7497
7500
  }
7498
- function Dd(t) {
7501
+ function Id(t) {
7499
7502
  var e = typeof t;
7500
7503
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
7501
7504
  }
7502
7505
  function On(t, e) {
7503
7506
  var n = t.__data__;
7504
- return Dd(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
7507
+ return Id(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
7505
7508
  }
7506
- function Sd(t) {
7509
+ function Fd(t) {
7507
7510
  var e = On(this, t).delete(t);
7508
7511
  return this.size -= e ? 1 : 0, e;
7509
7512
  }
7510
- function Id(t) {
7513
+ function Td(t) {
7511
7514
  return On(this, t).get(t);
7512
7515
  }
7513
- function Fd(t) {
7516
+ function Pd(t) {
7514
7517
  return On(this, t).has(t);
7515
7518
  }
7516
- function Td(t, e) {
7519
+ function Rd(t, e) {
7517
7520
  var n = On(this, t), r = n.size;
7518
7521
  return n.set(t, e), this.size += n.size == r ? 0 : 1, this;
7519
7522
  }
7520
- function Wt(t) {
7523
+ function Vt(t) {
7521
7524
  var e = -1, n = t == null ? 0 : t.length;
7522
7525
  for (this.clear(); ++e < n; ) {
7523
7526
  var r = t[e];
7524
7527
  this.set(r[0], r[1]);
7525
7528
  }
7526
7529
  }
7527
- Wt.prototype.clear = Bd;
7528
- Wt.prototype.delete = Sd;
7529
- Wt.prototype.get = Id;
7530
- Wt.prototype.has = Fd;
7531
- Wt.prototype.set = Td;
7532
- var Pd = 200;
7533
- function Rd(t, e) {
7530
+ Vt.prototype.clear = Sd;
7531
+ Vt.prototype.delete = Fd;
7532
+ Vt.prototype.get = Td;
7533
+ Vt.prototype.has = Pd;
7534
+ Vt.prototype.set = Rd;
7535
+ var Ld = 200;
7536
+ function $d(t, e) {
7534
7537
  var n = this.__data__;
7535
7538
  if (n instanceof at) {
7536
7539
  var r = n.__data__;
7537
- if (!cn || r.length < Pd - 1)
7540
+ if (!cn || r.length < Ld - 1)
7538
7541
  return r.push([t, e]), this.size = ++n.size, this;
7539
- n = this.__data__ = new Wt(r);
7542
+ n = this.__data__ = new Vt(r);
7540
7543
  }
7541
7544
  return n.set(t, e), this.size = n.size, this;
7542
7545
  }
7543
- function Vt(t) {
7546
+ function Kt(t) {
7544
7547
  var e = this.__data__ = new at(t);
7545
7548
  this.size = e.size;
7546
7549
  }
7547
- Vt.prototype.clear = ju;
7548
- Vt.prototype.delete = Hu;
7549
- Vt.prototype.get = Uu;
7550
- Vt.prototype.has = qu;
7551
- Vt.prototype.set = Rd;
7552
- function Ld(t, e) {
7550
+ Kt.prototype.clear = Uu;
7551
+ Kt.prototype.delete = qu;
7552
+ Kt.prototype.get = Wu;
7553
+ Kt.prototype.has = Vu;
7554
+ Kt.prototype.set = $d;
7555
+ function Md(t, e) {
7553
7556
  for (var n = -1, r = t == null ? 0 : t.length; ++n < r && e(t[n], n, t) !== !1; )
7554
7557
  ;
7555
7558
  return t;
@@ -7569,10 +7572,10 @@ function si(t, e, n) {
7569
7572
  writable: !0
7570
7573
  }) : t[e] = n;
7571
7574
  }
7572
- var $d = Object.prototype, Md = $d.hasOwnProperty;
7575
+ var Od = Object.prototype, Nd = Od.hasOwnProperty;
7573
7576
  function ii(t, e, n) {
7574
7577
  var r = t[e];
7575
- (!(Md.call(t, e) && ni(r, n)) || n === void 0 && !(e in t)) && si(t, e, n);
7578
+ (!(Nd.call(t, e) && ni(r, n)) || n === void 0 && !(e in t)) && si(t, e, n);
7576
7579
  }
7577
7580
  function Nn(t, e, n, r) {
7578
7581
  var o = !n;
@@ -7583,7 +7586,7 @@ function Nn(t, e, n, r) {
7583
7586
  }
7584
7587
  return n;
7585
7588
  }
7586
- function Od(t, e) {
7589
+ function zd(t, e) {
7587
7590
  for (var n = -1, r = Array(t); ++n < t; )
7588
7591
  r[n] = e(n);
7589
7592
  return r;
@@ -7591,31 +7594,31 @@ function Od(t, e) {
7591
7594
  function mn(t) {
7592
7595
  return t != null && typeof t == "object";
7593
7596
  }
7594
- var Nd = "[object Arguments]";
7597
+ var jd = "[object Arguments]";
7595
7598
  function Na(t) {
7596
- return mn(t) && vn(t) == Nd;
7599
+ return mn(t) && vn(t) == jd;
7597
7600
  }
7598
- var ci = Object.prototype, zd = ci.hasOwnProperty, jd = ci.propertyIsEnumerable, Hd = Na(/* @__PURE__ */ function() {
7601
+ var ci = Object.prototype, Hd = ci.hasOwnProperty, Ud = ci.propertyIsEnumerable, qd = Na(/* @__PURE__ */ function() {
7599
7602
  return arguments;
7600
7603
  }()) ? Na : function(t) {
7601
- return mn(t) && zd.call(t, "callee") && !jd.call(t, "callee");
7604
+ return mn(t) && Hd.call(t, "callee") && !Ud.call(t, "callee");
7602
7605
  }, io = Array.isArray;
7603
- function Ud() {
7606
+ function Wd() {
7604
7607
  return !1;
7605
7608
  }
7606
- var li = typeof exports == "object" && exports && !exports.nodeType && exports, za = li && typeof module == "object" && module && !module.nodeType && module, qd = za && za.exports === li, ja = qd ? tt.Buffer : void 0, Wd = ja ? ja.isBuffer : void 0, ui = Wd || Ud, Vd = 9007199254740991, Kd = /^(?:0|[1-9]\d*)$/;
7607
- function Gd(t, e) {
7609
+ var li = typeof exports == "object" && exports && !exports.nodeType && exports, za = li && typeof module == "object" && module && !module.nodeType && module, Vd = za && za.exports === li, ja = Vd ? tt.Buffer : void 0, Kd = ja ? ja.isBuffer : void 0, ui = Kd || Wd, Gd = 9007199254740991, Xd = /^(?:0|[1-9]\d*)$/;
7610
+ function Qd(t, e) {
7608
7611
  var n = typeof t;
7609
- return e = e ?? Vd, !!e && (n == "number" || n != "symbol" && Kd.test(t)) && t > -1 && t % 1 == 0 && t < e;
7612
+ return e = e ?? Gd, !!e && (n == "number" || n != "symbol" && Xd.test(t)) && t > -1 && t % 1 == 0 && t < e;
7610
7613
  }
7611
- var Xd = 9007199254740991;
7614
+ var Yd = 9007199254740991;
7612
7615
  function di(t) {
7613
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Xd;
7616
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Yd;
7614
7617
  }
7615
- var Qd = "[object Arguments]", Yd = "[object Array]", Jd = "[object Boolean]", Zd = "[object Date]", ef = "[object Error]", tf = "[object Function]", nf = "[object Map]", rf = "[object Number]", of = "[object Object]", af = "[object RegExp]", sf = "[object Set]", cf = "[object String]", lf = "[object WeakMap]", uf = "[object ArrayBuffer]", df = "[object DataView]", ff = "[object Float32Array]", pf = "[object Float64Array]", hf = "[object Int8Array]", xf = "[object Int16Array]", vf = "[object Int32Array]", gf = "[object Uint8Array]", mf = "[object Uint8ClampedArray]", _f = "[object Uint16Array]", Cf = "[object Uint32Array]", pe = {};
7616
- pe[ff] = pe[pf] = pe[hf] = pe[xf] = pe[vf] = pe[gf] = pe[mf] = pe[_f] = pe[Cf] = !0;
7617
- pe[Qd] = pe[Yd] = pe[uf] = pe[Jd] = pe[df] = pe[Zd] = pe[ef] = pe[tf] = pe[nf] = pe[rf] = pe[of] = pe[af] = pe[sf] = pe[cf] = pe[lf] = !1;
7618
- function yf(t) {
7618
+ var Jd = "[object Arguments]", Zd = "[object Array]", ef = "[object Boolean]", tf = "[object Date]", nf = "[object Error]", rf = "[object Function]", of = "[object Map]", af = "[object Number]", sf = "[object Object]", cf = "[object RegExp]", lf = "[object Set]", uf = "[object String]", df = "[object WeakMap]", ff = "[object ArrayBuffer]", pf = "[object DataView]", hf = "[object Float32Array]", xf = "[object Float64Array]", vf = "[object Int8Array]", gf = "[object Int16Array]", mf = "[object Int32Array]", _f = "[object Uint8Array]", Cf = "[object Uint8ClampedArray]", yf = "[object Uint16Array]", bf = "[object Uint32Array]", pe = {};
7619
+ pe[hf] = pe[xf] = pe[vf] = pe[gf] = pe[mf] = pe[_f] = pe[Cf] = pe[yf] = pe[bf] = !0;
7620
+ pe[Jd] = pe[Zd] = pe[ff] = pe[ef] = pe[pf] = pe[tf] = pe[nf] = pe[rf] = pe[of] = pe[af] = pe[sf] = pe[cf] = pe[lf] = pe[uf] = pe[df] = !1;
7621
+ function wf(t) {
7619
7622
  return mn(t) && di(t.length) && !!pe[vn(t)];
7620
7623
  }
7621
7624
  function co(t) {
@@ -7623,26 +7626,26 @@ function co(t) {
7623
7626
  return t(e);
7624
7627
  };
7625
7628
  }
7626
- var fi = typeof exports == "object" && exports && !exports.nodeType && exports, on = fi && typeof module == "object" && module && !module.nodeType && module, bf = on && on.exports === fi, Fr = bf && ri.process, jt = function() {
7629
+ var fi = typeof exports == "object" && exports && !exports.nodeType && exports, an = fi && typeof module == "object" && module && !module.nodeType && module, Af = an && an.exports === fi, Fr = Af && ri.process, Ht = function() {
7627
7630
  try {
7628
- var t = on && on.require && on.require("util").types;
7631
+ var t = an && an.require && an.require("util").types;
7629
7632
  return t || Fr && Fr.binding && Fr.binding("util");
7630
7633
  } catch {
7631
7634
  }
7632
- }(), Ha = jt && jt.isTypedArray, wf = Ha ? co(Ha) : yf, Af = Object.prototype, Ef = Af.hasOwnProperty;
7635
+ }(), Ha = Ht && Ht.isTypedArray, Ef = Ha ? co(Ha) : wf, kf = Object.prototype, Bf = kf.hasOwnProperty;
7633
7636
  function pi(t, e) {
7634
- var n = io(t), r = !n && Hd(t), o = !n && !r && ui(t), a = !n && !r && !o && wf(t), i = n || r || o || a, c = i ? Od(t.length, String) : [], l = c.length;
7637
+ var n = io(t), r = !n && qd(t), o = !n && !r && ui(t), a = !n && !r && !o && Ef(t), i = n || r || o || a, c = i ? zd(t.length, String) : [], l = c.length;
7635
7638
  for (var s in t)
7636
- (e || Ef.call(t, s)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
7639
+ (e || Bf.call(t, s)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
7637
7640
  (s == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
7638
7641
  o && (s == "offset" || s == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
7639
7642
  a && (s == "buffer" || s == "byteLength" || s == "byteOffset") || // Skip index properties.
7640
- Gd(s, l))) && c.push(s);
7643
+ Qd(s, l))) && c.push(s);
7641
7644
  return c;
7642
7645
  }
7643
- var kf = Object.prototype;
7646
+ var Df = Object.prototype;
7644
7647
  function lo(t) {
7645
- var e = t && t.constructor, n = typeof e == "function" && e.prototype || kf;
7648
+ var e = t && t.constructor, n = typeof e == "function" && e.prototype || Df;
7646
7649
  return t === n;
7647
7650
  }
7648
7651
  function hi(t, e) {
@@ -7650,60 +7653,60 @@ function hi(t, e) {
7650
7653
  return t(e(n));
7651
7654
  };
7652
7655
  }
7653
- var Bf = hi(Object.keys, Object), Df = Object.prototype, Sf = Df.hasOwnProperty;
7654
- function If(t) {
7656
+ var Sf = hi(Object.keys, Object), If = Object.prototype, Ff = If.hasOwnProperty;
7657
+ function Tf(t) {
7655
7658
  if (!lo(t))
7656
- return Bf(t);
7659
+ return Sf(t);
7657
7660
  var e = [];
7658
7661
  for (var n in Object(t))
7659
- Sf.call(t, n) && n != "constructor" && e.push(n);
7662
+ Ff.call(t, n) && n != "constructor" && e.push(n);
7660
7663
  return e;
7661
7664
  }
7662
7665
  function xi(t) {
7663
7666
  return t != null && di(t.length) && !ai(t);
7664
7667
  }
7665
7668
  function uo(t) {
7666
- return xi(t) ? pi(t) : If(t);
7669
+ return xi(t) ? pi(t) : Tf(t);
7667
7670
  }
7668
- function Ff(t, e) {
7671
+ function Pf(t, e) {
7669
7672
  return t && Nn(e, uo(e), t);
7670
7673
  }
7671
- function Tf(t) {
7674
+ function Rf(t) {
7672
7675
  var e = [];
7673
7676
  if (t != null)
7674
7677
  for (var n in Object(t))
7675
7678
  e.push(n);
7676
7679
  return e;
7677
7680
  }
7678
- var Pf = Object.prototype, Rf = Pf.hasOwnProperty;
7679
- function Lf(t) {
7681
+ var Lf = Object.prototype, $f = Lf.hasOwnProperty;
7682
+ function Mf(t) {
7680
7683
  if (!gn(t))
7681
- return Tf(t);
7684
+ return Rf(t);
7682
7685
  var e = lo(t), n = [];
7683
7686
  for (var r in t)
7684
- r == "constructor" && (e || !Rf.call(t, r)) || n.push(r);
7687
+ r == "constructor" && (e || !$f.call(t, r)) || n.push(r);
7685
7688
  return n;
7686
7689
  }
7687
7690
  function fo(t) {
7688
- return xi(t) ? pi(t, !0) : Lf(t);
7691
+ return xi(t) ? pi(t, !0) : Mf(t);
7689
7692
  }
7690
- function $f(t, e) {
7693
+ function Of(t, e) {
7691
7694
  return t && Nn(e, fo(e), t);
7692
7695
  }
7693
- var vi = typeof exports == "object" && exports && !exports.nodeType && exports, Ua = vi && typeof module == "object" && module && !module.nodeType && module, Mf = Ua && Ua.exports === vi, qa = Mf ? tt.Buffer : void 0, Wa = qa ? qa.allocUnsafe : void 0;
7694
- function Of(t, e) {
7696
+ var vi = typeof exports == "object" && exports && !exports.nodeType && exports, Ua = vi && typeof module == "object" && module && !module.nodeType && module, Nf = Ua && Ua.exports === vi, qa = Nf ? tt.Buffer : void 0, Wa = qa ? qa.allocUnsafe : void 0;
7697
+ function zf(t, e) {
7695
7698
  if (e)
7696
7699
  return t.slice();
7697
7700
  var n = t.length, r = Wa ? Wa(n) : new t.constructor(n);
7698
7701
  return t.copy(r), r;
7699
7702
  }
7700
- function Nf(t, e) {
7703
+ function jf(t, e) {
7701
7704
  var n = -1, r = t.length;
7702
7705
  for (e || (e = Array(r)); ++n < r; )
7703
7706
  e[n] = t[n];
7704
7707
  return e;
7705
7708
  }
7706
- function zf(t, e) {
7709
+ function Hf(t, e) {
7707
7710
  for (var n = -1, r = t == null ? 0 : t.length, o = 0, a = []; ++n < r; ) {
7708
7711
  var i = t[n];
7709
7712
  e(i, n, t) && (a[o++] = i);
@@ -7713,12 +7716,12 @@ function zf(t, e) {
7713
7716
  function gi() {
7714
7717
  return [];
7715
7718
  }
7716
- var jf = Object.prototype, Hf = jf.propertyIsEnumerable, Va = Object.getOwnPropertySymbols, po = Va ? function(t) {
7717
- return t == null ? [] : (t = Object(t), zf(Va(t), function(e) {
7718
- return Hf.call(t, e);
7719
+ var Uf = Object.prototype, qf = Uf.propertyIsEnumerable, Va = Object.getOwnPropertySymbols, po = Va ? function(t) {
7720
+ return t == null ? [] : (t = Object(t), Hf(Va(t), function(e) {
7721
+ return qf.call(t, e);
7719
7722
  }));
7720
7723
  } : gi;
7721
- function Uf(t, e) {
7724
+ function Wf(t, e) {
7722
7725
  return Nn(t, po(t), e);
7723
7726
  }
7724
7727
  function mi(t, e) {
@@ -7726,82 +7729,80 @@ function mi(t, e) {
7726
7729
  t[o + n] = e[n];
7727
7730
  return t;
7728
7731
  }
7729
- var _i = hi(Object.getPrototypeOf, Object), qf = Object.getOwnPropertySymbols, Ci = qf ? function(t) {
7732
+ var _i = hi(Object.getPrototypeOf, Object), Vf = Object.getOwnPropertySymbols, Ci = Vf ? function(t) {
7730
7733
  for (var e = []; t; )
7731
7734
  mi(e, po(t)), t = _i(t);
7732
7735
  return e;
7733
7736
  } : gi;
7734
- function Wf(t, e) {
7737
+ function Kf(t, e) {
7735
7738
  return Nn(t, Ci(t), e);
7736
7739
  }
7737
7740
  function yi(t, e, n) {
7738
7741
  var r = e(t);
7739
7742
  return io(t) ? r : mi(r, n(t));
7740
7743
  }
7741
- function Vf(t) {
7744
+ function Gf(t) {
7742
7745
  return yi(t, uo, po);
7743
7746
  }
7744
- function Kf(t) {
7747
+ function Xf(t) {
7745
7748
  return yi(t, fo, Ci);
7746
7749
  }
7747
- var Ur = Dt(tt, "DataView"), qr = Dt(tt, "Promise"), Wr = Dt(tt, "Set"), Vr = Dt(tt, "WeakMap"), Ka = "[object Map]", Gf = "[object Object]", Ga = "[object Promise]", Xa = "[object Set]", Qa = "[object WeakMap]", Ya = "[object DataView]", Xf = Bt(Ur), Qf = Bt(cn), Yf = Bt(qr), Jf = Bt(Wr), Zf = Bt(Vr), nt = vn;
7750
+ var Ur = Dt(tt, "DataView"), qr = Dt(tt, "Promise"), Wr = Dt(tt, "Set"), Vr = Dt(tt, "WeakMap"), Ka = "[object Map]", Qf = "[object Object]", Ga = "[object Promise]", Xa = "[object Set]", Qa = "[object WeakMap]", Ya = "[object DataView]", Yf = Bt(Ur), Jf = Bt(cn), Zf = Bt(qr), ep = Bt(Wr), tp = Bt(Vr), nt = vn;
7748
7751
  (Ur && nt(new Ur(new ArrayBuffer(1))) != Ya || cn && nt(new cn()) != Ka || qr && nt(qr.resolve()) != Ga || Wr && nt(new Wr()) != Xa || Vr && nt(new Vr()) != Qa) && (nt = function(t) {
7749
- var e = vn(t), n = e == Gf ? t.constructor : void 0, r = n ? Bt(n) : "";
7752
+ var e = vn(t), n = e == Qf ? t.constructor : void 0, r = n ? Bt(n) : "";
7750
7753
  if (r)
7751
7754
  switch (r) {
7752
- case Xf:
7755
+ case Yf:
7753
7756
  return Ya;
7754
- case Qf:
7757
+ case Jf:
7755
7758
  return Ka;
7756
- case Yf:
7759
+ case Zf:
7757
7760
  return Ga;
7758
- case Jf:
7761
+ case ep:
7759
7762
  return Xa;
7760
- case Zf:
7763
+ case tp:
7761
7764
  return Qa;
7762
7765
  }
7763
7766
  return e;
7764
7767
  });
7765
- var ep = Object.prototype, tp = ep.hasOwnProperty;
7766
- function np(t) {
7768
+ var np = Object.prototype, rp = np.hasOwnProperty;
7769
+ function op(t) {
7767
7770
  var e = t.length, n = new t.constructor(e);
7768
- return e && typeof t[0] == "string" && tp.call(t, "index") && (n.index = t.index, n.input = t.input), n;
7771
+ return e && typeof t[0] == "string" && rp.call(t, "index") && (n.index = t.index, n.input = t.input), n;
7769
7772
  }
7770
7773
  var Ja = tt.Uint8Array;
7771
7774
  function ho(t) {
7772
7775
  var e = new t.constructor(t.byteLength);
7773
7776
  return new Ja(e).set(new Ja(t)), e;
7774
7777
  }
7775
- function rp(t, e) {
7778
+ function ap(t, e) {
7776
7779
  var n = e ? ho(t.buffer) : t.buffer;
7777
7780
  return new t.constructor(n, t.byteOffset, t.byteLength);
7778
7781
  }
7779
- var op = /\w*$/;
7780
- function ap(t) {
7781
- var e = new t.constructor(t.source, op.exec(t));
7782
+ var sp = /\w*$/;
7783
+ function ip(t) {
7784
+ var e = new t.constructor(t.source, sp.exec(t));
7782
7785
  return e.lastIndex = t.lastIndex, e;
7783
7786
  }
7784
- var Za = zt ? zt.prototype : void 0, es = Za ? Za.valueOf : void 0;
7785
- function sp(t) {
7787
+ var Za = jt ? jt.prototype : void 0, es = Za ? Za.valueOf : void 0;
7788
+ function cp(t) {
7786
7789
  return es ? Object(es.call(t)) : {};
7787
7790
  }
7788
- function ip(t, e) {
7791
+ function lp(t, e) {
7789
7792
  var n = e ? ho(t.buffer) : t.buffer;
7790
7793
  return new t.constructor(n, t.byteOffset, t.length);
7791
7794
  }
7792
- var cp = "[object Boolean]", lp = "[object Date]", up = "[object Map]", dp = "[object Number]", fp = "[object RegExp]", pp = "[object Set]", hp = "[object String]", xp = "[object Symbol]", vp = "[object ArrayBuffer]", gp = "[object DataView]", mp = "[object Float32Array]", _p = "[object Float64Array]", Cp = "[object Int8Array]", yp = "[object Int16Array]", bp = "[object Int32Array]", wp = "[object Uint8Array]", Ap = "[object Uint8ClampedArray]", Ep = "[object Uint16Array]", kp = "[object Uint32Array]";
7793
- function Bp(t, e, n) {
7795
+ var up = "[object Boolean]", dp = "[object Date]", fp = "[object Map]", pp = "[object Number]", hp = "[object RegExp]", xp = "[object Set]", vp = "[object String]", gp = "[object Symbol]", mp = "[object ArrayBuffer]", _p = "[object DataView]", Cp = "[object Float32Array]", yp = "[object Float64Array]", bp = "[object Int8Array]", wp = "[object Int16Array]", Ap = "[object Int32Array]", Ep = "[object Uint8Array]", kp = "[object Uint8ClampedArray]", Bp = "[object Uint16Array]", Dp = "[object Uint32Array]";
7796
+ function Sp(t, e, n) {
7794
7797
  var r = t.constructor;
7795
7798
  switch (e) {
7796
- case vp:
7799
+ case mp:
7797
7800
  return ho(t);
7798
- case cp:
7799
- case lp:
7801
+ case up:
7802
+ case dp:
7800
7803
  return new r(+t);
7801
- case gp:
7802
- return rp(t, n);
7803
- case mp:
7804
7804
  case _p:
7805
+ return ap(t, n);
7805
7806
  case Cp:
7806
7807
  case yp:
7807
7808
  case bp:
@@ -7809,21 +7810,23 @@ function Bp(t, e, n) {
7809
7810
  case Ap:
7810
7811
  case Ep:
7811
7812
  case kp:
7812
- return ip(t, n);
7813
- case up:
7814
- return new r();
7815
- case dp:
7816
- case hp:
7817
- return new r(t);
7813
+ case Bp:
7814
+ case Dp:
7815
+ return lp(t, n);
7818
7816
  case fp:
7819
- return ap(t);
7820
- case pp:
7821
7817
  return new r();
7818
+ case pp:
7819
+ case vp:
7820
+ return new r(t);
7821
+ case hp:
7822
+ return ip(t);
7822
7823
  case xp:
7823
- return sp(t);
7824
+ return new r();
7825
+ case gp:
7826
+ return cp(t);
7824
7827
  }
7825
7828
  }
7826
- var ts = Object.create, Dp = /* @__PURE__ */ function() {
7829
+ var ts = Object.create, Ip = /* @__PURE__ */ function() {
7827
7830
  function t() {
7828
7831
  }
7829
7832
  return function(e) {
@@ -7836,60 +7839,60 @@ var ts = Object.create, Dp = /* @__PURE__ */ function() {
7836
7839
  return t.prototype = void 0, n;
7837
7840
  };
7838
7841
  }();
7839
- function Sp(t) {
7840
- return typeof t.constructor == "function" && !lo(t) ? Dp(_i(t)) : {};
7841
- }
7842
- var Ip = "[object Map]";
7843
7842
  function Fp(t) {
7844
- return mn(t) && nt(t) == Ip;
7843
+ return typeof t.constructor == "function" && !lo(t) ? Ip(_i(t)) : {};
7845
7844
  }
7846
- var ns = jt && jt.isMap, Tp = ns ? co(ns) : Fp, Pp = "[object Set]";
7847
- function Rp(t) {
7848
- return mn(t) && nt(t) == Pp;
7845
+ var Tp = "[object Map]";
7846
+ function Pp(t) {
7847
+ return mn(t) && nt(t) == Tp;
7849
7848
  }
7850
- var rs = jt && jt.isSet, Lp = rs ? co(rs) : Rp, $p = 1, Mp = 2, Op = 4, bi = "[object Arguments]", Np = "[object Array]", zp = "[object Boolean]", jp = "[object Date]", Hp = "[object Error]", wi = "[object Function]", Up = "[object GeneratorFunction]", qp = "[object Map]", Wp = "[object Number]", Ai = "[object Object]", Vp = "[object RegExp]", Kp = "[object Set]", Gp = "[object String]", Xp = "[object Symbol]", Qp = "[object WeakMap]", Yp = "[object ArrayBuffer]", Jp = "[object DataView]", Zp = "[object Float32Array]", eh = "[object Float64Array]", th = "[object Int8Array]", nh = "[object Int16Array]", rh = "[object Int32Array]", oh = "[object Uint8Array]", ah = "[object Uint8ClampedArray]", sh = "[object Uint16Array]", ih = "[object Uint32Array]", fe = {};
7851
- fe[bi] = fe[Np] = fe[Yp] = fe[Jp] = fe[zp] = fe[jp] = fe[Zp] = fe[eh] = fe[th] = fe[nh] = fe[rh] = fe[qp] = fe[Wp] = fe[Ai] = fe[Vp] = fe[Kp] = fe[Gp] = fe[Xp] = fe[oh] = fe[ah] = fe[sh] = fe[ih] = !0;
7852
- fe[Hp] = fe[wi] = fe[Qp] = !1;
7849
+ var ns = Ht && Ht.isMap, Rp = ns ? co(ns) : Pp, Lp = "[object Set]";
7850
+ function $p(t) {
7851
+ return mn(t) && nt(t) == Lp;
7852
+ }
7853
+ var rs = Ht && Ht.isSet, Mp = rs ? co(rs) : $p, Op = 1, Np = 2, zp = 4, bi = "[object Arguments]", jp = "[object Array]", Hp = "[object Boolean]", Up = "[object Date]", qp = "[object Error]", wi = "[object Function]", Wp = "[object GeneratorFunction]", Vp = "[object Map]", Kp = "[object Number]", Ai = "[object Object]", Gp = "[object RegExp]", Xp = "[object Set]", Qp = "[object String]", Yp = "[object Symbol]", Jp = "[object WeakMap]", Zp = "[object ArrayBuffer]", eh = "[object DataView]", th = "[object Float32Array]", nh = "[object Float64Array]", rh = "[object Int8Array]", oh = "[object Int16Array]", ah = "[object Int32Array]", sh = "[object Uint8Array]", ih = "[object Uint8ClampedArray]", ch = "[object Uint16Array]", lh = "[object Uint32Array]", fe = {};
7854
+ fe[bi] = fe[jp] = fe[Zp] = fe[eh] = fe[Hp] = fe[Up] = fe[th] = fe[nh] = fe[rh] = fe[oh] = fe[ah] = fe[Vp] = fe[Kp] = fe[Ai] = fe[Gp] = fe[Xp] = fe[Qp] = fe[Yp] = fe[sh] = fe[ih] = fe[ch] = fe[lh] = !0;
7855
+ fe[qp] = fe[wi] = fe[Jp] = !1;
7853
7856
  function Bn(t, e, n, r, o, a) {
7854
- var i, c = e & $p, l = e & Mp, s = e & Op;
7857
+ var i, c = e & Op, l = e & Np, s = e & zp;
7855
7858
  if (i !== void 0)
7856
7859
  return i;
7857
7860
  if (!gn(t))
7858
7861
  return t;
7859
7862
  var u = io(t);
7860
7863
  if (u) {
7861
- if (i = np(t), !c)
7862
- return Nf(t, i);
7864
+ if (i = op(t), !c)
7865
+ return jf(t, i);
7863
7866
  } else {
7864
- var _ = nt(t), d = _ == wi || _ == Up;
7867
+ var _ = nt(t), d = _ == wi || _ == Wp;
7865
7868
  if (ui(t))
7866
- return Of(t, c);
7869
+ return zf(t, c);
7867
7870
  if (_ == Ai || _ == bi || d && !o) {
7868
- if (i = l || d ? {} : Sp(t), !c)
7869
- return l ? Wf(t, $f(i, t)) : Uf(t, Ff(i, t));
7871
+ if (i = l || d ? {} : Fp(t), !c)
7872
+ return l ? Kf(t, Of(i, t)) : Wf(t, Pf(i, t));
7870
7873
  } else {
7871
7874
  if (!fe[_])
7872
7875
  return o ? t : {};
7873
- i = Bp(t, _, c);
7876
+ i = Sp(t, _, c);
7874
7877
  }
7875
7878
  }
7876
- a || (a = new Vt());
7879
+ a || (a = new Kt());
7877
7880
  var f = a.get(t);
7878
7881
  if (f)
7879
7882
  return f;
7880
- a.set(t, i), Lp(t) ? t.forEach(function(x) {
7883
+ a.set(t, i), Mp(t) ? t.forEach(function(x) {
7881
7884
  i.add(Bn(x, e, n, x, t, a));
7882
- }) : Tp(t) && t.forEach(function(x, m) {
7885
+ }) : Rp(t) && t.forEach(function(x, m) {
7883
7886
  i.set(m, Bn(x, e, n, m, t, a));
7884
7887
  });
7885
- var p = s ? l ? Kf : Vf : l ? fo : uo, v = u ? void 0 : p(t);
7886
- return Ld(v || t, function(x, m) {
7888
+ var p = s ? l ? Xf : Gf : l ? fo : uo, v = u ? void 0 : p(t);
7889
+ return Md(v || t, function(x, m) {
7887
7890
  v && (m = x, x = t[m]), ii(i, m, Bn(x, e, n, m, t, a));
7888
7891
  }), i;
7889
7892
  }
7890
- var ch = 1, lh = 4;
7893
+ var uh = 1, dh = 4;
7891
7894
  function Fn(t) {
7892
- return Bn(t, ch | lh);
7895
+ return Bn(t, uh | dh);
7893
7896
  }
7894
7897
  const Tn = (t, e = "") => {
7895
7898
  for (let n of t)
@@ -7910,7 +7913,7 @@ const Tn = (t, e = "") => {
7910
7913
  }
7911
7914
  }
7912
7915
  return null;
7913
- }, uh = (t, e) => {
7916
+ }, fh = (t, e) => {
7914
7917
  let n;
7915
7918
  const r = t.findIndex((i) => i.code === e);
7916
7919
  if (r === -1) return { index: r, target: n };
@@ -7918,19 +7921,19 @@ const Tn = (t, e = "") => {
7918
7921
  return a.length && (n = a[0]), n || o.length && (n = o[o.length - 1]), { index: r, target: n };
7919
7922
  }, os = (t) => {
7920
7923
  const e = ge().subAppList ?? [];
7921
- let { index: n, target: r } = uh(e, t);
7924
+ let { index: n, target: r } = fh(e, t);
7922
7925
  return e.splice(n, 1), e.length ? lt([{ key: "subAppList", value: e }]) : oo(), He([
7923
7926
  { key: "currentCode", value: "" },
7924
7927
  { key: "currentTab", value: {} },
7925
7928
  { key: `preTab:${t}`, value: {} },
7926
7929
  { key: `tabMap:${t}`, value: [] }
7927
7930
  ]), r || (r = { fixed: !0, path: ot }), { currentApp: r };
7928
- }, dh = (t, e) => {
7931
+ }, ph = (t, e) => {
7929
7932
  const n = t.findIndex((a) => a.code === e), r = t.slice(0, n), o = t.slice(n + 1);
7930
7933
  return { left: r, right: o };
7931
- }, fh = (t, e, n) => {
7934
+ }, hh = (t, e, n) => {
7932
7935
  var _;
7933
- const r = Ve(e).filter((d) => d.routeUrl).filter((d) => !(d != null && d.disable) && !(d != null && d.expired)), a = (((_ = Le()) == null ? void 0 : _.tabMap) ?? {})[t] ?? [], { left: i, right: c } = dh(a, n), l = a.filter((d) => r.find((f) => f.code === d.code)).map((d) => {
7936
+ const r = Ve(e).filter((d) => d.routeUrl).filter((d) => !(d != null && d.disable) && !(d != null && d.expired)), a = (((_ = Le()) == null ? void 0 : _.tabMap) ?? {})[t] ?? [], { left: i, right: c } = ph(a, n), l = a.filter((d) => r.find((f) => f.code === d.code)).map((d) => {
7934
7937
  var f;
7935
7938
  return {
7936
7939
  ...d,
@@ -7972,21 +7975,21 @@ const Tn = (t, e = "") => {
7972
7975
  { key: `tabMap:${t}`, value: [] }
7973
7976
  ]), os(t));
7974
7977
  }, xo = async (t) => {
7975
- const [e, n] = await Tu().run({
7978
+ const [e, n] = await Ru().run({
7976
7979
  code: t,
7977
7980
  showBtn: !0,
7978
7981
  userType: 1
7979
7982
  });
7980
7983
  if (e || !n || !n.length) return { menus: [], originalMenus: [], err: e };
7981
- yl(n, t);
7984
+ wl(n, t);
7982
7985
  const r = Ve(n);
7983
- wl(r, t), El(r, t);
7986
+ El(r, t), Bl(r, t);
7984
7987
  let o = h0(n, (i) => i.isMenu);
7985
7988
  const a = Fn(o);
7986
7989
  return o.forEach((i) => {
7987
7990
  i != null && i.children && i.children.length && (i.originalChildren = Fn(i.children)), (i != null && i.expired || i != null && i.disable) && (i.children = []);
7988
7991
  }), { menus: o, originalMenus: a };
7989
- }, ph = async (t) => {
7992
+ }, xh = async (t) => {
7990
7993
  var d, f, p, v, x;
7991
7994
  let { microApp: e = null, menuCode: n = "", menuPath: r = "", route: o = {} } = t;
7992
7995
  const a = ((d = o.meta) == null ? void 0 : d.showLayout) ?? !0;
@@ -8041,7 +8044,7 @@ const Tn = (t, e = "") => {
8041
8044
  if (!_) {
8042
8045
  if (!a || !i)
8043
8046
  return { menuConfig: l, currentApp: null, currentMenu: null, query: { ...o.query, app: c } };
8044
- const m = fh(e.code, l, n);
8047
+ const m = hh(e.code, l, n);
8045
8048
  m != null && m.currentApp && (e = m.currentApp), m != null && m.currentMenu && (_ = m.currentMenu), m != null && m.currentTab && (o.query = ((x = m.currentTab) == null ? void 0 : x.query) ?? {});
8046
8049
  }
8047
8050
  if ((e == null ? void 0 : e.routeUrl) === ot)
@@ -8090,17 +8093,17 @@ const Tn = (t, e = "") => {
8090
8093
  return { menuConfig: l, currentApp: e, currentMenu: _, query: g, microPath: h };
8091
8094
  }
8092
8095
  return { menuConfig: l, currentApp: e, currentMenu: null, query: { ...o.query, app: c } };
8093
- }, hh = "v1", xh = Rn.get("/visitor/login/with-default", (t) => (t.public = !0, t)), vh = Rn.get("/visitor/appearance/with-default", (t) => (t.public = !0, t)), gh = Rn.get("platform/appearance/withdefault"), mh = pt(`/api/portal/manager/${hh}`);
8094
- mh.get("/basics/home/info");
8096
+ }, vh = "v1", gh = Rn.get("/visitor/login/with-default", (t) => (t.public = !0, t)), mh = Rn.get("/visitor/appearance/with-default", (t) => (t.public = !0, t)), _h = Rn.get("platform/appearance/withdefault"), Ch = pt(`/api/portal/manager/${vh}`);
8097
+ Ch.get("/basics/home/info");
8095
8098
  Es.get("/language");
8096
8099
  Es.get("/menu/personal-setting");
8097
- const _h = async () => {
8098
- const [t, e] = await xh().run();
8100
+ const yh = async () => {
8101
+ const [t, e] = await gh().run();
8099
8102
  return t ? { loginConfig: null } : { loginConfig: e };
8100
- }, Ch = async () => {
8101
- const t = ft() ? gh : vh, [e, n] = await t().run();
8103
+ }, bh = async () => {
8104
+ const t = ft() ? _h : mh, [e, n] = await t().run();
8102
8105
  return e ? { platformConfig: null } : { platformConfig: n };
8103
- }, yh = L(null), Ei = L({ style: 1, skinStyle: "default" }), bh = () => L(null), wh = { class: "iframe-container" }, Ah = ["src"], Eh = /* @__PURE__ */ xe({
8106
+ }, wh = L(null), Ei = L({ style: 1, skinStyle: "default" }), Ah = () => L(null), Eh = { class: "iframe-container" }, kh = ["src"], Bh = /* @__PURE__ */ xe({
8104
8107
  __name: "index",
8105
8108
  props: {
8106
8109
  src: { default: "" }
@@ -8121,8 +8124,8 @@ const _h = async () => {
8121
8124
  };
8122
8125
  return pn(() => {
8123
8126
  r.value = !1;
8124
- }), (i, c) => (N(), ce("div", wh, [
8125
- t.src ? (N(), re(D(Zr), {
8127
+ }), (i, c) => (N(), ce("div", Eh, [
8128
+ i.src ? (N(), re(D(Zr), {
8126
8129
  key: 0,
8127
8130
  spinning: !r.value
8128
8131
  }, {
@@ -8133,9 +8136,9 @@ const _h = async () => {
8133
8136
  ref: n,
8134
8137
  width: "100%",
8135
8138
  height: "100%",
8136
- src: t.src,
8139
+ src: i.src,
8137
8140
  onLoad: a
8138
- }, null, 40, Ah), [
8141
+ }, null, 40, kh), [
8139
8142
  [We, r.value]
8140
8143
  ])
8141
8144
  ]),
@@ -8144,12 +8147,12 @@ const _h = async () => {
8144
8147
  }, 8, ["spinning"])) : Q("v-if", !0)
8145
8148
  ]));
8146
8149
  }
8147
- }), Kr = /* @__PURE__ */ Ne(Eh, [["__scopeId", "data-v-d0f25bba"]]), kh = Yr.get("/login/history"), Bh = () => {
8150
+ }), Kr = /* @__PURE__ */ Ne(Bh, [["__scopeId", "data-v-d0f25bba"]]), Dh = Yr.get("/login/history"), Sh = () => {
8148
8151
  const t = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some((l) => new RegExp(`^${l}$`, "i").test(location.pathname)), e = (i) => {
8149
- const { browserLogoImgHost: c = "", browserLogoImg: l = "" } = i || {}, s = l ? c + b0(l) : "./logo.svg";
8150
- _l(s), v0(s);
8152
+ const { browserLogoImgHost: c = "", browserLogoImg: l = "" } = i || {}, s = l ? c + w0(l) : "./logo.svg";
8153
+ yl(s), v0(s);
8151
8154
  }, n = async () => {
8152
- const [i, c] = await kh().run({ userId: bs().id });
8155
+ const [i, c] = await Dh().run({ userId: bs().id });
8153
8156
  i || !c || JSON.stringify(c) === "{}" || (Dn.open({
8154
8157
  key: "loginTip",
8155
8158
  message: ie("上次登录信息"),
@@ -8164,7 +8167,7 @@ const _h = async () => {
8164
8167
  ])
8165
8168
  }), sessionStorage.setItem("loginInfoTip", "true"));
8166
8169
  }, r = async () => {
8167
- const [{ loginConfig: i }, { platformConfig: c }] = await Promise.all([_h(), Ch()]);
8170
+ const [{ loginConfig: i }, { platformConfig: c }] = await Promise.all([yh(), bh()]);
8168
8171
  e(c), c != null && c.browserTitle && localStorage.setItem("browser-title", c.browserTitle || "AIoT智能物联网管控平台"), x0(), !t() && i != null && i.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && n();
8169
8172
  }, o = L(!1), a = () => new Promise((i) => {
8170
8173
  const c = () => {
@@ -8175,15 +8178,15 @@ const _h = async () => {
8175
8178
  });
8176
8179
  return dt(async () => {
8177
8180
  if (await r(), t()) return;
8178
- await Iu(), await Fu();
8181
+ await Tu(), await Pu();
8179
8182
  const i = ft();
8180
8183
  ws({ accessToken: i }), o.value = !0;
8181
8184
  }), {
8182
8185
  platformInited: o,
8183
8186
  initNextTick: a
8184
8187
  };
8185
- }, Dh = to.get("/data/menu-expiration"), ki = async (t) => {
8186
- const [e, n] = await Dh().run();
8188
+ }, Ih = to.get("/data/menu-expiration"), ki = async (t) => {
8189
+ const [e, n] = await Ih().run();
8187
8190
  if (e) return { title: "", content: "", decs: [] };
8188
8191
  const r = (t == null ? void 0 : t.expired) ?? !1;
8189
8192
  return {
@@ -8191,7 +8194,7 @@ const _h = async () => {
8191
8194
  content: r ? n.menuExpirationExpiredContent : n.menuExpirationRetrieveContent,
8192
8195
  desc: n.menuExpirationExpiredInfo
8193
8196
  };
8194
- }, Sh = () => {
8197
+ }, Fh = () => {
8195
8198
  const { entryMenu: t } = zn();
8196
8199
  ee.menu.addEventListener("onItemClick", async (e) => {
8197
8200
  var a;
@@ -8210,12 +8213,12 @@ const _h = async () => {
8210
8213
  let r = ge().menuCollapses || [];
8211
8214
  e ? r = Array.from(/* @__PURE__ */ new Set([...r, n])) : r = r.filter((o) => o !== n), lt([{ key: "menuCollapses", value: r }]);
8212
8215
  });
8213
- }, Ih = () => {
8216
+ }, Th = () => {
8214
8217
  const { changeApp: t, deleteApp: e, beforeEntryApp: n } = _n();
8215
8218
  ee.nav.addEventListener("onItemClick", async (o) => {
8216
8219
  const a = ge().currentSubAppCode ?? "";
8217
8220
  if (a !== o.code) {
8218
- if (a && Sl(a), !o.fixed && !await n(o))
8221
+ if (a && Fl(a), !o.fixed && !await n(o))
8219
8222
  throw new Error(ie("取消切换"));
8220
8223
  t(o);
8221
8224
  }
@@ -8226,9 +8229,9 @@ const _h = async () => {
8226
8229
  const l = (Le().tabMap[o.code] ?? []).map((u) => u.code);
8227
8230
  l && l.length && kn(o.code, l), e(o);
8228
8231
  });
8229
- const { enter: r } = qt();
8232
+ const { enter: r } = Wt();
8230
8233
  return ee.nav.addEventListener("fullScreenHandle", r), {};
8231
- }, Fh = () => {
8234
+ }, Ph = () => {
8232
8235
  const t = hn(), e = L(""), n = L(""), r = L("");
8233
8236
  let o = "", a = {};
8234
8237
  he(
@@ -8328,7 +8331,7 @@ const _h = async () => {
8328
8331
  const x = { app: v.applicationCode, menu: v.code }, m = { ...p.query };
8329
8332
  $o(x, m) || await c({ currentMenu: v }), l([p.path]);
8330
8333
  });
8331
- const { enter: f } = qt();
8334
+ const { enter: f } = Wt();
8332
8335
  return ee.tab.addEventListener("onToggleFullScreen", f), { fontColor: e, backgroudColor: n, borderColor: r };
8333
8336
  }, _n = () => {
8334
8337
  const t = hn(), { entryMenu: e } = zn(), { unloadRoute: n } = vo();
@@ -8409,7 +8412,7 @@ const _h = async () => {
8409
8412
  currentMenu: w = null,
8410
8413
  microPath: B = "",
8411
8414
  query: y = {}
8412
- } = await ph({ microApp: f, menuCode: p, menuPath: v, route: m });
8415
+ } = await xh({ microApp: f, menuCode: p, menuPath: v, route: m });
8413
8416
  if (w && (m = {
8414
8417
  path: B || `/${w.applicationPath}${w.routeUrl}`.replace(/\/\//g, "/"),
8415
8418
  query: { ...y, app: w.applicationCode, menu: w.code },
@@ -8491,7 +8494,7 @@ const _h = async () => {
8491
8494
  }
8492
8495
  if (!f.subAppList.length) {
8493
8496
  if (ee.menu.setItems([]), ee.tab.setItems([]), location.pathname !== ot && location.pathname !== sn) {
8494
- const h = rl.find((g) => g.value === ot);
8497
+ const h = al.find((g) => g.value === ot);
8495
8498
  h && u(h);
8496
8499
  }
8497
8500
  oo(), Ns();
@@ -8598,8 +8601,8 @@ const _h = async () => {
8598
8601
  ke.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...ke.excludeRoutes, ...n])), ke.routeKeepAliveVisible = !1, setTimeout(() => {
8599
8602
  ke.excludeRoutes = [], ke.routeKeepAliveVisible = !0;
8600
8603
  }, 100);
8601
- } }), Th = () => {
8602
- const t = I0(), e = bh(), n = At(), r = async () => {
8604
+ } }), Rh = () => {
8605
+ const t = F0(), e = Ah(), n = At(), r = async () => {
8603
8606
  const i = {
8604
8607
  logout: "/api/justauth/oauth-server/v1/visitor/logout"
8605
8608
  }, c = location.origin + sn, l = {
@@ -8614,7 +8617,7 @@ const _h = async () => {
8614
8617
  };
8615
8618
  n.ssoLocale && (l.locale = "locale");
8616
8619
  const s = Object.keys(l).map((_) => `${_}=${l[_]}`).join("&"), u = `${n.baseURL}${i.logout}?${s}`;
8617
- window.__isAutoCloseApp = !1, location.replace(u), sessionStorage.clear(), localStorage.removeItem("idelTime"), B0();
8620
+ window.__isAutoCloseApp = !1, location.replace(u), sessionStorage.clear(), localStorage.removeItem("idelTime"), D0();
8618
8621
  }, { entryApp: o } = _n(), a = async () => {
8619
8622
  const i = "personCenter", l = (ge().appcategorys || []).map((f) => f.apps).flat(), { originalMenus: s = [] } = await xo(i), _ = Ve(s).filter((f) => f.isMenu && f.routeUrl).find((f) => f.routeUrl === "/userInfo");
8620
8623
  if (_ != null && _.disable || _ != null && _.expired) {
@@ -8637,7 +8640,7 @@ const _h = async () => {
8637
8640
  $changePwd: t,
8638
8641
  $personSetDialog: e
8639
8642
  };
8640
- }, Ph = As.get("/convert/tenant"), Rh = Yr.get("/platform/withdefault"), Bi = () => {
8643
+ }, Lh = As.get("/convert/tenant"), $h = Yr.get("/platform/withdefault"), Bi = () => {
8641
8644
  const t = At(), e = L(!1), n = L(""), r = L(""), o = () => {
8642
8645
  n.value = Qr().id, r.value = bs().tenantId, e.value = !0;
8643
8646
  };
@@ -8645,14 +8648,14 @@ const _h = async () => {
8645
8648
  o();
8646
8649
  });
8647
8650
  const a = () => {
8648
- Dl(), Cl(), window.__isAutoCloseApp = !1, location.pathname !== ot && location.pathname !== sn ? window.location.replace(location.origin + ot) : window.location.reload();
8651
+ Il(), bl(), window.__isAutoCloseApp = !1, location.pathname !== ot && location.pathname !== sn ? window.location.replace(location.origin + ot) : window.location.reload();
8649
8652
  };
8650
8653
  return {
8651
8654
  changeEnterprisesVisible: e,
8652
8655
  userId: n,
8653
8656
  tenantId: r,
8654
8657
  changeEnterprise: async (c) => {
8655
- const [l, s] = await Ph().run({ tenant: c });
8658
+ const [l, s] = await Lh().run({ tenant: c });
8656
8659
  if (l) return;
8657
8660
  e.value = !1;
8658
8661
  const { access_token: u = "", refresh_token: _ = "", expires_in: d = 0, sub: f = "", name: p = "", flag: v = "", tenant: x = "" } = s, m = {
@@ -8661,19 +8664,19 @@ const _h = async () => {
8661
8664
  refreshToken: _,
8662
8665
  info: s
8663
8666
  };
8664
- E0().save(m), ws(m);
8667
+ k0().save(m), ws(m);
8665
8668
  const h = {
8666
8669
  id: f,
8667
8670
  name: p,
8668
8671
  flag: v,
8669
8672
  tenantId: x
8670
8673
  };
8671
- sessionStorage.setItem("hotentUserInfo", JSON.stringify(h)), S0(u);
8674
+ sessionStorage.setItem("hotentUserInfo", JSON.stringify(h)), I0(u);
8672
8675
  let g = "";
8673
8676
  if (t != null && t.ssoLocale)
8674
8677
  g = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${c}`;
8675
8678
  else {
8676
- const [C, E] = await Rh().run();
8679
+ const [C, E] = await $h().run();
8677
8680
  E != null && E.loginHost && (g = `${E.loginHost}/oauth/refreshOauthToken?tenantId=${c}`);
8678
8681
  }
8679
8682
  if (g) {
@@ -8683,7 +8686,7 @@ const _h = async () => {
8683
8686
  a();
8684
8687
  }
8685
8688
  };
8686
- }, Lh = () => {
8689
+ }, Mh = () => {
8687
8690
  const { changeEnterprise: t } = Bi();
8688
8691
  ee.nav.addEventListener("onProjectChange", async (e) => {
8689
8692
  const n = ys();
@@ -8691,9 +8694,9 @@ const _h = async () => {
8691
8694
  const r = n.tenant.id, o = (e == null ? void 0 : e.tenant) ?? "";
8692
8695
  r !== o && await t(o);
8693
8696
  }
8694
- w0((e == null ? void 0 : e.id) || 0), (n == null ? void 0 : n.flag) !== 4 && (window.__isAutoCloseApp = !1, window.location.reload());
8697
+ A0((e == null ? void 0 : e.id) || 0), (n == null ? void 0 : n.flag) !== 4 && (window.__isAutoCloseApp = !1, window.location.reload());
8695
8698
  });
8696
- }, $h = () => {
8699
+ }, Oh = () => {
8697
8700
  const t = L(), { entryApp: e } = _n();
8698
8701
  return ee.nav.addEventListener("openAI", () => {
8699
8702
  var r;
@@ -8715,12 +8718,12 @@ const _h = async () => {
8715
8718
  innerSet: !1,
8716
8719
  excludeRoutes: [],
8717
8720
  routeKeepAliveVisible: !0
8718
- }), Mh = async () => {
8719
- const [t, e] = await Pu().run(), n = { instanceInfo: e ?? null };
8720
- return Bl(n), n;
8721
+ }), Nh = async () => {
8722
+ const [t, e] = await Lu().run(), n = { instanceInfo: e ?? null };
8723
+ return Sl(n), n;
8721
8724
  };
8722
8725
  Is("container");
8723
- const Oh = (t) => {
8726
+ const zh = (t) => {
8724
8727
  const { microAppBus: e } = t, n = "/iot/iot/deviceInstance", r = "/iot/iot/statisticalReport", o = (i) => {
8725
8728
  const { menuName: c = "实例" } = i || {};
8726
8729
  e.cors.send("customEventFromMicro", {
@@ -8741,7 +8744,7 @@ const Oh = (t) => {
8741
8744
  }, a = async (i) => {
8742
8745
  const { toPath: c = "", params: l = {} } = i || {};
8743
8746
  let s = "实例", u = !1;
8744
- const { instanceInfo: _ } = await Mh();
8747
+ const { instanceInfo: _ } = await Nh();
8745
8748
  if (_) {
8746
8749
  const v = m0(_.endTime) || _.endTime == 0 || _.endTime === 253370736e6 || _.endTime === "253370736000000" ? "-" : Number(_.endTime);
8747
8750
  u = Nr().endOf("day") > Nr(v).endOf("day"), u || (s = _.instanceName ?? "实例");
@@ -8763,7 +8766,7 @@ const Oh = (t) => {
8763
8766
  path: r
8764
8767
  });
8765
8768
  }), { routerBeforEnter: a };
8766
- }, Gr = Is("microApp"), { routerBeforEnter: Nh } = Oh({ microAppBus: Gr }), zh = () => {
8769
+ }, Gr = Is("microApp"), { routerBeforEnter: jh } = zh({ microAppBus: Gr }), Hh = () => {
8767
8770
  const { unloadRoute: t } = vo();
8768
8771
  Gr.event.on("unmountPage", (e) => {
8769
8772
  var r;
@@ -8772,26 +8775,26 @@ const Oh = (t) => {
8772
8775
  }), Gr.event.on("beforeEnter", async (e) => {
8773
8776
  const n = String((e == null ? void 0 : e.toPath) || "").trim().split("?")[0].split("#")[0];
8774
8777
  try {
8775
- n && n.startsWith("/iot/iot") && Nh({ toPath: n, params: e });
8778
+ n && n.startsWith("/iot/iot") && jh({ toPath: n, params: e });
8776
8779
  } catch {
8777
8780
  }
8778
8781
  });
8779
- }, jh = () => {
8782
+ }, Uh = () => {
8780
8783
  Fe.addEventListenerFromMicroApp("iot:change-instance", (t) => {
8781
8784
  });
8782
- }, Hh = () => {
8785
+ }, qh = () => {
8783
8786
  Fe.addEventListenerFromMicroApp("devicePanelShow", (t) => {
8784
8787
  const { deviceId: e = "", panelCode: n = "", deviceName: r = "", x: o = 0, y: a = 0, isCenter: i = !1 } = t.data;
8785
8788
  Fs(e, n, r, o, a, i);
8786
8789
  }), Fe.addEventListenerFromMicroApp("closeDevicePanel", (t) => {
8787
- T0();
8790
+ P0();
8788
8791
  }), Fe.addEventListenerFromMicroApp("alarmDevicePanelShow", (t) => {
8789
8792
  const { deviceId: e = "", panelCode: n = "", alarmTime: r = "" } = t.data;
8790
- P0(e, n, r);
8793
+ R0(e, n, r);
8791
8794
  }), Fe.addEventListenerFromMicroApp("closeAlarmPanel", (t) => {
8792
- R0();
8795
+ L0();
8793
8796
  });
8794
- }, Uh = Rn.get("/platform/login/pwd-advance-notify-check"), qh = () => {
8797
+ }, Wh = Rn.get("/platform/login/pwd-advance-notify-check"), Vh = () => {
8795
8798
  const t = L([]), e = L(null), n = L([]), { entryApp: r } = Sn.hooks.useEntryApp(), o = () => {
8796
8799
  var l;
8797
8800
  const c = (((l = ge().appcategorys) == null ? void 0 : l.map((s) => s.apps).flat()) ?? []).find((s) => s.code === "messagecenter");
@@ -8801,7 +8804,7 @@ const Oh = (t) => {
8801
8804
  url: "/api/messagecenter/message/v1/innersend",
8802
8805
  reconnectWhenClose: !0,
8803
8806
  opened: async () => {
8804
- await Uh().run();
8807
+ await Wh().run();
8805
8808
  },
8806
8809
  message: async (i) => {
8807
8810
  if (Fe.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: i }), window.self !== window.top) return;
@@ -8817,7 +8820,7 @@ const Oh = (t) => {
8817
8820
  description: we("div", {}, [
8818
8821
  // 标题
8819
8822
  we("div", { class: "custom-title" }, [
8820
- we(L0, { customSize: 24, iconColor: "#5582f3" }),
8823
+ we($0, { customSize: 24, iconColor: "#5582f3" }),
8821
8824
  we("div", { class: "title" }, s.title)
8822
8825
  ]),
8823
8826
  // 内容
@@ -8844,8 +8847,8 @@ const Oh = (t) => {
8844
8847
  }), pn(() => {
8845
8848
  e.value && e.value.disconnect(), e.value = null;
8846
8849
  });
8847
- }, Wh = "v1", Vh = Ut(`/api/enterpriseright/permission/${Wh}`), Di = Ut("/api/device-relation/deviceproject/v1/project/device/video", Gh), Kh = to.get("/permissionset/user-portal-menu");
8848
- function Gh(t) {
8850
+ }, Kh = "v1", Gh = qt(`/api/enterpriseright/permission/${Kh}`), Di = qt("/api/device-relation/deviceproject/v1/project/device/video", Qh), Xh = to.get("/permissionset/user-portal-menu");
8851
+ function Qh(t) {
8849
8852
  const e = ut() ? ut().id : 1;
8850
8853
  return t.params || (t.params = {}), t.params.project = e, t.params.projectId = e, t;
8851
8854
  }
@@ -8858,10 +8861,10 @@ function Si(t) {
8858
8861
  function as(t) {
8859
8862
  return Di.post(`/ptz?${Si(t)}`)().run();
8860
8863
  }
8861
- function Xh(t) {
8864
+ function Yh(t) {
8862
8865
  return Di.post(`/url/preview?${Si(t)}`)().run();
8863
8866
  }
8864
- const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
8867
+ const Jh = Gh.post("data/device-auth"), Zh = /* @__PURE__ */ xe({
8865
8868
  __name: "GridItem",
8866
8869
  props: {
8867
8870
  active: { type: Boolean },
@@ -8870,9 +8873,9 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
8870
8873
  emits: ["itemClick"],
8871
8874
  setup(t, { emit: e }) {
8872
8875
  e0((u) => ({
8873
- v23bfa220: s.value
8876
+ "23bfa220": s.value
8874
8877
  }));
8875
- const n = t, r = e, o = L(), { toggle: a, isFullscreen: i } = qt(o), c = () => {
8878
+ const n = t, r = e, o = L(), { toggle: a, isFullscreen: i } = Wt(o), c = () => {
8876
8879
  o.value != document.fullscreenElement && (i.value ? (i.value = !1, rt(() => {
8877
8880
  a();
8878
8881
  })) : a());
@@ -8895,7 +8898,7 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
8895
8898
  /* CLASS, NEED_HYDRATION */
8896
8899
  ));
8897
8900
  }
8898
- }), Jh = /* @__PURE__ */ Ne(Yh, [["__scopeId", "data-v-68946aef"]]), Zh = { class: "layout-wrapper" }, ex = /* @__PURE__ */ xe({
8901
+ }), ex = /* @__PURE__ */ Ne(Zh, [["__scopeId", "data-v-68946aef"]]), tx = { class: "layout-wrapper" }, nx = /* @__PURE__ */ xe({
8899
8902
  __name: "GridLayout",
8900
8903
  props: {
8901
8904
  gridNum: {},
@@ -8907,18 +8910,18 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
8907
8910
  const n = t, r = e, o = (a) => {
8908
8911
  r("update:activeIndex", a);
8909
8912
  };
8910
- return (a, i) => (N(), ce("div", Zh, [
8913
+ return (a, i) => (N(), ce("div", tx, [
8911
8914
  Q(' :active="index === activeIndex" '),
8912
8915
  (N(!0), ce(
8913
8916
  Ye,
8914
8917
  null,
8915
- Nt(n.gridNum, (c, l) => (N(), re(Jh, {
8918
+ Nt(n.gridNum, (c, l) => (N(), re(ex, {
8916
8919
  active: !1,
8917
8920
  "grid-num": n.gridNum,
8918
8921
  onItemClick: (s) => o(l)
8919
8922
  }, {
8920
8923
  default: V(() => [
8921
- t.showFn(l) ? Be(a.$slots, "default", {
8924
+ a.showFn(l) ? Be(a.$slots, "default", {
8922
8925
  key: 0,
8923
8926
  index: l
8924
8927
  }, void 0, !0) : Q("v-if", !0)
@@ -8931,7 +8934,7 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
8931
8934
  ))
8932
8935
  ]));
8933
8936
  }
8934
- }), tx = /* @__PURE__ */ Ne(ex, [["__scopeId", "data-v-22baf4d8"]]), nx = /* @__PURE__ */ xe({
8937
+ }), rx = /* @__PURE__ */ Ne(nx, [["__scopeId", "data-v-22baf4d8"]]), ox = /* @__PURE__ */ xe({
8935
8938
  __name: "DirectionControl",
8936
8939
  emits: ["change"],
8937
8940
  setup(t, { emit: e }) {
@@ -9058,10 +9061,10 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9058
9061
  /* NEED_HYDRATION */
9059
9062
  ));
9060
9063
  }
9061
- }), rx = /* @__PURE__ */ Ne(nx, [["__scopeId", "data-v-83a64a40"]]), ox = { class: "video-wrapper" }, ax = { class: "video-top" }, sx = { class: "video-top_l" }, ix = { class: "video-title-wrapper" }, cx = { class: "video-title" }, lx = { class: "video-top_r" }, ux = {
9064
+ }), ax = /* @__PURE__ */ Ne(ox, [["__scopeId", "data-v-83a64a40"]]), sx = { class: "video-wrapper" }, ix = { class: "video-top" }, cx = { class: "video-top_l" }, lx = { class: "video-title-wrapper" }, ux = { class: "video-title" }, dx = { class: "video-top_r" }, fx = {
9062
9065
  key: 0,
9063
9066
  class: "play-status"
9064
- }, dx = { class: "video-bottom" }, fx = { class: "video-bottom_r" }, px = /* @__PURE__ */ xe({
9067
+ }, px = { class: "video-bottom" }, hx = { class: "video-bottom_r" }, xx = /* @__PURE__ */ xe({
9065
9068
  __name: "index",
9066
9069
  props: {
9067
9070
  videoUrl: {},
@@ -9151,29 +9154,29 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9151
9154
  u.value = !0;
9152
9155
  });
9153
9156
  }
9154
- ), (g, C) => (N(), ce("div", ox, [
9157
+ ), (g, C) => (N(), ce("div", sx, [
9155
9158
  Y(D(Zr), {
9156
9159
  spinning: n.loading,
9157
9160
  type: "component",
9158
9161
  tip: "加载中..."
9159
9162
  }, {
9160
9163
  default: V(() => [
9161
- q("div", ax, [
9162
- q("div", sx, [
9163
- q("div", ix, [
9164
+ q("div", ix, [
9165
+ q("div", cx, [
9166
+ q("div", lx, [
9164
9167
  q(
9165
9168
  "div",
9166
- cx,
9169
+ ux,
9167
9170
  Ce(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title),
9168
9171
  1
9169
9172
  /* TEXT */
9170
9173
  )
9171
9174
  ])
9172
9175
  ]),
9173
- q("div", lx, [
9174
- ["live"].includes(t.type) ? (N(), ce(
9176
+ q("div", dx, [
9177
+ ["live"].includes(g.type) ? (N(), ce(
9175
9178
  "span",
9176
- ux,
9179
+ fx,
9177
9180
  Ce(D(ie)("正在实时预览")),
9178
9181
  1
9179
9182
  /* TEXT */
@@ -9181,7 +9184,7 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9181
9184
  Q(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
9182
9185
  ])
9183
9186
  ]),
9184
- n.videoUrl && u.value ? (N(), re(D(M0), {
9187
+ n.videoUrl && u.value ? (N(), re(D(O0), {
9185
9188
  key: 0,
9186
9189
  type: "flv",
9187
9190
  ref_key: "dasLivePlayerRef",
@@ -9190,7 +9193,7 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9190
9193
  onLoaded: _,
9191
9194
  src: n.videoUrl
9192
9195
  }, null, 8, ["muted", "src"])) : Q("v-if", !0),
9193
- q("div", dx, [
9196
+ q("div", px, [
9194
9197
  C[3] || (C[3] = q(
9195
9198
  "div",
9196
9199
  { class: "video-bottom_l" },
@@ -9198,7 +9201,7 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9198
9201
  -1
9199
9202
  /* CACHED */
9200
9203
  )),
9201
- q("div", fx, [
9204
+ q("div", hx, [
9202
9205
  q(
9203
9206
  "div",
9204
9207
  {
@@ -9283,7 +9286,7 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9283
9286
  )
9284
9287
  ])
9285
9288
  ]),
9286
- i.value ? (N(), re(rx, {
9289
+ i.value ? (N(), re(ax, {
9287
9290
  key: 1,
9288
9291
  onChange: x
9289
9292
  })) : Q("v-if", !0)
@@ -9293,7 +9296,7 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9293
9296
  }, 8, ["spinning"])
9294
9297
  ]));
9295
9298
  }
9296
- }), hx = /* @__PURE__ */ Ne(px, [["__scopeId", "data-v-30f67b62"]]), xx = /* @__PURE__ */ xe({
9299
+ }), vx = /* @__PURE__ */ Ne(xx, [["__scopeId", "data-v-30f67b62"]]), gx = /* @__PURE__ */ xe({
9297
9300
  props: {
9298
9301
  deviceInfo: {
9299
9302
  type: Object,
@@ -9309,7 +9312,7 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9309
9312
  var u;
9310
9313
  if (!((u = n.value) != null && u.deviceId)) return;
9311
9314
  r.value = !0;
9312
- const [l, s] = await Xh({
9315
+ const [l, s] = await Yh({
9313
9316
  productId: n.value.productId,
9314
9317
  deviceId: n.value.deviceId,
9315
9318
  source: "strategy"
@@ -9346,13 +9349,13 @@ const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
9346
9349
  })]);
9347
9350
  }
9348
9351
  });
9349
- function vx(t) {
9352
+ function mx(t) {
9350
9353
  const e = L(0), n = L(), {
9351
9354
  toggle: r,
9352
9355
  isFullscreen: o
9353
- } = qt(n);
9356
+ } = Wt(n);
9354
9357
  return {
9355
- render: () => Y(tx, {
9358
+ render: () => Y(rx, {
9356
9359
  ref: n,
9357
9360
  gridNum: t.gridNum,
9358
9361
  activeIndex: e.value,
@@ -9363,7 +9366,7 @@ function vx(t) {
9363
9366
  index: i
9364
9367
  }) => {
9365
9368
  const c = t.deviceList[i];
9366
- return Y(xx, {
9369
+ return Y(gx, {
9367
9370
  deviceInfo: c
9368
9371
  }, {
9369
9372
  default: ({
@@ -9371,7 +9374,7 @@ function vx(t) {
9371
9374
  onDirectionControl: s,
9372
9375
  onZoomControl: u,
9373
9376
  loading: _
9374
- }) => Y(hx, {
9377
+ }) => Y(vx, {
9375
9378
  type: "live",
9376
9379
  loading: _,
9377
9380
  videoUrl: l,
@@ -9386,7 +9389,7 @@ function vx(t) {
9386
9389
  toggleFullscreen: r
9387
9390
  };
9388
9391
  }
9389
- const gx = /* @__PURE__ */ xe({
9392
+ const _x = /* @__PURE__ */ xe({
9390
9393
  __name: "index",
9391
9394
  props: {
9392
9395
  deviceList: { default: () => [] },
@@ -9397,7 +9400,7 @@ const gx = /* @__PURE__ */ xe({
9397
9400
  Ts({
9398
9401
  fullscreen2: import("@das-fed/upf-ui/packages/icons/fullscreen-2")
9399
9402
  });
9400
- const e = t, n = L(!0), { render: r, toggleFullscreen: o } = vx(e), a = J(() => {
9403
+ const e = t, n = L(!0), { render: r, toggleFullscreen: o } = mx(e), a = J(() => {
9401
9404
  let i = {};
9402
9405
  switch (e.gridNum) {
9403
9406
  case 1:
@@ -9423,7 +9426,7 @@ const gx = /* @__PURE__ */ xe({
9423
9426
  "close-on-press-escape": !1,
9424
9427
  modal: !1,
9425
9428
  "header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" },
9426
- onClosed: t.closeCallback
9429
+ onClosed: i.closeCallback
9427
9430
  }, {
9428
9431
  header: V(() => [
9429
9432
  q(
@@ -9455,23 +9458,23 @@ const gx = /* @__PURE__ */ xe({
9455
9458
  /* STABLE */
9456
9459
  }, 8, ["title", "custom-class", "modelValue", "onClosed"]));
9457
9460
  }
9458
- }), mx = (t) => {
9461
+ }), Cx = (t) => {
9459
9462
  const { gridNum: e = 4, deviceList: n = [] } = t;
9460
9463
  return new Promise((r) => {
9461
9464
  let o = document.body.querySelector("#video-dialog-container");
9462
- o && (tn(null, o), document.body.removeChild(o)), o = document.createElement("div"), o.setAttribute("id", "video-dialog-container"), document.body.appendChild(o);
9463
- const i = we(gx, { gridNum: e, deviceList: n, closeCallback: () => {
9464
- tn(null, o), document.body.removeChild(o), r(null);
9465
+ o && (nn(null, o), document.body.removeChild(o)), o = document.createElement("div"), o.setAttribute("id", "video-dialog-container"), document.body.appendChild(o);
9466
+ const i = we(_x, { gridNum: e, deviceList: n, closeCallback: () => {
9467
+ nn(null, o), document.body.removeChild(o), r(null);
9465
9468
  } });
9466
- tn(i, o);
9469
+ nn(i, o);
9467
9470
  });
9468
- }, _x = () => {
9471
+ }, yx = () => {
9469
9472
  const t = L(4), e = L([]), n = L(null), r = async (a) => {
9470
- const [i, c] = await Qh(a).run();
9473
+ const [i, c] = await Jh(a).run();
9471
9474
  if (!i)
9472
9475
  return c;
9473
9476
  }, o = async () => {
9474
- const a = ut().id, [i, c] = await Kh().run({
9477
+ const a = ut().id, [i, c] = await Xh().run({
9475
9478
  code: "strategy",
9476
9479
  showBtn: !1
9477
9480
  });
@@ -9497,7 +9500,7 @@ const gx = /* @__PURE__ */ xe({
9497
9500
  show: !!v
9498
9501
  };
9499
9502
  });
9500
- e.value = f.filter((p) => !!p.show), (u = e.value) != null && u.length && mx({ gridNum: t.value, deviceList: e.value });
9503
+ e.value = f.filter((p) => !!p.show), (u = e.value) != null && u.length && Cx({ gridNum: t.value, deviceList: e.value });
9501
9504
  }
9502
9505
  }
9503
9506
  }));
@@ -9544,7 +9547,7 @@ class Qe extends Error {
9544
9547
  super(e), this.__proto__ = n;
9545
9548
  }
9546
9549
  }
9547
- class Cx extends Error {
9550
+ class bx extends Error {
9548
9551
  /** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
9549
9552
  *
9550
9553
  * @param {string} message A descriptive error message.
@@ -9555,7 +9558,7 @@ class Cx extends Error {
9555
9558
  super(e), this.transport = n, this.errorType = "UnsupportedTransportError", this.__proto__ = r;
9556
9559
  }
9557
9560
  }
9558
- class yx extends Error {
9561
+ class wx extends Error {
9559
9562
  /** Constructs a new instance of {@link @microsoft/signalr.DisabledTransportError}.
9560
9563
  *
9561
9564
  * @param {string} message A descriptive error message.
@@ -9566,7 +9569,7 @@ class yx extends Error {
9566
9569
  super(e), this.transport = n, this.errorType = "DisabledTransportError", this.__proto__ = r;
9567
9570
  }
9568
9571
  }
9569
- class bx extends Error {
9572
+ class Ax extends Error {
9570
9573
  /** Constructs a new instance of {@link @microsoft/signalr.FailedToStartTransportError}.
9571
9574
  *
9572
9575
  * @param {string} message A descriptive error message.
@@ -9587,7 +9590,7 @@ class ss extends Error {
9587
9590
  super(e), this.errorType = "FailedToNegotiateWithServerError", this.__proto__ = n;
9588
9591
  }
9589
9592
  }
9590
- class wx extends Error {
9593
+ class Ex extends Error {
9591
9594
  /** Constructs a new instance of {@link @microsoft/signalr.AggregateErrors}.
9592
9595
  *
9593
9596
  * @param {string} message A descriptive error message.
@@ -9648,7 +9651,7 @@ class un {
9648
9651
  }
9649
9652
  }
9650
9653
  un.instance = new un();
9651
- const Ax = "8.0.17";
9654
+ const kx = "8.0.7";
9652
9655
  class be {
9653
9656
  static isRequired(e, n) {
9654
9657
  if (e == null)
@@ -9684,9 +9687,9 @@ class _e {
9684
9687
  }
9685
9688
  function dn(t, e) {
9686
9689
  let n = "";
9687
- return wt(t) ? (n = `Binary data of length ${t.byteLength}`, e && (n += `. Content: '${Ex(t)}'`)) : typeof t == "string" && (n = `String data of length ${t.length}`, e && (n += `. Content: '${t}'`)), n;
9690
+ return wt(t) ? (n = `Binary data of length ${t.byteLength}`, e && (n += `. Content: '${Bx(t)}'`)) : typeof t == "string" && (n = `String data of length ${t.length}`, e && (n += `. Content: '${t}'`)), n;
9688
9691
  }
9689
- function Ex(t) {
9692
+ function Bx(t) {
9690
9693
  const e = new Uint8Array(t);
9691
9694
  let n = "";
9692
9695
  return e.forEach((r) => {
@@ -9699,7 +9702,7 @@ function wt(t) {
9699
9702
  t.constructor && t.constructor.name === "ArrayBuffer");
9700
9703
  }
9701
9704
  async function Fi(t, e, n, r, o, a) {
9702
- const i = {}, [c, l] = Ht();
9705
+ const i = {}, [c, l] = Ut();
9703
9706
  i[c] = l, t.log(F.Trace, `(${e} transport) sending data. ${dn(o, a.logMessageContent)}.`);
9704
9707
  const s = wt(o) ? "arraybuffer" : "text", u = await n.post(r, {
9705
9708
  content: o,
@@ -9710,10 +9713,10 @@ async function Fi(t, e, n, r, o, a) {
9710
9713
  });
9711
9714
  t.log(F.Trace, `(${e} transport) request complete. Response status: ${u.statusCode}.`);
9712
9715
  }
9713
- function kx(t) {
9716
+ function Dx(t) {
9714
9717
  return t === void 0 ? new Pn(F.Information) : t === null ? un.instance : t.log !== void 0 ? t : new Pn(t);
9715
9718
  }
9716
- class Bx {
9719
+ class Sx {
9717
9720
  constructor(e, n) {
9718
9721
  this._subject = e, this._observer = n;
9719
9722
  }
@@ -9748,16 +9751,16 @@ class Pn {
9748
9751
  }
9749
9752
  }
9750
9753
  }
9751
- function Ht() {
9754
+ function Ut() {
9752
9755
  let t = "X-SignalR-User-Agent";
9753
- return _e.isNode && (t = "User-Agent"), [t, Dx(Ax, Sx(), Fx(), Ix())];
9756
+ return _e.isNode && (t = "User-Agent"), [t, Ix(kx, Fx(), Px(), Tx())];
9754
9757
  }
9755
- function Dx(t, e, n, r) {
9758
+ function Ix(t, e, n, r) {
9756
9759
  let o = "Microsoft SignalR/";
9757
9760
  const a = t.split(".");
9758
9761
  return o += `${a[0]}.${a[1]}`, o += ` (${t}; `, e && e !== "" ? o += `${e}; ` : o += "Unknown OS; ", o += `${n}`, r ? o += `; ${r}` : o += "; Unknown Runtime Version", o += ")", o;
9759
9762
  }
9760
- function Sx() {
9763
+ function Fx() {
9761
9764
  if (_e.isNode)
9762
9765
  switch (process.platform) {
9763
9766
  case "win32":
@@ -9772,17 +9775,17 @@ function Sx() {
9772
9775
  else
9773
9776
  return "";
9774
9777
  }
9775
- function Ix() {
9778
+ function Tx() {
9776
9779
  if (_e.isNode)
9777
9780
  return process.versions.node;
9778
9781
  }
9779
- function Fx() {
9782
+ function Px() {
9780
9783
  return _e.isNode ? "NodeJS" : "Browser";
9781
9784
  }
9782
9785
  function Tr(t) {
9783
9786
  return t.stack ? t.stack : t.message ? t.message : `${t}`;
9784
9787
  }
9785
- function Tx() {
9788
+ function Rx() {
9786
9789
  if (typeof globalThis < "u")
9787
9790
  return globalThis;
9788
9791
  if (typeof self < "u")
@@ -9793,13 +9796,13 @@ function Tx() {
9793
9796
  return global;
9794
9797
  throw new Error("could not find global");
9795
9798
  }
9796
- class Px extends jn {
9799
+ class Lx extends jn {
9797
9800
  constructor(e) {
9798
9801
  if (super(), this._logger = e, typeof fetch > "u" || _e.isNode) {
9799
9802
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
9800
9803
  this._jar = new (n("tough-cookie")).CookieJar(), typeof fetch > "u" ? this._fetchType = n("node-fetch") : this._fetchType = fetch, this._fetchType = n("fetch-cookie")(this._fetchType, this._jar);
9801
9804
  } else
9802
- this._fetchType = fetch.bind(Tx());
9805
+ this._fetchType = fetch.bind(Rx());
9803
9806
  if (typeof AbortController > "u") {
9804
9807
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
9805
9808
  this._abortControllerType = n("abort-controller");
@@ -9878,7 +9881,7 @@ function is(t, e) {
9878
9881
  }
9879
9882
  return n;
9880
9883
  }
9881
- class Rx extends jn {
9884
+ class $x extends jn {
9882
9885
  constructor(e) {
9883
9886
  super(), this._logger = e;
9884
9887
  }
@@ -9902,13 +9905,13 @@ class Rx extends jn {
9902
9905
  }) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
9903
9906
  }
9904
9907
  }
9905
- class Lx extends jn {
9908
+ class Mx extends jn {
9906
9909
  /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
9907
9910
  constructor(e) {
9908
9911
  if (super(), typeof fetch < "u" || _e.isNode)
9909
- this._httpClient = new Px(e);
9912
+ this._httpClient = new Lx(e);
9910
9913
  else if (typeof XMLHttpRequest < "u")
9911
- this._httpClient = new Rx(e);
9914
+ this._httpClient = new $x(e);
9912
9915
  else
9913
9916
  throw new Error("No usable HttpClient found.");
9914
9917
  }
@@ -9933,7 +9936,7 @@ class Ue {
9933
9936
  }
9934
9937
  Ue.RecordSeparatorCode = 30;
9935
9938
  Ue.RecordSeparator = String.fromCharCode(Ue.RecordSeparatorCode);
9936
- class $x {
9939
+ class Ox {
9937
9940
  // Handshake request is always JSON
9938
9941
  writeHandshakeRequest(e) {
9939
9942
  return Ue.write(JSON.stringify(e));
@@ -9963,7 +9966,7 @@ var te;
9963
9966
  (function(t) {
9964
9967
  t[t.Invocation = 1] = "Invocation", t[t.StreamItem = 2] = "StreamItem", t[t.Completion = 3] = "Completion", t[t.StreamInvocation = 4] = "StreamInvocation", t[t.CancelInvocation = 5] = "CancelInvocation", t[t.Ping = 6] = "Ping", t[t.Close = 7] = "Close", t[t.Ack = 8] = "Ack", t[t.Sequence = 9] = "Sequence";
9965
9968
  })(te || (te = {}));
9966
- class Mx {
9969
+ class Nx {
9967
9970
  constructor() {
9968
9971
  this.observers = [];
9969
9972
  }
@@ -9980,10 +9983,10 @@ class Mx {
9980
9983
  e.complete && e.complete();
9981
9984
  }
9982
9985
  subscribe(e) {
9983
- return this.observers.push(e), new Bx(this, e);
9986
+ return this.observers.push(e), new Sx(this, e);
9984
9987
  }
9985
9988
  }
9986
- class Ox {
9989
+ class zx {
9987
9990
  constructor(e, n, r) {
9988
9991
  this._bufferSize = 1e5, this._messages = [], this._totalMessageCount = 0, this._waitForSequenceMessage = !1, this._nextReceivingSequenceId = 1, this._latestReceivedSequenceId = 0, this._bufferedByteCount = 0, this._reconnectInProgress = !1, this._protocol = e, this._connection = n, this._bufferSize = r;
9989
9992
  }
@@ -9997,7 +10000,7 @@ class Ox {
9997
10000
  };
9998
10001
  wt(n) ? this._bufferedByteCount += n.byteLength : this._bufferedByteCount += n.length, this._bufferedByteCount >= this._bufferSize && (r = new Promise((i, c) => {
9999
10002
  o = i, a = c;
10000
- })), this._messages.push(new Nx(n, this._totalMessageCount, o, a));
10003
+ })), this._messages.push(new jx(n, this._totalMessageCount, o, a));
10001
10004
  }
10002
10005
  try {
10003
10006
  this._reconnectInProgress || await this._connection.send(n);
@@ -10075,12 +10078,12 @@ class Ox {
10075
10078
  }, 1e3));
10076
10079
  }
10077
10080
  }
10078
- class Nx {
10081
+ class jx {
10079
10082
  constructor(e, n, r, o) {
10080
10083
  this._message = e, this._id = n, this._resolver = r, this._rejector = o;
10081
10084
  }
10082
10085
  }
10083
- const zx = 30 * 1e3, jx = 15 * 1e3, Hx = 1e5;
10086
+ const Hx = 30 * 1e3, Ux = 15 * 1e3, qx = 1e5;
10084
10087
  var ve;
10085
10088
  (function(t) {
10086
10089
  t.Disconnected = "Disconnected", t.Connecting = "Connecting", t.Connected = "Connected", t.Disconnecting = "Disconnecting", t.Reconnecting = "Reconnecting";
@@ -10097,7 +10100,7 @@ class mo {
10097
10100
  constructor(e, n, r, o, a, i, c) {
10098
10101
  this._nextKeepAlive = 0, this._freezeEventListener = () => {
10099
10102
  this._logger.log(F.Warning, "The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep");
10100
- }, be.isRequired(e, "connection"), be.isRequired(n, "logger"), be.isRequired(r, "protocol"), this.serverTimeoutInMilliseconds = a ?? zx, this.keepAliveIntervalInMilliseconds = i ?? jx, this._statefulReconnectBufferSize = c ?? Hx, this._logger = n, this._protocol = r, this.connection = e, this._reconnectPolicy = o, this._handshakeProtocol = new $x(), this.connection.onreceive = (l) => this._processIncomingData(l), this.connection.onclose = (l) => this._connectionClosed(l), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = ve.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: te.Ping });
10103
+ }, be.isRequired(e, "connection"), be.isRequired(n, "logger"), be.isRequired(r, "protocol"), this.serverTimeoutInMilliseconds = a ?? Hx, this.keepAliveIntervalInMilliseconds = i ?? Ux, this._statefulReconnectBufferSize = c ?? qx, this._logger = n, this._protocol = r, this.connection = e, this._reconnectPolicy = o, this._handshakeProtocol = new Ox(), this.connection.onreceive = (l) => this._processIncomingData(l), this.connection.onclose = (l) => this._connectionClosed(l), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = ve.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: te.Ping });
10101
10104
  }
10102
10105
  /** Indicates the state of the {@link HubConnection} to the server. */
10103
10106
  get state() {
@@ -10157,7 +10160,7 @@ class mo {
10157
10160
  };
10158
10161
  if (this._logger.log(F.Debug, "Sending handshake request."), await this._sendMessage(this._handshakeProtocol.writeHandshakeRequest(r)), this._logger.log(F.Information, `Using HubProtocol '${this._protocol.name}'.`), this._cleanupTimeout(), this._resetTimeoutPeriod(), this._resetKeepAliveInterval(), await e, this._stopDuringStartError)
10159
10162
  throw this._stopDuringStartError;
10160
- (this.connection.features.reconnect || !1) && (this._messageBuffer = new Ox(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
10163
+ (this.connection.features.reconnect || !1) && (this._messageBuffer = new zx(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
10161
10164
  if (this._messageBuffer)
10162
10165
  return this._messageBuffer._resend();
10163
10166
  }), this.connection.features.inherentKeepAlive || await this._sendMessage(this._cachedPingMessage);
@@ -10201,7 +10204,7 @@ class mo {
10201
10204
  stream(e, ...n) {
10202
10205
  const [r, o] = this._replaceStreamingParams(n), a = this._createStreamInvocation(e, n, o);
10203
10206
  let i;
10204
- const c = new Mx();
10207
+ const c = new Nx();
10205
10208
  return c.cancelCallback = () => {
10206
10209
  const l = this._createCancelInvocation(a.invocationId);
10207
10210
  return delete this._callbacks[a.invocationId], i.then(() => this._sendWithProtocol(l));
@@ -10587,10 +10590,10 @@ class mo {
10587
10590
  return { type: te.Close };
10588
10591
  }
10589
10592
  }
10590
- const Ux = [0, 2e3, 1e4, 3e4, null];
10593
+ const Wx = [0, 2e3, 1e4, 3e4, null];
10591
10594
  class cs {
10592
10595
  constructor(e) {
10593
- this._retryDelays = e !== void 0 ? [...e, null] : Ux;
10596
+ this._retryDelays = e !== void 0 ? [...e, null] : Wx;
10594
10597
  }
10595
10598
  nextRetryDelayInMilliseconds(e) {
10596
10599
  return this._retryDelays[e.previousRetryCount];
@@ -10600,7 +10603,7 @@ class yt {
10600
10603
  }
10601
10604
  yt.Authorization = "Authorization";
10602
10605
  yt.Cookie = "Cookie";
10603
- class qx extends jn {
10606
+ class Vx extends jn {
10604
10607
  constructor(e, n) {
10605
10608
  super(), this._innerClient = e, this._accessTokenFactory = n;
10606
10609
  }
@@ -10625,7 +10628,7 @@ var Ie;
10625
10628
  (function(t) {
10626
10629
  t[t.Text = 1] = "Text", t[t.Binary = 2] = "Binary";
10627
10630
  })(Ie || (Ie = {}));
10628
- let Wx = class {
10631
+ let Kx = class {
10629
10632
  constructor() {
10630
10633
  this._isAborted = !1, this.onabort = null;
10631
10634
  }
@@ -10645,12 +10648,12 @@ class ls {
10645
10648
  return this._pollAbort.aborted;
10646
10649
  }
10647
10650
  constructor(e, n, r) {
10648
- this._httpClient = e, this._logger = n, this._pollAbort = new Wx(), this._options = r, this._running = !1, this.onreceive = null, this.onclose = null;
10651
+ this._httpClient = e, this._logger = n, this._pollAbort = new Kx(), this._options = r, this._running = !1, this.onreceive = null, this.onclose = null;
10649
10652
  }
10650
10653
  async connect(e, n) {
10651
10654
  if (be.isRequired(e, "url"), be.isRequired(n, "transferFormat"), be.isIn(n, Ie, "transferFormat"), this._url = e, this._logger.log(F.Trace, "(LongPolling transport) Connecting."), n === Ie.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
10652
10655
  throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
10653
- const [r, o] = Ht(), a = { [r]: o, ...this._options.headers }, i = {
10656
+ const [r, o] = Ut(), a = { [r]: o, ...this._options.headers }, i = {
10654
10657
  abortSignal: this._pollAbort.signal,
10655
10658
  headers: a,
10656
10659
  timeout: 1e5,
@@ -10684,7 +10687,7 @@ class ls {
10684
10687
  this._logger.log(F.Trace, "(LongPolling transport) Stopping polling."), this._running = !1, this._pollAbort.abort();
10685
10688
  try {
10686
10689
  await this._receiving, this._logger.log(F.Trace, `(LongPolling transport) sending DELETE request to ${this._url}.`);
10687
- const e = {}, [n, r] = Ht();
10690
+ const e = {}, [n, r] = Ut();
10688
10691
  e[n] = r;
10689
10692
  const o = {
10690
10693
  headers: { ...e, ...this._options.headers },
@@ -10709,7 +10712,7 @@ class ls {
10709
10712
  }
10710
10713
  }
10711
10714
  }
10712
- class Vx {
10715
+ class Gx {
10713
10716
  constructor(e, n, r, o) {
10714
10717
  this._httpClient = e, this._accessToken = n, this._logger = r, this._options = o, this.onreceive = null, this.onclose = null;
10715
10718
  }
@@ -10726,7 +10729,7 @@ class Vx {
10726
10729
  else {
10727
10730
  const c = this._httpClient.getCookieString(e), l = {};
10728
10731
  l.Cookie = c;
10729
- const [s, u] = Ht();
10732
+ const [s, u] = Ut();
10730
10733
  l[s] = u, i = new this._options.EventSource(e, { withCredentials: this._options.withCredentials, headers: { ...l, ...this._options.headers } });
10731
10734
  }
10732
10735
  try {
@@ -10759,7 +10762,7 @@ class Vx {
10759
10762
  this._eventSource && (this._eventSource.close(), this._eventSource = void 0, this.onclose && this.onclose(e));
10760
10763
  }
10761
10764
  }
10762
- class Kx {
10765
+ class Xx {
10763
10766
  constructor(e, n, r, o, a, i) {
10764
10767
  this._logger = r, this._accessTokenFactory = n, this._logMessageContent = o, this._webSocketConstructor = a, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = i;
10765
10768
  }
@@ -10772,7 +10775,7 @@ class Kx {
10772
10775
  const c = this._httpClient.getCookieString(e);
10773
10776
  let l = !1;
10774
10777
  if (_e.isNode || _e.isReactNative) {
10775
- const s = {}, [u, _] = Ht();
10778
+ const s = {}, [u, _] = Ut();
10776
10779
  s[u] = _, r && (s[yt.Authorization] = `Bearer ${r}`), c && (s[yt.Cookie] = c), i = new this._webSocketConstructor(e, void 0, {
10777
10780
  headers: { ...s, ...this._headers }
10778
10781
  });
@@ -10818,10 +10821,10 @@ class Kx {
10818
10821
  }
10819
10822
  }
10820
10823
  const us = 100;
10821
- class Gx {
10824
+ class Qx {
10822
10825
  constructor(e, n = {}) {
10823
10826
  if (this._stopPromiseResolver = () => {
10824
- }, this.features = {}, this._negotiateVersion = 1, be.isRequired(e, "url"), this._logger = kx(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
10827
+ }, this.features = {}, this._negotiateVersion = 1, be.isRequired(e, "url"), this._logger = Dx(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
10825
10828
  n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
10826
10829
  else
10827
10830
  throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
@@ -10831,7 +10834,7 @@ class Gx {
10831
10834
  const a = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
10832
10835
  r = a("ws"), o = a("eventsource");
10833
10836
  }
10834
- !_e.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : _e.isNode && !n.WebSocket && r && (n.WebSocket = r), !_e.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : _e.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new qx(n.httpClient || new Lx(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
10837
+ !_e.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : _e.isNode && !n.WebSocket && r && (n.WebSocket = r), !_e.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : _e.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new Vx(n.httpClient || new Mx(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
10835
10838
  }
10836
10839
  async start(e) {
10837
10840
  if (e = e || Ie.Binary, be.isIn(e, Ie, "transferFormat"), this._logger.log(F.Debug, `Starting connection with transfer format '${Ie[e]}'.`), this._connectionState !== "Disconnected")
@@ -10907,7 +10910,7 @@ class Gx {
10907
10910
  }
10908
10911
  }
10909
10912
  async _getNegotiationResponse(e) {
10910
- const n = {}, [r, o] = Ht();
10913
+ const n = {}, [r, o] = Ut();
10911
10914
  n[r] = o;
10912
10915
  const a = this._resolveNegotiateUrl(e);
10913
10916
  this._logger.log(F.Debug, `Sending negotiation request: ${a}.`);
@@ -10955,25 +10958,25 @@ class Gx {
10955
10958
  await this._startTransport(a, o), this.connectionId = l.connectionId;
10956
10959
  return;
10957
10960
  } catch (_) {
10958
- if (this._logger.log(F.Error, `Failed to start the transport '${s.transport}': ${_}`), l = void 0, i.push(new bx(`${s.transport} failed: ${_}`, ye[s.transport])), this._connectionState !== "Connecting") {
10961
+ if (this._logger.log(F.Error, `Failed to start the transport '${s.transport}': ${_}`), l = void 0, i.push(new Ax(`${s.transport} failed: ${_}`, ye[s.transport])), this._connectionState !== "Connecting") {
10959
10962
  const d = "Failed to select transport before stop() was called.";
10960
10963
  return this._logger.log(F.Debug, d), Promise.reject(new Qe(d));
10961
10964
  }
10962
10965
  }
10963
10966
  }
10964
10967
  }
10965
- return i.length > 0 ? Promise.reject(new wx(`Unable to connect to the server with any of the available transports. ${i.join(" ")}`, i)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
10968
+ return i.length > 0 ? Promise.reject(new Ex(`Unable to connect to the server with any of the available transports. ${i.join(" ")}`, i)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
10966
10969
  }
10967
10970
  _constructTransport(e) {
10968
10971
  switch (e) {
10969
10972
  case ye.WebSockets:
10970
10973
  if (!this._options.WebSocket)
10971
10974
  throw new Error("'WebSocket' is not supported in your environment.");
10972
- return new Kx(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
10975
+ return new Xx(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
10973
10976
  case ye.ServerSentEvents:
10974
10977
  if (!this._options.EventSource)
10975
10978
  throw new Error("'EventSource' is not supported in your environment.");
10976
- return new Vx(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
10979
+ return new Gx(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
10977
10980
  case ye.LongPolling:
10978
10981
  return new ls(this._httpClient, this._logger, this._options);
10979
10982
  default:
@@ -11000,10 +11003,10 @@ class Gx {
11000
11003
  const a = ye[e.transport];
11001
11004
  if (a == null)
11002
11005
  return this._logger.log(F.Debug, `Skipping transport '${e.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);
11003
- if (Xx(n, a))
11006
+ if (Yx(n, a))
11004
11007
  if (e.transferFormats.map((c) => Ie[c]).indexOf(r) >= 0) {
11005
11008
  if (a === ye.WebSockets && !this._options.WebSocket || a === ye.ServerSentEvents && !this._options.EventSource)
11006
- return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it is not supported in your environment.'`), new Cx(`'${ye[a]}' is not supported in your environment.`, a);
11009
+ return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it is not supported in your environment.'`), new bx(`'${ye[a]}' is not supported in your environment.`, a);
11007
11010
  this._logger.log(F.Debug, `Selecting transport '${ye[a]}'.`);
11008
11011
  try {
11009
11012
  return this.features.reconnect = a === ye.WebSockets ? o : void 0, this._constructTransport(a);
@@ -11013,7 +11016,7 @@ class Gx {
11013
11016
  } else
11014
11017
  return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it does not support the requested transfer format '${Ie[r]}'.`), new Error(`'${ye[a]}' does not support ${Ie[r]}.`);
11015
11018
  else
11016
- return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it was disabled by the client.`), new yx(`'${ye[a]}' is disabled by the client.`, a);
11019
+ return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it was disabled by the client.`), new wx(`'${ye[a]}' is disabled by the client.`, a);
11017
11020
  }
11018
11021
  _isITransport(e) {
11019
11022
  return e && typeof e == "object" && "connect" in e;
@@ -11051,7 +11054,7 @@ class Gx {
11051
11054
  return r.has("negotiateVersion") || r.append("negotiateVersion", this._negotiateVersion.toString()), r.has("useStatefulReconnect") ? r.get("useStatefulReconnect") === "true" && (this._options._useStatefulReconnect = !0) : this._options._useStatefulReconnect === !0 && r.append("useStatefulReconnect", "true"), n.search = r.toString(), n.toString();
11052
11055
  }
11053
11056
  }
11054
- function Xx(t, e) {
11057
+ function Yx(t, e) {
11055
11058
  return !t || (e & t) !== 0;
11056
11059
  }
11057
11060
  class _o {
@@ -11106,10 +11109,10 @@ class An {
11106
11109
  this._rejecter(e);
11107
11110
  }
11108
11111
  }
11109
- const Qx = "json";
11110
- class Yx {
11112
+ const Jx = "json";
11113
+ class Zx {
11111
11114
  constructor() {
11112
- this.name = Qx, this.version = 2, this.transferFormat = Ie.Text;
11115
+ this.name = Jx, this.version = 2, this.transferFormat = Ie.Text;
11113
11116
  }
11114
11117
  /** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
11115
11118
  *
@@ -11188,7 +11191,7 @@ class Yx {
11188
11191
  throw new Error(n);
11189
11192
  }
11190
11193
  }
11191
- const Jx = {
11194
+ const ev = {
11192
11195
  trace: F.Trace,
11193
11196
  debug: F.Debug,
11194
11197
  info: F.Information,
@@ -11199,18 +11202,18 @@ const Jx = {
11199
11202
  critical: F.Critical,
11200
11203
  none: F.None
11201
11204
  };
11202
- function Zx(t) {
11203
- const e = Jx[t.toLowerCase()];
11205
+ function tv(t) {
11206
+ const e = ev[t.toLowerCase()];
11204
11207
  if (typeof e < "u")
11205
11208
  return e;
11206
11209
  throw new Error(`Unknown log level: ${t}`);
11207
11210
  }
11208
- class ev {
11211
+ class nv {
11209
11212
  configureLogging(e) {
11210
- if (be.isRequired(e, "logging"), tv(e))
11213
+ if (be.isRequired(e, "logging"), rv(e))
11211
11214
  this.logger = e;
11212
11215
  else if (typeof e == "string") {
11213
- const n = Zx(e);
11216
+ const n = tv(e);
11214
11217
  this.logger = new Pn(n);
11215
11218
  } else
11216
11219
  this.logger = new Pn(e);
@@ -11263,16 +11266,16 @@ class ev {
11263
11266
  const e = this.httpConnectionOptions || {};
11264
11267
  if (e.logger === void 0 && (e.logger = this.logger), !this.url)
11265
11268
  throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
11266
- const n = new Gx(this.url, e);
11267
- return mo.create(n, this.logger || un.instance, this.protocol || new Yx(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
11269
+ const n = new Qx(this.url, e);
11270
+ return mo.create(n, this.logger || un.instance, this.protocol || new Zx(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
11268
11271
  }
11269
11272
  }
11270
- function tv(t) {
11273
+ function rv(t) {
11271
11274
  return t.log !== void 0;
11272
11275
  }
11273
- let { baseURL: nv } = At();
11274
- const rv = () => {
11275
- const t = new ev().withUrl(`${nv}/api/tool/event-bus`, {
11276
+ let { baseURL: ov } = At();
11277
+ const av = () => {
11278
+ const t = new nv().withUrl(`${ov}/api/tool/event-bus`, {
11276
11279
  skipNegotiation: !0,
11277
11280
  transport: ye.WebSockets
11278
11281
  }).withAutomaticReconnect().build();
@@ -11281,10 +11284,10 @@ const rv = () => {
11281
11284
  }), t.onclose((e) => {
11282
11285
  }), t.onreconnected(() => {
11283
11286
  }), t;
11284
- }, Hn = "v1", ov = pt(`/api/graphics-engine/component/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), av = pt(`/api/portal/manager/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), sv = pt(`/api/speech-base/speech/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), ds = ov.get("/component/client/heartbeat"), iv = av.get("/basics/by-alias");
11285
- sv.post("/control/callBack");
11286
- const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.get("/permissionset/application"), uv = Jr.get("/permissionset/user-portal-menu"), fs = async (t, e) => {
11287
- const [n, r] = await uv().run({
11287
+ }, Hn = "v1", sv = pt(`/api/graphics-engine/component/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), iv = pt(`/api/portal/manager/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), cv = pt(`/api/speech-base/speech/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), ds = sv.get("/component/client/heartbeat"), lv = iv.get("/basics/by-alias");
11288
+ cv.post("/control/callBack");
11289
+ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.get("/permissionset/application"), fv = Jr.get("/permissionset/user-portal-menu"), fs = async (t, e) => {
11290
+ const [n, r] = await fv().run({
11288
11291
  code: t,
11289
11292
  showBtn: !1,
11290
11293
  userType: 1
@@ -11292,7 +11295,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11292
11295
  if (n || !r || !r.length) return null;
11293
11296
  const o = Ve(r).find((a) => a.code === e);
11294
11297
  return o || null;
11295
- }, dv = () => {
11298
+ }, pv = () => {
11296
11299
  const t = xn(), { entryApp: e } = Sn.hooks.useEntryApp(), { entryMenu: n } = Sn.hooks.useEntryMenu();
11297
11300
  let r = null;
11298
11301
  return dt(async () => {
@@ -11352,7 +11355,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11352
11355
  if (G)
11353
11356
  e({ microApp: G });
11354
11357
  else {
11355
- const [K, U] = await lv().run({ menuCode: H });
11358
+ const [K, U] = await dv().run({ menuCode: H });
11356
11359
  if (K) return;
11357
11360
  const W = C.find((Z) => Z.code === U);
11358
11361
  if (W) {
@@ -11379,7 +11382,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11379
11382
  setTimeout(async () => {
11380
11383
  var g, C;
11381
11384
  if (l.value) {
11382
- const [E, k] = await iv().run({}, { params: { aliasName: h.actionValue } });
11385
+ const [E, k] = await lv().run({}, { params: { aliasName: h.actionValue } });
11383
11386
  E ? await Pr().run({
11384
11387
  uniqueId: h.uniqueId,
11385
11388
  status: 0,
@@ -11398,7 +11401,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11398
11401
  }, 2e3);
11399
11402
  }, u = (h) => {
11400
11403
  const g = ft(), C = JSON.parse(atob(g.split(".")[1])).sub;
11401
- rv().on(`${h}:${C}`, async function(k) {
11404
+ av().on(`${h}:${C}`, async function(k) {
11402
11405
  let b = i(k);
11403
11406
  if (b)
11404
11407
  b.uniqueId && b.actionKey == "switch-menu" && s(b);
@@ -11425,10 +11428,10 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11425
11428
  }), pn(() => {
11426
11429
  r && clearInterval(r);
11427
11430
  }), {};
11428
- }, Un = "v1", fv = Ut(`/api/fms/report/${Un}`), Co = Ut(`/api/emergency/manage/${Un}`), pv = to.get("/permissionset/user-portal-menu"), Ti = Ut(`/api/alarm/config/${Un}`), hv = Ut(`/api/alarm/run-time/${Un}`), xv = Ti.get("/alarm-definition/status-option"), vv = hv.post("/record/handling"), gv = Ti.get("/alarm-level/prompttone"), mv = fv.get("/alarm/rule/list"), _v = Ss.get("/controller/space-children-all-type"), Cv = Ss.get("/controller/fuzzy-area-small"), yv = Co.get("/emergency-event/event/type"), bv = Co.get("/emergency-event/event/level"), wv = Co.get("/emergency-plan/plan/handle-time"), Av = { class: "handle-alarm-container" }, Ev = { class: "select-check" }, kv = { class: "form-box" }, Bv = { class: "select-check" }, Dv = { style: { "margin-left": "8px" } }, Sv = { class: "foot-btn-box" }, Iv = {
11431
+ }, Un = "v1", hv = qt(`/api/fms/report/${Un}`), Co = qt(`/api/emergency/manage/${Un}`), xv = to.get("/permissionset/user-portal-menu"), Ti = qt(`/api/alarm/config/${Un}`), vv = qt(`/api/alarm/run-time/${Un}`), gv = Ti.get("/alarm-definition/status-option"), mv = vv.post("/record/handling"), _v = Ti.get("/alarm-level/prompttone"), Cv = hv.get("/alarm/rule/list"), yv = Ss.get("/controller/space-children-all-type"), bv = Ss.get("/controller/fuzzy-area-small"), wv = Co.get("/emergency-event/event/type"), Av = Co.get("/emergency-event/event/level"), Ev = Co.get("/emergency-plan/plan/handle-time"), kv = { class: "handle-alarm-container" }, Bv = { class: "select-check" }, Dv = { class: "form-box" }, Sv = { class: "select-check" }, Iv = { style: { "margin-left": "8px" } }, Fv = { class: "foot-btn-box" }, Tv = {
11429
11432
  name: "handleAlarm"
11430
- }, Fv = /* @__PURE__ */ xe({
11431
- ...Iv,
11433
+ }, Pv = /* @__PURE__ */ xe({
11434
+ ...Tv,
11432
11435
  props: {
11433
11436
  projectId: { default: "" },
11434
11437
  handerIds: { default: [] }
@@ -11492,13 +11495,13 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11492
11495
  const E = L(!0), k = L(!0), b = async (j) => {
11493
11496
  const R = { name: "1" };
11494
11497
  j != null && j.id && (R.spaceId = j.id);
11495
- const [O, Te] = await _v(R).run();
11498
+ const [O, Te] = await yv(R).run();
11496
11499
  return O ? {} : Te;
11497
11500
  }, w = async (j) => {
11498
- const R = { name: j || "" }, [O, Te] = await Cv(R).run();
11501
+ const R = { name: j || "" }, [O, Te] = await bv(R).run();
11499
11502
  return O ? {} : Te;
11500
11503
  }, B = L(!0), y = L(!0), A = L([]), S = async () => {
11501
- const [j, R] = await mv().run({ pageIndex: -1, pageSize: -1 });
11504
+ const [j, R] = await Cv().run({ pageIndex: -1, pageSize: -1 });
11502
11505
  if (j) return {};
11503
11506
  A.value = R.data.filter((O) => O.status), A.value.length > 0 && (s.value.workOrderRules = A.value[0].id);
11504
11507
  };
@@ -11535,13 +11538,13 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11535
11538
  }, Z = (j) => {
11536
11539
  j == "eventTypeId" && (s.value.eventLevelId = null, P()), j == "eventLevelId" && M(), j == "interval" && (u.value.timeLimit = "", s.value.interval == 3 ? (_.value = !0, s.value.timeLimit = "") : _.value = !1);
11537
11540
  }, T = async () => {
11538
- const [j, R] = await yv().run();
11541
+ const [j, R] = await wv().run();
11539
11542
  if (j) return {};
11540
11543
  d.value = R, s.value.eventTypeId || (s.value.eventTypeId = R[0] ? R[0].id : null), P();
11541
11544
  }, P = async () => {
11542
11545
  const j = {
11543
11546
  eventTypeId: s.value.eventTypeId
11544
- }, [R, O] = await bv(j).run();
11547
+ }, [R, O] = await Av(j).run();
11545
11548
  if (R) return {};
11546
11549
  const Te = { 1: X("一级").value, 2: X("二级").value, 3: X("三级").value, 4: X("四级").value };
11547
11550
  f.value = O.map((Je) => ({
@@ -11552,7 +11555,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11552
11555
  const j = {
11553
11556
  eventTypeId: s.value.eventTypeId,
11554
11557
  eventLevel: s.value.eventLevelId
11555
- }, [R, O] = await wv(j).run();
11558
+ }, [R, O] = await Ev(j).run();
11556
11559
  if (R) return {};
11557
11560
  s.value.interval = O.handleTimeUnit, O.handleTimeUnit == 3 ? s.value.timeLimit = "" : s.value.timeLimit = O.handleTime;
11558
11561
  }, $ = (j) => {
@@ -11564,7 +11567,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11564
11567
  projectId: r.projectId
11565
11568
  };
11566
11569
  a.value = !0;
11567
- const [R, O] = await xv(j).run();
11570
+ const [R, O] = await gv(j).run();
11568
11571
  if (R) {
11569
11572
  a.value = !1;
11570
11573
  return;
@@ -11598,7 +11601,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11598
11601
  //处理类型id
11599
11602
  };
11600
11603
  s.value.processTypeId === "createorder" ? (j.path = k.value ? "" : s.value.customPath, j.topic = y.value ? "" : s.value.reportTheme, j.spaceId = k.value ? "" : s.value.reportPosition ?? "", j.orderId = s.value.workOrderRules) : s.value.processTypeId === "createcontingency" ? (j.eventTypeId = s.value.eventTypeId, j.eventLevelId = s.value.eventLevelId, j.timeLimit = s.value.interval == 3 ? null : Number(s.value.timeLimit), j.interval = s.value.interval) : (j.reason = s.value.reason, j.treatmentPlan = s.value.treatmentPlan, j.remarks = s.value.remarks), a.value = !0, o("emitFn", "startHandle");
11601
- const [R, O] = await vv(j, {
11604
+ const [R, O] = await mv(j, {
11602
11605
  params: {
11603
11606
  projectId: r.projectId
11604
11607
  }
@@ -11616,7 +11619,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11616
11619
  return e({
11617
11620
  open: st,
11618
11621
  close: vt
11619
- }), (j, R) => (N(), ce("div", Av, [
11622
+ }), (j, R) => (N(), ce("div", kv, [
11620
11623
  Y(D(eo), {
11621
11624
  modelValue: l.value,
11622
11625
  "onUpdate:modelValue": R[31] || (R[31] = (O) => l.value = O),
@@ -11637,7 +11640,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11637
11640
  )
11638
11641
  ]),
11639
11642
  footer: V(() => [
11640
- q("div", Sv, [
11643
+ q("div", Fv, [
11641
11644
  Y(D(Lt), {
11642
11645
  size: "middle",
11643
11646
  onClick: De
@@ -11696,7 +11699,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11696
11699
  class: "handle-alarm-dialog-content"
11697
11700
  },
11698
11701
  [
11699
- Y(D(j0), {
11702
+ Y(D(H0), {
11700
11703
  style: { width: "100%", height: "100%", "align-items": "center" },
11701
11704
  cols: 1,
11702
11705
  alignType: "horizontal"
@@ -11771,9 +11774,9 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11771
11774
  marginRight: "0"
11772
11775
  }, {
11773
11776
  default: V(() => [
11774
- q("div", Ev, [
11775
- q("div", kv, [
11776
- Y(D(z0), {
11777
+ q("div", Bv, [
11778
+ q("div", Dv, [
11779
+ Y(D(j0), {
11777
11780
  borderType: "underline",
11778
11781
  props: { disabled: "_disabled", label: "name" },
11779
11782
  modelValue: s.value.reportPosition,
@@ -11834,7 +11837,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11834
11837
  marginRight: "0"
11835
11838
  }, {
11836
11839
  default: V(() => [
11837
- q("div", Bv, [
11840
+ q("div", Sv, [
11838
11841
  Y(D(Oo), {
11839
11842
  maxlength: "20",
11840
11843
  disabled: B.value,
@@ -11935,8 +11938,8 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11935
11938
  marginRight: "0"
11936
11939
  }, {
11937
11940
  default: V(() => [
11938
- q("div", Dv, [
11939
- Y(D(N0), {
11941
+ q("div", Iv, [
11942
+ Y(D(z0), {
11940
11943
  class: "select",
11941
11944
  modelValue: s.value.interval,
11942
11945
  "onUpdate:modelValue": R[25] || (R[25] = (O) => s.value.interval = O),
@@ -11975,18 +11978,18 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
11975
11978
  }, 8, ["modelValue"])
11976
11979
  ]));
11977
11980
  }
11978
- }), Tv = /* @__PURE__ */ Ne(Fv, [["__scopeId", "data-v-f392391d"]]), Pv = (t, e, n) => ({
11979
- handleAlarmVue: () => we(Tv, {
11981
+ }), Rv = /* @__PURE__ */ Ne(Pv, [["__scopeId", "data-v-f392391d"]]), Lv = (t, e, n) => ({
11982
+ handleAlarmVue: () => we(Rv, {
11980
11983
  handerIds: e.value,
11981
11984
  projectId: Qr().id,
11982
11985
  ref: t,
11983
11986
  onEmitFn: (o, a) => {
11984
11987
  }
11985
11988
  })
11986
- }), Rv = { class: "alarm-msg" }, Lv = { style: { position: "relative" } }, $v = { class: "title-left" }, Mv = { class: "title-box" }, Ov = { class: "content-box" }, Nv = { class: "alarm-msg-line" }, zv = { class: "alarm-msg-line-left" }, jv = { class: "alarm-msg-line" }, Hv = { class: "alarm-msg-line-left" }, Uv = { class: "alarm-msg-line-right alarm-content-object" }, qv = { class: "alarm-msg-line" }, Wv = { class: "alarm-msg-line-left" }, Vv = { class: "alarm-msg-line-right alarm-content" }, Kv = { class: "btn-box" }, Gv = {
11989
+ }), $v = { class: "alarm-msg" }, Mv = { style: { position: "relative" } }, Ov = { class: "title-left" }, Nv = { class: "title-box" }, zv = { class: "content-box" }, jv = { class: "alarm-msg-line" }, Hv = { class: "alarm-msg-line-left" }, Uv = { class: "alarm-msg-line" }, qv = { class: "alarm-msg-line-left" }, Wv = { class: "alarm-msg-line-right alarm-content-object" }, Vv = { class: "alarm-msg-line" }, Kv = { class: "alarm-msg-line-left" }, Gv = { class: "alarm-msg-line-right alarm-content" }, Xv = { class: "btn-box" }, Qv = {
11987
11990
  name: "alarm"
11988
- }, Xv = /* @__PURE__ */ xe({
11989
- ...Gv,
11991
+ }, Yv = /* @__PURE__ */ xe({
11992
+ ...Qv,
11990
11993
  props: {
11991
11994
  alarmhandle: { type: Boolean, default: !1 },
11992
11995
  msgItem: { default: {} }
@@ -12003,22 +12006,22 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
12003
12006
  null,
12004
12007
  [
12005
12008
  Q(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
12006
- q("div", Rv, [
12007
- q("div", Lv, [
12009
+ q("div", $v, [
12010
+ q("div", Mv, [
12008
12011
  q(
12009
12012
  "div",
12010
12013
  {
12011
- style: Lr({ "background-color": t.msgItem.color }),
12014
+ style: Lr({ "background-color": i.msgItem.color }),
12012
12015
  class: "title-detail"
12013
12016
  },
12014
12017
  [
12015
- q("div", $v, [
12018
+ q("div", Ov, [
12016
12019
  Q(` <div class="icon-box" :style="{ color: msgItem.color }">\r
12017
12020
  !\r
12018
12021
  </div> `),
12019
12022
  q(
12020
12023
  "div",
12021
- Mv,
12024
+ Nv,
12022
12025
  Ce(D(X)("新告警").value),
12023
12026
  1
12024
12027
  /* TEXT */
@@ -12035,11 +12038,11 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
12035
12038
  4
12036
12039
  /* STYLE */
12037
12040
  ),
12038
- q("div", Ov, [
12039
- q("div", Nv, [
12041
+ q("div", zv, [
12042
+ q("div", jv, [
12040
12043
  q(
12041
12044
  "div",
12042
- zv,
12045
+ Hv,
12043
12046
  Ce(D(X)("告警等级:").value),
12044
12047
  1
12045
12048
  /* TEXT */
@@ -12048,47 +12051,47 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
12048
12051
  "div",
12049
12052
  {
12050
12053
  class: "alarm-msg-line-right alarm-content-object",
12051
- style: Lr({ color: t.msgItem.color })
12054
+ style: Lr({ color: i.msgItem.color })
12052
12055
  },
12053
- Ce(t.msgItem.alarmLevelName || ""),
12056
+ Ce(i.msgItem.alarmLevelName || ""),
12054
12057
  5
12055
12058
  /* TEXT, STYLE */
12056
12059
  )
12057
12060
  ]),
12058
- q("div", jv, [
12061
+ q("div", Uv, [
12059
12062
  q(
12060
12063
  "div",
12061
- Hv,
12064
+ qv,
12062
12065
  Ce(D(X)("告警对象:").value),
12063
12066
  1
12064
12067
  /* TEXT */
12065
12068
  ),
12066
12069
  q(
12067
12070
  "div",
12068
- Uv,
12069
- Ce(t.msgItem.equipmentName || ""),
12071
+ Wv,
12072
+ Ce(i.msgItem.equipmentName || ""),
12070
12073
  1
12071
12074
  /* TEXT */
12072
12075
  )
12073
12076
  ]),
12074
- q("div", qv, [
12077
+ q("div", Vv, [
12075
12078
  q(
12076
12079
  "div",
12077
- Wv,
12080
+ Kv,
12078
12081
  Ce(D(X)("告警内容:").value),
12079
12082
  1
12080
12083
  /* TEXT */
12081
12084
  ),
12082
12085
  q(
12083
12086
  "div",
12084
- Vv,
12085
- Ce(t.msgItem.alarmContent || ""),
12087
+ Gv,
12088
+ Ce(i.msgItem.alarmContent || ""),
12086
12089
  1
12087
12090
  /* TEXT */
12088
12091
  )
12089
12092
  ]),
12090
- q("div", Kv, [
12091
- t.msgItem.equipmentCode && t.msgItem.equipmentPanelCode ? (N(), re(D(Lt), {
12093
+ q("div", Xv, [
12094
+ i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (N(), re(D(Lt), {
12092
12095
  key: 0,
12093
12096
  block: "",
12094
12097
  onClick: Ae(a, ["stop"]),
@@ -12105,7 +12108,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
12105
12108
  _: 1
12106
12109
  /* STABLE */
12107
12110
  })) : Q("v-if", !0),
12108
- t.alarmhandle ? (N(), re(D(Lt), {
12111
+ i.alarmhandle ? (N(), re(D(Lt), {
12109
12112
  key: 1,
12110
12113
  block: "",
12111
12114
  btnType: "primary-text",
@@ -12132,7 +12135,7 @@ const cv = pt(`/api/tool/event-bus/${Hn}/`), Pr = cv.post("/publish"), lv = Jr.g
12132
12135
  ));
12133
12136
  }
12134
12137
  });
12135
- let Qv = (t = 21) => {
12138
+ let Jv = (t = 21) => {
12136
12139
  let e = "", n = crypto.getRandomValues(new Uint8Array(t));
12137
12140
  for (; t--; ) {
12138
12141
  let r = n[t] & 63;
@@ -12140,7 +12143,7 @@ let Qv = (t = 21) => {
12140
12143
  }
12141
12144
  return e;
12142
12145
  };
12143
- const Yv = () => {
12146
+ const Zv = () => {
12144
12147
  const t = L(null), e = L(0), n = L(null), r = L(null), o = L([]), a = L([]), i = L(!1), c = L(!1), l = L(!1), s = L({
12145
12148
  playId: "",
12146
12149
  // 播放的告警的recordId
@@ -12167,7 +12170,7 @@ const Yv = () => {
12167
12170
  B.push({ alarmId: w.recordId }), o.value = B, (y = n.value) == null || y.open();
12168
12171
  }, { entryApp: _ } = Sn.hooks.useEntryApp(), d = (w) => {
12169
12172
  Fs(w.equipmentCode, w.equipmentPanelCode);
12170
- }, { handleAlarmVue: f } = Pv(n, o), p = async () => {
12173
+ }, { handleAlarmVue: f } = Lv(n, o), p = async () => {
12171
12174
  var y;
12172
12175
  const B = (((y = ge().appcategorys) == null ? void 0 : y.map((A) => A.apps).flat()) ?? []).find((A) => A.code === "alarm");
12173
12176
  B && _({ microApp: B, menuPath: `/${B.routeUrl}/realTimeAlarm` });
@@ -12178,13 +12181,13 @@ const Yv = () => {
12178
12181
  }
12179
12182
  }, m = (w) => {
12180
12183
  if (!w) return;
12181
- const B = Qv();
12184
+ const B = Jv();
12182
12185
  Dn.open({
12183
12186
  key: B,
12184
12187
  class: "alarm-notify",
12185
12188
  message: X("新告警").value,
12186
12189
  placement: "bottomRight",
12187
- description: we(Xv, {
12190
+ description: we(Yv, {
12188
12191
  msgItem: w,
12189
12192
  alarmhandle: i.value,
12190
12193
  onHanderDetail: d,
@@ -12228,7 +12231,7 @@ const Yv = () => {
12228
12231
  s.value.loopCount = s.value.loopCount + 1, s.value.loopTotalCount && s.value.loopTotalCount && (s.value.loopCount == s.value.loopTotalCount ? (s.value.playPath = "", s.value.isplay = !1, s.value.playId = "", s.value.loopTotalCount = 0, s.value.loopCount = 0, s.value.playLine = null) : r.value.play());
12229
12232
  };
12230
12233
  }, k = async () => {
12231
- const [w, B] = await gv().run();
12234
+ const [w, B] = await _v().run();
12232
12235
  w || (l.value = B.isEnable);
12233
12236
  };
12234
12237
  return {
@@ -12239,7 +12242,7 @@ const Yv = () => {
12239
12242
  handleAlarmVue: f,
12240
12243
  creatAlarmSocket: async () => {
12241
12244
  k();
12242
- const [w, B] = await pv().run({
12245
+ const [w, B] = await xv().run({
12243
12246
  code: "alarm",
12244
12247
  showBtn: !0
12245
12248
  });
@@ -12260,10 +12263,10 @@ const Yv = () => {
12260
12263
  }));
12261
12264
  }
12262
12265
  };
12263
- }, Jv = ["src", "muted", "loop"], Zv = /* @__PURE__ */ xe({
12266
+ }, eg = ["src", "muted", "loop"], tg = /* @__PURE__ */ xe({
12264
12267
  __name: "index",
12265
12268
  setup(t) {
12266
- const { alarmSocket: e, creatAlarmSocket: n, audioObj: r, audioAlarmRef: o, handleAlarmVue: a } = Yv();
12269
+ const { alarmSocket: e, creatAlarmSocket: n, audioObj: r, audioAlarmRef: o, handleAlarmVue: a } = Zv();
12267
12270
  return dt(async () => {
12268
12271
  await Ln(), n();
12269
12272
  }), pn(() => {
@@ -12281,19 +12284,19 @@ const Yv = () => {
12281
12284
  muted: !D(r).isplay,
12282
12285
  loop: D(r).loop,
12283
12286
  autoplay: ""
12284
- }, null, 8, Jv)
12287
+ }, null, 8, eg)
12285
12288
  ],
12286
12289
  64
12287
12290
  /* STABLE_FRAGMENT */
12288
12291
  ));
12289
12292
  }
12290
- }), eg = { class: "das-main-app-container" }, tg = /* @__PURE__ */ xe({
12293
+ }), ng = { class: "das-main-app-container" }, rg = /* @__PURE__ */ xe({
12291
12294
  __name: "index",
12292
12295
  props: {
12293
12296
  showLayout: { type: Boolean, default: !0 }
12294
12297
  },
12295
12298
  setup(t) {
12296
- const e = t, { isFullscreen: n } = qt(), r = At().showLayout ?? !0, o = J(() => r && e.showLayout && !n.value), a = J(() => ke.excludeRoutes), i = J(() => ke.routeKeepAliveVisible), c = J(() => ({ mode: Ei.value.style === 1 ? "vertical" : "inline" }));
12299
+ const e = t, { isFullscreen: n } = Wt(), r = At().showLayout ?? !0, o = J(() => r && e.showLayout && !n.value), a = J(() => ke.excludeRoutes), i = J(() => ke.routeKeepAliveVisible), c = J(() => ({ mode: Ei.value.style === 1 ? "vertical" : "inline" }));
12297
12300
  he(
12298
12301
  () => ms.nav.activeItem,
12299
12302
  (d) => {
@@ -12305,15 +12308,15 @@ const Yv = () => {
12305
12308
  },
12306
12309
  { immediate: !0 }
12307
12310
  );
12308
- const { initNextTick: l } = Bh();
12309
- Ih(), Lh(), Th(), $h(), Bi(), Sh();
12310
- const { fontColor: s, backgroudColor: u, borderColor: _ } = Fh();
12311
- return zh(), jh(), Hh(), qh(), _x(), dv(), (d, f) => (N(), ce("div", eg, [
12311
+ const { initNextTick: l } = Sh();
12312
+ Th(), Mh(), Rh(), Oh(), Bi(), Fh();
12313
+ const { fontColor: s, backgroudColor: u, borderColor: _ } = Ph();
12314
+ return Hh(), Uh(), qh(), Vh(), yx(), pv(), (d, f) => (N(), ce("div", ng, [
12312
12315
  Q(` <button @click="test(0)">test</button>\r
12313
12316
  <button style="margin-left: 5px" @click="test(1)">test2</button> `),
12314
- Y(D(fl), { platformInitNextTick: D(l) }, {
12317
+ Y(D(hl), { platformInitNextTick: D(l) }, {
12315
12318
  default: V(() => [
12316
- Y(ll, {
12319
+ Y(dl, {
12317
12320
  pageKey: D(_s),
12318
12321
  showLayout: o.value,
12319
12322
  excludeRoutes: a.value,
@@ -12336,10 +12339,10 @@ const Yv = () => {
12336
12339
  /* FORWARDED */
12337
12340
  }, 8, ["platformInitNextTick"]),
12338
12341
  Q(" 告警 "),
12339
- Y(D(Zv))
12342
+ Y(D(tg))
12340
12343
  ]));
12341
12344
  }
12342
- }), ng = /* @__PURE__ */ Ne(tg, [["__scopeId", "data-v-7a63b5ce"]]), rg = {
12345
+ }), og = /* @__PURE__ */ Ne(rg, [["__scopeId", "data-v-7a63b5ce"]]), ag = {
12343
12346
  正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework", "zh-MO": "正在實時預覽" },
12344
12347
  声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework", "zh-MO": "聲音" },
12345
12348
  截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework", "zh-MO": "截圖" },
@@ -12518,22 +12521,22 @@ const Yv = () => {
12518
12521
  "zh-MO": "當前實例($0)$1天后過期(到期時間:$2),請儘快聯繫管理人員續費,過期失效後將會停用物聯網平臺所有功能服務~"
12519
12522
  }
12520
12523
  };
12521
- f0(rg);
12524
+ f0(ag);
12522
12525
  L("@das-fed/upf-web");
12523
- const og = [
12526
+ const sg = [
12524
12527
  {
12525
12528
  path: ot,
12526
- component: () => import("./index-DpJn_DL4.js")
12529
+ component: () => import("./index-0g6_Ce0M.js")
12527
12530
  },
12528
12531
  {
12529
12532
  path: Os,
12530
- component: () => import("./index-D6QATXs1.js")
12533
+ component: () => import("./index-CppaPRNy.js")
12531
12534
  }
12532
- ], _m = {
12533
- routes: og,
12534
- Layout: ng,
12535
+ ], ym = {
12536
+ routes: sg,
12537
+ Layout: og,
12535
12538
  data: {
12536
- homeInfo: yh,
12539
+ homeInfo: wh,
12537
12540
  personalConfig: Ei
12538
12541
  },
12539
12542
  hooks: {
@@ -12543,44 +12546,44 @@ const og = [
12543
12546
  };
12544
12547
  export {
12545
12548
  Ho as A,
12546
- lm as B,
12547
- um as C,
12548
- dm as D,
12549
- fm as E,
12550
- pm as F,
12551
- hm as G,
12549
+ dm as B,
12550
+ fm as C,
12551
+ pm as D,
12552
+ hm as E,
12553
+ xm as F,
12554
+ vm as G,
12552
12555
  ae as H,
12553
12556
  mt as I,
12554
- vm as J,
12555
- gm as K,
12557
+ mm as J,
12558
+ _m as K,
12556
12559
  me as L,
12557
- xm as M,
12558
- _m as N,
12560
+ gm as M,
12561
+ ym as N,
12559
12562
  Ne as _,
12560
12563
  Hr as a,
12561
- Zg as b,
12564
+ nm as b,
12562
12565
  Fn as c,
12563
- om as d,
12564
- Q0 as e,
12565
- nc as f,
12566
+ sm as d,
12567
+ Y0 as e,
12568
+ rc as f,
12566
12569
  Qs as g,
12567
- rc as h,
12568
- tm as i,
12569
- oc as j,
12570
- rm as k,
12570
+ oc as h,
12571
+ om as i,
12572
+ sc as j,
12573
+ am as k,
12571
12574
  ke as l,
12572
- an as m,
12575
+ zt as m,
12573
12576
  zo as n,
12574
12577
  $t as o,
12575
12578
  Ei as p,
12576
- am as q,
12577
- em as r,
12578
- ec as s,
12579
- nm as t,
12579
+ im as q,
12580
+ rm as r,
12581
+ tc as s,
12582
+ ac as t,
12580
12583
  _n as u,
12581
- sm as v,
12582
- im as w,
12583
- cm as x,
12584
- cc as y,
12584
+ cm as v,
12585
+ lm as w,
12586
+ um as x,
12587
+ uc as y,
12585
12588
  Ot as z
12586
12589
  };