@das-fed/upf-web 6.4.0-dev.217 → 6.4.0-dev.218
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.
- package/es5.js +949 -953
- package/{index-Bg6PM02l.js → index-B2YeFQ3Z.js} +1 -1
- package/{index-Duoum6s2.js → index-CGxSVJwB.js} +522 -524
- package/index-CGxSVJwB.js.gz +0 -0
- package/{packages/main-app-framework/index-DLOeR4lo.js → index-DoFPzS4H.js} +1 -1
- package/index-DoFPzS4H.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/main-app-framework/es5.js +991 -995
- package/packages/main-app-framework/{index-D2I3UnWM.js → index-3vSO62GO.js} +1 -1
- package/packages/main-app-framework/{index-D2D_f0hd.js → index-B_17B7NN.js} +604 -606
- package/packages/main-app-framework/index-B_17B7NN.js.gz +0 -0
- package/{index-DsbX1-Oq.js → packages/main-app-framework/index-CXgpHY21.js} +1 -1
- package/packages/main-app-framework/index-CXgpHY21.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/index-DsbX1-Oq.js.gz +0 -0
- package/index-Duoum6s2.js.gz +0 -0
- package/packages/main-app-framework/index-D2D_f0hd.js.gz +0 -0
- package/packages/main-app-framework/index-DLOeR4lo.js.gz +0 -0
package/es5.js
CHANGED
|
@@ -259,7 +259,7 @@ var G0 = function G0(t) {
|
|
|
259
259
|
});
|
|
260
260
|
});
|
|
261
261
|
},
|
|
262
|
-
|
|
262
|
+
Zg = function Zg(t) {
|
|
263
263
|
var c;
|
|
264
264
|
t || (t = {});
|
|
265
265
|
var e = ref(true);
|
|
@@ -281,7 +281,7 @@ var G0 = function G0(t) {
|
|
|
281
281
|
store: Nr
|
|
282
282
|
};
|
|
283
283
|
},
|
|
284
|
-
|
|
284
|
+
em = {
|
|
285
285
|
loaded: {},
|
|
286
286
|
isLoaded: function isLoaded(t, e) {
|
|
287
287
|
return !!(this.loaded[t] && this.loaded[t][e]);
|
|
@@ -368,7 +368,7 @@ var G0 = function G0(t) {
|
|
|
368
368
|
i && (nn[i] || (nn[i] = {}), nn[i][_a3] = t[_a3]), $t[_a3] || ($t[_a3] = t[_a3]);
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
|
-
|
|
371
|
+
tm = /*#__PURE__*/function () {
|
|
372
372
|
var _ref9 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(t) {
|
|
373
373
|
var e;
|
|
374
374
|
return _regenerator().w(function (_context3) {
|
|
@@ -382,7 +382,7 @@ var G0 = function G0(t) {
|
|
|
382
382
|
}
|
|
383
383
|
}, _callee3);
|
|
384
384
|
}));
|
|
385
|
-
return function
|
|
385
|
+
return function tm(_x7) {
|
|
386
386
|
return _ref9.apply(this, arguments);
|
|
387
387
|
};
|
|
388
388
|
}(),
|
|
@@ -413,7 +413,7 @@ var G0 = function G0(t) {
|
|
|
413
413
|
});
|
|
414
414
|
},
|
|
415
415
|
rc = nc,
|
|
416
|
-
|
|
416
|
+
nm = function nm(t) {
|
|
417
417
|
for (var _len2 = arguments.length, e = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
418
418
|
e[_key2 - 1] = arguments[_key2];
|
|
419
419
|
}
|
|
@@ -422,7 +422,7 @@ var G0 = function G0(t) {
|
|
|
422
422
|
oc = function oc(t) {
|
|
423
423
|
an.value = t, Ps();
|
|
424
424
|
},
|
|
425
|
-
|
|
425
|
+
rm = function rm() {
|
|
426
426
|
return an;
|
|
427
427
|
},
|
|
428
428
|
jo = {
|
|
@@ -531,12 +531,12 @@ var G0 = function G0(t) {
|
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
};
|
|
534
|
-
function
|
|
534
|
+
function om(t, e) {
|
|
535
535
|
var r;
|
|
536
536
|
var n = window.DATE_FORMAT_MAP;
|
|
537
537
|
return n && n[t] && n[t][e] ? n[t][e] : ((r = window.DATE_FORMAT_MAP[t]) == null ? undefined : r[e]) || "YYYY-MM-DD";
|
|
538
538
|
}
|
|
539
|
-
var
|
|
539
|
+
var am = /*#__PURE__*/function () {
|
|
540
540
|
var _ref0 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(t) {
|
|
541
541
|
var e, n, _t6;
|
|
542
542
|
return _regenerator().w(function (_context4) {
|
|
@@ -560,11 +560,11 @@ var sm = /*#__PURE__*/function () {
|
|
|
560
560
|
}
|
|
561
561
|
}, _callee4, null, [[1, 4]]);
|
|
562
562
|
}));
|
|
563
|
-
return function
|
|
563
|
+
return function am(_x8) {
|
|
564
564
|
return _ref0.apply(this, arguments);
|
|
565
565
|
};
|
|
566
566
|
}(),
|
|
567
|
-
|
|
567
|
+
sm = /*#__PURE__*/function () {
|
|
568
568
|
var _ref1 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
|
|
569
569
|
var t,
|
|
570
570
|
e,
|
|
@@ -594,7 +594,7 @@ var sm = /*#__PURE__*/function () {
|
|
|
594
594
|
}
|
|
595
595
|
}, _callee5, null, [[1, 3]]);
|
|
596
596
|
}));
|
|
597
|
-
return function
|
|
597
|
+
return function sm() {
|
|
598
598
|
return _ref1.apply(this, arguments);
|
|
599
599
|
};
|
|
600
600
|
}(),
|
|
@@ -661,7 +661,7 @@ var Ho = function Ho(t, e) {
|
|
|
661
661
|
var o = "".concat(rn, "-").concat(Ot.value);
|
|
662
662
|
document.body.classList.contains(o) || document.body.classList.add(o);
|
|
663
663
|
},
|
|
664
|
-
|
|
664
|
+
im = /*#__PURE__*/function () {
|
|
665
665
|
var _ref11 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(t) {
|
|
666
666
|
var r, o, e, n;
|
|
667
667
|
return _regenerator().w(function (_context6) {
|
|
@@ -683,11 +683,11 @@ var Ho = function Ho(t, e) {
|
|
|
683
683
|
}
|
|
684
684
|
}, _callee6);
|
|
685
685
|
}));
|
|
686
|
-
return function
|
|
686
|
+
return function im(_x9) {
|
|
687
687
|
return _ref11.apply(this, arguments);
|
|
688
688
|
};
|
|
689
689
|
}(),
|
|
690
|
-
|
|
690
|
+
cm = function cm(t) {
|
|
691
691
|
document.body.classList.add("".concat(rn, "-light")), t === "light" && document.body.classList.remove("".concat(rn, "-").concat(Ot.value)), Ot.value = t, document.body.classList.add("".concat(rn, "-").concat(Ot.value));
|
|
692
692
|
},
|
|
693
693
|
cc = function cc(t) {
|
|
@@ -696,10 +696,10 @@ var Ho = function Ho(t, e) {
|
|
|
696
696
|
return ((n = (e = Zt.value) == null ? undefined : e[Ot.value]) == null ? undefined : n[t]) || ((o = (r = Jt.value) == null ? undefined : r[Ot.value]) == null ? undefined : o[t]) || t;
|
|
697
697
|
});
|
|
698
698
|
},
|
|
699
|
-
|
|
699
|
+
lm = function lm(t) {
|
|
700
700
|
return "var(".concat(t, ")");
|
|
701
701
|
},
|
|
702
|
-
|
|
702
|
+
um = cc,
|
|
703
703
|
de = reactive({
|
|
704
704
|
visible: false,
|
|
705
705
|
theme: "default",
|
|
@@ -1640,9 +1640,9 @@ var Ho = function Ho(t, e) {
|
|
|
1640
1640
|
};
|
|
1641
1641
|
}
|
|
1642
1642
|
}),
|
|
1643
|
-
|
|
1643
|
+
dm = /* @__PURE__ */Ne(Dc, [["__scopeId", "data-v-cc197012"]]),
|
|
1644
1644
|
Sc = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"],
|
|
1645
|
-
|
|
1645
|
+
fm = /* @__PURE__ */defineComponent({
|
|
1646
1646
|
__name: "das-web-nav",
|
|
1647
1647
|
setup: function setup(t) {
|
|
1648
1648
|
var e = mt.nav,
|
|
@@ -1890,7 +1890,7 @@ var Ho = function Ho(t, e) {
|
|
|
1890
1890
|
}
|
|
1891
1891
|
}),
|
|
1892
1892
|
Ic = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"],
|
|
1893
|
-
|
|
1893
|
+
pm = /* @__PURE__ */defineComponent({
|
|
1894
1894
|
__name: "das-web-menu",
|
|
1895
1895
|
props: {
|
|
1896
1896
|
menuAttr: {}
|
|
@@ -1971,7 +1971,7 @@ var Ho = function Ho(t, e) {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
}),
|
|
1973
1973
|
Fc = ["theme", "modelValue", "options"],
|
|
1974
|
-
|
|
1974
|
+
hm = /* @__PURE__ */defineComponent({
|
|
1975
1975
|
__name: "das-web-tabs",
|
|
1976
1976
|
props: {
|
|
1977
1977
|
tabsAttr: {}
|
|
@@ -2979,7 +2979,7 @@ var Yc = ["src", "entry", "name"],
|
|
|
2979
2979
|
}
|
|
2980
2980
|
}),
|
|
2981
2981
|
tl = /* @__PURE__ */Ne(el, [["__scopeId", "data-v-3abdb1e9"]]),
|
|
2982
|
-
|
|
2982
|
+
xm = /* @__PURE__ */defineComponent({
|
|
2983
2983
|
__name: "das-main-app-layout",
|
|
2984
2984
|
props: {
|
|
2985
2985
|
transitionConfig: {
|
|
@@ -3071,7 +3071,7 @@ var Yc = ["src", "entry", "name"],
|
|
|
3071
3071
|
return t.startsWith(n);
|
|
3072
3072
|
}) ? t : "/".concat(t);
|
|
3073
3073
|
},
|
|
3074
|
-
|
|
3074
|
+
vm = function vm(t, e) {
|
|
3075
3075
|
if (!(t != null && t.microApps) || !Array.isArray(t.microApps)) return;
|
|
3076
3076
|
window.__IN_DAS_MAIN_APP = true, t != null && t.microAppRouterPrefix && (Vo.value = t.microAppRouterPrefix), Se.value = (t.microApps || []).filter(function (o) {
|
|
3077
3077
|
return !!o.name;
|
|
@@ -3115,7 +3115,7 @@ var Yc = ["src", "entry", "name"],
|
|
|
3115
3115
|
a === "reload" && (i !== undefined && (window.__isAutoCloseApp = i), location.reload());
|
|
3116
3116
|
});
|
|
3117
3117
|
},
|
|
3118
|
-
|
|
3118
|
+
gm = function gm(t, e) {
|
|
3119
3119
|
if (!(t != null && t.microAppName)) return;
|
|
3120
3120
|
window.config.microAppName = t.microAppName, window.self !== window.top && t.microAppName && (window.__IN_DAS_MICRO_APP = true);
|
|
3121
3121
|
var n = "das-micro-app-ghost";
|
|
@@ -3665,10 +3665,6 @@ var Yc = ["src", "entry", "name"],
|
|
|
3665
3665
|
};
|
|
3666
3666
|
setThemeRule(pl);
|
|
3667
3667
|
var ml = function ml() {
|
|
3668
|
-
var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
3669
|
-
sessionStorage.setItem("userInfo", JSON.stringify(t));
|
|
3670
|
-
},
|
|
3671
|
-
_l = function _l() {
|
|
3672
3668
|
var _t$id, _t$userName, _t$flag, _ref61;
|
|
3673
3669
|
var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
3674
3670
|
var n;
|
|
@@ -3681,11 +3677,11 @@ var ml = function ml() {
|
|
|
3681
3677
|
};
|
|
3682
3678
|
sessionStorage.setItem("hotentUserInfo", JSON.stringify(e));
|
|
3683
3679
|
},
|
|
3684
|
-
|
|
3680
|
+
_l = function _l() {
|
|
3685
3681
|
var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
|
|
3686
3682
|
localStorage.setItem("fav-icon", t);
|
|
3687
3683
|
},
|
|
3688
|
-
|
|
3684
|
+
Cl = function Cl() {
|
|
3689
3685
|
sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
|
|
3690
3686
|
},
|
|
3691
3687
|
He = function He(t) {
|
|
@@ -3741,7 +3737,7 @@ var ml = function ml() {
|
|
|
3741
3737
|
for (var n in e.subAppList) e.subAppList[n].code === e.currentSubAppCode && (e.subAppList[n].currentMenuCode = t);
|
|
3742
3738
|
sessionStorage.setItem("subApps", JSON.stringify(e));
|
|
3743
3739
|
},
|
|
3744
|
-
|
|
3740
|
+
yl = function yl(t, e) {
|
|
3745
3741
|
var n = "permission-btn",
|
|
3746
3742
|
r = JSON.parse(sessionStorage.getItem(n) || "{}") || {},
|
|
3747
3743
|
o = t != null && t.length ? t.filter(function (l) {
|
|
@@ -3785,10 +3781,10 @@ var ml = function ml() {
|
|
|
3785
3781
|
}));
|
|
3786
3782
|
}), r[e] = c, sessionStorage.setItem(n, JSON.stringify(r)), r;
|
|
3787
3783
|
},
|
|
3788
|
-
|
|
3784
|
+
bl = function bl() {
|
|
3789
3785
|
sessionStorage.removeItem("permission-btn");
|
|
3790
3786
|
},
|
|
3791
|
-
|
|
3787
|
+
wl = function wl(t, e) {
|
|
3792
3788
|
var n = "breadcrumb",
|
|
3793
3789
|
r = t.filter(function (a) {
|
|
3794
3790
|
return a.routeUrl;
|
|
@@ -3801,10 +3797,10 @@ var ml = function ml() {
|
|
|
3801
3797
|
o[e] || (o[e] = {}), o[e][l] = c;
|
|
3802
3798
|
}), sessionStorage.setItem(n, JSON.stringify(o)), o;
|
|
3803
3799
|
},
|
|
3804
|
-
|
|
3800
|
+
Al = function Al() {
|
|
3805
3801
|
sessionStorage.removeItem("breadcrumb");
|
|
3806
3802
|
},
|
|
3807
|
-
|
|
3803
|
+
El = function El(t, e) {
|
|
3808
3804
|
var n = "tabStyle",
|
|
3809
3805
|
r = t.filter(function (a) {
|
|
3810
3806
|
return a.routeUrl;
|
|
@@ -3819,16 +3815,16 @@ var ml = function ml() {
|
|
|
3819
3815
|
o[e] || (o[e] = {}), o[e][i] = c;
|
|
3820
3816
|
}), sessionStorage.setItem(n, JSON.stringify(o)), o;
|
|
3821
3817
|
},
|
|
3822
|
-
|
|
3818
|
+
kl = function kl() {
|
|
3823
3819
|
sessionStorage.removeItem("tabStyle");
|
|
3824
3820
|
},
|
|
3825
|
-
|
|
3821
|
+
Bl = function Bl(t) {
|
|
3826
3822
|
sessionStorage.setItem("instance", JSON.stringify(t));
|
|
3827
3823
|
},
|
|
3828
|
-
|
|
3829
|
-
|
|
3824
|
+
Dl = function Dl() {
|
|
3825
|
+
bl(), ro(), Ns(), Al(), kl();
|
|
3830
3826
|
},
|
|
3831
|
-
|
|
3827
|
+
Sl = function Sl(t) {
|
|
3832
3828
|
var e = JSON.parse(sessionStorage.getItem(t) || "{}");
|
|
3833
3829
|
if (e && JSON.stringify(e) !== "{}" && e != null && e.exitConfirmPages && e.exitConfirmPages.length) {
|
|
3834
3830
|
var _ref64;
|
|
@@ -3857,10 +3853,10 @@ var ml = function ml() {
|
|
|
3857
3853
|
}
|
|
3858
3854
|
};
|
|
3859
3855
|
var oe = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" ? globalThis : (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window : (typeof global === "undefined" ? "undefined" : _typeof(global)) < "u" ? global : (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" ? self : {};
|
|
3860
|
-
function
|
|
3856
|
+
function Il(t) {
|
|
3861
3857
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t["default"] : t;
|
|
3862
3858
|
}
|
|
3863
|
-
function
|
|
3859
|
+
function Fl(t) {
|
|
3864
3860
|
if (t.__esModule) return t;
|
|
3865
3861
|
var e = t["default"];
|
|
3866
3862
|
if (typeof e == "function") {
|
|
@@ -3884,20 +3880,20 @@ function Tl(t) {
|
|
|
3884
3880
|
var js = {
|
|
3885
3881
|
exports: {}
|
|
3886
3882
|
};
|
|
3887
|
-
function
|
|
3883
|
+
function Tl(t) {
|
|
3888
3884
|
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.');
|
|
3889
3885
|
}
|
|
3890
3886
|
var Gn = {
|
|
3891
3887
|
exports: {}
|
|
3892
3888
|
};
|
|
3893
|
-
var
|
|
3894
|
-
|
|
3889
|
+
var Pl = {},
|
|
3890
|
+
Rl = /* @__PURE__ */Object.freeze(/* @__PURE__ */Object.defineProperty({
|
|
3895
3891
|
__proto__: null,
|
|
3896
|
-
"default":
|
|
3892
|
+
"default": Pl
|
|
3897
3893
|
}, Symbol.toStringTag, {
|
|
3898
3894
|
value: "Module"
|
|
3899
3895
|
})),
|
|
3900
|
-
|
|
3896
|
+
Ll = /* @__PURE__ */Fl(Rl);
|
|
3901
3897
|
var ea;
|
|
3902
3898
|
function se() {
|
|
3903
3899
|
return ea || (ea = 1, function (t, e) {
|
|
@@ -3906,8 +3902,8 @@ function se() {
|
|
|
3906
3902
|
})(oe, function () {
|
|
3907
3903
|
var n = n || function (r, o) {
|
|
3908
3904
|
var a;
|
|
3909
|
-
if ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && window.crypto && (a = window.crypto), (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" && self.crypto && (a = self.crypto), (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" && globalThis.crypto && (a = globalThis.crypto), !a && (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && window.msCrypto && (a = window.msCrypto), !a && _typeof(oe) < "u" && oe.crypto && (a = oe.crypto), !a && typeof
|
|
3910
|
-
a =
|
|
3905
|
+
if ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && window.crypto && (a = window.crypto), (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" && self.crypto && (a = self.crypto), (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" && globalThis.crypto && (a = globalThis.crypto), !a && (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && window.msCrypto && (a = window.msCrypto), !a && _typeof(oe) < "u" && oe.crypto && (a = oe.crypto), !a && typeof Tl == "function") try {
|
|
3906
|
+
a = Ll;
|
|
3911
3907
|
} catch (_unused5) {}
|
|
3912
3908
|
var i = function i() {
|
|
3913
3909
|
if (a) {
|
|
@@ -4643,7 +4639,7 @@ var Qn = {
|
|
|
4643
4639
|
exports: {}
|
|
4644
4640
|
},
|
|
4645
4641
|
na;
|
|
4646
|
-
function
|
|
4642
|
+
function $l() {
|
|
4647
4643
|
return na || (na = 1, function (t, e) {
|
|
4648
4644
|
(function (n, r) {
|
|
4649
4645
|
t.exports = r(se());
|
|
@@ -4670,7 +4666,7 @@ var Yn = {
|
|
|
4670
4666
|
exports: {}
|
|
4671
4667
|
},
|
|
4672
4668
|
ra;
|
|
4673
|
-
function
|
|
4669
|
+
function Ml() {
|
|
4674
4670
|
return ra || (ra = 1, function (t, e) {
|
|
4675
4671
|
(function (n, r) {
|
|
4676
4672
|
t.exports = r(se());
|
|
@@ -4849,7 +4845,7 @@ var Zn = {
|
|
|
4849
4845
|
exports: {}
|
|
4850
4846
|
},
|
|
4851
4847
|
aa;
|
|
4852
|
-
function
|
|
4848
|
+
function Ol() {
|
|
4853
4849
|
return aa || (aa = 1, function (t, e) {
|
|
4854
4850
|
(function (n, r) {
|
|
4855
4851
|
t.exports = r(se());
|
|
@@ -5146,7 +5142,7 @@ var rr = {
|
|
|
5146
5142
|
exports: {}
|
|
5147
5143
|
},
|
|
5148
5144
|
la;
|
|
5149
|
-
function
|
|
5145
|
+
function Nl() {
|
|
5150
5146
|
return la || (la = 1, function (t, e) {
|
|
5151
5147
|
(function (n, r, o) {
|
|
5152
5148
|
t.exports = r(se(), oo$1());
|
|
@@ -5273,7 +5269,7 @@ var ar = {
|
|
|
5273
5269
|
exports: {}
|
|
5274
5270
|
},
|
|
5275
5271
|
da;
|
|
5276
|
-
function
|
|
5272
|
+
function zl() {
|
|
5277
5273
|
return da || (da = 1, function (t, e) {
|
|
5278
5274
|
(function (n, r, o) {
|
|
5279
5275
|
t.exports = r(se(), $n(), Us());
|
|
@@ -5303,7 +5299,7 @@ var sr = {
|
|
|
5303
5299
|
exports: {}
|
|
5304
5300
|
},
|
|
5305
5301
|
fa;
|
|
5306
|
-
function
|
|
5302
|
+
function jl() {
|
|
5307
5303
|
return fa || (fa = 1, function (t, e) {
|
|
5308
5304
|
(function (n, r, o) {
|
|
5309
5305
|
t.exports = r(se(), $n());
|
|
@@ -5435,7 +5431,7 @@ var ir = {
|
|
|
5435
5431
|
exports: {}
|
|
5436
5432
|
},
|
|
5437
5433
|
pa;
|
|
5438
|
-
function
|
|
5434
|
+
function Hl() {
|
|
5439
5435
|
return pa || (pa = 1, function (t, e) {
|
|
5440
5436
|
(function (n, r) {
|
|
5441
5437
|
t.exports = r(se());
|
|
@@ -5624,7 +5620,7 @@ var lr = {
|
|
|
5624
5620
|
exports: {}
|
|
5625
5621
|
},
|
|
5626
5622
|
xa;
|
|
5627
|
-
function
|
|
5623
|
+
function Ul() {
|
|
5628
5624
|
return xa || (xa = 1, function (t, e) {
|
|
5629
5625
|
(function (n, r, o) {
|
|
5630
5626
|
t.exports = r(se(), oo$1(), ao());
|
|
@@ -6350,7 +6346,7 @@ var fr = {
|
|
|
6350
6346
|
exports: {}
|
|
6351
6347
|
},
|
|
6352
6348
|
ma;
|
|
6353
|
-
function
|
|
6349
|
+
function ql() {
|
|
6354
6350
|
return ma || (ma = 1, function (t, e) {
|
|
6355
6351
|
(function (n, r, o) {
|
|
6356
6352
|
t.exports = r(se(), Ee());
|
|
@@ -6386,7 +6382,7 @@ var pr = {
|
|
|
6386
6382
|
exports: {}
|
|
6387
6383
|
},
|
|
6388
6384
|
_a;
|
|
6389
|
-
function
|
|
6385
|
+
function Wl() {
|
|
6390
6386
|
return _a || (_a = 1, function (t, e) {
|
|
6391
6387
|
(function (n, r, o) {
|
|
6392
6388
|
t.exports = r(se(), Ee());
|
|
@@ -6414,7 +6410,7 @@ var hr = {
|
|
|
6414
6410
|
exports: {}
|
|
6415
6411
|
},
|
|
6416
6412
|
Ca;
|
|
6417
|
-
function
|
|
6413
|
+
function Vl() {
|
|
6418
6414
|
return Ca || (Ca = 1, function (t, e) {
|
|
6419
6415
|
(function (n, r, o) {
|
|
6420
6416
|
t.exports = r(se(), Ee());
|
|
@@ -6459,7 +6455,7 @@ var xr = {
|
|
|
6459
6455
|
exports: {}
|
|
6460
6456
|
},
|
|
6461
6457
|
ya;
|
|
6462
|
-
function
|
|
6458
|
+
function Kl() {
|
|
6463
6459
|
return ya || (ya = 1, function (t, e) {
|
|
6464
6460
|
(function (n, r, o) {
|
|
6465
6461
|
t.exports = r(se(), Ee());
|
|
@@ -6485,7 +6481,7 @@ var vr = {
|
|
|
6485
6481
|
exports: {}
|
|
6486
6482
|
},
|
|
6487
6483
|
ba;
|
|
6488
|
-
function
|
|
6484
|
+
function Gl() {
|
|
6489
6485
|
return ba || (ba = 1, function (t, e) {
|
|
6490
6486
|
(function (n, r, o) {
|
|
6491
6487
|
t.exports = r(se(), Ee());
|
|
@@ -6509,7 +6505,7 @@ var gr = {
|
|
|
6509
6505
|
exports: {}
|
|
6510
6506
|
},
|
|
6511
6507
|
wa;
|
|
6512
|
-
function
|
|
6508
|
+
function Xl() {
|
|
6513
6509
|
return wa || (wa = 1, function (t, e) {
|
|
6514
6510
|
(function (n, r, o) {
|
|
6515
6511
|
t.exports = r(se(), Ee());
|
|
@@ -6534,7 +6530,7 @@ var mr = {
|
|
|
6534
6530
|
exports: {}
|
|
6535
6531
|
},
|
|
6536
6532
|
Aa;
|
|
6537
|
-
function
|
|
6533
|
+
function Ql() {
|
|
6538
6534
|
return Aa || (Aa = 1, function (t, e) {
|
|
6539
6535
|
(function (n, r, o) {
|
|
6540
6536
|
t.exports = r(se(), Ee());
|
|
@@ -6557,7 +6553,7 @@ var _r = {
|
|
|
6557
6553
|
exports: {}
|
|
6558
6554
|
},
|
|
6559
6555
|
Ea;
|
|
6560
|
-
function
|
|
6556
|
+
function Yl() {
|
|
6561
6557
|
return Ea || (Ea = 1, function (t, e) {
|
|
6562
6558
|
(function (n, r, o) {
|
|
6563
6559
|
t.exports = r(se(), Ee());
|
|
@@ -6577,7 +6573,7 @@ var Cr = {
|
|
|
6577
6573
|
exports: {}
|
|
6578
6574
|
},
|
|
6579
6575
|
ka;
|
|
6580
|
-
function
|
|
6576
|
+
function Jl() {
|
|
6581
6577
|
return ka || (ka = 1, function (t, e) {
|
|
6582
6578
|
(function (n, r, o) {
|
|
6583
6579
|
t.exports = r(se(), Ee());
|
|
@@ -6601,7 +6597,7 @@ var yr = {
|
|
|
6601
6597
|
exports: {}
|
|
6602
6598
|
},
|
|
6603
6599
|
Ba;
|
|
6604
|
-
function
|
|
6600
|
+
function Zl() {
|
|
6605
6601
|
return Ba || (Ba = 1, function (t, e) {
|
|
6606
6602
|
(function (n, r, o) {
|
|
6607
6603
|
t.exports = r(se(), Ee());
|
|
@@ -6617,7 +6613,7 @@ var br = {
|
|
|
6617
6613
|
exports: {}
|
|
6618
6614
|
},
|
|
6619
6615
|
Da;
|
|
6620
|
-
function
|
|
6616
|
+
function eu() {
|
|
6621
6617
|
return Da || (Da = 1, function (t, e) {
|
|
6622
6618
|
(function (n, r, o) {
|
|
6623
6619
|
t.exports = r(se(), Ee());
|
|
@@ -6674,7 +6670,7 @@ var wr = {
|
|
|
6674
6670
|
exports: {}
|
|
6675
6671
|
},
|
|
6676
6672
|
Sa;
|
|
6677
|
-
function
|
|
6673
|
+
function tu() {
|
|
6678
6674
|
return Sa || (Sa = 1, function (t, e) {
|
|
6679
6675
|
(function (n, r, o) {
|
|
6680
6676
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -6755,7 +6751,7 @@ var Ar = {
|
|
|
6755
6751
|
exports: {}
|
|
6756
6752
|
},
|
|
6757
6753
|
Ia;
|
|
6758
|
-
function
|
|
6754
|
+
function nu() {
|
|
6759
6755
|
return Ia || (Ia = 1, function (t, e) {
|
|
6760
6756
|
(function (n, r, o) {
|
|
6761
6757
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -7362,7 +7358,7 @@ var Er = {
|
|
|
7362
7358
|
exports: {}
|
|
7363
7359
|
},
|
|
7364
7360
|
Fa;
|
|
7365
|
-
function
|
|
7361
|
+
function ru() {
|
|
7366
7362
|
return Fa || (Fa = 1, function (t, e) {
|
|
7367
7363
|
(function (n, r, o) {
|
|
7368
7364
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -7422,7 +7418,7 @@ var kr = {
|
|
|
7422
7418
|
exports: {}
|
|
7423
7419
|
},
|
|
7424
7420
|
Ta;
|
|
7425
|
-
function
|
|
7421
|
+
function ou() {
|
|
7426
7422
|
return Ta || (Ta = 1, function (t, e) {
|
|
7427
7423
|
(function (n, r, o) {
|
|
7428
7424
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -7485,7 +7481,7 @@ var Br = {
|
|
|
7485
7481
|
exports: {}
|
|
7486
7482
|
},
|
|
7487
7483
|
Pa;
|
|
7488
|
-
function
|
|
7484
|
+
function au() {
|
|
7489
7485
|
return Pa || (Pa = 1, function (t, e) {
|
|
7490
7486
|
(function (n, r, o) {
|
|
7491
7487
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -7549,7 +7545,7 @@ var Dr = {
|
|
|
7549
7545
|
exports: {}
|
|
7550
7546
|
},
|
|
7551
7547
|
Ra;
|
|
7552
|
-
function
|
|
7548
|
+
function su() {
|
|
7553
7549
|
return Ra || (Ra = 1, function (t, e) {
|
|
7554
7550
|
(function (n, r, o) {
|
|
7555
7551
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -7636,20 +7632,20 @@ function iu() {
|
|
|
7636
7632
|
}
|
|
7637
7633
|
(function (t, e) {
|
|
7638
7634
|
(function (n, r, o) {
|
|
7639
|
-
t.exports = r(se(), $n(),
|
|
7635
|
+
t.exports = r(se(), $n(), $l(), Ml(), Et(), Ol(), kt(), Hs(), oo$1(), Nl(), Us(), zl(), jl(), Hl(), ao(), Ul(), ht(), Ee(), ql(), Wl(), Vl(), Kl(), Gl(), Xl(), Ql(), Yl(), Jl(), Zl(), eu(), tu(), nu(), ru(), ou(), au(), su());
|
|
7640
7636
|
})(oe, function (n) {
|
|
7641
7637
|
return n;
|
|
7642
7638
|
});
|
|
7643
7639
|
})(js);
|
|
7644
|
-
var
|
|
7645
|
-
var Re = /* @__PURE__ */
|
|
7646
|
-
function
|
|
7640
|
+
var iu = js.exports;
|
|
7641
|
+
var Re = /* @__PURE__ */Il(iu);
|
|
7642
|
+
function cu(t, e, n, r) {
|
|
7647
7643
|
qs(t, e).then(function (_ref66) {
|
|
7648
7644
|
var o = _ref66.input,
|
|
7649
7645
|
a = _ref66.key;
|
|
7650
7646
|
return Vs(o, a, n, true, r);
|
|
7651
7647
|
}).then(function (o) {
|
|
7652
|
-
|
|
7648
|
+
lu.apply(null, o);
|
|
7653
7649
|
})["catch"](function (o) {
|
|
7654
7650
|
r({
|
|
7655
7651
|
value: null,
|
|
@@ -7657,7 +7653,7 @@ function lu(t, e, n, r) {
|
|
|
7657
7653
|
});
|
|
7658
7654
|
});
|
|
7659
7655
|
}
|
|
7660
|
-
function
|
|
7656
|
+
function lu(t, e, n, r, o, a, i, c) {
|
|
7661
7657
|
var l = Ws(e, n, r, o, a),
|
|
7662
7658
|
s = Re.AES.encrypt.apply(null, [t, l.key, l.options]),
|
|
7663
7659
|
u = i === "base64" ? Re.enc.Base64 : Re.enc.Hex,
|
|
@@ -7667,13 +7663,13 @@ function uu(t, e, n, r, o, a, i, c) {
|
|
|
7667
7663
|
error: null
|
|
7668
7664
|
});
|
|
7669
7665
|
}
|
|
7670
|
-
function
|
|
7666
|
+
function uu(t, e, n, r) {
|
|
7671
7667
|
qs(t, e).then(function (_ref67) {
|
|
7672
7668
|
var o = _ref67.input,
|
|
7673
7669
|
a = _ref67.key;
|
|
7674
7670
|
return Vs(o, a, n, false, r);
|
|
7675
7671
|
}).then(function (o) {
|
|
7676
|
-
|
|
7672
|
+
du.apply(null, o);
|
|
7677
7673
|
})["catch"](function (o) {
|
|
7678
7674
|
r({
|
|
7679
7675
|
value: null,
|
|
@@ -7681,7 +7677,7 @@ function du(t, e, n, r) {
|
|
|
7681
7677
|
});
|
|
7682
7678
|
});
|
|
7683
7679
|
}
|
|
7684
|
-
function
|
|
7680
|
+
function du(t, e, n, r, o, a, i, c) {
|
|
7685
7681
|
var l = Ws(e, n, r, o, a),
|
|
7686
7682
|
s = Re.DES.encrypt.apply(null, [t, l.key, l.options]),
|
|
7687
7683
|
u = i === "base64" ? Re.enc.Base64 : Re.enc.Hex,
|
|
@@ -7750,7 +7746,7 @@ function _Vs() {
|
|
|
7750
7746
|
o = _args22.length > 4 ? _args22[4] : undefined;
|
|
7751
7747
|
_context128.p = 1;
|
|
7752
7748
|
_context128.n = 2;
|
|
7753
|
-
return
|
|
7749
|
+
return fu(n);
|
|
7754
7750
|
case 2:
|
|
7755
7751
|
a = _context128.v;
|
|
7756
7752
|
_context128.n = 4;
|
|
@@ -7769,7 +7765,7 @@ function _Vs() {
|
|
|
7769
7765
|
case 5:
|
|
7770
7766
|
_context128.p = 5;
|
|
7771
7767
|
_context128.n = 6;
|
|
7772
|
-
return
|
|
7768
|
+
return pu(n, r);
|
|
7773
7769
|
case 6:
|
|
7774
7770
|
c = _context128.v;
|
|
7775
7771
|
_context128.n = 8;
|
|
@@ -7781,7 +7777,7 @@ function _Vs() {
|
|
|
7781
7777
|
case 8:
|
|
7782
7778
|
_context128.p = 8;
|
|
7783
7779
|
_context128.n = 9;
|
|
7784
|
-
return
|
|
7780
|
+
return hu(n);
|
|
7785
7781
|
case 9:
|
|
7786
7782
|
l = _context128.v;
|
|
7787
7783
|
_context128.n = 11;
|
|
@@ -7793,7 +7789,7 @@ function _Vs() {
|
|
|
7793
7789
|
case 11:
|
|
7794
7790
|
_context128.p = 11;
|
|
7795
7791
|
_context128.n = 12;
|
|
7796
|
-
return
|
|
7792
|
+
return xu(n);
|
|
7797
7793
|
case 12:
|
|
7798
7794
|
s = _context128.v;
|
|
7799
7795
|
_context128.n = 14;
|
|
@@ -7809,11 +7805,11 @@ function _Vs() {
|
|
|
7809
7805
|
}));
|
|
7810
7806
|
return _Vs.apply(this, arguments);
|
|
7811
7807
|
}
|
|
7812
|
-
function
|
|
7813
|
-
return
|
|
7808
|
+
function fu(_x43) {
|
|
7809
|
+
return _fu.apply(this, arguments);
|
|
7814
7810
|
}
|
|
7815
|
-
function
|
|
7816
|
-
|
|
7811
|
+
function _fu() {
|
|
7812
|
+
_fu = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee127(t) {
|
|
7817
7813
|
var _ref176, _ref176$mode, e;
|
|
7818
7814
|
return _regenerator().w(function (_context129) {
|
|
7819
7815
|
while (1) switch (_context129.n) {
|
|
@@ -7823,13 +7819,13 @@ function _pu() {
|
|
|
7823
7819
|
}
|
|
7824
7820
|
}, _callee127);
|
|
7825
7821
|
}));
|
|
7826
|
-
return
|
|
7822
|
+
return _fu.apply(this, arguments);
|
|
7827
7823
|
}
|
|
7828
|
-
function
|
|
7829
|
-
return
|
|
7824
|
+
function pu(_x44) {
|
|
7825
|
+
return _pu.apply(this, arguments);
|
|
7830
7826
|
}
|
|
7831
|
-
function
|
|
7832
|
-
|
|
7827
|
+
function _pu() {
|
|
7828
|
+
_pu = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee128(t) {
|
|
7833
7829
|
var e,
|
|
7834
7830
|
_ref177,
|
|
7835
7831
|
_ref177$keySize,
|
|
@@ -7850,13 +7846,13 @@ function _hu() {
|
|
|
7850
7846
|
}
|
|
7851
7847
|
}, _callee128);
|
|
7852
7848
|
}));
|
|
7853
|
-
return
|
|
7849
|
+
return _pu.apply(this, arguments);
|
|
7854
7850
|
}
|
|
7855
|
-
function
|
|
7856
|
-
return
|
|
7851
|
+
function hu(_x45) {
|
|
7852
|
+
return _hu.apply(this, arguments);
|
|
7857
7853
|
}
|
|
7858
|
-
function
|
|
7859
|
-
|
|
7854
|
+
function _hu() {
|
|
7855
|
+
_hu = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee129(t) {
|
|
7860
7856
|
var _ref178, _ref178$padding, e;
|
|
7861
7857
|
return _regenerator().w(function (_context131) {
|
|
7862
7858
|
while (1) switch (_context131.n) {
|
|
@@ -7866,13 +7862,13 @@ function _xu() {
|
|
|
7866
7862
|
}
|
|
7867
7863
|
}, _callee129);
|
|
7868
7864
|
}));
|
|
7869
|
-
return
|
|
7865
|
+
return _hu.apply(this, arguments);
|
|
7870
7866
|
}
|
|
7871
|
-
function
|
|
7872
|
-
return
|
|
7867
|
+
function xu(_x46) {
|
|
7868
|
+
return _xu.apply(this, arguments);
|
|
7873
7869
|
}
|
|
7874
|
-
function
|
|
7875
|
-
|
|
7870
|
+
function _xu() {
|
|
7871
|
+
_xu = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee130(t) {
|
|
7876
7872
|
var _ref179, _ref179$encoding, e;
|
|
7877
7873
|
return _regenerator().w(function (_context132) {
|
|
7878
7874
|
while (1) switch (_context132.n) {
|
|
@@ -7882,7 +7878,7 @@ function _vu() {
|
|
|
7882
7878
|
}
|
|
7883
7879
|
}, _callee130);
|
|
7884
7880
|
}));
|
|
7885
|
-
return
|
|
7881
|
+
return _xu.apply(this, arguments);
|
|
7886
7882
|
}
|
|
7887
7883
|
function La(t, e) {
|
|
7888
7884
|
var n = unescape(encodeURIComponent(t)),
|
|
@@ -7893,11 +7889,11 @@ function La(t, e) {
|
|
|
7893
7889
|
}
|
|
7894
7890
|
return Re.enc.Latin1.parse(n);
|
|
7895
7891
|
}
|
|
7896
|
-
var
|
|
7897
|
-
aes:
|
|
7898
|
-
des:
|
|
7892
|
+
var vu = {
|
|
7893
|
+
aes: cu,
|
|
7894
|
+
des: uu
|
|
7899
7895
|
},
|
|
7900
|
-
|
|
7896
|
+
gu = function gu() {
|
|
7901
7897
|
var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7902
7898
|
var e = arguments.length > 1 ? arguments[1] : undefined;
|
|
7903
7899
|
var n = {
|
|
@@ -7929,7 +7925,7 @@ var gu = {
|
|
|
7929
7925
|
i !== "aes" && i !== "des" ? x({
|
|
7930
7926
|
error: "加密类型出错==",
|
|
7931
7927
|
value: null
|
|
7932
|
-
}) :
|
|
7928
|
+
}) : vu[i](e, l, {
|
|
7933
7929
|
mode: c,
|
|
7934
7930
|
keySize: v,
|
|
7935
7931
|
padding: _,
|
|
@@ -7974,11 +7970,11 @@ function _Xs() {
|
|
|
7974
7970
|
}));
|
|
7975
7971
|
return _Xs.apply(this, arguments);
|
|
7976
7972
|
}
|
|
7977
|
-
function
|
|
7978
|
-
return
|
|
7973
|
+
function mu(_x48) {
|
|
7974
|
+
return _mu.apply(this, arguments);
|
|
7979
7975
|
}
|
|
7980
|
-
function
|
|
7981
|
-
|
|
7976
|
+
function _mu() {
|
|
7977
|
+
_mu = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee132(t) {
|
|
7982
7978
|
var e, n, r, _o13, a, _ref180, _i8, c, _l4;
|
|
7983
7979
|
return _regenerator().w(function (_context134) {
|
|
7984
7980
|
while (1) switch (_context134.n) {
|
|
@@ -8039,13 +8035,13 @@ function _u2() {
|
|
|
8039
8035
|
}
|
|
8040
8036
|
}, _callee132);
|
|
8041
8037
|
}));
|
|
8042
|
-
return
|
|
8038
|
+
return _mu.apply(this, arguments);
|
|
8043
8039
|
}
|
|
8044
|
-
function
|
|
8045
|
-
return
|
|
8040
|
+
function _u(_x49) {
|
|
8041
|
+
return _u2.apply(this, arguments);
|
|
8046
8042
|
}
|
|
8047
|
-
function
|
|
8048
|
-
|
|
8043
|
+
function _u2() {
|
|
8044
|
+
_u2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee133(t) {
|
|
8049
8045
|
var e, n, r, _o14, a, _i9, c, _l5, _s5, u, _$value, _, _t81;
|
|
8050
8046
|
return _regenerator().w(function (_context135) {
|
|
8051
8047
|
while (1) switch (_context135.n) {
|
|
@@ -8083,7 +8079,7 @@ function _Cu() {
|
|
|
8083
8079
|
break;
|
|
8084
8080
|
}
|
|
8085
8081
|
_context135.n = 5;
|
|
8086
|
-
return
|
|
8082
|
+
return mu(_i9);
|
|
8087
8083
|
case 5:
|
|
8088
8084
|
u = _context135.v;
|
|
8089
8085
|
_t81 = u === "goLogin";
|
|
@@ -8103,7 +8099,7 @@ function _Cu() {
|
|
|
8103
8099
|
break;
|
|
8104
8100
|
}
|
|
8105
8101
|
_context135.n = 8;
|
|
8106
|
-
return
|
|
8102
|
+
return gu(r, u);
|
|
8107
8103
|
case 8:
|
|
8108
8104
|
_ = _context135.v;
|
|
8109
8105
|
_.error, u = (_$value = _.value) !== null && _$value !== void 0 ? _$value : "";
|
|
@@ -8118,9 +8114,9 @@ function _Cu() {
|
|
|
8118
8114
|
}
|
|
8119
8115
|
}, _callee133);
|
|
8120
8116
|
}));
|
|
8121
|
-
return
|
|
8117
|
+
return _u2.apply(this, arguments);
|
|
8122
8118
|
}
|
|
8123
|
-
function
|
|
8119
|
+
function Cu(t) {
|
|
8124
8120
|
var e = {},
|
|
8125
8121
|
n = t.split("&");
|
|
8126
8122
|
for (var r = 0; r < n.length; r++) {
|
|
@@ -8133,12 +8129,12 @@ function yu(t) {
|
|
|
8133
8129
|
}
|
|
8134
8130
|
return e;
|
|
8135
8131
|
}
|
|
8136
|
-
function
|
|
8132
|
+
function yu(t) {
|
|
8137
8133
|
return Object.keys(t).map(function (e) {
|
|
8138
8134
|
return "".concat(e, "=").concat(t[e]);
|
|
8139
8135
|
}).join("&");
|
|
8140
8136
|
}
|
|
8141
|
-
function
|
|
8137
|
+
function bu(t, e) {
|
|
8142
8138
|
var n = t.split("?").filter(function (s) {
|
|
8143
8139
|
return s.length > 0;
|
|
8144
8140
|
}),
|
|
@@ -8148,7 +8144,7 @@ function wu(t, e) {
|
|
|
8148
8144
|
}).join("&");
|
|
8149
8145
|
if (n.length !== 2) return r.length > 0 ? "".concat(t, "?").concat(r) : t;
|
|
8150
8146
|
var o = n[0],
|
|
8151
|
-
a =
|
|
8147
|
+
a = Cu(n[1]),
|
|
8152
8148
|
i = /* @__PURE__ */new Set();
|
|
8153
8149
|
Object.keys(a).forEach(function (s) {
|
|
8154
8150
|
e[s] && i.add(s);
|
|
@@ -8156,21 +8152,21 @@ function wu(t, e) {
|
|
|
8156
8152
|
delete a[s];
|
|
8157
8153
|
});
|
|
8158
8154
|
var c = r,
|
|
8159
|
-
l =
|
|
8155
|
+
l = yu(a);
|
|
8160
8156
|
return l.length > 0 && (r.length > 0 ? c = "".concat(l, "&").concat(r) : c = l), c.length > 0 ? "".concat(o, "?").concat(c) : o;
|
|
8161
8157
|
}
|
|
8162
8158
|
var Qs = /*#__PURE__*/function () {
|
|
8163
8159
|
var _ref68 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee36(t, e) {
|
|
8164
|
-
var
|
|
8160
|
+
var _bu;
|
|
8165
8161
|
var n;
|
|
8166
8162
|
return _regenerator().w(function (_context37) {
|
|
8167
8163
|
while (1) switch (_context37.n) {
|
|
8168
8164
|
case 0:
|
|
8169
8165
|
_context37.n = 1;
|
|
8170
|
-
return
|
|
8166
|
+
return _u(e);
|
|
8171
8167
|
case 1:
|
|
8172
8168
|
n = _context37.v;
|
|
8173
|
-
return _context37.a(2, n === "goLogin" ? "" : (
|
|
8169
|
+
return _context37.a(2, n === "goLogin" ? "" : (_bu = bu(t, n)) !== null && _bu !== void 0 ? _bu : "");
|
|
8174
8170
|
}
|
|
8175
8171
|
}, _callee36);
|
|
8176
8172
|
}));
|
|
@@ -8183,20 +8179,20 @@ var Qs = /*#__PURE__*/function () {
|
|
|
8183
8179
|
return ["true", "1"].includes(e.searchParams.get("autoSetToken")) && (e.searchParams.append("access_token", getAccessToken()), e.searchParams["delete"]("autoSetToken")), e.toString();
|
|
8184
8180
|
},
|
|
8185
8181
|
Ys = "v1",
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8182
|
+
wu = createService("/api/personal-center/personal-server/".concat(Ys)),
|
|
8183
|
+
Au = createService("/api/enterpriseright/permission/".concat(Ys)),
|
|
8184
|
+
Eu = wu.get("/info"),
|
|
8185
|
+
ku = oauthServer.get("/user-info");
|
|
8186
|
+
Au.get("/user/tenant");
|
|
8191
8187
|
justauth.post("/tenant/page");
|
|
8192
|
-
var
|
|
8193
|
-
|
|
8194
|
-
Js =
|
|
8188
|
+
var Bu = "v1",
|
|
8189
|
+
Du = createService("/api/user-portrait/user-data/".concat(Bu)),
|
|
8190
|
+
Js = Du.post("/data/actions", function (t) {
|
|
8195
8191
|
return t.ignoreErrorMessage = true, t;
|
|
8196
8192
|
}),
|
|
8197
8193
|
Zs = "pc",
|
|
8198
8194
|
ei = "pc",
|
|
8199
|
-
|
|
8195
|
+
Su = /*#__PURE__*/function () {
|
|
8200
8196
|
var _ref69 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee37(t) {
|
|
8201
8197
|
var e, _t37;
|
|
8202
8198
|
return _regenerator().w(function (_context38) {
|
|
@@ -8225,7 +8221,7 @@ var Du = "v1",
|
|
|
8225
8221
|
}
|
|
8226
8222
|
}, _callee37);
|
|
8227
8223
|
}));
|
|
8228
|
-
return function
|
|
8224
|
+
return function Su(_x52) {
|
|
8229
8225
|
return _ref69.apply(this, arguments);
|
|
8230
8226
|
};
|
|
8231
8227
|
}(),
|
|
@@ -8257,59 +8253,59 @@ var Du = "v1",
|
|
|
8257
8253
|
return _ref70.apply(this, arguments);
|
|
8258
8254
|
};
|
|
8259
8255
|
}(),
|
|
8260
|
-
|
|
8256
|
+
Iu = /*#__PURE__*/function () {
|
|
8261
8257
|
var _ref71 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee39() {
|
|
8262
|
-
var _yield$
|
|
8258
|
+
var _yield$Eu$run, _yield$Eu$run2, t, e;
|
|
8263
8259
|
return _regenerator().w(function (_context40) {
|
|
8264
8260
|
while (1) switch (_context40.n) {
|
|
8265
8261
|
case 0:
|
|
8266
8262
|
_context40.n = 1;
|
|
8267
|
-
return
|
|
8263
|
+
return Eu().run({});
|
|
8268
8264
|
case 1:
|
|
8269
|
-
_yield$
|
|
8270
|
-
_yield$
|
|
8271
|
-
t = _yield$
|
|
8272
|
-
e = _yield$
|
|
8265
|
+
_yield$Eu$run = _context40.v;
|
|
8266
|
+
_yield$Eu$run2 = _slicedToArray(_yield$Eu$run, 2);
|
|
8267
|
+
t = _yield$Eu$run2[0];
|
|
8268
|
+
e = _yield$Eu$run2[1];
|
|
8273
8269
|
return _context40.a(2, t ? {
|
|
8274
8270
|
personalConfig: null
|
|
8275
|
-
} : (
|
|
8271
|
+
} : (Su(getProjectInfo().id), {
|
|
8276
8272
|
personalConfig: e
|
|
8277
8273
|
}));
|
|
8278
8274
|
}
|
|
8279
8275
|
}, _callee39);
|
|
8280
8276
|
}));
|
|
8281
|
-
return function
|
|
8277
|
+
return function Iu() {
|
|
8282
8278
|
return _ref71.apply(this, arguments);
|
|
8283
8279
|
};
|
|
8284
8280
|
}(),
|
|
8285
|
-
|
|
8281
|
+
Fu = /*#__PURE__*/function () {
|
|
8286
8282
|
var _ref72 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee40() {
|
|
8287
|
-
var _yield$
|
|
8283
|
+
var _yield$ku$run, _yield$ku$run2, t, e;
|
|
8288
8284
|
return _regenerator().w(function (_context41) {
|
|
8289
8285
|
while (1) switch (_context41.n) {
|
|
8290
8286
|
case 0:
|
|
8291
8287
|
_context41.n = 1;
|
|
8292
|
-
return
|
|
8288
|
+
return ku().run();
|
|
8293
8289
|
case 1:
|
|
8294
|
-
_yield$
|
|
8295
|
-
_yield$
|
|
8296
|
-
t = _yield$
|
|
8297
|
-
e = _yield$
|
|
8290
|
+
_yield$ku$run = _context41.v;
|
|
8291
|
+
_yield$ku$run2 = _slicedToArray(_yield$ku$run, 2);
|
|
8292
|
+
t = _yield$ku$run2[0];
|
|
8293
|
+
e = _yield$ku$run2[1];
|
|
8298
8294
|
return _context41.a(2, t ? {
|
|
8299
8295
|
tenantConfig: null
|
|
8300
|
-
} : (
|
|
8296
|
+
} : (ml(e), {
|
|
8301
8297
|
tenantConfig: e
|
|
8302
8298
|
}));
|
|
8303
8299
|
}
|
|
8304
8300
|
}, _callee40);
|
|
8305
8301
|
}));
|
|
8306
|
-
return function
|
|
8302
|
+
return function Fu() {
|
|
8307
8303
|
return _ref72.apply(this, arguments);
|
|
8308
8304
|
};
|
|
8309
8305
|
}(),
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
function
|
|
8306
|
+
Tu = enterpriseright.get("/permissionset/user-portal-menu"),
|
|
8307
|
+
Pu = iotModules.deviceManage.get("/instance/getLast");
|
|
8308
|
+
function Ru() {
|
|
8313
8309
|
this.__data__ = [], this.size = 0;
|
|
8314
8310
|
}
|
|
8315
8311
|
function ni(t, e) {
|
|
@@ -8319,24 +8315,24 @@ function Mn(t, e) {
|
|
|
8319
8315
|
for (var n = t.length; n--;) if (ni(t[n][0], e)) return n;
|
|
8320
8316
|
return -1;
|
|
8321
8317
|
}
|
|
8322
|
-
var
|
|
8323
|
-
|
|
8324
|
-
function
|
|
8318
|
+
var Lu = Array.prototype,
|
|
8319
|
+
$u = Lu.splice;
|
|
8320
|
+
function Mu(t) {
|
|
8325
8321
|
var e = this.__data__,
|
|
8326
8322
|
n = Mn(e, t);
|
|
8327
8323
|
if (n < 0) return false;
|
|
8328
8324
|
var r = e.length - 1;
|
|
8329
|
-
return n == r ? e.pop() :
|
|
8325
|
+
return n == r ? e.pop() : $u.call(e, n, 1), --this.size, true;
|
|
8330
8326
|
}
|
|
8331
|
-
function
|
|
8327
|
+
function Ou(t) {
|
|
8332
8328
|
var e = this.__data__,
|
|
8333
8329
|
n = Mn(e, t);
|
|
8334
8330
|
return n < 0 ? undefined : e[n][1];
|
|
8335
8331
|
}
|
|
8336
|
-
function
|
|
8332
|
+
function Nu(t) {
|
|
8337
8333
|
return Mn(this.__data__, t) > -1;
|
|
8338
8334
|
}
|
|
8339
|
-
function
|
|
8335
|
+
function zu(t, e) {
|
|
8340
8336
|
var n = this.__data__,
|
|
8341
8337
|
r = Mn(n, t);
|
|
8342
8338
|
return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
|
|
@@ -8349,81 +8345,81 @@ function at(t) {
|
|
|
8349
8345
|
this.set(r[0], r[1]);
|
|
8350
8346
|
}
|
|
8351
8347
|
}
|
|
8352
|
-
at.prototype.clear =
|
|
8353
|
-
at.prototype["delete"] =
|
|
8354
|
-
at.prototype.get =
|
|
8355
|
-
at.prototype.has =
|
|
8356
|
-
at.prototype.set =
|
|
8357
|
-
function
|
|
8348
|
+
at.prototype.clear = Ru;
|
|
8349
|
+
at.prototype["delete"] = Mu;
|
|
8350
|
+
at.prototype.get = Ou;
|
|
8351
|
+
at.prototype.has = Nu;
|
|
8352
|
+
at.prototype.set = zu;
|
|
8353
|
+
function ju() {
|
|
8358
8354
|
this.__data__ = new at(), this.size = 0;
|
|
8359
8355
|
}
|
|
8360
|
-
function
|
|
8356
|
+
function Hu(t) {
|
|
8361
8357
|
var e = this.__data__,
|
|
8362
8358
|
n = e["delete"](t);
|
|
8363
8359
|
return this.size = e.size, n;
|
|
8364
8360
|
}
|
|
8365
|
-
function
|
|
8361
|
+
function Uu(t) {
|
|
8366
8362
|
return this.__data__.get(t);
|
|
8367
8363
|
}
|
|
8368
|
-
function
|
|
8364
|
+
function qu(t) {
|
|
8369
8365
|
return this.__data__.has(t);
|
|
8370
8366
|
}
|
|
8371
8367
|
var ri = (typeof global === "undefined" ? "undefined" : _typeof(global)) == "object" && global && global.Object === Object && global,
|
|
8372
|
-
|
|
8373
|
-
tt = ri ||
|
|
8368
|
+
Wu = (typeof self === "undefined" ? "undefined" : _typeof(self)) == "object" && self && self.Object === Object && self,
|
|
8369
|
+
tt = ri || Wu || Function("return this")(),
|
|
8374
8370
|
zt = tt.Symbol,
|
|
8375
8371
|
oi = Object.prototype,
|
|
8376
|
-
|
|
8377
|
-
|
|
8372
|
+
Vu = oi.hasOwnProperty,
|
|
8373
|
+
Ku = oi.toString,
|
|
8378
8374
|
Yt = zt ? zt.toStringTag : undefined;
|
|
8379
|
-
function
|
|
8380
|
-
var e =
|
|
8375
|
+
function Gu(t) {
|
|
8376
|
+
var e = Vu.call(t, Yt),
|
|
8381
8377
|
n = t[Yt];
|
|
8382
8378
|
try {
|
|
8383
8379
|
t[Yt] = void 0;
|
|
8384
8380
|
var r = !0;
|
|
8385
8381
|
} catch (_unused9) {}
|
|
8386
|
-
var o =
|
|
8382
|
+
var o = Ku.call(t);
|
|
8387
8383
|
return r && (e ? t[Yt] = n : delete t[Yt]), o;
|
|
8388
8384
|
}
|
|
8389
|
-
var
|
|
8390
|
-
|
|
8391
|
-
function
|
|
8392
|
-
return
|
|
8385
|
+
var Xu = Object.prototype,
|
|
8386
|
+
Qu = Xu.toString;
|
|
8387
|
+
function Yu(t) {
|
|
8388
|
+
return Qu.call(t);
|
|
8393
8389
|
}
|
|
8394
|
-
var
|
|
8395
|
-
|
|
8390
|
+
var Ju = "[object Null]",
|
|
8391
|
+
Zu = "[object Undefined]",
|
|
8396
8392
|
$a = zt ? zt.toStringTag : undefined;
|
|
8397
8393
|
function vn(t) {
|
|
8398
|
-
return t == null ? t === undefined ?
|
|
8394
|
+
return t == null ? t === undefined ? Zu : Ju : $a && $a in Object(t) ? Gu(t) : Yu(t);
|
|
8399
8395
|
}
|
|
8400
8396
|
function gn(t) {
|
|
8401
8397
|
var e = _typeof(t);
|
|
8402
8398
|
return t != null && (e == "object" || e == "function");
|
|
8403
8399
|
}
|
|
8404
|
-
var
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8400
|
+
var ed = "[object AsyncFunction]",
|
|
8401
|
+
td = "[object Function]",
|
|
8402
|
+
nd = "[object GeneratorFunction]",
|
|
8403
|
+
rd = "[object Proxy]";
|
|
8408
8404
|
function ai(t) {
|
|
8409
8405
|
if (!gn(t)) return false;
|
|
8410
8406
|
var e = vn(t);
|
|
8411
|
-
return e ==
|
|
8407
|
+
return e == td || e == nd || e == ed || e == rd;
|
|
8412
8408
|
}
|
|
8413
8409
|
var Sr = tt["__core-js_shared__"],
|
|
8414
8410
|
Ma = function () {
|
|
8415
8411
|
var t = /[^.]+$/.exec(Sr && Sr.keys && Sr.keys.IE_PROTO || "");
|
|
8416
8412
|
return t ? "Symbol(src)_1." + t : "";
|
|
8417
8413
|
}();
|
|
8418
|
-
function
|
|
8414
|
+
function od(t) {
|
|
8419
8415
|
return !!Ma && Ma in t;
|
|
8420
8416
|
}
|
|
8421
|
-
var
|
|
8422
|
-
|
|
8417
|
+
var ad = Function.prototype,
|
|
8418
|
+
sd = ad.toString;
|
|
8423
8419
|
function Bt(t) {
|
|
8424
8420
|
if (t != null) {
|
|
8425
8421
|
try {
|
|
8426
|
-
return
|
|
8422
|
+
return sd.call(t);
|
|
8427
8423
|
} catch (_unused0) {}
|
|
8428
8424
|
try {
|
|
8429
8425
|
return t + "";
|
|
@@ -8431,55 +8427,55 @@ function Bt(t) {
|
|
|
8431
8427
|
}
|
|
8432
8428
|
return "";
|
|
8433
8429
|
}
|
|
8434
|
-
var
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
function
|
|
8442
|
-
if (!gn(t) ||
|
|
8443
|
-
var e = ai(t) ?
|
|
8430
|
+
var id = /[\\^$.*+?()[\]{}|]/g,
|
|
8431
|
+
cd = /^\[object .+?Constructor\]$/,
|
|
8432
|
+
ld = Function.prototype,
|
|
8433
|
+
ud = Object.prototype,
|
|
8434
|
+
dd = ld.toString,
|
|
8435
|
+
fd = ud.hasOwnProperty,
|
|
8436
|
+
pd = RegExp("^" + dd.call(fd).replace(id, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
8437
|
+
function hd(t) {
|
|
8438
|
+
if (!gn(t) || od(t)) return false;
|
|
8439
|
+
var e = ai(t) ? pd : cd;
|
|
8444
8440
|
return e.test(Bt(t));
|
|
8445
8441
|
}
|
|
8446
|
-
function
|
|
8442
|
+
function xd(t, e) {
|
|
8447
8443
|
return t == null ? undefined : t[e];
|
|
8448
8444
|
}
|
|
8449
8445
|
function Dt(t, e) {
|
|
8450
|
-
var n =
|
|
8451
|
-
return
|
|
8446
|
+
var n = xd(t, e);
|
|
8447
|
+
return hd(n) ? n : undefined;
|
|
8452
8448
|
}
|
|
8453
8449
|
var cn = Dt(tt, "Map"),
|
|
8454
8450
|
ln = Dt(Object, "create");
|
|
8455
|
-
function
|
|
8451
|
+
function vd() {
|
|
8456
8452
|
this.__data__ = ln ? ln(null) : {}, this.size = 0;
|
|
8457
8453
|
}
|
|
8458
|
-
function
|
|
8454
|
+
function gd(t) {
|
|
8459
8455
|
var e = this.has(t) && delete this.__data__[t];
|
|
8460
8456
|
return this.size -= e ? 1 : 0, e;
|
|
8461
8457
|
}
|
|
8462
|
-
var
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
function
|
|
8458
|
+
var md = "__lodash_hash_undefined__",
|
|
8459
|
+
_d = Object.prototype,
|
|
8460
|
+
Cd = _d.hasOwnProperty;
|
|
8461
|
+
function yd(t) {
|
|
8466
8462
|
var e = this.__data__;
|
|
8467
8463
|
if (ln) {
|
|
8468
8464
|
var n = e[t];
|
|
8469
|
-
return n ===
|
|
8465
|
+
return n === md ? undefined : n;
|
|
8470
8466
|
}
|
|
8471
|
-
return
|
|
8467
|
+
return Cd.call(e, t) ? e[t] : undefined;
|
|
8472
8468
|
}
|
|
8473
|
-
var
|
|
8474
|
-
|
|
8475
|
-
function
|
|
8469
|
+
var bd = Object.prototype,
|
|
8470
|
+
wd = bd.hasOwnProperty;
|
|
8471
|
+
function Ad(t) {
|
|
8476
8472
|
var e = this.__data__;
|
|
8477
|
-
return ln ? e[t] !== undefined :
|
|
8473
|
+
return ln ? e[t] !== undefined : wd.call(e, t);
|
|
8478
8474
|
}
|
|
8479
|
-
var
|
|
8480
|
-
function
|
|
8475
|
+
var Ed = "__lodash_hash_undefined__";
|
|
8476
|
+
function kd(t, e) {
|
|
8481
8477
|
var n = this.__data__;
|
|
8482
|
-
return this.size += this.has(t) ? 0 : 1, n[t] = ln && e === undefined ?
|
|
8478
|
+
return this.size += this.has(t) ? 0 : 1, n[t] = ln && e === undefined ? Ed : e, this;
|
|
8483
8479
|
}
|
|
8484
8480
|
function bt(t) {
|
|
8485
8481
|
var e = -1,
|
|
@@ -8489,37 +8485,37 @@ function bt(t) {
|
|
|
8489
8485
|
this.set(r[0], r[1]);
|
|
8490
8486
|
}
|
|
8491
8487
|
}
|
|
8492
|
-
bt.prototype.clear =
|
|
8493
|
-
bt.prototype["delete"] =
|
|
8494
|
-
bt.prototype.get =
|
|
8495
|
-
bt.prototype.has =
|
|
8496
|
-
bt.prototype.set =
|
|
8497
|
-
function
|
|
8488
|
+
bt.prototype.clear = vd;
|
|
8489
|
+
bt.prototype["delete"] = gd;
|
|
8490
|
+
bt.prototype.get = yd;
|
|
8491
|
+
bt.prototype.has = Ad;
|
|
8492
|
+
bt.prototype.set = kd;
|
|
8493
|
+
function Bd() {
|
|
8498
8494
|
this.size = 0, this.__data__ = {
|
|
8499
8495
|
hash: new bt(),
|
|
8500
8496
|
map: new (cn || at)(),
|
|
8501
8497
|
string: new bt()
|
|
8502
8498
|
};
|
|
8503
8499
|
}
|
|
8504
|
-
function
|
|
8500
|
+
function Dd(t) {
|
|
8505
8501
|
var e = _typeof(t);
|
|
8506
8502
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
|
|
8507
8503
|
}
|
|
8508
8504
|
function On(t, e) {
|
|
8509
8505
|
var n = t.__data__;
|
|
8510
|
-
return
|
|
8506
|
+
return Dd(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
|
|
8511
8507
|
}
|
|
8512
|
-
function
|
|
8508
|
+
function Sd(t) {
|
|
8513
8509
|
var e = On(this, t)["delete"](t);
|
|
8514
8510
|
return this.size -= e ? 1 : 0, e;
|
|
8515
8511
|
}
|
|
8516
|
-
function
|
|
8512
|
+
function Id(t) {
|
|
8517
8513
|
return On(this, t).get(t);
|
|
8518
8514
|
}
|
|
8519
|
-
function
|
|
8515
|
+
function Fd(t) {
|
|
8520
8516
|
return On(this, t).has(t);
|
|
8521
8517
|
}
|
|
8522
|
-
function
|
|
8518
|
+
function Td(t, e) {
|
|
8523
8519
|
var n = On(this, t),
|
|
8524
8520
|
r = n.size;
|
|
8525
8521
|
return n.set(t, e), this.size += n.size == r ? 0 : 1, this;
|
|
@@ -8532,17 +8528,17 @@ function Wt(t) {
|
|
|
8532
8528
|
this.set(r[0], r[1]);
|
|
8533
8529
|
}
|
|
8534
8530
|
}
|
|
8535
|
-
Wt.prototype.clear =
|
|
8536
|
-
Wt.prototype["delete"] =
|
|
8537
|
-
Wt.prototype.get =
|
|
8538
|
-
Wt.prototype.has =
|
|
8539
|
-
Wt.prototype.set =
|
|
8540
|
-
var
|
|
8541
|
-
function
|
|
8531
|
+
Wt.prototype.clear = Bd;
|
|
8532
|
+
Wt.prototype["delete"] = Sd;
|
|
8533
|
+
Wt.prototype.get = Id;
|
|
8534
|
+
Wt.prototype.has = Fd;
|
|
8535
|
+
Wt.prototype.set = Td;
|
|
8536
|
+
var Pd = 200;
|
|
8537
|
+
function Rd(t, e) {
|
|
8542
8538
|
var n = this.__data__;
|
|
8543
8539
|
if (n instanceof at) {
|
|
8544
8540
|
var r = n.__data__;
|
|
8545
|
-
if (!cn || r.length <
|
|
8541
|
+
if (!cn || r.length < Pd - 1) return r.push([t, e]), this.size = ++n.size, this;
|
|
8546
8542
|
n = this.__data__ = new Wt(r);
|
|
8547
8543
|
}
|
|
8548
8544
|
return n.set(t, e), this.size = n.size, this;
|
|
@@ -8551,12 +8547,12 @@ function Vt(t) {
|
|
|
8551
8547
|
var e = this.__data__ = new at(t);
|
|
8552
8548
|
this.size = e.size;
|
|
8553
8549
|
}
|
|
8554
|
-
Vt.prototype.clear =
|
|
8555
|
-
Vt.prototype["delete"] =
|
|
8556
|
-
Vt.prototype.get =
|
|
8557
|
-
Vt.prototype.has =
|
|
8558
|
-
Vt.prototype.set =
|
|
8559
|
-
function
|
|
8550
|
+
Vt.prototype.clear = ju;
|
|
8551
|
+
Vt.prototype["delete"] = Hu;
|
|
8552
|
+
Vt.prototype.get = Uu;
|
|
8553
|
+
Vt.prototype.has = qu;
|
|
8554
|
+
Vt.prototype.set = Rd;
|
|
8555
|
+
function Ld(t, e) {
|
|
8560
8556
|
for (var n = -1, r = t == null ? 0 : t.length; ++n < r && e(t[n], n, t) !== false;);
|
|
8561
8557
|
return t;
|
|
8562
8558
|
}
|
|
@@ -8574,79 +8570,79 @@ function si(t, e, n) {
|
|
|
8574
8570
|
writable: true
|
|
8575
8571
|
}) : t[e] = n;
|
|
8576
8572
|
}
|
|
8577
|
-
var
|
|
8578
|
-
|
|
8573
|
+
var $d = Object.prototype,
|
|
8574
|
+
Md = $d.hasOwnProperty;
|
|
8579
8575
|
function ii(t, e, n) {
|
|
8580
8576
|
var r = t[e];
|
|
8581
|
-
(!(
|
|
8577
|
+
(!(Md.call(t, e) && ni(r, n)) || n === undefined && !(e in t)) && si(t, e, n);
|
|
8582
8578
|
}
|
|
8583
|
-
function
|
|
8579
|
+
function Od(t, e) {
|
|
8584
8580
|
for (var n = -1, r = Array(t); ++n < t;) r[n] = e(n);
|
|
8585
8581
|
return r;
|
|
8586
8582
|
}
|
|
8587
8583
|
function mn(t) {
|
|
8588
8584
|
return t != null && _typeof(t) == "object";
|
|
8589
8585
|
}
|
|
8590
|
-
var
|
|
8586
|
+
var Nd = "[object Arguments]";
|
|
8591
8587
|
function Na(t) {
|
|
8592
|
-
return mn(t) && vn(t) ==
|
|
8588
|
+
return mn(t) && vn(t) == Nd;
|
|
8593
8589
|
}
|
|
8594
8590
|
var ci = Object.prototype,
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
8591
|
+
zd = ci.hasOwnProperty,
|
|
8592
|
+
jd = ci.propertyIsEnumerable,
|
|
8593
|
+
Hd = Na(/* @__PURE__ */function () {
|
|
8598
8594
|
return arguments;
|
|
8599
8595
|
}()) ? Na : function (t) {
|
|
8600
|
-
return mn(t) &&
|
|
8596
|
+
return mn(t) && zd.call(t, "callee") && !jd.call(t, "callee");
|
|
8601
8597
|
},
|
|
8602
8598
|
so = Array.isArray;
|
|
8603
|
-
function
|
|
8599
|
+
function Ud() {
|
|
8604
8600
|
return false;
|
|
8605
8601
|
}
|
|
8606
8602
|
var li = (typeof exports === "undefined" ? "undefined" : _typeof(exports)) == "object" && exports && !exports.nodeType && exports,
|
|
8607
8603
|
za = li && (typeof module === "undefined" ? "undefined" : _typeof(module)) == "object" && module && !module.nodeType && module,
|
|
8608
|
-
|
|
8609
|
-
ja =
|
|
8610
|
-
|
|
8611
|
-
ui =
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
function
|
|
8604
|
+
qd = za && za.exports === li,
|
|
8605
|
+
ja = qd ? tt.Buffer : undefined,
|
|
8606
|
+
Wd = ja ? ja.isBuffer : undefined,
|
|
8607
|
+
ui = Wd || Ud,
|
|
8608
|
+
Vd = 9007199254740991,
|
|
8609
|
+
Kd = /^(?:0|[1-9]\d*)$/;
|
|
8610
|
+
function Gd(t, e) {
|
|
8615
8611
|
var n = _typeof(t);
|
|
8616
|
-
return e = e !== null && e !== void 0 ? e :
|
|
8612
|
+
return e = e !== null && e !== void 0 ? e : Vd, !!e && (n == "number" || n != "symbol" && Kd.test(t)) && t > -1 && t % 1 == 0 && t < e;
|
|
8617
8613
|
}
|
|
8618
|
-
var
|
|
8614
|
+
var Xd = 9007199254740991;
|
|
8619
8615
|
function di(t) {
|
|
8620
|
-
return typeof t == "number" && t > -1 && t % 1 == 0 && t <=
|
|
8616
|
+
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Xd;
|
|
8621
8617
|
}
|
|
8622
|
-
var
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8618
|
+
var Qd = "[object Arguments]",
|
|
8619
|
+
Yd = "[object Array]",
|
|
8620
|
+
Jd = "[object Boolean]",
|
|
8621
|
+
Zd = "[object Date]",
|
|
8622
|
+
ef = "[object Error]",
|
|
8623
|
+
tf = "[object Function]",
|
|
8624
|
+
nf = "[object Map]",
|
|
8625
|
+
rf = "[object Number]",
|
|
8626
|
+
of = "[object Object]",
|
|
8627
|
+
af = "[object RegExp]",
|
|
8628
|
+
sf = "[object Set]",
|
|
8629
|
+
cf = "[object String]",
|
|
8630
|
+
lf = "[object WeakMap]",
|
|
8631
|
+
uf = "[object ArrayBuffer]",
|
|
8632
|
+
df = "[object DataView]",
|
|
8633
|
+
ff = "[object Float32Array]",
|
|
8634
|
+
pf = "[object Float64Array]",
|
|
8635
|
+
hf = "[object Int8Array]",
|
|
8636
|
+
xf = "[object Int16Array]",
|
|
8637
|
+
vf = "[object Int32Array]",
|
|
8638
|
+
gf = "[object Uint8Array]",
|
|
8639
|
+
mf = "[object Uint8ClampedArray]",
|
|
8640
|
+
_f = "[object Uint16Array]",
|
|
8641
|
+
Cf = "[object Uint32Array]",
|
|
8646
8642
|
pe = {};
|
|
8647
|
-
pe[pf] = pe[hf] = pe[xf] = pe[vf] = pe[gf] = pe[mf] = pe[_f] = pe[Cf] =
|
|
8648
|
-
pe[Yd] = pe[
|
|
8649
|
-
function
|
|
8643
|
+
pe[ff] = pe[pf] = pe[hf] = pe[xf] = pe[vf] = pe[gf] = pe[mf] = pe[_f] = pe[Cf] = true;
|
|
8644
|
+
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] = false;
|
|
8645
|
+
function yf(t) {
|
|
8650
8646
|
return mn(t) && di(t.length) && !!pe[vn(t)];
|
|
8651
8647
|
}
|
|
8652
8648
|
function io(t) {
|
|
@@ -8656,8 +8652,8 @@ function io(t) {
|
|
|
8656
8652
|
}
|
|
8657
8653
|
var fi = (typeof exports === "undefined" ? "undefined" : _typeof(exports)) == "object" && exports && !exports.nodeType && exports,
|
|
8658
8654
|
on = fi && (typeof module === "undefined" ? "undefined" : _typeof(module)) == "object" && module && !module.nodeType && module,
|
|
8659
|
-
|
|
8660
|
-
Ir =
|
|
8655
|
+
bf = on && on.exports === fi,
|
|
8656
|
+
Ir = bf && ri.process,
|
|
8661
8657
|
jt = function () {
|
|
8662
8658
|
try {
|
|
8663
8659
|
var t = on && on.require && on.require("util").types;
|
|
@@ -8665,18 +8661,18 @@ var fi = (typeof exports === "undefined" ? "undefined" : _typeof(exports)) == "o
|
|
|
8665
8661
|
} catch (_unused11) {}
|
|
8666
8662
|
}(),
|
|
8667
8663
|
Ha = jt && jt.isTypedArray,
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8664
|
+
wf = Ha ? io(Ha) : yf,
|
|
8665
|
+
Af = Object.prototype,
|
|
8666
|
+
Ef = Af.hasOwnProperty;
|
|
8671
8667
|
function pi(t, e) {
|
|
8672
8668
|
var n = so(t),
|
|
8673
|
-
r = !n &&
|
|
8669
|
+
r = !n && Hd(t),
|
|
8674
8670
|
o = !n && !r && ui(t),
|
|
8675
|
-
a = !n && !r && !o &&
|
|
8671
|
+
a = !n && !r && !o && wf(t),
|
|
8676
8672
|
i = n || r || o || a,
|
|
8677
|
-
c = i ?
|
|
8673
|
+
c = i ? Od(t.length, String) : [],
|
|
8678
8674
|
l = c.length;
|
|
8679
|
-
for (var s in t)
|
|
8675
|
+
for (var s in t) Ef.call(t, s) && !(i && (
|
|
8680
8676
|
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
8681
8677
|
s == "length" ||
|
|
8682
8678
|
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -8684,13 +8680,13 @@ function pi(t, e) {
|
|
|
8684
8680
|
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
8685
8681
|
a && (s == "buffer" || s == "byteLength" || s == "byteOffset") ||
|
|
8686
8682
|
// Skip index properties.
|
|
8687
|
-
|
|
8683
|
+
Gd(s, l))) && c.push(s);
|
|
8688
8684
|
return c;
|
|
8689
8685
|
}
|
|
8690
|
-
var
|
|
8686
|
+
var kf = Object.prototype;
|
|
8691
8687
|
function co(t) {
|
|
8692
8688
|
var e = t && t.constructor,
|
|
8693
|
-
n = typeof e == "function" && e.prototype ||
|
|
8689
|
+
n = typeof e == "function" && e.prototype || kf;
|
|
8694
8690
|
return t === n;
|
|
8695
8691
|
}
|
|
8696
8692
|
function hi(t, e) {
|
|
@@ -8698,30 +8694,30 @@ function hi(t, e) {
|
|
|
8698
8694
|
return t(e(n));
|
|
8699
8695
|
};
|
|
8700
8696
|
}
|
|
8701
|
-
var
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
function
|
|
8705
|
-
if (!co(t)) return
|
|
8697
|
+
var Bf = hi(Object.keys, Object),
|
|
8698
|
+
Df = Object.prototype,
|
|
8699
|
+
Sf = Df.hasOwnProperty;
|
|
8700
|
+
function If(t) {
|
|
8701
|
+
if (!co(t)) return Bf(t);
|
|
8706
8702
|
var e = [];
|
|
8707
|
-
for (var n in Object(t))
|
|
8703
|
+
for (var n in Object(t)) Sf.call(t, n) && n != "constructor" && e.push(n);
|
|
8708
8704
|
return e;
|
|
8709
8705
|
}
|
|
8710
8706
|
function xi(t) {
|
|
8711
8707
|
return t != null && di(t.length) && !ai(t);
|
|
8712
8708
|
}
|
|
8713
8709
|
function lo(t) {
|
|
8714
|
-
return xi(t) ? pi(t) :
|
|
8710
|
+
return xi(t) ? pi(t) : If(t);
|
|
8715
8711
|
}
|
|
8716
8712
|
var vi = (typeof exports === "undefined" ? "undefined" : _typeof(exports)) == "object" && exports && !exports.nodeType && exports,
|
|
8717
8713
|
Ua = vi && (typeof module === "undefined" ? "undefined" : _typeof(module)) == "object" && module && !module.nodeType && module,
|
|
8718
|
-
|
|
8719
|
-
qa =
|
|
8714
|
+
Mf = Ua && Ua.exports === vi,
|
|
8715
|
+
qa = Mf ? tt.Buffer : undefined;
|
|
8720
8716
|
qa ? qa.allocUnsafe : undefined;
|
|
8721
|
-
function
|
|
8717
|
+
function Of(t, e) {
|
|
8722
8718
|
return t.slice();
|
|
8723
8719
|
}
|
|
8724
|
-
function
|
|
8720
|
+
function zf(t, e) {
|
|
8725
8721
|
for (var n = -1, r = t == null ? 0 : t.length, o = 0, a = []; ++n < r;) {
|
|
8726
8722
|
var i = t[n];
|
|
8727
8723
|
e(i, n, t) && (a[o++] = i);
|
|
@@ -8731,12 +8727,12 @@ function jf(t, e) {
|
|
|
8731
8727
|
function gi() {
|
|
8732
8728
|
return [];
|
|
8733
8729
|
}
|
|
8734
|
-
var
|
|
8735
|
-
|
|
8730
|
+
var jf = Object.prototype,
|
|
8731
|
+
Hf = jf.propertyIsEnumerable,
|
|
8736
8732
|
Va = Object.getOwnPropertySymbols,
|
|
8737
8733
|
fo = Va ? function (t) {
|
|
8738
|
-
return t == null ? [] : (t = Object(t),
|
|
8739
|
-
return
|
|
8734
|
+
return t == null ? [] : (t = Object(t), zf(Va(t), function (e) {
|
|
8735
|
+
return Hf.call(t, e);
|
|
8740
8736
|
}));
|
|
8741
8737
|
} : gi;
|
|
8742
8738
|
function mi(t, e) {
|
|
@@ -8748,7 +8744,7 @@ function yi(t, e, n) {
|
|
|
8748
8744
|
var r = e(t);
|
|
8749
8745
|
return so(t) ? r : mi(r, n(t));
|
|
8750
8746
|
}
|
|
8751
|
-
function
|
|
8747
|
+
function Vf(t) {
|
|
8752
8748
|
return yi(t, lo, fo);
|
|
8753
8749
|
}
|
|
8754
8750
|
var Hr = Dt(tt, "DataView"),
|
|
@@ -8756,94 +8752,95 @@ var Hr = Dt(tt, "DataView"),
|
|
|
8756
8752
|
qr = Dt(tt, "Set"),
|
|
8757
8753
|
Wr = Dt(tt, "WeakMap"),
|
|
8758
8754
|
Ka = "[object Map]",
|
|
8759
|
-
|
|
8755
|
+
Gf = "[object Object]",
|
|
8760
8756
|
Ga = "[object Promise]",
|
|
8761
8757
|
Xa = "[object Set]",
|
|
8762
8758
|
Qa = "[object WeakMap]",
|
|
8763
8759
|
Ya = "[object DataView]",
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8768
|
-
|
|
8760
|
+
Xf = Bt(Hr),
|
|
8761
|
+
Qf = Bt(cn),
|
|
8762
|
+
Yf = Bt(Ur),
|
|
8763
|
+
Jf = Bt(qr),
|
|
8764
|
+
Zf = Bt(Wr),
|
|
8769
8765
|
nt = vn;
|
|
8770
8766
|
(Hr && nt(new Hr(new ArrayBuffer(1))) != Ya || cn && nt(new cn()) != Ka || Ur && nt(Ur.resolve()) != Ga || qr && nt(new qr()) != Xa || Wr && nt(new Wr()) != Qa) && (nt = function nt(t) {
|
|
8771
8767
|
var e = vn(t),
|
|
8772
|
-
n = e ==
|
|
8768
|
+
n = e == Gf ? t.constructor : undefined,
|
|
8773
8769
|
r = n ? Bt(n) : "";
|
|
8774
8770
|
if (r) switch (r) {
|
|
8775
|
-
case
|
|
8771
|
+
case Xf:
|
|
8776
8772
|
return Ya;
|
|
8777
|
-
case
|
|
8773
|
+
case Qf:
|
|
8778
8774
|
return Ka;
|
|
8779
|
-
case
|
|
8775
|
+
case Yf:
|
|
8780
8776
|
return Ga;
|
|
8781
|
-
case
|
|
8777
|
+
case Jf:
|
|
8782
8778
|
return Xa;
|
|
8783
|
-
case
|
|
8779
|
+
case Zf:
|
|
8784
8780
|
return Qa;
|
|
8785
8781
|
}
|
|
8786
8782
|
return e;
|
|
8787
8783
|
});
|
|
8788
|
-
var
|
|
8789
|
-
|
|
8790
|
-
function
|
|
8784
|
+
var ep = Object.prototype,
|
|
8785
|
+
tp = ep.hasOwnProperty;
|
|
8786
|
+
function np(t) {
|
|
8791
8787
|
var e = t.length,
|
|
8792
8788
|
n = new t.constructor(e);
|
|
8793
|
-
return e && typeof t[0] == "string" &&
|
|
8789
|
+
return e && typeof t[0] == "string" && tp.call(t, "index") && (n.index = t.index, n.input = t.input), n;
|
|
8794
8790
|
}
|
|
8795
8791
|
var Ja = tt.Uint8Array;
|
|
8796
8792
|
function po(t) {
|
|
8797
8793
|
var e = new t.constructor(t.byteLength);
|
|
8798
8794
|
return new Ja(e).set(new Ja(t)), e;
|
|
8799
8795
|
}
|
|
8800
|
-
function
|
|
8796
|
+
function rp(t, e) {
|
|
8801
8797
|
var n = po(t.buffer);
|
|
8802
8798
|
return new t.constructor(n, t.byteOffset, t.byteLength);
|
|
8803
8799
|
}
|
|
8804
|
-
var
|
|
8805
|
-
function
|
|
8806
|
-
var e = new t.constructor(t.source,
|
|
8800
|
+
var op = /\w*$/;
|
|
8801
|
+
function ap(t) {
|
|
8802
|
+
var e = new t.constructor(t.source, op.exec(t));
|
|
8807
8803
|
return e.lastIndex = t.lastIndex, e;
|
|
8808
8804
|
}
|
|
8809
8805
|
var Za = zt ? zt.prototype : undefined,
|
|
8810
8806
|
es = Za ? Za.valueOf : undefined;
|
|
8811
|
-
function
|
|
8807
|
+
function sp(t) {
|
|
8812
8808
|
return es ? Object(es.call(t)) : {};
|
|
8813
8809
|
}
|
|
8814
|
-
function
|
|
8810
|
+
function ip(t, e) {
|
|
8815
8811
|
var n = po(t.buffer);
|
|
8816
8812
|
return new t.constructor(n, t.byteOffset, t.length);
|
|
8817
8813
|
}
|
|
8818
|
-
var
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
function
|
|
8814
|
+
var cp = "[object Boolean]",
|
|
8815
|
+
lp = "[object Date]",
|
|
8816
|
+
up = "[object Map]",
|
|
8817
|
+
dp = "[object Number]",
|
|
8818
|
+
fp = "[object RegExp]",
|
|
8819
|
+
pp = "[object Set]",
|
|
8820
|
+
hp = "[object String]",
|
|
8821
|
+
xp = "[object Symbol]",
|
|
8822
|
+
vp = "[object ArrayBuffer]",
|
|
8823
|
+
gp = "[object DataView]",
|
|
8824
|
+
mp = "[object Float32Array]",
|
|
8825
|
+
_p = "[object Float64Array]",
|
|
8826
|
+
Cp = "[object Int8Array]",
|
|
8827
|
+
yp = "[object Int16Array]",
|
|
8828
|
+
bp = "[object Int32Array]",
|
|
8829
|
+
wp = "[object Uint8Array]",
|
|
8830
|
+
Ap = "[object Uint8ClampedArray]",
|
|
8831
|
+
Ep = "[object Uint16Array]",
|
|
8832
|
+
kp = "[object Uint32Array]";
|
|
8833
|
+
function Bp(t, e, n) {
|
|
8838
8834
|
var r = t.constructor;
|
|
8839
8835
|
switch (e) {
|
|
8840
|
-
case
|
|
8836
|
+
case vp:
|
|
8841
8837
|
return po(t);
|
|
8838
|
+
case cp:
|
|
8842
8839
|
case lp:
|
|
8843
|
-
case up:
|
|
8844
8840
|
return new r(+t);
|
|
8841
|
+
case gp:
|
|
8842
|
+
return rp(t);
|
|
8845
8843
|
case mp:
|
|
8846
|
-
return op(t);
|
|
8847
8844
|
case _p:
|
|
8848
8845
|
case Cp:
|
|
8849
8846
|
case yp:
|
|
@@ -8852,23 +8849,22 @@ function Dp(t, e, n) {
|
|
|
8852
8849
|
case Ap:
|
|
8853
8850
|
case Ep:
|
|
8854
8851
|
case kp:
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
case dp:
|
|
8852
|
+
return ip(t);
|
|
8853
|
+
case up:
|
|
8858
8854
|
return new r();
|
|
8859
|
-
case
|
|
8860
|
-
case
|
|
8855
|
+
case dp:
|
|
8856
|
+
case hp:
|
|
8861
8857
|
return new r(t);
|
|
8858
|
+
case fp:
|
|
8859
|
+
return ap(t);
|
|
8862
8860
|
case pp:
|
|
8863
|
-
return sp(t);
|
|
8864
|
-
case hp:
|
|
8865
8861
|
return new r();
|
|
8866
|
-
case
|
|
8867
|
-
return
|
|
8862
|
+
case xp:
|
|
8863
|
+
return sp(t);
|
|
8868
8864
|
}
|
|
8869
8865
|
}
|
|
8870
8866
|
var ts = Object.create,
|
|
8871
|
-
|
|
8867
|
+
Dp = /* @__PURE__ */function () {
|
|
8872
8868
|
function t() {}
|
|
8873
8869
|
return function (e) {
|
|
8874
8870
|
if (!gn(e)) return {};
|
|
@@ -8878,86 +8874,86 @@ var ts = Object.create,
|
|
|
8878
8874
|
return t.prototype = undefined, n;
|
|
8879
8875
|
};
|
|
8880
8876
|
}();
|
|
8881
|
-
function
|
|
8882
|
-
return typeof t.constructor == "function" && !co(t) ?
|
|
8877
|
+
function Sp(t) {
|
|
8878
|
+
return typeof t.constructor == "function" && !co(t) ? Dp(_i(t)) : {};
|
|
8883
8879
|
}
|
|
8884
|
-
var
|
|
8885
|
-
function
|
|
8886
|
-
return mn(t) && nt(t) ==
|
|
8880
|
+
var Ip = "[object Map]";
|
|
8881
|
+
function Fp(t) {
|
|
8882
|
+
return mn(t) && nt(t) == Ip;
|
|
8887
8883
|
}
|
|
8888
8884
|
var ns = jt && jt.isMap,
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
function
|
|
8892
|
-
return mn(t) && nt(t) ==
|
|
8885
|
+
Tp = ns ? io(ns) : Fp,
|
|
8886
|
+
Pp = "[object Set]";
|
|
8887
|
+
function Rp(t) {
|
|
8888
|
+
return mn(t) && nt(t) == Pp;
|
|
8893
8889
|
}
|
|
8894
8890
|
var rs = jt && jt.isSet,
|
|
8895
|
-
|
|
8891
|
+
Lp = rs ? io(rs) : Rp,
|
|
8896
8892
|
bi = "[object Arguments]",
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8893
|
+
Np = "[object Array]",
|
|
8894
|
+
zp = "[object Boolean]",
|
|
8895
|
+
jp = "[object Date]",
|
|
8896
|
+
Hp = "[object Error]",
|
|
8901
8897
|
wi = "[object Function]",
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
8898
|
+
Up = "[object GeneratorFunction]",
|
|
8899
|
+
qp = "[object Map]",
|
|
8900
|
+
Wp = "[object Number]",
|
|
8905
8901
|
Ai = "[object Object]",
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8902
|
+
Vp = "[object RegExp]",
|
|
8903
|
+
Kp = "[object Set]",
|
|
8904
|
+
Gp = "[object String]",
|
|
8905
|
+
Xp = "[object Symbol]",
|
|
8906
|
+
Qp = "[object WeakMap]",
|
|
8907
|
+
Yp = "[object ArrayBuffer]",
|
|
8908
|
+
Jp = "[object DataView]",
|
|
8909
|
+
Zp = "[object Float32Array]",
|
|
8910
|
+
eh = "[object Float64Array]",
|
|
8911
|
+
th = "[object Int8Array]",
|
|
8912
|
+
nh = "[object Int16Array]",
|
|
8913
|
+
rh = "[object Int32Array]",
|
|
8914
|
+
oh = "[object Uint8Array]",
|
|
8915
|
+
ah = "[object Uint8ClampedArray]",
|
|
8916
|
+
sh = "[object Uint16Array]",
|
|
8917
|
+
ih = "[object Uint32Array]",
|
|
8922
8918
|
fe = {};
|
|
8923
|
-
fe[bi] = fe[
|
|
8924
|
-
fe[
|
|
8919
|
+
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] = true;
|
|
8920
|
+
fe[Hp] = fe[wi] = fe[Qp] = false;
|
|
8925
8921
|
function Bn(t, e, n, r, o, a) {
|
|
8926
8922
|
var i;
|
|
8927
8923
|
if (i !== undefined) return i;
|
|
8928
8924
|
if (!gn(t)) return t;
|
|
8929
8925
|
var u = so(t);
|
|
8930
8926
|
if (u) {
|
|
8931
|
-
if (i =
|
|
8927
|
+
if (i = np(t), false) ;
|
|
8932
8928
|
} else {
|
|
8933
8929
|
var _ = nt(t),
|
|
8934
|
-
d = _ == wi || _ ==
|
|
8935
|
-
if (ui(t)) return
|
|
8930
|
+
d = _ == wi || _ == Up;
|
|
8931
|
+
if (ui(t)) return Of(t);
|
|
8936
8932
|
if (_ == Ai || _ == bi || d && !o) {
|
|
8937
|
-
if (i = d ? {} :
|
|
8933
|
+
if (i = d ? {} : Sp(t), false) ;
|
|
8938
8934
|
} else {
|
|
8939
8935
|
if (!fe[_]) return o ? t : {};
|
|
8940
|
-
i =
|
|
8936
|
+
i = Bp(t, _);
|
|
8941
8937
|
}
|
|
8942
8938
|
}
|
|
8943
8939
|
a || (a = new Vt());
|
|
8944
8940
|
var f = a.get(t);
|
|
8945
8941
|
if (f) return f;
|
|
8946
|
-
a.set(t, i),
|
|
8942
|
+
a.set(t, i), Lp(t) ? t.forEach(function (x) {
|
|
8947
8943
|
i.add(Bn(x, e, n, x, t, a));
|
|
8948
|
-
}) :
|
|
8944
|
+
}) : Tp(t) && t.forEach(function (x, m) {
|
|
8949
8945
|
i.set(m, Bn(x, e, n, m, t, a));
|
|
8950
8946
|
});
|
|
8951
|
-
var p =
|
|
8947
|
+
var p = Vf,
|
|
8952
8948
|
v = u ? undefined : p(t);
|
|
8953
|
-
return
|
|
8949
|
+
return Ld(v || t, function (x, m) {
|
|
8954
8950
|
v && (m = x, x = t[m]), ii(i, m, Bn(x, e, n, m, t, a));
|
|
8955
8951
|
}), i;
|
|
8956
8952
|
}
|
|
8957
|
-
var
|
|
8958
|
-
|
|
8953
|
+
var ch = 1,
|
|
8954
|
+
lh = 4;
|
|
8959
8955
|
function Fn(t) {
|
|
8960
|
-
return Bn(t,
|
|
8956
|
+
return Bn(t, ch | lh);
|
|
8961
8957
|
}
|
|
8962
8958
|
var _Tn = function Tn(t) {
|
|
8963
8959
|
var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
@@ -8987,7 +8983,7 @@ var _Tn = function Tn(t) {
|
|
|
8987
8983
|
}
|
|
8988
8984
|
return null;
|
|
8989
8985
|
},
|
|
8990
|
-
|
|
8986
|
+
uh = function uh(t, e) {
|
|
8991
8987
|
var n;
|
|
8992
8988
|
var r = t.findIndex(function (i) {
|
|
8993
8989
|
return i.code === e;
|
|
@@ -9006,9 +9002,9 @@ var _Tn = function Tn(t) {
|
|
|
9006
9002
|
os = function os(t) {
|
|
9007
9003
|
var _getSubApps$subAppLis;
|
|
9008
9004
|
var e = (_getSubApps$subAppLis = getSubApps().subAppList) !== null && _getSubApps$subAppLis !== void 0 ? _getSubApps$subAppLis : [];
|
|
9009
|
-
var
|
|
9010
|
-
n =
|
|
9011
|
-
r =
|
|
9005
|
+
var _uh = uh(e, t),
|
|
9006
|
+
n = _uh.index,
|
|
9007
|
+
r = _uh.target;
|
|
9012
9008
|
return e.splice(n, 1), e.length ? lt([{
|
|
9013
9009
|
key: "subAppList",
|
|
9014
9010
|
value: e
|
|
@@ -9031,7 +9027,7 @@ var _Tn = function Tn(t) {
|
|
|
9031
9027
|
currentApp: r
|
|
9032
9028
|
};
|
|
9033
9029
|
},
|
|
9034
|
-
|
|
9030
|
+
dh = function dh(t, e) {
|
|
9035
9031
|
var n = t.findIndex(function (a) {
|
|
9036
9032
|
return a.code === e;
|
|
9037
9033
|
}),
|
|
@@ -9042,7 +9038,7 @@ var _Tn = function Tn(t) {
|
|
|
9042
9038
|
right: o
|
|
9043
9039
|
};
|
|
9044
9040
|
},
|
|
9045
|
-
|
|
9041
|
+
fh = function fh(t, e, n) {
|
|
9046
9042
|
var _t38, _ref73;
|
|
9047
9043
|
var _;
|
|
9048
9044
|
var r = flatTree$1(e).filter(function (d) {
|
|
@@ -9051,9 +9047,9 @@ var _Tn = function Tn(t) {
|
|
|
9051
9047
|
return !(d != null && d.disable) && !(d != null && d.expired);
|
|
9052
9048
|
}),
|
|
9053
9049
|
a = (_t38 = ((_ref73 = (_ = getTabInfo()) == null ? undefined : _.tabMap) !== null && _ref73 !== void 0 ? _ref73 : {})[t]) !== null && _t38 !== void 0 ? _t38 : [],
|
|
9054
|
-
|
|
9055
|
-
i =
|
|
9056
|
-
c =
|
|
9050
|
+
_dh = dh(a, n),
|
|
9051
|
+
i = _dh.left,
|
|
9052
|
+
c = _dh.right,
|
|
9057
9053
|
l = a.filter(function (d) {
|
|
9058
9054
|
return r.find(function (f) {
|
|
9059
9055
|
return f.code === d.code;
|
|
@@ -9124,21 +9120,21 @@ var _Tn = function Tn(t) {
|
|
|
9124
9120
|
},
|
|
9125
9121
|
ho = /*#__PURE__*/function () {
|
|
9126
9122
|
var _ref75 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee41(t) {
|
|
9127
|
-
var _yield$
|
|
9123
|
+
var _yield$Tu$run, _yield$Tu$run2, e, n, r, o, a;
|
|
9128
9124
|
return _regenerator().w(function (_context42) {
|
|
9129
9125
|
while (1) switch (_context42.n) {
|
|
9130
9126
|
case 0:
|
|
9131
9127
|
_context42.n = 1;
|
|
9132
|
-
return
|
|
9128
|
+
return Tu().run({
|
|
9133
9129
|
code: t,
|
|
9134
9130
|
showBtn: true,
|
|
9135
9131
|
userType: 1
|
|
9136
9132
|
});
|
|
9137
9133
|
case 1:
|
|
9138
|
-
_yield$
|
|
9139
|
-
_yield$
|
|
9140
|
-
e = _yield$
|
|
9141
|
-
n = _yield$
|
|
9134
|
+
_yield$Tu$run = _context42.v;
|
|
9135
|
+
_yield$Tu$run2 = _slicedToArray(_yield$Tu$run, 2);
|
|
9136
|
+
e = _yield$Tu$run2[0];
|
|
9137
|
+
n = _yield$Tu$run2[1];
|
|
9142
9138
|
if (!(e || !n || !n.length)) {
|
|
9143
9139
|
_context42.n = 2;
|
|
9144
9140
|
break;
|
|
@@ -9149,9 +9145,9 @@ var _Tn = function Tn(t) {
|
|
|
9149
9145
|
err: e
|
|
9150
9146
|
});
|
|
9151
9147
|
case 2:
|
|
9152
|
-
|
|
9148
|
+
yl(n, t);
|
|
9153
9149
|
r = flatTree$1(n);
|
|
9154
|
-
|
|
9150
|
+
wl(r, t), El(r, t);
|
|
9155
9151
|
o = filterTreeArray(n, function (i) {
|
|
9156
9152
|
return i.isMenu;
|
|
9157
9153
|
});
|
|
@@ -9169,10 +9165,10 @@ var _Tn = function Tn(t) {
|
|
|
9169
9165
|
return _ref75.apply(this, arguments);
|
|
9170
9166
|
};
|
|
9171
9167
|
}(),
|
|
9172
|
-
|
|
9168
|
+
ph = /*#__PURE__*/function () {
|
|
9173
9169
|
var _ref76 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee42(t) {
|
|
9174
9170
|
var _ref77, _ref78, _ref79, _getSubApps$subAppLis2, _ref80;
|
|
9175
|
-
var d, f, p, v, x, _t$microApp, e, _t$menuCode2, n, _t$menuPath, r, _t$route, o, a, i, c, l, s, u, _yield$ho, m, _h2, _ref81, _getTabInfo$tabMap, _h3, g,
|
|
9171
|
+
var d, f, p, v, x, _t$microApp, e, _t$menuCode2, n, _t$menuPath, r, _t$route, o, a, i, c, l, s, u, _yield$ho, m, _h2, _ref81, _getTabInfo$tabMap, _h3, g, _m2, _, _ref83, _m3, _m4, _h4, _g, _ref84, C, E;
|
|
9176
9172
|
return _regenerator().w(function (_context43) {
|
|
9177
9173
|
while (1) switch (_context43.n) {
|
|
9178
9174
|
case 0:
|
|
@@ -9245,15 +9241,15 @@ var _Tn = function Tn(t) {
|
|
|
9245
9241
|
_context43.n = 6;
|
|
9246
9242
|
break;
|
|
9247
9243
|
}
|
|
9248
|
-
|
|
9244
|
+
_m2 = flatTree$1(l).find(function (h) {
|
|
9249
9245
|
var g = "/".concat(h.applicationPath).concat(h.routeUrl).replace(/\/\//g, "/");
|
|
9250
9246
|
return h.applicationPath && h.routeUrl && (r === g || r.startsWith("/".concat(g, "/")));
|
|
9251
9247
|
});
|
|
9252
|
-
if (!
|
|
9248
|
+
if (!_m2) {
|
|
9253
9249
|
_context43.n = 5;
|
|
9254
9250
|
break;
|
|
9255
9251
|
}
|
|
9256
|
-
n =
|
|
9252
|
+
n = _m2.code;
|
|
9257
9253
|
_context43.n = 6;
|
|
9258
9254
|
break;
|
|
9259
9255
|
case 5:
|
|
@@ -9284,8 +9280,8 @@ var _Tn = function Tn(t) {
|
|
|
9284
9280
|
})
|
|
9285
9281
|
});
|
|
9286
9282
|
case 7:
|
|
9287
|
-
|
|
9288
|
-
|
|
9283
|
+
_m3 = fh(e.code, l, n);
|
|
9284
|
+
_m3 != null && _m3.currentApp && (e = _m3.currentApp), _m3 != null && _m3.currentMenu && (_ = _m3.currentMenu), _m3 != null && _m3.currentTab && (o.query = (_ref83 = (x = _m3.currentTab) == null ? undefined : x.query) !== null && _ref83 !== void 0 ? _ref83 : {});
|
|
9289
9285
|
case 8:
|
|
9290
9286
|
if (!((e == null ? undefined : e.routeUrl) === ot)) {
|
|
9291
9287
|
_context43.n = 9;
|
|
@@ -9302,9 +9298,9 @@ var _Tn = function Tn(t) {
|
|
|
9302
9298
|
_context43.n = 10;
|
|
9303
9299
|
break;
|
|
9304
9300
|
}
|
|
9305
|
-
|
|
9301
|
+
_m4 = "/".concat(_.applicationPath).concat(_.routeUrl);
|
|
9306
9302
|
_h4 = "";
|
|
9307
|
-
r && r.startsWith(
|
|
9303
|
+
r && r.startsWith(_m4) && r !== _m4 && (_h4 = r);
|
|
9308
9304
|
_g = _objectSpread(_objectSpread({}, o.query), {}, {
|
|
9309
9305
|
app: c,
|
|
9310
9306
|
menu: _.code
|
|
@@ -9368,35 +9364,35 @@ var _Tn = function Tn(t) {
|
|
|
9368
9364
|
}
|
|
9369
9365
|
}, _callee42);
|
|
9370
9366
|
}));
|
|
9371
|
-
return function
|
|
9367
|
+
return function ph(_x55) {
|
|
9372
9368
|
return _ref76.apply(this, arguments);
|
|
9373
9369
|
};
|
|
9374
9370
|
}(),
|
|
9375
|
-
|
|
9376
|
-
|
|
9371
|
+
hh = "v1",
|
|
9372
|
+
xh = systemConfiguration$1.get("/visitor/login/with-default", function (t) {
|
|
9377
9373
|
return t["public"] = true, t;
|
|
9378
9374
|
}),
|
|
9379
|
-
|
|
9375
|
+
vh = systemConfiguration$1.get("/visitor/appearance/with-default", function (t) {
|
|
9380
9376
|
return t["public"] = true, t;
|
|
9381
9377
|
}),
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9378
|
+
gh = systemConfiguration$1.get("platform/appearance/withdefault"),
|
|
9379
|
+
mh = createService("/api/portal/manager/".concat(hh));
|
|
9380
|
+
mh.get("/basics/home/info");
|
|
9385
9381
|
portal.get("/language");
|
|
9386
9382
|
portal.get("/menu/personal-setting");
|
|
9387
|
-
var
|
|
9383
|
+
var _h = /*#__PURE__*/function () {
|
|
9388
9384
|
var _ref85 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee43() {
|
|
9389
|
-
var _yield$
|
|
9385
|
+
var _yield$xh$run, _yield$xh$run2, t, e;
|
|
9390
9386
|
return _regenerator().w(function (_context44) {
|
|
9391
9387
|
while (1) switch (_context44.n) {
|
|
9392
9388
|
case 0:
|
|
9393
9389
|
_context44.n = 1;
|
|
9394
|
-
return
|
|
9390
|
+
return xh().run();
|
|
9395
9391
|
case 1:
|
|
9396
|
-
_yield$
|
|
9397
|
-
_yield$
|
|
9398
|
-
t = _yield$
|
|
9399
|
-
e = _yield$
|
|
9392
|
+
_yield$xh$run = _context44.v;
|
|
9393
|
+
_yield$xh$run2 = _slicedToArray(_yield$xh$run, 2);
|
|
9394
|
+
t = _yield$xh$run2[0];
|
|
9395
|
+
e = _yield$xh$run2[1];
|
|
9400
9396
|
return _context44.a(2, t ? {
|
|
9401
9397
|
loginConfig: null
|
|
9402
9398
|
} : {
|
|
@@ -9405,17 +9401,17 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9405
9401
|
}
|
|
9406
9402
|
}, _callee43);
|
|
9407
9403
|
}));
|
|
9408
|
-
return function
|
|
9404
|
+
return function _h() {
|
|
9409
9405
|
return _ref85.apply(this, arguments);
|
|
9410
9406
|
};
|
|
9411
9407
|
}(),
|
|
9412
|
-
|
|
9408
|
+
Ch = /*#__PURE__*/function () {
|
|
9413
9409
|
var _ref86 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee44() {
|
|
9414
9410
|
var t, _yield$t$run, _yield$t$run2, e, n;
|
|
9415
9411
|
return _regenerator().w(function (_context45) {
|
|
9416
9412
|
while (1) switch (_context45.n) {
|
|
9417
9413
|
case 0:
|
|
9418
|
-
t = getToken() ?
|
|
9414
|
+
t = getToken() ? gh : vh;
|
|
9419
9415
|
_context45.n = 1;
|
|
9420
9416
|
return t().run();
|
|
9421
9417
|
case 1:
|
|
@@ -9431,23 +9427,23 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9431
9427
|
}
|
|
9432
9428
|
}, _callee44);
|
|
9433
9429
|
}));
|
|
9434
|
-
return function
|
|
9430
|
+
return function Ch() {
|
|
9435
9431
|
return _ref86.apply(this, arguments);
|
|
9436
9432
|
};
|
|
9437
9433
|
}(),
|
|
9438
|
-
|
|
9434
|
+
yh = ref(null),
|
|
9439
9435
|
Ei = ref({
|
|
9440
9436
|
style: 1,
|
|
9441
9437
|
skinStyle: "default"
|
|
9442
9438
|
}),
|
|
9443
|
-
|
|
9439
|
+
bh = function bh() {
|
|
9444
9440
|
return ref(null);
|
|
9445
9441
|
},
|
|
9446
|
-
|
|
9442
|
+
wh = {
|
|
9447
9443
|
"class": "iframe-container"
|
|
9448
9444
|
},
|
|
9449
|
-
|
|
9450
|
-
|
|
9445
|
+
Ah = ["src"],
|
|
9446
|
+
Eh = /* @__PURE__ */defineComponent({
|
|
9451
9447
|
__name: "index",
|
|
9452
9448
|
props: {
|
|
9453
9449
|
src: {
|
|
@@ -9472,7 +9468,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9472
9468
|
return onBeforeUnmount(function () {
|
|
9473
9469
|
r.value = false;
|
|
9474
9470
|
}), function (i, c) {
|
|
9475
|
-
return openBlock(), createElementBlock("div",
|
|
9471
|
+
return openBlock(), createElementBlock("div", wh, [i.src ? (openBlock(), createBlock(unref(DasSpin), {
|
|
9476
9472
|
key: 0,
|
|
9477
9473
|
spinning: !r.value
|
|
9478
9474
|
}, {
|
|
@@ -9485,7 +9481,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9485
9481
|
height: "100%",
|
|
9486
9482
|
src: i.src,
|
|
9487
9483
|
onLoad: a
|
|
9488
|
-
}, null, 40,
|
|
9484
|
+
}, null, 40, Ah), [[vShow, r.value]])];
|
|
9489
9485
|
}),
|
|
9490
9486
|
_: 1
|
|
9491
9487
|
/* STABLE */
|
|
@@ -9493,9 +9489,9 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9493
9489
|
};
|
|
9494
9490
|
}
|
|
9495
9491
|
}),
|
|
9496
|
-
Vr = /* @__PURE__ */Ne(
|
|
9497
|
-
|
|
9498
|
-
|
|
9492
|
+
Vr = /* @__PURE__ */Ne(Eh, [["__scopeId", "data-v-d0f25bba"]]),
|
|
9493
|
+
kh = justauth.get("/login/history"),
|
|
9494
|
+
Bh = function Bh() {
|
|
9499
9495
|
var t = function t() {
|
|
9500
9496
|
return ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some(function (l) {
|
|
9501
9497
|
return new RegExp("^".concat(l, "$"), "i").test(location.pathname);
|
|
@@ -9508,23 +9504,23 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9508
9504
|
_ref87$browserLogoImg2 = _ref87.browserLogoImg,
|
|
9509
9505
|
l = _ref87$browserLogoImg2 === void 0 ? "" : _ref87$browserLogoImg2,
|
|
9510
9506
|
s = l ? c + pureImageSrc(l) : "./logo.svg";
|
|
9511
|
-
|
|
9507
|
+
_l(s), updateFavIcon(s);
|
|
9512
9508
|
},
|
|
9513
9509
|
n = /*#__PURE__*/function () {
|
|
9514
9510
|
var _ref88 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee45() {
|
|
9515
|
-
var _yield$
|
|
9511
|
+
var _yield$kh$run, _yield$kh$run2, i, c;
|
|
9516
9512
|
return _regenerator().w(function (_context46) {
|
|
9517
9513
|
while (1) switch (_context46.n) {
|
|
9518
9514
|
case 0:
|
|
9519
9515
|
_context46.n = 1;
|
|
9520
|
-
return
|
|
9516
|
+
return kh().run({
|
|
9521
9517
|
userId: getUserInfo().id
|
|
9522
9518
|
});
|
|
9523
9519
|
case 1:
|
|
9524
|
-
_yield$
|
|
9525
|
-
_yield$
|
|
9526
|
-
i = _yield$
|
|
9527
|
-
c = _yield$
|
|
9520
|
+
_yield$kh$run = _context46.v;
|
|
9521
|
+
_yield$kh$run2 = _slicedToArray(_yield$kh$run, 2);
|
|
9522
|
+
i = _yield$kh$run2[0];
|
|
9523
|
+
c = _yield$kh$run2[1];
|
|
9528
9524
|
i || !c || JSON.stringify(c) === "{}" || (DasNotification.open({
|
|
9529
9525
|
key: "loginTip",
|
|
9530
9526
|
message: t$1("上次登录信息"),
|
|
@@ -9553,7 +9549,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9553
9549
|
while (1) switch (_context47.n) {
|
|
9554
9550
|
case 0:
|
|
9555
9551
|
_context47.n = 1;
|
|
9556
|
-
return Promise.all([
|
|
9552
|
+
return Promise.all([_h(), Ch()]);
|
|
9557
9553
|
case 1:
|
|
9558
9554
|
_yield$Promise$all = _context47.v;
|
|
9559
9555
|
_yield$Promise$all2 = _slicedToArray(_yield$Promise$all, 2);
|
|
@@ -9596,10 +9592,10 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9596
9592
|
return _context48.a(2);
|
|
9597
9593
|
case 2:
|
|
9598
9594
|
_context48.n = 3;
|
|
9599
|
-
return
|
|
9595
|
+
return Iu();
|
|
9600
9596
|
case 3:
|
|
9601
9597
|
_context48.n = 4;
|
|
9602
|
-
return
|
|
9598
|
+
return Fu();
|
|
9603
9599
|
case 4:
|
|
9604
9600
|
i = getToken();
|
|
9605
9601
|
setProcessEngineToken({
|
|
@@ -9614,21 +9610,21 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9614
9610
|
initNextTick: a
|
|
9615
9611
|
};
|
|
9616
9612
|
},
|
|
9617
|
-
|
|
9613
|
+
Dh = enterpriseright$1.get("/data/menu-expiration"),
|
|
9618
9614
|
ki = /*#__PURE__*/function () {
|
|
9619
9615
|
var _ref91 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee48(t) {
|
|
9620
9616
|
var _ref92;
|
|
9621
|
-
var _yield$
|
|
9617
|
+
var _yield$Dh$run, _yield$Dh$run2, e, n, r;
|
|
9622
9618
|
return _regenerator().w(function (_context49) {
|
|
9623
9619
|
while (1) switch (_context49.n) {
|
|
9624
9620
|
case 0:
|
|
9625
9621
|
_context49.n = 1;
|
|
9626
|
-
return
|
|
9622
|
+
return Dh().run();
|
|
9627
9623
|
case 1:
|
|
9628
|
-
_yield$
|
|
9629
|
-
_yield$
|
|
9630
|
-
e = _yield$
|
|
9631
|
-
n = _yield$
|
|
9624
|
+
_yield$Dh$run = _context49.v;
|
|
9625
|
+
_yield$Dh$run2 = _slicedToArray(_yield$Dh$run, 2);
|
|
9626
|
+
e = _yield$Dh$run2[0];
|
|
9627
|
+
n = _yield$Dh$run2[1];
|
|
9632
9628
|
if (!e) {
|
|
9633
9629
|
_context49.n = 2;
|
|
9634
9630
|
break;
|
|
@@ -9652,7 +9648,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9652
9648
|
return _ref91.apply(this, arguments);
|
|
9653
9649
|
};
|
|
9654
9650
|
}(),
|
|
9655
|
-
|
|
9651
|
+
Sh = function Sh() {
|
|
9656
9652
|
var _zn = zn(),
|
|
9657
9653
|
t = _zn.entryMenu;
|
|
9658
9654
|
layout.menu.addEventListener("onItemClick", /*#__PURE__*/function () {
|
|
@@ -9725,7 +9721,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9725
9721
|
}]);
|
|
9726
9722
|
});
|
|
9727
9723
|
},
|
|
9728
|
-
|
|
9724
|
+
Ih = function Ih() {
|
|
9729
9725
|
var _n4 = _n(),
|
|
9730
9726
|
t = _n4.changeApp,
|
|
9731
9727
|
e = _n4.deleteApp,
|
|
@@ -9742,7 +9738,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9742
9738
|
_context51.n = 4;
|
|
9743
9739
|
break;
|
|
9744
9740
|
}
|
|
9745
|
-
a &&
|
|
9741
|
+
a && Sl(a);
|
|
9746
9742
|
_t39 = !o.fixed;
|
|
9747
9743
|
if (!_t39) {
|
|
9748
9744
|
_context51.n = 2;
|
|
@@ -9784,7 +9780,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
9784
9780
|
r = _qt2.enter;
|
|
9785
9781
|
return layout.nav.addEventListener("fullScreenHandle", r), {};
|
|
9786
9782
|
},
|
|
9787
|
-
|
|
9783
|
+
Fh = function Fh() {
|
|
9788
9784
|
var t = useRouter(),
|
|
9789
9785
|
e = ref(""),
|
|
9790
9786
|
n = ref(""),
|
|
@@ -10218,7 +10214,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10218
10214
|
_s = /*#__PURE__*/function () {
|
|
10219
10215
|
var _ref106 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee58(d) {
|
|
10220
10216
|
var _ref107, _ref108, _ref109, _ref110, _ref113;
|
|
10221
|
-
var S, I, z, H, G, _d$microApp, f, _d$menuCode, p, _d$menuPath, v, _d$route, x, m, h$1, g, C, E, _ref111, K, _ref112, W, Z, T, P, _yield$
|
|
10217
|
+
var S, I, z, H, G, _d$microApp, f, _d$menuCode, p, _d$menuPath, v, _d$route, x, m, h$1, g, C, E, _ref111, K, _ref112, W, Z, T, P, _yield$ph, _yield$ph$menuConfig, k, _yield$ph$currentApp, b, _yield$ph$currentMenu, w, _yield$ph$microPath, B, _yield$ph$query, y, _ref114, _ref115, _K, U, _W, A, _getTabInfo$tabMap$A$, _K2, _U, _t42;
|
|
10222
10218
|
return _regenerator().w(function (_context59) {
|
|
10223
10219
|
while (1) switch (_context59.n) {
|
|
10224
10220
|
case 0:
|
|
@@ -10324,24 +10320,24 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10324
10320
|
return _context59.a(2);
|
|
10325
10321
|
case 8:
|
|
10326
10322
|
_context59.n = 9;
|
|
10327
|
-
return
|
|
10323
|
+
return ph({
|
|
10328
10324
|
microApp: f,
|
|
10329
10325
|
menuCode: p,
|
|
10330
10326
|
menuPath: v,
|
|
10331
10327
|
route: m
|
|
10332
10328
|
});
|
|
10333
10329
|
case 9:
|
|
10334
|
-
_yield$
|
|
10335
|
-
_yield$
|
|
10336
|
-
k = _yield$
|
|
10337
|
-
_yield$
|
|
10338
|
-
b = _yield$
|
|
10339
|
-
_yield$
|
|
10340
|
-
w = _yield$
|
|
10341
|
-
_yield$
|
|
10342
|
-
B = _yield$
|
|
10343
|
-
_yield$
|
|
10344
|
-
y = _yield$
|
|
10330
|
+
_yield$ph = _context59.v;
|
|
10331
|
+
_yield$ph$menuConfig = _yield$ph.menuConfig;
|
|
10332
|
+
k = _yield$ph$menuConfig === void 0 ? [] : _yield$ph$menuConfig;
|
|
10333
|
+
_yield$ph$currentApp = _yield$ph.currentApp;
|
|
10334
|
+
b = _yield$ph$currentApp === void 0 ? null : _yield$ph$currentApp;
|
|
10335
|
+
_yield$ph$currentMenu = _yield$ph.currentMenu;
|
|
10336
|
+
w = _yield$ph$currentMenu === void 0 ? null : _yield$ph$currentMenu;
|
|
10337
|
+
_yield$ph$microPath = _yield$ph.microPath;
|
|
10338
|
+
B = _yield$ph$microPath === void 0 ? "" : _yield$ph$microPath;
|
|
10339
|
+
_yield$ph$query = _yield$ph.query;
|
|
10340
|
+
y = _yield$ph$query === void 0 ? {} : _yield$ph$query;
|
|
10345
10341
|
if (!(w && (m = {
|
|
10346
10342
|
path: B || "/".concat(w.applicationPath).concat(w.routeUrl).replace(/\/\//g, "/"),
|
|
10347
10343
|
query: _objectSpread(_objectSpread({}, y), {}, {
|
|
@@ -10585,7 +10581,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10585
10581
|
entryMenu: function () {
|
|
10586
10582
|
var _entryMenu = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee61(a) {
|
|
10587
10583
|
var _ref119, _ref120, _ref122, _ref123;
|
|
10588
|
-
var v, i, _a$route, c, _a$microPath, l, s, u, _, d, x, m, _ref121, _x70,
|
|
10584
|
+
var v, i, _a$route, c, _a$microPath, l, s, u, _, d, x, m, _ref121, _x70, _m5, h$1, _x71, f, p, _ref124, _x72, _t43, _t44;
|
|
10589
10585
|
return _regenerator().w(function (_context62) {
|
|
10590
10586
|
while (1) switch (_context62.n) {
|
|
10591
10587
|
case 0:
|
|
@@ -10660,7 +10656,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10660
10656
|
return Qs(i.routeUrl, (_ref121 = i == null ? undefined : i.param) !== null && _ref121 !== void 0 ? _ref121 : []);
|
|
10661
10657
|
case 6:
|
|
10662
10658
|
_x70 = _context62.v;
|
|
10663
|
-
|
|
10659
|
+
_m5 = jr(setShowWatermark(setShowLayout(_x70)));
|
|
10664
10660
|
if (d = "".concat(_t, "-").concat(i.code), !t.options.routes.find(function (h) {
|
|
10665
10661
|
return h.path === d;
|
|
10666
10662
|
})) {
|
|
@@ -10668,7 +10664,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10668
10664
|
path: d,
|
|
10669
10665
|
name: d,
|
|
10670
10666
|
component: h(Vr, {
|
|
10671
|
-
src:
|
|
10667
|
+
src: _m5
|
|
10672
10668
|
}),
|
|
10673
10669
|
meta: {
|
|
10674
10670
|
isIframe: true,
|
|
@@ -10781,9 +10777,9 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10781
10777
|
}
|
|
10782
10778
|
};
|
|
10783
10779
|
},
|
|
10784
|
-
|
|
10780
|
+
Th = function Th() {
|
|
10785
10781
|
var t = DasChangePwdRef(),
|
|
10786
|
-
e =
|
|
10782
|
+
e = bh(),
|
|
10787
10783
|
n = getConfig(),
|
|
10788
10784
|
r = /*#__PURE__*/function () {
|
|
10789
10785
|
var _ref125 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee62() {
|
|
@@ -10889,8 +10885,8 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10889
10885
|
$personSetDialog: e
|
|
10890
10886
|
};
|
|
10891
10887
|
},
|
|
10892
|
-
|
|
10893
|
-
|
|
10888
|
+
Ph = oauthServer.get("/convert/tenant"),
|
|
10889
|
+
Rh = justauth.get("/platform/withdefault"),
|
|
10894
10890
|
Bi = function Bi() {
|
|
10895
10891
|
var t = getConfig(),
|
|
10896
10892
|
e = ref(false),
|
|
@@ -10903,7 +10899,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10903
10899
|
o();
|
|
10904
10900
|
});
|
|
10905
10901
|
var a = function a() {
|
|
10906
|
-
|
|
10902
|
+
Dl(), Cl(), window.__isAutoCloseApp = false, location.pathname !== ot && location.pathname !== sn ? window.location.replace(location.origin + ot) : window.location.reload();
|
|
10907
10903
|
};
|
|
10908
10904
|
return {
|
|
10909
10905
|
changeEnterprisesVisible: e,
|
|
@@ -10911,19 +10907,19 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10911
10907
|
tenantId: r,
|
|
10912
10908
|
changeEnterprise: function () {
|
|
10913
10909
|
var _changeEnterprise = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee64(c) {
|
|
10914
|
-
var _yield$
|
|
10910
|
+
var _yield$Ph$run, _yield$Ph$run2, l, s, _s$access_token, u, _s$refresh_token, _, _s$expires_in, d, _s$sub, f, _s$name, p, _s$flag, v, _s$tenant, x, m, h, g, _yield$Rh$run, _yield$Rh$run2, C, E, _C;
|
|
10915
10911
|
return _regenerator().w(function (_context65) {
|
|
10916
10912
|
while (1) switch (_context65.n) {
|
|
10917
10913
|
case 0:
|
|
10918
10914
|
_context65.n = 1;
|
|
10919
|
-
return
|
|
10915
|
+
return Ph().run({
|
|
10920
10916
|
tenant: c
|
|
10921
10917
|
});
|
|
10922
10918
|
case 1:
|
|
10923
|
-
_yield$
|
|
10924
|
-
_yield$
|
|
10925
|
-
l = _yield$
|
|
10926
|
-
s = _yield$
|
|
10919
|
+
_yield$Ph$run = _context65.v;
|
|
10920
|
+
_yield$Ph$run2 = _slicedToArray(_yield$Ph$run, 2);
|
|
10921
|
+
l = _yield$Ph$run2[0];
|
|
10922
|
+
s = _yield$Ph$run2[1];
|
|
10927
10923
|
if (!l) {
|
|
10928
10924
|
_context65.n = 2;
|
|
10929
10925
|
break;
|
|
@@ -10955,12 +10951,12 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10955
10951
|
break;
|
|
10956
10952
|
case 3:
|
|
10957
10953
|
_context65.n = 4;
|
|
10958
|
-
return
|
|
10954
|
+
return Rh().run();
|
|
10959
10955
|
case 4:
|
|
10960
|
-
_yield$
|
|
10961
|
-
_yield$
|
|
10962
|
-
C = _yield$
|
|
10963
|
-
E = _yield$
|
|
10956
|
+
_yield$Rh$run = _context65.v;
|
|
10957
|
+
_yield$Rh$run2 = _slicedToArray(_yield$Rh$run, 2);
|
|
10958
|
+
C = _yield$Rh$run2[0];
|
|
10959
|
+
E = _yield$Rh$run2[1];
|
|
10964
10960
|
E != null && E.loginHost && (g = "".concat(E.loginHost, "/oauth/refreshOauthToken?tenantId=").concat(c));
|
|
10965
10961
|
case 5:
|
|
10966
10962
|
if (g) {
|
|
@@ -10981,7 +10977,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
10981
10977
|
}()
|
|
10982
10978
|
};
|
|
10983
10979
|
},
|
|
10984
|
-
|
|
10980
|
+
Lh = function Lh() {
|
|
10985
10981
|
var _Bi = Bi(),
|
|
10986
10982
|
t = _Bi.changeEnterprise;
|
|
10987
10983
|
layout.nav.addEventListener("onProjectChange", /*#__PURE__*/function () {
|
|
@@ -11015,7 +11011,7 @@ var Ch = /*#__PURE__*/function () {
|
|
|
11015
11011
|
};
|
|
11016
11012
|
}());
|
|
11017
11013
|
},
|
|
11018
|
-
|
|
11014
|
+
$h = function $h() {
|
|
11019
11015
|
var t = ref(),
|
|
11020
11016
|
_n7 = _n(),
|
|
11021
11017
|
e = _n7.entryApp;
|
|
@@ -11052,32 +11048,32 @@ var Ch = /*#__PURE__*/function () {
|
|
|
11052
11048
|
excludeRoutes: [],
|
|
11053
11049
|
routeKeepAliveVisible: true
|
|
11054
11050
|
}),
|
|
11055
|
-
|
|
11051
|
+
Mh = /*#__PURE__*/function () {
|
|
11056
11052
|
var _ref129 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee66() {
|
|
11057
|
-
var _yield$
|
|
11053
|
+
var _yield$Pu$run, _yield$Pu$run2, t, e, n;
|
|
11058
11054
|
return _regenerator().w(function (_context67) {
|
|
11059
11055
|
while (1) switch (_context67.n) {
|
|
11060
11056
|
case 0:
|
|
11061
11057
|
_context67.n = 1;
|
|
11062
|
-
return
|
|
11058
|
+
return Pu().run();
|
|
11063
11059
|
case 1:
|
|
11064
|
-
_yield$
|
|
11065
|
-
_yield$
|
|
11066
|
-
t = _yield$
|
|
11067
|
-
e = _yield$
|
|
11060
|
+
_yield$Pu$run = _context67.v;
|
|
11061
|
+
_yield$Pu$run2 = _slicedToArray(_yield$Pu$run, 2);
|
|
11062
|
+
t = _yield$Pu$run2[0];
|
|
11063
|
+
e = _yield$Pu$run2[1];
|
|
11068
11064
|
n = {
|
|
11069
11065
|
instanceInfo: e !== null && e !== void 0 ? e : null
|
|
11070
11066
|
};
|
|
11071
|
-
return _context67.a(2, (
|
|
11067
|
+
return _context67.a(2, (Bl(n), n));
|
|
11072
11068
|
}
|
|
11073
11069
|
}, _callee66);
|
|
11074
11070
|
}));
|
|
11075
|
-
return function
|
|
11071
|
+
return function Mh() {
|
|
11076
11072
|
return _ref129.apply(this, arguments);
|
|
11077
11073
|
};
|
|
11078
11074
|
}();
|
|
11079
11075
|
bus("container");
|
|
11080
|
-
var
|
|
11076
|
+
var Oh = function Oh(t) {
|
|
11081
11077
|
var e = t.microAppBus,
|
|
11082
11078
|
n = "/iot/iot/deviceInstance",
|
|
11083
11079
|
r = "/iot/iot/statisticalReport",
|
|
@@ -11107,17 +11103,17 @@ var Nh = function Nh(t) {
|
|
|
11107
11103
|
},
|
|
11108
11104
|
a = /*#__PURE__*/function () {
|
|
11109
11105
|
var _ref90 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee67(i) {
|
|
11110
|
-
var _ref130, _ref130$toPath, c, _ref130$params, l, s, u, _yield$
|
|
11106
|
+
var _ref130, _ref130$toPath, c, _ref130$params, l, s, u, _yield$Mh, _, _$instanceName, v, _l$clickSource, d, _l$isFirstEnter, f, p, _t46;
|
|
11111
11107
|
return _regenerator().w(function (_context68) {
|
|
11112
11108
|
while (1) switch (_context68.n) {
|
|
11113
11109
|
case 0:
|
|
11114
11110
|
_ref130 = i || {}, _ref130$toPath = _ref130.toPath, c = _ref130$toPath === void 0 ? "" : _ref130$toPath, _ref130$params = _ref130.params, l = _ref130$params === void 0 ? {} : _ref130$params;
|
|
11115
11111
|
s = "实例", u = false;
|
|
11116
11112
|
_context68.n = 1;
|
|
11117
|
-
return
|
|
11113
|
+
return Mh();
|
|
11118
11114
|
case 1:
|
|
11119
|
-
_yield$
|
|
11120
|
-
_ = _yield$
|
|
11115
|
+
_yield$Mh = _context68.v;
|
|
11116
|
+
_ = _yield$Mh.instanceInfo;
|
|
11121
11117
|
if (_) {
|
|
11122
11118
|
v = isEmpty(_.endTime) || _.endTime == 0 || _.endTime === 253370736e6 || _.endTime === "253370736000000" ? "-" : Number(_.endTime);
|
|
11123
11119
|
u = Or().endOf("day") > Or(v).endOf("day"), u || (s = (_$instanceName = _.instanceName) !== null && _$instanceName !== void 0 ? _$instanceName : "实例");
|
|
@@ -11163,11 +11159,11 @@ var Nh = function Nh(t) {
|
|
|
11163
11159
|
};
|
|
11164
11160
|
},
|
|
11165
11161
|
Kr = bus("microApp"),
|
|
11166
|
-
|
|
11162
|
+
_Oh = Oh({
|
|
11167
11163
|
microAppBus: Kr
|
|
11168
11164
|
}),
|
|
11169
|
-
|
|
11170
|
-
|
|
11165
|
+
Nh = _Oh.routerBeforEnter,
|
|
11166
|
+
zh = function zh() {
|
|
11171
11167
|
var _xo3 = xo(),
|
|
11172
11168
|
t = _xo3.unloadRoute;
|
|
11173
11169
|
Kr.event.on("unmountPage", function (e) {
|
|
@@ -11182,7 +11178,7 @@ var Nh = function Nh(t) {
|
|
|
11182
11178
|
case 0:
|
|
11183
11179
|
n = String((e == null ? undefined : e.toPath) || "").trim().split("?")[0].split("#")[0];
|
|
11184
11180
|
try {
|
|
11185
|
-
n && n.startsWith("/iot/iot") &&
|
|
11181
|
+
n && n.startsWith("/iot/iot") && Nh({
|
|
11186
11182
|
toPath: n,
|
|
11187
11183
|
params: e
|
|
11188
11184
|
});
|
|
@@ -11197,10 +11193,10 @@ var Nh = function Nh(t) {
|
|
|
11197
11193
|
};
|
|
11198
11194
|
}());
|
|
11199
11195
|
},
|
|
11200
|
-
|
|
11196
|
+
jh = function jh() {
|
|
11201
11197
|
microFrontend.addEventListenerFromMicroApp("iot:change-instance", function (t) {});
|
|
11202
11198
|
},
|
|
11203
|
-
|
|
11199
|
+
Hh = function Hh() {
|
|
11204
11200
|
microFrontend.addEventListenerFromMicroApp("devicePanelShow", function (t) {
|
|
11205
11201
|
var _t$data = t.data,
|
|
11206
11202
|
_t$data$deviceId = _t$data.deviceId,
|
|
@@ -11231,8 +11227,8 @@ var Nh = function Nh(t) {
|
|
|
11231
11227
|
closeAlarmPanel();
|
|
11232
11228
|
});
|
|
11233
11229
|
},
|
|
11234
|
-
|
|
11235
|
-
|
|
11230
|
+
Uh = systemConfiguration$1.get("/platform/login/pwd-advance-notify-check"),
|
|
11231
|
+
qh = function qh() {
|
|
11236
11232
|
var t = ref([]),
|
|
11237
11233
|
e = ref(null),
|
|
11238
11234
|
n = ref([]),
|
|
@@ -11260,7 +11256,7 @@ var Nh = function Nh(t) {
|
|
|
11260
11256
|
while (1) switch (_context70.n) {
|
|
11261
11257
|
case 0:
|
|
11262
11258
|
_context70.n = 1;
|
|
11263
|
-
return
|
|
11259
|
+
return Uh().run();
|
|
11264
11260
|
case 1:
|
|
11265
11261
|
return _context70.a(2);
|
|
11266
11262
|
}
|
|
@@ -11352,11 +11348,11 @@ var Nh = function Nh(t) {
|
|
|
11352
11348
|
e.value && e.value.disconnect(), e.value = null;
|
|
11353
11349
|
});
|
|
11354
11350
|
},
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
Di = createService$1("/api/device-relation/deviceproject/v1/project/device/video",
|
|
11358
|
-
|
|
11359
|
-
function
|
|
11351
|
+
Wh = "v1",
|
|
11352
|
+
Vh = createService$1("/api/enterpriseright/permission/".concat(Wh)),
|
|
11353
|
+
Di = createService$1("/api/device-relation/deviceproject/v1/project/device/video", Gh),
|
|
11354
|
+
Kh = enterpriseright$1.get("/permissionset/user-portal-menu");
|
|
11355
|
+
function Gh(t) {
|
|
11360
11356
|
var e = getProjectInfo() ? getProjectInfo().id : 1;
|
|
11361
11357
|
return t.params || (t.params = {}), t.params.project = e, t.params.projectId = e, t;
|
|
11362
11358
|
}
|
|
@@ -11373,11 +11369,11 @@ function Si(t) {
|
|
|
11373
11369
|
function as(t) {
|
|
11374
11370
|
return Di.post("/ptz?".concat(Si(t)))().run();
|
|
11375
11371
|
}
|
|
11376
|
-
function
|
|
11372
|
+
function Xh(t) {
|
|
11377
11373
|
return Di.post("/url/preview?".concat(Si(t)))().run();
|
|
11378
11374
|
}
|
|
11379
|
-
var
|
|
11380
|
-
|
|
11375
|
+
var Qh = Vh.post("data/device-auth"),
|
|
11376
|
+
Yh = /* @__PURE__ */defineComponent({
|
|
11381
11377
|
__name: "GridItem",
|
|
11382
11378
|
props: {
|
|
11383
11379
|
active: {
|
|
@@ -11428,11 +11424,11 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11428
11424
|
};
|
|
11429
11425
|
}
|
|
11430
11426
|
}),
|
|
11431
|
-
|
|
11432
|
-
|
|
11427
|
+
Jh = /* @__PURE__ */Ne(Yh, [["__scopeId", "data-v-68946aef"]]),
|
|
11428
|
+
Zh = {
|
|
11433
11429
|
"class": "layout-wrapper"
|
|
11434
11430
|
},
|
|
11435
|
-
|
|
11431
|
+
ex = /* @__PURE__ */defineComponent({
|
|
11436
11432
|
__name: "GridLayout",
|
|
11437
11433
|
props: {
|
|
11438
11434
|
gridNum: {},
|
|
@@ -11450,8 +11446,8 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11450
11446
|
r("update:activeIndex", a);
|
|
11451
11447
|
};
|
|
11452
11448
|
return function (a, i) {
|
|
11453
|
-
return openBlock(), createElementBlock("div",
|
|
11454
|
-
return openBlock(), createBlock(
|
|
11449
|
+
return openBlock(), createElementBlock("div", Zh, [createCommentVNode(' :active="index === activeIndex" '), (openBlock(true), createElementBlock(Fragment, null, renderList(n.gridNum, function (c, l) {
|
|
11450
|
+
return openBlock(), createBlock(Jh, {
|
|
11455
11451
|
active: false,
|
|
11456
11452
|
"grid-num": n.gridNum,
|
|
11457
11453
|
onItemClick: function onItemClick(s) {
|
|
@@ -11472,8 +11468,8 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11472
11468
|
};
|
|
11473
11469
|
}
|
|
11474
11470
|
}),
|
|
11475
|
-
|
|
11476
|
-
|
|
11471
|
+
tx = /* @__PURE__ */Ne(ex, [["__scopeId", "data-v-22baf4d8"]]),
|
|
11472
|
+
nx = /* @__PURE__ */defineComponent({
|
|
11477
11473
|
__name: "DirectionControl",
|
|
11478
11474
|
emits: ["change"],
|
|
11479
11475
|
setup: function setup(t, _ref137) {
|
|
@@ -11610,36 +11606,36 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11610
11606
|
};
|
|
11611
11607
|
}
|
|
11612
11608
|
}),
|
|
11613
|
-
|
|
11614
|
-
|
|
11609
|
+
rx = /* @__PURE__ */Ne(nx, [["__scopeId", "data-v-83a64a40"]]),
|
|
11610
|
+
ox = {
|
|
11615
11611
|
"class": "video-wrapper"
|
|
11616
11612
|
},
|
|
11617
|
-
|
|
11613
|
+
ax = {
|
|
11618
11614
|
"class": "video-top"
|
|
11619
11615
|
},
|
|
11620
|
-
|
|
11616
|
+
sx = {
|
|
11621
11617
|
"class": "video-top_l"
|
|
11622
11618
|
},
|
|
11623
|
-
|
|
11619
|
+
ix = {
|
|
11624
11620
|
"class": "video-title-wrapper"
|
|
11625
11621
|
},
|
|
11626
|
-
|
|
11622
|
+
cx = {
|
|
11627
11623
|
"class": "video-title"
|
|
11628
11624
|
},
|
|
11629
|
-
|
|
11625
|
+
lx = {
|
|
11630
11626
|
"class": "video-top_r"
|
|
11631
11627
|
},
|
|
11632
|
-
|
|
11628
|
+
ux = {
|
|
11633
11629
|
key: 0,
|
|
11634
11630
|
"class": "play-status"
|
|
11635
11631
|
},
|
|
11636
|
-
|
|
11632
|
+
dx = {
|
|
11637
11633
|
"class": "video-bottom"
|
|
11638
11634
|
},
|
|
11639
|
-
|
|
11635
|
+
fx = {
|
|
11640
11636
|
"class": "video-bottom_r"
|
|
11641
11637
|
},
|
|
11642
|
-
|
|
11638
|
+
px = /* @__PURE__ */defineComponent({
|
|
11643
11639
|
__name: "index",
|
|
11644
11640
|
props: {
|
|
11645
11641
|
videoUrl: {},
|
|
@@ -11753,14 +11749,14 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11753
11749
|
u.value = true;
|
|
11754
11750
|
});
|
|
11755
11751
|
}), function (g, C) {
|
|
11756
|
-
return openBlock(), createElementBlock("div",
|
|
11752
|
+
return openBlock(), createElementBlock("div", ox, [createVNode(unref(DasSpin), {
|
|
11757
11753
|
spinning: n.loading,
|
|
11758
11754
|
type: "component",
|
|
11759
11755
|
tip: "加载中..."
|
|
11760
11756
|
}, {
|
|
11761
11757
|
"default": withCtx(function () {
|
|
11762
|
-
return [createElementVNode("div",
|
|
11763
|
-
/* TEXT */)])]), createElementVNode("div",
|
|
11758
|
+
return [createElementVNode("div", ax, [createElementVNode("div", sx, [createElementVNode("div", ix, [createElementVNode("div", cx, toDisplayString(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title), 1
|
|
11759
|
+
/* TEXT */)])]), createElementVNode("div", lx, [["live"].includes(g.type) ? (openBlock(), createElementBlock("span", ux, toDisplayString(unref(t$1)("正在实时预览")), 1
|
|
11764
11760
|
/* TEXT */)) : createCommentVNode("v-if", true), createCommentVNode(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')])]), n.videoUrl && u.value ? (openBlock(), createBlock(unref(DasLivePlayer), {
|
|
11765
11761
|
key: 0,
|
|
11766
11762
|
type: "flv",
|
|
@@ -11769,10 +11765,10 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11769
11765
|
muted: o.value,
|
|
11770
11766
|
onLoaded: _,
|
|
11771
11767
|
src: n.videoUrl
|
|
11772
|
-
}, null, 8, ["muted", "src"])) : createCommentVNode("v-if", true), createElementVNode("div",
|
|
11768
|
+
}, null, 8, ["muted", "src"])) : createCommentVNode("v-if", true), createElementVNode("div", dx, [C[3] || (C[3] = createElementVNode("div", {
|
|
11773
11769
|
"class": "video-bottom_l"
|
|
11774
11770
|
}, null, -1
|
|
11775
|
-
/* CACHED */)), createElementVNode("div",
|
|
11771
|
+
/* CACHED */)), createElementVNode("div", fx, [createElementVNode("div", {
|
|
11776
11772
|
"class": "controls",
|
|
11777
11773
|
onDblclick: C[2] || (C[2] = withModifiers(function (E) {
|
|
11778
11774
|
return E.stopPropagation();
|
|
@@ -11848,7 +11844,7 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11848
11844
|
_: 1
|
|
11849
11845
|
/* STABLE */
|
|
11850
11846
|
}, 8, ["content"])) : createCommentVNode("v-if", true)], 32
|
|
11851
|
-
/* NEED_HYDRATION */)])]), i.value ? (openBlock(), createBlock(
|
|
11847
|
+
/* NEED_HYDRATION */)])]), i.value ? (openBlock(), createBlock(rx, {
|
|
11852
11848
|
key: 1,
|
|
11853
11849
|
onChange: x
|
|
11854
11850
|
})) : createCommentVNode("v-if", true)];
|
|
@@ -11859,8 +11855,8 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11859
11855
|
};
|
|
11860
11856
|
}
|
|
11861
11857
|
}),
|
|
11862
|
-
|
|
11863
|
-
|
|
11858
|
+
hx = /* @__PURE__ */Ne(px, [["__scopeId", "data-v-30f67b62"]]),
|
|
11859
|
+
xx = /* @__PURE__ */defineComponent({
|
|
11864
11860
|
props: {
|
|
11865
11861
|
deviceInfo: {
|
|
11866
11862
|
type: Object,
|
|
@@ -11875,7 +11871,7 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11875
11871
|
o = ref(""),
|
|
11876
11872
|
a = /*#__PURE__*/function () {
|
|
11877
11873
|
var _ref140 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee72() {
|
|
11878
|
-
var u, _yield$
|
|
11874
|
+
var u, _yield$Xh, _yield$Xh2, l, s;
|
|
11879
11875
|
return _regenerator().w(function (_context73) {
|
|
11880
11876
|
while (1) switch (_context73.n) {
|
|
11881
11877
|
case 0:
|
|
@@ -11887,16 +11883,16 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11887
11883
|
case 1:
|
|
11888
11884
|
r.value = true;
|
|
11889
11885
|
_context73.n = 2;
|
|
11890
|
-
return
|
|
11886
|
+
return Xh({
|
|
11891
11887
|
productId: n.value.productId,
|
|
11892
11888
|
deviceId: n.value.deviceId,
|
|
11893
11889
|
source: "strategy"
|
|
11894
11890
|
});
|
|
11895
11891
|
case 2:
|
|
11896
|
-
_yield$
|
|
11897
|
-
_yield$
|
|
11898
|
-
l = _yield$
|
|
11899
|
-
s = _yield$
|
|
11892
|
+
_yield$Xh = _context73.v;
|
|
11893
|
+
_yield$Xh2 = _slicedToArray(_yield$Xh, 2);
|
|
11894
|
+
l = _yield$Xh2[0];
|
|
11895
|
+
s = _yield$Xh2[1];
|
|
11900
11896
|
l || (o.value = withToken(s == null ? undefined : s.wsFlvStreamURL)), r.value = false;
|
|
11901
11897
|
case 3:
|
|
11902
11898
|
return _context73.a(2);
|
|
@@ -11943,7 +11939,7 @@ var Yh = Kh.post("data/device-auth"),
|
|
|
11943
11939
|
};
|
|
11944
11940
|
}
|
|
11945
11941
|
});
|
|
11946
|
-
function
|
|
11942
|
+
function vx(t) {
|
|
11947
11943
|
var e = ref(0),
|
|
11948
11944
|
n = ref(),
|
|
11949
11945
|
_qt5 = qt(n),
|
|
@@ -11951,7 +11947,7 @@ function gx(t) {
|
|
|
11951
11947
|
o = _qt5.isFullscreen;
|
|
11952
11948
|
return {
|
|
11953
11949
|
render: function render() {
|
|
11954
|
-
return createVNode(
|
|
11950
|
+
return createVNode(tx, {
|
|
11955
11951
|
ref: n,
|
|
11956
11952
|
gridNum: t.gridNum,
|
|
11957
11953
|
activeIndex: e.value,
|
|
@@ -11965,7 +11961,7 @@ function gx(t) {
|
|
|
11965
11961
|
"default": function _default(_ref141) {
|
|
11966
11962
|
var i = _ref141.index;
|
|
11967
11963
|
var c = t.deviceList[i];
|
|
11968
|
-
return createVNode(
|
|
11964
|
+
return createVNode(xx, {
|
|
11969
11965
|
deviceInfo: c
|
|
11970
11966
|
}, {
|
|
11971
11967
|
"default": function _default(_ref142) {
|
|
@@ -11973,7 +11969,7 @@ function gx(t) {
|
|
|
11973
11969
|
s = _ref142.onDirectionControl,
|
|
11974
11970
|
u = _ref142.onZoomControl,
|
|
11975
11971
|
_ = _ref142.loading;
|
|
11976
|
-
return createVNode(
|
|
11972
|
+
return createVNode(hx, {
|
|
11977
11973
|
type: "live",
|
|
11978
11974
|
loading: _,
|
|
11979
11975
|
videoUrl: l,
|
|
@@ -11990,7 +11986,7 @@ function gx(t) {
|
|
|
11990
11986
|
toggleFullscreen: r
|
|
11991
11987
|
};
|
|
11992
11988
|
}
|
|
11993
|
-
var
|
|
11989
|
+
var gx = /* @__PURE__ */defineComponent({
|
|
11994
11990
|
__name: "index",
|
|
11995
11991
|
props: {
|
|
11996
11992
|
deviceList: {
|
|
@@ -12009,9 +12005,9 @@ var mx = /* @__PURE__ */defineComponent({
|
|
|
12009
12005
|
});
|
|
12010
12006
|
var e = t,
|
|
12011
12007
|
n = ref(true),
|
|
12012
|
-
|
|
12013
|
-
r =
|
|
12014
|
-
o =
|
|
12008
|
+
_vx = vx(e),
|
|
12009
|
+
r = _vx.render,
|
|
12010
|
+
o = _vx.toggleFullscreen,
|
|
12015
12011
|
a = computed(function () {
|
|
12016
12012
|
var i = {};
|
|
12017
12013
|
switch (e.gridNum) {
|
|
@@ -12077,7 +12073,7 @@ var mx = /* @__PURE__ */defineComponent({
|
|
|
12077
12073
|
};
|
|
12078
12074
|
}
|
|
12079
12075
|
}),
|
|
12080
|
-
|
|
12076
|
+
mx = function mx(t) {
|
|
12081
12077
|
var _t$gridNum = t.gridNum,
|
|
12082
12078
|
e = _t$gridNum === void 0 ? 4 : _t$gridNum,
|
|
12083
12079
|
_t$deviceList = t.deviceList,
|
|
@@ -12085,7 +12081,7 @@ var mx = /* @__PURE__ */defineComponent({
|
|
|
12085
12081
|
return new Promise(function (r) {
|
|
12086
12082
|
var o = document.body.querySelector("#video-dialog-container");
|
|
12087
12083
|
o && (render(null, o), document.body.removeChild(o)), o = document.createElement("div"), o.setAttribute("id", "video-dialog-container"), document.body.appendChild(o);
|
|
12088
|
-
var i = h(
|
|
12084
|
+
var i = h(gx, {
|
|
12089
12085
|
gridNum: e,
|
|
12090
12086
|
deviceList: n,
|
|
12091
12087
|
closeCallback: function closeCallback() {
|
|
@@ -12095,23 +12091,23 @@ var mx = /* @__PURE__ */defineComponent({
|
|
|
12095
12091
|
render(i, o);
|
|
12096
12092
|
});
|
|
12097
12093
|
},
|
|
12098
|
-
|
|
12094
|
+
_x = function _x() {
|
|
12099
12095
|
var t = ref(4),
|
|
12100
12096
|
e = ref([]),
|
|
12101
12097
|
n = ref(null),
|
|
12102
12098
|
r = /*#__PURE__*/function () {
|
|
12103
12099
|
var _ref143 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee73(a) {
|
|
12104
|
-
var _yield$
|
|
12100
|
+
var _yield$Qh$run, _yield$Qh$run2, i, c;
|
|
12105
12101
|
return _regenerator().w(function (_context74) {
|
|
12106
12102
|
while (1) switch (_context74.n) {
|
|
12107
12103
|
case 0:
|
|
12108
12104
|
_context74.n = 1;
|
|
12109
|
-
return
|
|
12105
|
+
return Qh(a).run();
|
|
12110
12106
|
case 1:
|
|
12111
|
-
_yield$
|
|
12112
|
-
_yield$
|
|
12113
|
-
i = _yield$
|
|
12114
|
-
c = _yield$
|
|
12107
|
+
_yield$Qh$run = _context74.v;
|
|
12108
|
+
_yield$Qh$run2 = _slicedToArray(_yield$Qh$run, 2);
|
|
12109
|
+
i = _yield$Qh$run2[0];
|
|
12110
|
+
c = _yield$Qh$run2[1];
|
|
12115
12111
|
if (i) {
|
|
12116
12112
|
_context74.n = 2;
|
|
12117
12113
|
break;
|
|
@@ -12128,21 +12124,21 @@ var mx = /* @__PURE__ */defineComponent({
|
|
|
12128
12124
|
}(),
|
|
12129
12125
|
o = /*#__PURE__*/function () {
|
|
12130
12126
|
var _ref144 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee75() {
|
|
12131
|
-
var a, _yield$
|
|
12127
|
+
var a, _yield$Kh$run, _yield$Kh$run2, i, c;
|
|
12132
12128
|
return _regenerator().w(function (_context76) {
|
|
12133
12129
|
while (1) switch (_context76.n) {
|
|
12134
12130
|
case 0:
|
|
12135
12131
|
a = getProjectInfo().id;
|
|
12136
12132
|
_context76.n = 1;
|
|
12137
|
-
return
|
|
12133
|
+
return Kh().run({
|
|
12138
12134
|
code: "strategy",
|
|
12139
12135
|
showBtn: false
|
|
12140
12136
|
});
|
|
12141
12137
|
case 1:
|
|
12142
|
-
_yield$
|
|
12143
|
-
_yield$
|
|
12144
|
-
i = _yield$
|
|
12145
|
-
c = _yield$
|
|
12138
|
+
_yield$Kh$run = _context76.v;
|
|
12139
|
+
_yield$Kh$run2 = _slicedToArray(_yield$Kh$run, 2);
|
|
12140
|
+
i = _yield$Kh$run2[0];
|
|
12141
|
+
c = _yield$Kh$run2[1];
|
|
12146
12142
|
i || !c || !c.length || !c.find(function (s) {
|
|
12147
12143
|
return s.code === "strategy.linkageModel";
|
|
12148
12144
|
}) || n.value || (n.value = new socketService({
|
|
@@ -12182,7 +12178,7 @@ var mx = /* @__PURE__ */defineComponent({
|
|
|
12182
12178
|
});
|
|
12183
12179
|
e.value = f.filter(function (p) {
|
|
12184
12180
|
return !!p.show;
|
|
12185
|
-
}), (u = e.value) != null && u.length &&
|
|
12181
|
+
}), (u = e.value) != null && u.length && mx({
|
|
12186
12182
|
gridNum: t.value,
|
|
12187
12183
|
deviceList: e.value
|
|
12188
12184
|
});
|
|
@@ -12275,53 +12271,53 @@ var Qe = /*#__PURE__*/function (_Error3) {
|
|
|
12275
12271
|
_inherits(Qe, _Error3);
|
|
12276
12272
|
return _createClass(Qe);
|
|
12277
12273
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
12278
|
-
var
|
|
12274
|
+
var Cx = /*#__PURE__*/function (_Error4) {
|
|
12279
12275
|
/** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
|
|
12280
12276
|
*
|
|
12281
12277
|
* @param {string} message A descriptive error message.
|
|
12282
12278
|
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occurred on.
|
|
12283
12279
|
*/
|
|
12284
|
-
function
|
|
12280
|
+
function Cx(e, n) {
|
|
12285
12281
|
var _this4;
|
|
12286
|
-
_classCallCheck(this,
|
|
12287
|
-
var r = (this instanceof
|
|
12288
|
-
_this4 = _callSuper(this,
|
|
12282
|
+
_classCallCheck(this, Cx);
|
|
12283
|
+
var r = (this instanceof Cx ? this.constructor : void 0).prototype;
|
|
12284
|
+
_this4 = _callSuper(this, Cx, [e]), _this4.transport = n, _this4.errorType = "UnsupportedTransportError", _this4.__proto__ = r;
|
|
12289
12285
|
return _this4;
|
|
12290
12286
|
}
|
|
12291
|
-
_inherits(
|
|
12292
|
-
return _createClass(
|
|
12287
|
+
_inherits(Cx, _Error4);
|
|
12288
|
+
return _createClass(Cx);
|
|
12293
12289
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
12294
|
-
var
|
|
12290
|
+
var yx = /*#__PURE__*/function (_Error5) {
|
|
12295
12291
|
/** Constructs a new instance of {@link @microsoft/signalr.DisabledTransportError}.
|
|
12296
12292
|
*
|
|
12297
12293
|
* @param {string} message A descriptive error message.
|
|
12298
12294
|
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occurred on.
|
|
12299
12295
|
*/
|
|
12300
|
-
function
|
|
12296
|
+
function yx(e, n) {
|
|
12301
12297
|
var _this5;
|
|
12302
|
-
_classCallCheck(this,
|
|
12303
|
-
var r = (this instanceof
|
|
12304
|
-
_this5 = _callSuper(this,
|
|
12298
|
+
_classCallCheck(this, yx);
|
|
12299
|
+
var r = (this instanceof yx ? this.constructor : void 0).prototype;
|
|
12300
|
+
_this5 = _callSuper(this, yx, [e]), _this5.transport = n, _this5.errorType = "DisabledTransportError", _this5.__proto__ = r;
|
|
12305
12301
|
return _this5;
|
|
12306
12302
|
}
|
|
12307
|
-
_inherits(
|
|
12308
|
-
return _createClass(
|
|
12303
|
+
_inherits(yx, _Error5);
|
|
12304
|
+
return _createClass(yx);
|
|
12309
12305
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
12310
|
-
var
|
|
12306
|
+
var bx = /*#__PURE__*/function (_Error6) {
|
|
12311
12307
|
/** Constructs a new instance of {@link @microsoft/signalr.FailedToStartTransportError}.
|
|
12312
12308
|
*
|
|
12313
12309
|
* @param {string} message A descriptive error message.
|
|
12314
12310
|
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occurred on.
|
|
12315
12311
|
*/
|
|
12316
|
-
function
|
|
12312
|
+
function bx(e, n) {
|
|
12317
12313
|
var _this6;
|
|
12318
|
-
_classCallCheck(this,
|
|
12319
|
-
var r = (this instanceof
|
|
12320
|
-
_this6 = _callSuper(this,
|
|
12314
|
+
_classCallCheck(this, bx);
|
|
12315
|
+
var r = (this instanceof bx ? this.constructor : void 0).prototype;
|
|
12316
|
+
_this6 = _callSuper(this, bx, [e]), _this6.transport = n, _this6.errorType = "FailedToStartTransportError", _this6.__proto__ = r;
|
|
12321
12317
|
return _this6;
|
|
12322
12318
|
}
|
|
12323
|
-
_inherits(
|
|
12324
|
-
return _createClass(
|
|
12319
|
+
_inherits(bx, _Error6);
|
|
12320
|
+
return _createClass(bx);
|
|
12325
12321
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
12326
12322
|
var ss = /*#__PURE__*/function (_Error7) {
|
|
12327
12323
|
/** Constructs a new instance of {@link @microsoft/signalr.FailedToNegotiateWithServerError}.
|
|
@@ -12338,21 +12334,21 @@ var ss = /*#__PURE__*/function (_Error7) {
|
|
|
12338
12334
|
_inherits(ss, _Error7);
|
|
12339
12335
|
return _createClass(ss);
|
|
12340
12336
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
12341
|
-
var
|
|
12337
|
+
var wx = /*#__PURE__*/function (_Error8) {
|
|
12342
12338
|
/** Constructs a new instance of {@link @microsoft/signalr.AggregateErrors}.
|
|
12343
12339
|
*
|
|
12344
12340
|
* @param {string} message A descriptive error message.
|
|
12345
12341
|
* @param {Error[]} innerErrors The collection of errors this error is aggregating.
|
|
12346
12342
|
*/
|
|
12347
|
-
function
|
|
12343
|
+
function wx(e, n) {
|
|
12348
12344
|
var _this8;
|
|
12349
|
-
_classCallCheck(this,
|
|
12350
|
-
var r = (this instanceof
|
|
12351
|
-
_this8 = _callSuper(this,
|
|
12345
|
+
_classCallCheck(this, wx);
|
|
12346
|
+
var r = (this instanceof wx ? this.constructor : void 0).prototype;
|
|
12347
|
+
_this8 = _callSuper(this, wx, [e]), _this8.innerErrors = n, _this8.__proto__ = r;
|
|
12352
12348
|
return _this8;
|
|
12353
12349
|
}
|
|
12354
|
-
_inherits(
|
|
12355
|
-
return _createClass(
|
|
12350
|
+
_inherits(wx, _Error8);
|
|
12351
|
+
return _createClass(wx);
|
|
12356
12352
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
12357
12353
|
var Ii = /*#__PURE__*/_createClass(function Ii(e, n, r) {
|
|
12358
12354
|
_classCallCheck(this, Ii);
|
|
@@ -12415,7 +12411,7 @@ var un = /*#__PURE__*/function () {
|
|
|
12415
12411
|
}]);
|
|
12416
12412
|
}();
|
|
12417
12413
|
un.instance = new un();
|
|
12418
|
-
var
|
|
12414
|
+
var Ax = "8.0.7";
|
|
12419
12415
|
var be = /*#__PURE__*/function () {
|
|
12420
12416
|
function be() {
|
|
12421
12417
|
_classCallCheck(this, be);
|
|
@@ -12471,9 +12467,9 @@ var _e = /*#__PURE__*/function () {
|
|
|
12471
12467
|
}();
|
|
12472
12468
|
function dn(t, e) {
|
|
12473
12469
|
var n = "";
|
|
12474
|
-
return wt(t) ? (n = "Binary data of length ".concat(t.byteLength), e && (n += ". Content: '".concat(
|
|
12470
|
+
return wt(t) ? (n = "Binary data of length ".concat(t.byteLength), e && (n += ". Content: '".concat(Ex(t), "'"))) : typeof t == "string" && (n = "String data of length ".concat(t.length), e && (n += ". Content: '".concat(t, "'"))), n;
|
|
12475
12471
|
}
|
|
12476
|
-
function
|
|
12472
|
+
function Ex(t) {
|
|
12477
12473
|
var e = new Uint8Array(t);
|
|
12478
12474
|
var n = "";
|
|
12479
12475
|
return e.forEach(function (r) {
|
|
@@ -12516,15 +12512,15 @@ function _Fi() {
|
|
|
12516
12512
|
}));
|
|
12517
12513
|
return _Fi.apply(this, arguments);
|
|
12518
12514
|
}
|
|
12519
|
-
function
|
|
12515
|
+
function kx(t) {
|
|
12520
12516
|
return t === undefined ? new Pn(F$1.Information) : t === null ? un.instance : t.log !== undefined ? t : new Pn(t);
|
|
12521
12517
|
}
|
|
12522
|
-
var
|
|
12523
|
-
function
|
|
12524
|
-
_classCallCheck(this,
|
|
12518
|
+
var Bx = /*#__PURE__*/function () {
|
|
12519
|
+
function Bx(e, n) {
|
|
12520
|
+
_classCallCheck(this, Bx);
|
|
12525
12521
|
this._subject = e, this._observer = n;
|
|
12526
12522
|
}
|
|
12527
|
-
return _createClass(
|
|
12523
|
+
return _createClass(Bx, [{
|
|
12528
12524
|
key: "dispose",
|
|
12529
12525
|
value: function dispose() {
|
|
12530
12526
|
var e = this._subject.observers.indexOf(this._observer);
|
|
@@ -12563,14 +12559,14 @@ var Pn = /*#__PURE__*/function () {
|
|
|
12563
12559
|
}();
|
|
12564
12560
|
function Ht() {
|
|
12565
12561
|
var t = "X-SignalR-User-Agent";
|
|
12566
|
-
return _e.isNode && (t = "User-Agent"), [t,
|
|
12562
|
+
return _e.isNode && (t = "User-Agent"), [t, Dx(Ax, Sx(), Fx(), Ix())];
|
|
12567
12563
|
}
|
|
12568
|
-
function
|
|
12564
|
+
function Dx(t, e, n, r) {
|
|
12569
12565
|
var o = "Microsoft SignalR/";
|
|
12570
12566
|
var a = t.split(".");
|
|
12571
12567
|
return o += "".concat(a[0], ".").concat(a[1]), o += " (".concat(t, "; "), e && e !== "" ? o += "".concat(e, "; ") : o += "Unknown OS; ", o += "".concat(n), r ? o += "; ".concat(r) : o += "; Unknown Runtime Version", o += ")", o;
|
|
12572
12568
|
}
|
|
12573
|
-
function
|
|
12569
|
+
function Sx() {
|
|
12574
12570
|
if (_e.isNode) switch (process.platform) {
|
|
12575
12571
|
case "win32":
|
|
12576
12572
|
return "Windows NT";
|
|
@@ -12582,30 +12578,30 @@ function Ix() {
|
|
|
12582
12578
|
return process.platform;
|
|
12583
12579
|
} else return "";
|
|
12584
12580
|
}
|
|
12585
|
-
function
|
|
12581
|
+
function Ix() {
|
|
12586
12582
|
if (_e.isNode) return process.versions.node;
|
|
12587
12583
|
}
|
|
12588
|
-
function
|
|
12584
|
+
function Fx() {
|
|
12589
12585
|
return _e.isNode ? "NodeJS" : "Browser";
|
|
12590
12586
|
}
|
|
12591
12587
|
function Fr(t) {
|
|
12592
12588
|
return t.stack ? t.stack : t.message ? t.message : "".concat(t);
|
|
12593
12589
|
}
|
|
12594
|
-
function
|
|
12590
|
+
function Tx() {
|
|
12595
12591
|
if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u") return globalThis;
|
|
12596
12592
|
if ((typeof self === "undefined" ? "undefined" : _typeof(self)) < "u") return self;
|
|
12597
12593
|
if ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u") return window;
|
|
12598
12594
|
if ((typeof global === "undefined" ? "undefined" : _typeof(global)) < "u") return global;
|
|
12599
12595
|
throw new Error("could not find global");
|
|
12600
12596
|
}
|
|
12601
|
-
var
|
|
12602
|
-
function
|
|
12597
|
+
var Px = /*#__PURE__*/function (_jn) {
|
|
12598
|
+
function Px(e) {
|
|
12603
12599
|
var _this9;
|
|
12604
|
-
_classCallCheck(this,
|
|
12605
|
-
if (_this9 = _callSuper(this,
|
|
12600
|
+
_classCallCheck(this, Px);
|
|
12601
|
+
if (_this9 = _callSuper(this, Px), _this9._logger = e, (typeof fetch === "undefined" ? "undefined" : _typeof(fetch)) > "u" || _e.isNode) {
|
|
12606
12602
|
var n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
12607
12603
|
_this9._jar = new (n("tough-cookie").CookieJar)(), (typeof fetch === "undefined" ? "undefined" : _typeof(fetch)) > "u" ? _this9._fetchType = n("node-fetch") : _this9._fetchType = fetch, _this9._fetchType = n("fetch-cookie")(_this9._fetchType, _this9._jar);
|
|
12608
|
-
} else _this9._fetchType = fetch.bind(
|
|
12604
|
+
} else _this9._fetchType = fetch.bind(Tx());
|
|
12609
12605
|
if ((typeof AbortController === "undefined" ? "undefined" : _typeof(AbortController)) > "u") {
|
|
12610
12606
|
var _n8 = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
12611
12607
|
_this9._abortControllerType = _n8("abort-controller");
|
|
@@ -12613,8 +12609,8 @@ var Rx = /*#__PURE__*/function (_jn) {
|
|
|
12613
12609
|
return _this9;
|
|
12614
12610
|
}
|
|
12615
12611
|
/** @inheritDoc */
|
|
12616
|
-
_inherits(
|
|
12617
|
-
return _createClass(
|
|
12612
|
+
_inherits(Px, _jn);
|
|
12613
|
+
return _createClass(Px, [{
|
|
12618
12614
|
key: "send",
|
|
12619
12615
|
value: (function () {
|
|
12620
12616
|
var _send = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee77(e) {
|
|
@@ -12732,16 +12728,16 @@ function is(t, e) {
|
|
|
12732
12728
|
}
|
|
12733
12729
|
return n;
|
|
12734
12730
|
}
|
|
12735
|
-
var
|
|
12736
|
-
function
|
|
12731
|
+
var Rx = /*#__PURE__*/function (_jn2) {
|
|
12732
|
+
function Rx(e) {
|
|
12737
12733
|
var _this1;
|
|
12738
|
-
_classCallCheck(this,
|
|
12739
|
-
_this1 = _callSuper(this,
|
|
12734
|
+
_classCallCheck(this, Rx);
|
|
12735
|
+
_this1 = _callSuper(this, Rx), _this1._logger = e;
|
|
12740
12736
|
return _this1;
|
|
12741
12737
|
}
|
|
12742
12738
|
/** @inheritDoc */
|
|
12743
|
-
_inherits(
|
|
12744
|
-
return _createClass(
|
|
12739
|
+
_inherits(Rx, _jn2);
|
|
12740
|
+
return _createClass(Rx, [{
|
|
12745
12741
|
key: "send",
|
|
12746
12742
|
value: function send(e) {
|
|
12747
12743
|
var _this10 = this;
|
|
@@ -12764,17 +12760,17 @@ var Lx = /*#__PURE__*/function (_jn2) {
|
|
|
12764
12760
|
}
|
|
12765
12761
|
}]);
|
|
12766
12762
|
}(jn);
|
|
12767
|
-
var
|
|
12763
|
+
var Lx = /*#__PURE__*/function (_jn3) {
|
|
12768
12764
|
/** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
|
|
12769
|
-
function
|
|
12765
|
+
function Lx(e) {
|
|
12770
12766
|
var _this11;
|
|
12771
|
-
_classCallCheck(this,
|
|
12772
|
-
if (_this11 = _callSuper(this,
|
|
12767
|
+
_classCallCheck(this, Lx);
|
|
12768
|
+
if (_this11 = _callSuper(this, Lx), (typeof fetch === "undefined" ? "undefined" : _typeof(fetch)) < "u" || _e.isNode) _this11._httpClient = new Px(e);else if ((typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof(XMLHttpRequest)) < "u") _this11._httpClient = new Rx(e);else throw new Error("No usable HttpClient found.");
|
|
12773
12769
|
return _this11;
|
|
12774
12770
|
}
|
|
12775
12771
|
/** @inheritDoc */
|
|
12776
|
-
_inherits(
|
|
12777
|
-
return _createClass(
|
|
12772
|
+
_inherits(Lx, _jn3);
|
|
12773
|
+
return _createClass(Lx, [{
|
|
12778
12774
|
key: "send",
|
|
12779
12775
|
value: function send(e) {
|
|
12780
12776
|
return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new Qe()) : e.method ? e.url ? this._httpClient.send(e) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
|
|
@@ -12806,11 +12802,11 @@ var Ue = /*#__PURE__*/function () {
|
|
|
12806
12802
|
}();
|
|
12807
12803
|
Ue.RecordSeparatorCode = 30;
|
|
12808
12804
|
Ue.RecordSeparator = String.fromCharCode(Ue.RecordSeparatorCode);
|
|
12809
|
-
var
|
|
12810
|
-
function
|
|
12811
|
-
_classCallCheck(this,
|
|
12805
|
+
var $x = /*#__PURE__*/function () {
|
|
12806
|
+
function $x() {
|
|
12807
|
+
_classCallCheck(this, $x);
|
|
12812
12808
|
}
|
|
12813
|
-
return _createClass(
|
|
12809
|
+
return _createClass($x, [{
|
|
12814
12810
|
key: "writeHandshakeRequest",
|
|
12815
12811
|
value:
|
|
12816
12812
|
// Handshake request is always JSON
|
|
@@ -12845,12 +12841,12 @@ var te;
|
|
|
12845
12841
|
(function (t) {
|
|
12846
12842
|
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";
|
|
12847
12843
|
})(te || (te = {}));
|
|
12848
|
-
var
|
|
12849
|
-
function
|
|
12850
|
-
_classCallCheck(this,
|
|
12844
|
+
var Mx = /*#__PURE__*/function () {
|
|
12845
|
+
function Mx() {
|
|
12846
|
+
_classCallCheck(this, Mx);
|
|
12851
12847
|
this.observers = [];
|
|
12852
12848
|
}
|
|
12853
|
-
return _createClass(
|
|
12849
|
+
return _createClass(Mx, [{
|
|
12854
12850
|
key: "next",
|
|
12855
12851
|
value: function next(e) {
|
|
12856
12852
|
var _iterator7 = _createForOfIteratorHelper(this.observers),
|
|
@@ -12901,16 +12897,16 @@ var Ox = /*#__PURE__*/function () {
|
|
|
12901
12897
|
}, {
|
|
12902
12898
|
key: "subscribe",
|
|
12903
12899
|
value: function subscribe(e) {
|
|
12904
|
-
return this.observers.push(e), new
|
|
12900
|
+
return this.observers.push(e), new Bx(this, e);
|
|
12905
12901
|
}
|
|
12906
12902
|
}]);
|
|
12907
12903
|
}();
|
|
12908
|
-
var
|
|
12909
|
-
function
|
|
12910
|
-
_classCallCheck(this,
|
|
12904
|
+
var Ox = /*#__PURE__*/function () {
|
|
12905
|
+
function Ox(e, n, r) {
|
|
12906
|
+
_classCallCheck(this, Ox);
|
|
12911
12907
|
this._bufferSize = 1e5, this._messages = [], this._totalMessageCount = 0, this._waitForSequenceMessage = false, this._nextReceivingSequenceId = 1, this._latestReceivedSequenceId = 0, this._bufferedByteCount = 0, this._reconnectInProgress = false, this._protocol = e, this._connection = n, this._bufferSize = r;
|
|
12912
12908
|
}
|
|
12913
|
-
return _createClass(
|
|
12909
|
+
return _createClass(Ox, [{
|
|
12914
12910
|
key: "_send",
|
|
12915
12911
|
value: function () {
|
|
12916
12912
|
var _send2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee78(e) {
|
|
@@ -12925,7 +12921,7 @@ var Nx = /*#__PURE__*/function () {
|
|
|
12925
12921
|
_o5 = function _o5() {}, a = function a() {};
|
|
12926
12922
|
wt(n) ? this._bufferedByteCount += n.byteLength : this._bufferedByteCount += n.length, this._bufferedByteCount >= this._bufferSize && (r = new Promise(function (i, c) {
|
|
12927
12923
|
_o5 = i, a = c;
|
|
12928
|
-
})), this._messages.push(new
|
|
12924
|
+
})), this._messages.push(new Nx(n, this._totalMessageCount, _o5, a));
|
|
12929
12925
|
}
|
|
12930
12926
|
_context79.p = 1;
|
|
12931
12927
|
_t48 = this._reconnectInProgress;
|
|
@@ -13110,13 +13106,13 @@ var Nx = /*#__PURE__*/function () {
|
|
|
13110
13106
|
}
|
|
13111
13107
|
}]);
|
|
13112
13108
|
}();
|
|
13113
|
-
var
|
|
13114
|
-
_classCallCheck(this,
|
|
13109
|
+
var Nx = /*#__PURE__*/_createClass(function Nx(e, n, r, o) {
|
|
13110
|
+
_classCallCheck(this, Nx);
|
|
13115
13111
|
this._message = e, this._id = n, this._resolver = r, this._rejector = o;
|
|
13116
13112
|
});
|
|
13117
|
-
var
|
|
13118
|
-
|
|
13119
|
-
|
|
13113
|
+
var zx = 30 * 1e3,
|
|
13114
|
+
jx = 15 * 1e3,
|
|
13115
|
+
Hx = 1e5;
|
|
13120
13116
|
var ve;
|
|
13121
13117
|
(function (t) {
|
|
13122
13118
|
t.Disconnected = "Disconnected", t.Connecting = "Connecting", t.Connected = "Connected", t.Disconnecting = "Disconnecting", t.Reconnecting = "Reconnecting";
|
|
@@ -13127,7 +13123,7 @@ var go = /*#__PURE__*/function () {
|
|
|
13127
13123
|
_classCallCheck(this, go);
|
|
13128
13124
|
this._nextKeepAlive = 0, this._freezeEventListener = function () {
|
|
13129
13125
|
_this13._logger.log(F$1.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");
|
|
13130
|
-
}, be.isRequired(e, "connection"), be.isRequired(n, "logger"), be.isRequired(r, "protocol"), this.serverTimeoutInMilliseconds = a !== null && a !== void 0 ? a :
|
|
13126
|
+
}, be.isRequired(e, "connection"), be.isRequired(n, "logger"), be.isRequired(r, "protocol"), this.serverTimeoutInMilliseconds = a !== null && a !== void 0 ? a : zx, this.keepAliveIntervalInMilliseconds = i !== null && i !== void 0 ? i : jx, this._statefulReconnectBufferSize = c !== null && c !== void 0 ? c : Hx, this._logger = n, this._protocol = r, this.connection = e, this._reconnectPolicy = o, this._handshakeProtocol = new $x(), this.connection.onreceive = function (l) {
|
|
13131
13127
|
return _this13._processIncomingData(l);
|
|
13132
13128
|
}, this.connection.onclose = function (l) {
|
|
13133
13129
|
return _this13._connectionClosed(l);
|
|
@@ -13253,7 +13249,7 @@ var go = /*#__PURE__*/function () {
|
|
|
13253
13249
|
}
|
|
13254
13250
|
throw this._stopDuringStartError;
|
|
13255
13251
|
case 4:
|
|
13256
|
-
(this.connection.features.reconnect || !1) && (this._messageBuffer = new
|
|
13252
|
+
(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 = function () {
|
|
13257
13253
|
if (_this14._messageBuffer) return _this14._messageBuffer._resend();
|
|
13258
13254
|
});
|
|
13259
13255
|
_t54 = this.connection.features.inherentKeepAlive;
|
|
@@ -13378,7 +13374,7 @@ var go = /*#__PURE__*/function () {
|
|
|
13378
13374
|
o = _this$_replaceStreami2[1],
|
|
13379
13375
|
a = this._createStreamInvocation(e, n, o);
|
|
13380
13376
|
var i;
|
|
13381
|
-
var c = new
|
|
13377
|
+
var c = new Mx();
|
|
13382
13378
|
return c.cancelCallback = function () {
|
|
13383
13379
|
var l = _this15._createCancelInvocation(a.invocationId);
|
|
13384
13380
|
return delete _this15._callbacks[a.invocationId], i.then(function () {
|
|
@@ -14032,11 +14028,11 @@ var go = /*#__PURE__*/function () {
|
|
|
14032
14028
|
}
|
|
14033
14029
|
}]);
|
|
14034
14030
|
}();
|
|
14035
|
-
var
|
|
14031
|
+
var Ux = [0, 2e3, 1e4, 3e4, null];
|
|
14036
14032
|
var cs = /*#__PURE__*/function () {
|
|
14037
14033
|
function cs(e) {
|
|
14038
14034
|
_classCallCheck(this, cs);
|
|
14039
|
-
this._retryDelays = e !== undefined ? [].concat(_toConsumableArray(e), [null]) :
|
|
14035
|
+
this._retryDelays = e !== undefined ? [].concat(_toConsumableArray(e), [null]) : Ux;
|
|
14040
14036
|
}
|
|
14041
14037
|
return _createClass(cs, [{
|
|
14042
14038
|
key: "nextRetryDelayInMilliseconds",
|
|
@@ -14050,15 +14046,15 @@ var yt = /*#__PURE__*/_createClass(function yt() {
|
|
|
14050
14046
|
});
|
|
14051
14047
|
yt.Authorization = "Authorization";
|
|
14052
14048
|
yt.Cookie = "Cookie";
|
|
14053
|
-
var
|
|
14054
|
-
function
|
|
14049
|
+
var qx = /*#__PURE__*/function (_jn4) {
|
|
14050
|
+
function qx(e, n) {
|
|
14055
14051
|
var _this23;
|
|
14056
|
-
_classCallCheck(this,
|
|
14057
|
-
_this23 = _callSuper(this,
|
|
14052
|
+
_classCallCheck(this, qx);
|
|
14053
|
+
_this23 = _callSuper(this, qx), _this23._innerClient = e, _this23._accessTokenFactory = n;
|
|
14058
14054
|
return _this23;
|
|
14059
14055
|
}
|
|
14060
|
-
_inherits(
|
|
14061
|
-
return _createClass(
|
|
14056
|
+
_inherits(qx, _jn4);
|
|
14057
|
+
return _createClass(qx, [{
|
|
14062
14058
|
key: "send",
|
|
14063
14059
|
value: function () {
|
|
14064
14060
|
var _send3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee88(e) {
|
|
@@ -14130,12 +14126,12 @@ var Ie;
|
|
|
14130
14126
|
(function (t) {
|
|
14131
14127
|
t[t.Text = 1] = "Text", t[t.Binary = 2] = "Binary";
|
|
14132
14128
|
})(Ie || (Ie = {}));
|
|
14133
|
-
var
|
|
14134
|
-
function
|
|
14135
|
-
_classCallCheck(this,
|
|
14129
|
+
var Wx = /*#__PURE__*/function () {
|
|
14130
|
+
function Wx() {
|
|
14131
|
+
_classCallCheck(this, Wx);
|
|
14136
14132
|
this._isAborted = false, this.onabort = null;
|
|
14137
14133
|
}
|
|
14138
|
-
return _createClass(
|
|
14134
|
+
return _createClass(Wx, [{
|
|
14139
14135
|
key: "abort",
|
|
14140
14136
|
value: function abort() {
|
|
14141
14137
|
this._isAborted || (this._isAborted = true, this.onabort && this.onabort());
|
|
@@ -14155,7 +14151,7 @@ var Vx = /*#__PURE__*/function () {
|
|
|
14155
14151
|
var ls = /*#__PURE__*/function () {
|
|
14156
14152
|
function ls(e, n, r) {
|
|
14157
14153
|
_classCallCheck(this, ls);
|
|
14158
|
-
this._httpClient = e, this._logger = n, this._pollAbort = new
|
|
14154
|
+
this._httpClient = e, this._logger = n, this._pollAbort = new Wx(), this._options = r, this._running = false, this.onreceive = null, this.onclose = null;
|
|
14159
14155
|
}
|
|
14160
14156
|
return _createClass(ls, [{
|
|
14161
14157
|
key: "pollAborted",
|
|
@@ -14320,12 +14316,12 @@ var ls = /*#__PURE__*/function () {
|
|
|
14320
14316
|
}
|
|
14321
14317
|
}]);
|
|
14322
14318
|
}();
|
|
14323
|
-
var
|
|
14324
|
-
function
|
|
14325
|
-
_classCallCheck(this,
|
|
14319
|
+
var Vx = /*#__PURE__*/function () {
|
|
14320
|
+
function Vx(e, n, r, o) {
|
|
14321
|
+
_classCallCheck(this, Vx);
|
|
14326
14322
|
this._httpClient = e, this._accessToken = n, this._logger = r, this._options = o, this.onreceive = null, this.onclose = null;
|
|
14327
14323
|
}
|
|
14328
|
-
return _createClass(
|
|
14324
|
+
return _createClass(Vx, [{
|
|
14329
14325
|
key: "connect",
|
|
14330
14326
|
value: function () {
|
|
14331
14327
|
var _connect2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee93(e, n) {
|
|
@@ -14409,12 +14405,12 @@ var Kx = /*#__PURE__*/function () {
|
|
|
14409
14405
|
}
|
|
14410
14406
|
}]);
|
|
14411
14407
|
}();
|
|
14412
|
-
var
|
|
14413
|
-
function
|
|
14414
|
-
_classCallCheck(this,
|
|
14408
|
+
var Kx = /*#__PURE__*/function () {
|
|
14409
|
+
function Kx(e, n, r, o, a, i) {
|
|
14410
|
+
_classCallCheck(this, Kx);
|
|
14415
14411
|
this._logger = r, this._accessTokenFactory = n, this._logMessageContent = o, this._webSocketConstructor = a, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = i;
|
|
14416
14412
|
}
|
|
14417
|
-
return _createClass(
|
|
14413
|
+
return _createClass(Kx, [{
|
|
14418
14414
|
key: "connect",
|
|
14419
14415
|
value: function () {
|
|
14420
14416
|
var _connect3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee95(e, n) {
|
|
@@ -14499,11 +14495,11 @@ var Gx = /*#__PURE__*/function () {
|
|
|
14499
14495
|
}]);
|
|
14500
14496
|
}();
|
|
14501
14497
|
var us = 100;
|
|
14502
|
-
var
|
|
14503
|
-
function
|
|
14498
|
+
var Gx = /*#__PURE__*/function () {
|
|
14499
|
+
function Gx(e) {
|
|
14504
14500
|
var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
14505
|
-
_classCallCheck(this,
|
|
14506
|
-
if (this._stopPromiseResolver = function () {}, this.features = {}, this._negotiateVersion = 1, be.isRequired(e, "url"), this._logger =
|
|
14501
|
+
_classCallCheck(this, Gx);
|
|
14502
|
+
if (this._stopPromiseResolver = function () {}, 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 === undefined ? false : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === undefined) n.withCredentials = n.withCredentials === undefined ? true : n.withCredentials;else throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
|
|
14507
14503
|
n.timeout = n.timeout === undefined ? 100 * 1e3 : n.timeout;
|
|
14508
14504
|
var r = null,
|
|
14509
14505
|
o = null;
|
|
@@ -14511,9 +14507,9 @@ var Xx = /*#__PURE__*/function () {
|
|
|
14511
14507
|
var a = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
14512
14508
|
r = a("ws"), o = a("eventsource");
|
|
14513
14509
|
}
|
|
14514
|
-
!_e.isNode && (typeof WebSocket === "undefined" ? "undefined" : _typeof(WebSocket)) < "u" && !n.WebSocket ? n.WebSocket = WebSocket : _e.isNode && !n.WebSocket && r && (n.WebSocket = r), !_e.isNode && (typeof EventSource === "undefined" ? "undefined" : _typeof(EventSource)) < "u" && !n.EventSource ? n.EventSource = EventSource : _e.isNode && !n.EventSource && _typeof(o) < "u" && (n.EventSource = o), this._httpClient = new
|
|
14510
|
+
!_e.isNode && (typeof WebSocket === "undefined" ? "undefined" : _typeof(WebSocket)) < "u" && !n.WebSocket ? n.WebSocket = WebSocket : _e.isNode && !n.WebSocket && r && (n.WebSocket = r), !_e.isNode && (typeof EventSource === "undefined" ? "undefined" : _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 = false, this._options = n, this.onreceive = null, this.onclose = null;
|
|
14515
14511
|
}
|
|
14516
|
-
return _createClass(
|
|
14512
|
+
return _createClass(Gx, [{
|
|
14517
14513
|
key: "start",
|
|
14518
14514
|
value: function () {
|
|
14519
14515
|
var _start = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee96(e) {
|
|
@@ -14880,7 +14876,7 @@ var Xx = /*#__PURE__*/function () {
|
|
|
14880
14876
|
case 12:
|
|
14881
14877
|
_context103.p = 12;
|
|
14882
14878
|
_t73 = _context103.v;
|
|
14883
|
-
if (!(this._logger.log(F$1.Error, "Failed to start the transport '".concat(s.transport, "': ").concat(_t73)), l = undefined, i.push(new
|
|
14879
|
+
if (!(this._logger.log(F$1.Error, "Failed to start the transport '".concat(s.transport, "': ").concat(_t73)), l = undefined, i.push(new bx("".concat(s.transport, " failed: ").concat(_t73), ye[s.transport])), this._connectionState !== "Connecting")) {
|
|
14884
14880
|
_context103.n = 13;
|
|
14885
14881
|
break;
|
|
14886
14882
|
}
|
|
@@ -14901,7 +14897,7 @@ var Xx = /*#__PURE__*/function () {
|
|
|
14901
14897
|
_iterator12.f();
|
|
14902
14898
|
return _context103.f(16);
|
|
14903
14899
|
case 17:
|
|
14904
|
-
return _context103.a(2, i.length > 0 ? Promise.reject(new
|
|
14900
|
+
return _context103.a(2, i.length > 0 ? Promise.reject(new wx("Unable to connect to the server with any of the available transports. ".concat(i.join(" ")), i)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server.")));
|
|
14905
14901
|
}
|
|
14906
14902
|
}, _callee101, this, [[10, 12], [6, 8], [3, 15, 16, 17]]);
|
|
14907
14903
|
}));
|
|
@@ -14916,10 +14912,10 @@ var Xx = /*#__PURE__*/function () {
|
|
|
14916
14912
|
switch (e) {
|
|
14917
14913
|
case ye.WebSockets:
|
|
14918
14914
|
if (!this._options.WebSocket) throw new Error("'WebSocket' is not supported in your environment.");
|
|
14919
|
-
return new
|
|
14915
|
+
return new Kx(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
|
|
14920
14916
|
case ye.ServerSentEvents:
|
|
14921
14917
|
if (!this._options.EventSource) throw new Error("'EventSource' is not supported in your environment.");
|
|
14922
|
-
return new
|
|
14918
|
+
return new Vx(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
|
|
14923
14919
|
case ye.LongPolling:
|
|
14924
14920
|
return new ls(this._httpClient, this._logger, this._options);
|
|
14925
14921
|
default:
|
|
@@ -14980,11 +14976,11 @@ var Xx = /*#__PURE__*/function () {
|
|
|
14980
14976
|
value: function _resolveTransportOrError(e, n, r, o) {
|
|
14981
14977
|
var a = ye[e.transport];
|
|
14982
14978
|
if (a == null) return this._logger.log(F$1.Debug, "Skipping transport '".concat(e.transport, "' because it is not supported by this client.")), new Error("Skipping transport '".concat(e.transport, "' because it is not supported by this client."));
|
|
14983
|
-
if (
|
|
14979
|
+
if (Xx(n, a)) {
|
|
14984
14980
|
if (e.transferFormats.map(function (c) {
|
|
14985
14981
|
return Ie[c];
|
|
14986
14982
|
}).indexOf(r) >= 0) {
|
|
14987
|
-
if (a === ye.WebSockets && !this._options.WebSocket || a === ye.ServerSentEvents && !this._options.EventSource) return this._logger.log(F$1.Debug, "Skipping transport '".concat(ye[a], "' because it is not supported in your environment.'")), new
|
|
14983
|
+
if (a === ye.WebSockets && !this._options.WebSocket || a === ye.ServerSentEvents && !this._options.EventSource) return this._logger.log(F$1.Debug, "Skipping transport '".concat(ye[a], "' because it is not supported in your environment.'")), new Cx("'".concat(ye[a], "' is not supported in your environment."), a);
|
|
14988
14984
|
this._logger.log(F$1.Debug, "Selecting transport '".concat(ye[a], "'."));
|
|
14989
14985
|
try {
|
|
14990
14986
|
return this.features.reconnect = a === ye.WebSockets ? o : void 0, this._constructTransport(a);
|
|
@@ -14992,7 +14988,7 @@ var Xx = /*#__PURE__*/function () {
|
|
|
14992
14988
|
return c;
|
|
14993
14989
|
}
|
|
14994
14990
|
} else return this._logger.log(F$1.Debug, "Skipping transport '".concat(ye[a], "' because it does not support the requested transfer format '").concat(Ie[r], "'.")), new Error("'".concat(ye[a], "' does not support ").concat(Ie[r], "."));
|
|
14995
|
-
} else return this._logger.log(F$1.Debug, "Skipping transport '".concat(ye[a], "' because it was disabled by the client.")), new
|
|
14991
|
+
} else return this._logger.log(F$1.Debug, "Skipping transport '".concat(ye[a], "' because it was disabled by the client.")), new yx("'".concat(ye[a], "' is disabled by the client."), a);
|
|
14996
14992
|
}
|
|
14997
14993
|
}, {
|
|
14998
14994
|
key: "_isITransport",
|
|
@@ -15037,7 +15033,7 @@ var Xx = /*#__PURE__*/function () {
|
|
|
15037
15033
|
}
|
|
15038
15034
|
}]);
|
|
15039
15035
|
}();
|
|
15040
|
-
function
|
|
15036
|
+
function Xx(t, e) {
|
|
15041
15037
|
return !t || (e & t) !== 0;
|
|
15042
15038
|
}
|
|
15043
15039
|
var mo = /*#__PURE__*/function () {
|
|
@@ -15155,18 +15151,18 @@ var An = /*#__PURE__*/function () {
|
|
|
15155
15151
|
}
|
|
15156
15152
|
}]);
|
|
15157
15153
|
}();
|
|
15158
|
-
var
|
|
15159
|
-
var
|
|
15160
|
-
function
|
|
15161
|
-
_classCallCheck(this,
|
|
15162
|
-
this.name =
|
|
15154
|
+
var Qx = "json";
|
|
15155
|
+
var Yx = /*#__PURE__*/function () {
|
|
15156
|
+
function Yx() {
|
|
15157
|
+
_classCallCheck(this, Yx);
|
|
15158
|
+
this.name = Qx, this.version = 2, this.transferFormat = Ie.Text;
|
|
15163
15159
|
}
|
|
15164
15160
|
/** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
|
|
15165
15161
|
*
|
|
15166
15162
|
* @param {string} input A string containing the serialized representation.
|
|
15167
15163
|
* @param {ILogger} logger A logger that will be used to log messages that occur during parsing.
|
|
15168
15164
|
*/
|
|
15169
|
-
return _createClass(
|
|
15165
|
+
return _createClass(Yx, [{
|
|
15170
15166
|
key: "parseMessages",
|
|
15171
15167
|
value: function parseMessages(e, n) {
|
|
15172
15168
|
if (typeof e != "string") throw new Error("Invalid input for JSON hub protocol. Expected a string.");
|
|
@@ -15257,7 +15253,7 @@ var Jx = /*#__PURE__*/function () {
|
|
|
15257
15253
|
}
|
|
15258
15254
|
}]);
|
|
15259
15255
|
}();
|
|
15260
|
-
var
|
|
15256
|
+
var Jx = {
|
|
15261
15257
|
trace: F$1.Trace,
|
|
15262
15258
|
debug: F$1.Debug,
|
|
15263
15259
|
info: F$1.Information,
|
|
@@ -15268,20 +15264,20 @@ var Zx = {
|
|
|
15268
15264
|
critical: F$1.Critical,
|
|
15269
15265
|
none: F$1.None
|
|
15270
15266
|
};
|
|
15271
|
-
function
|
|
15272
|
-
var e =
|
|
15267
|
+
function Zx(t) {
|
|
15268
|
+
var e = Jx[t.toLowerCase()];
|
|
15273
15269
|
if (_typeof(e) < "u") return e;
|
|
15274
15270
|
throw new Error("Unknown log level: ".concat(t));
|
|
15275
15271
|
}
|
|
15276
|
-
var
|
|
15277
|
-
function
|
|
15278
|
-
_classCallCheck(this,
|
|
15272
|
+
var ev = /*#__PURE__*/function () {
|
|
15273
|
+
function ev() {
|
|
15274
|
+
_classCallCheck(this, ev);
|
|
15279
15275
|
}
|
|
15280
|
-
return _createClass(
|
|
15276
|
+
return _createClass(ev, [{
|
|
15281
15277
|
key: "configureLogging",
|
|
15282
15278
|
value: function configureLogging(e) {
|
|
15283
|
-
if (be.isRequired(e, "logging"),
|
|
15284
|
-
var n =
|
|
15279
|
+
if (be.isRequired(e, "logging"), tv(e)) this.logger = e;else if (typeof e == "string") {
|
|
15280
|
+
var n = Zx(e);
|
|
15285
15281
|
this.logger = new Pn(n);
|
|
15286
15282
|
} else this.logger = new Pn(e);
|
|
15287
15283
|
return this;
|
|
@@ -15344,63 +15340,63 @@ var tv = /*#__PURE__*/function () {
|
|
|
15344
15340
|
value: function build() {
|
|
15345
15341
|
var e = this.httpConnectionOptions || {};
|
|
15346
15342
|
if (e.logger === undefined && (e.logger = this.logger), !this.url) throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
|
|
15347
|
-
var n = new
|
|
15348
|
-
return go.create(n, this.logger || un.instance, this.protocol || new
|
|
15343
|
+
var n = new Gx(this.url, e);
|
|
15344
|
+
return go.create(n, this.logger || un.instance, this.protocol || new Yx(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
|
|
15349
15345
|
}
|
|
15350
15346
|
}]);
|
|
15351
15347
|
}();
|
|
15352
|
-
function
|
|
15348
|
+
function tv(t) {
|
|
15353
15349
|
return t.log !== undefined;
|
|
15354
15350
|
}
|
|
15355
15351
|
var _getConfig3 = getConfig(),
|
|
15356
|
-
|
|
15357
|
-
var
|
|
15358
|
-
var t = new
|
|
15352
|
+
nv = _getConfig3.baseURL;
|
|
15353
|
+
var rv = function rv() {
|
|
15354
|
+
var t = new ev().withUrl("".concat(nv, "/api/tool/event-bus"), {
|
|
15359
15355
|
skipNegotiation: true,
|
|
15360
15356
|
transport: ye.WebSockets
|
|
15361
15357
|
}).withAutomaticReconnect().build();
|
|
15362
15358
|
return t.start().then(function () {})["catch"](function (e) {}), t.onclose(function (e) {}), t.onreconnected(function () {}), t;
|
|
15363
15359
|
},
|
|
15364
15360
|
Hn = "v1",
|
|
15365
|
-
|
|
15361
|
+
ov = createService("/api/graphics-engine/component/".concat(Hn), function (t) {
|
|
15366
15362
|
return t.customErrorMessage = function () {
|
|
15367
15363
|
return "";
|
|
15368
15364
|
}, t;
|
|
15369
15365
|
}),
|
|
15370
|
-
|
|
15366
|
+
av = createService("/api/portal/manager/".concat(Hn), function (t) {
|
|
15371
15367
|
return t.customErrorMessage = function () {
|
|
15372
15368
|
return "";
|
|
15373
15369
|
}, t;
|
|
15374
15370
|
}),
|
|
15375
|
-
|
|
15371
|
+
sv = createService("/api/speech-base/speech/".concat(Hn), function (t) {
|
|
15376
15372
|
return t.customErrorMessage = function () {
|
|
15377
15373
|
return "";
|
|
15378
15374
|
}, t;
|
|
15379
15375
|
}),
|
|
15380
|
-
ds =
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
var
|
|
15384
|
-
Tr =
|
|
15385
|
-
|
|
15386
|
-
|
|
15376
|
+
ds = ov.get("/component/client/heartbeat"),
|
|
15377
|
+
iv = av.get("/basics/by-alias");
|
|
15378
|
+
sv.post("/control/callBack");
|
|
15379
|
+
var cv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
15380
|
+
Tr = cv.post("/publish"),
|
|
15381
|
+
lv = enterpriseright.get("/permissionset/application"),
|
|
15382
|
+
uv = enterpriseright.get("/permissionset/user-portal-menu"),
|
|
15387
15383
|
fs = /*#__PURE__*/function () {
|
|
15388
15384
|
var _ref134 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee104(t, e) {
|
|
15389
|
-
var _yield$
|
|
15385
|
+
var _yield$uv$run, _yield$uv$run2, n, r, o;
|
|
15390
15386
|
return _regenerator().w(function (_context106) {
|
|
15391
15387
|
while (1) switch (_context106.n) {
|
|
15392
15388
|
case 0:
|
|
15393
15389
|
_context106.n = 1;
|
|
15394
|
-
return
|
|
15390
|
+
return uv().run({
|
|
15395
15391
|
code: t,
|
|
15396
15392
|
showBtn: false,
|
|
15397
15393
|
userType: 1
|
|
15398
15394
|
});
|
|
15399
15395
|
case 1:
|
|
15400
|
-
_yield$
|
|
15401
|
-
_yield$
|
|
15402
|
-
n = _yield$
|
|
15403
|
-
r = _yield$
|
|
15396
|
+
_yield$uv$run = _context106.v;
|
|
15397
|
+
_yield$uv$run2 = _slicedToArray(_yield$uv$run, 2);
|
|
15398
|
+
n = _yield$uv$run2[0];
|
|
15399
|
+
r = _yield$uv$run2[1];
|
|
15404
15400
|
if (!(n || !r || !r.length)) {
|
|
15405
15401
|
_context106.n = 2;
|
|
15406
15402
|
break;
|
|
@@ -15418,7 +15414,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15418
15414
|
return _ref134.apply(this, arguments);
|
|
15419
15415
|
};
|
|
15420
15416
|
}(),
|
|
15421
|
-
|
|
15417
|
+
dv = function dv() {
|
|
15422
15418
|
var t = useRoute(),
|
|
15423
15419
|
_mainAppFramework$hoo2 = mainAppFramework.hooks.useEntryApp(),
|
|
15424
15420
|
e = _mainAppFramework$hoo2.entryApp,
|
|
@@ -15449,7 +15445,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15449
15445
|
}
|
|
15450
15446
|
}, c = /*#__PURE__*/function () {
|
|
15451
15447
|
var _ref147 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee105(h) {
|
|
15452
|
-
var E, k, b, w, B, g, C, y, _g$currentSubApp$menu, S, I, A, _y, _A, _S2, _I, z, H, _H, _H$, _G2, _H$2, K, U, W, Z, _H2, _G3, _yield$
|
|
15448
|
+
var E, k, b, w, B, g, C, y, _g$currentSubApp$menu, S, I, A, _y, _A, _S2, _I, z, H, _H, _H$, _G2, _H$2, K, U, W, Z, _H2, _G3, _yield$lv$run, _yield$lv$run2, _K3, _U2, _W2, _Z, T;
|
|
15453
15449
|
return _regenerator().w(function (_context107) {
|
|
15454
15450
|
while (1) switch (_context107.n) {
|
|
15455
15451
|
case 0:
|
|
@@ -15577,14 +15573,14 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15577
15573
|
break;
|
|
15578
15574
|
case 11:
|
|
15579
15575
|
_context107.n = 12;
|
|
15580
|
-
return
|
|
15576
|
+
return lv().run({
|
|
15581
15577
|
menuCode: _H2
|
|
15582
15578
|
});
|
|
15583
15579
|
case 12:
|
|
15584
|
-
_yield$
|
|
15585
|
-
_yield$
|
|
15586
|
-
_K3 = _yield$
|
|
15587
|
-
_U2 = _yield$
|
|
15580
|
+
_yield$lv$run = _context107.v;
|
|
15581
|
+
_yield$lv$run2 = _slicedToArray(_yield$lv$run, 2);
|
|
15582
|
+
_K3 = _yield$lv$run2[0];
|
|
15583
|
+
_U2 = _yield$lv$run2[1];
|
|
15588
15584
|
if (!_K3) {
|
|
15589
15585
|
_context107.n = 13;
|
|
15590
15586
|
break;
|
|
@@ -15651,7 +15647,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15651
15647
|
l = ref(true);
|
|
15652
15648
|
s = function s(h) {
|
|
15653
15649
|
setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee106() {
|
|
15654
|
-
var g, C, _yield$
|
|
15650
|
+
var g, C, _yield$iv$run, _yield$iv$run2, E, k;
|
|
15655
15651
|
return _regenerator().w(function (_context108) {
|
|
15656
15652
|
while (1) switch (_context108.n) {
|
|
15657
15653
|
case 0:
|
|
@@ -15660,16 +15656,16 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15660
15656
|
break;
|
|
15661
15657
|
}
|
|
15662
15658
|
_context108.n = 1;
|
|
15663
|
-
return
|
|
15659
|
+
return iv().run({}, {
|
|
15664
15660
|
params: {
|
|
15665
15661
|
aliasName: h.actionValue
|
|
15666
15662
|
}
|
|
15667
15663
|
});
|
|
15668
15664
|
case 1:
|
|
15669
|
-
_yield$
|
|
15670
|
-
_yield$
|
|
15671
|
-
E = _yield$
|
|
15672
|
-
k = _yield$
|
|
15665
|
+
_yield$iv$run = _context108.v;
|
|
15666
|
+
_yield$iv$run2 = _slicedToArray(_yield$iv$run, 2);
|
|
15667
|
+
E = _yield$iv$run2[0];
|
|
15668
|
+
k = _yield$iv$run2[1];
|
|
15673
15669
|
if (!E) {
|
|
15674
15670
|
_context108.n = 3;
|
|
15675
15671
|
break;
|
|
@@ -15716,7 +15712,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15716
15712
|
u = function u(h) {
|
|
15717
15713
|
var g = getToken(),
|
|
15718
15714
|
C = JSON.parse(atob(g.split(".")[1])).sub;
|
|
15719
|
-
|
|
15715
|
+
rv().on("".concat(h, ":").concat(C), /*#__PURE__*/function () {
|
|
15720
15716
|
var _ref151 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee107(k) {
|
|
15721
15717
|
var b, w, B;
|
|
15722
15718
|
return _regenerator().w(function (_context109) {
|
|
@@ -15791,44 +15787,44 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15791
15787
|
}), {};
|
|
15792
15788
|
},
|
|
15793
15789
|
Un = "v1",
|
|
15794
|
-
|
|
15790
|
+
fv = createService$1("/api/fms/report/".concat(Un)),
|
|
15795
15791
|
_o = createService$1("/api/emergency/manage/".concat(Un)),
|
|
15796
|
-
|
|
15792
|
+
pv = enterpriseright$1.get("/permissionset/user-portal-menu"),
|
|
15797
15793
|
Ti = createService$1("/api/alarm/config/".concat(Un)),
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
|
|
15801
|
-
|
|
15802
|
-
|
|
15803
|
-
|
|
15804
|
-
|
|
15805
|
-
|
|
15806
|
-
|
|
15807
|
-
|
|
15808
|
-
|
|
15794
|
+
hv = createService$1("/api/alarm/run-time/".concat(Un)),
|
|
15795
|
+
xv = Ti.get("/alarm-definition/status-option"),
|
|
15796
|
+
vv = hv.post("/record/handling"),
|
|
15797
|
+
gv = Ti.get("/alarm-level/prompttone"),
|
|
15798
|
+
mv = fv.get("/alarm/rule/list"),
|
|
15799
|
+
_v = spaceManage.get("/controller/space-children-all-type"),
|
|
15800
|
+
Cv = spaceManage.get("/controller/fuzzy-area-small"),
|
|
15801
|
+
yv = _o.get("/emergency-event/event/type"),
|
|
15802
|
+
bv = _o.get("/emergency-event/event/level"),
|
|
15803
|
+
wv = _o.get("/emergency-plan/plan/handle-time"),
|
|
15804
|
+
Av = {
|
|
15809
15805
|
"class": "handle-alarm-container"
|
|
15810
15806
|
},
|
|
15811
|
-
|
|
15807
|
+
Ev = {
|
|
15812
15808
|
"class": "select-check"
|
|
15813
15809
|
},
|
|
15814
|
-
|
|
15810
|
+
kv = {
|
|
15815
15811
|
"class": "form-box"
|
|
15816
15812
|
},
|
|
15817
|
-
|
|
15813
|
+
Bv = {
|
|
15818
15814
|
"class": "select-check"
|
|
15819
15815
|
},
|
|
15820
|
-
|
|
15816
|
+
Dv = {
|
|
15821
15817
|
style: {
|
|
15822
15818
|
"margin-left": "8px"
|
|
15823
15819
|
}
|
|
15824
15820
|
},
|
|
15825
|
-
|
|
15821
|
+
Sv = {
|
|
15826
15822
|
"class": "foot-btn-box"
|
|
15827
15823
|
},
|
|
15828
|
-
|
|
15824
|
+
Iv = {
|
|
15829
15825
|
name: "handleAlarm"
|
|
15830
15826
|
},
|
|
15831
|
-
|
|
15827
|
+
Fv = /* @__PURE__ */defineComponent(_objectSpread(_objectSpread({}, Iv), {}, {
|
|
15832
15828
|
props: {
|
|
15833
15829
|
projectId: {
|
|
15834
15830
|
"default": ""
|
|
@@ -15920,7 +15916,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15920
15916
|
k = ref(true),
|
|
15921
15917
|
b = /*#__PURE__*/function () {
|
|
15922
15918
|
var _ref154 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee110(j) {
|
|
15923
|
-
var R, _yield$
|
|
15919
|
+
var R, _yield$_v$run, _yield$_v$run2, O, Te;
|
|
15924
15920
|
return _regenerator().w(function (_context112) {
|
|
15925
15921
|
while (1) switch (_context112.n) {
|
|
15926
15922
|
case 0:
|
|
@@ -15929,12 +15925,12 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15929
15925
|
};
|
|
15930
15926
|
j != null && j.id && (R.spaceId = j.id);
|
|
15931
15927
|
_context112.n = 1;
|
|
15932
|
-
return
|
|
15928
|
+
return _v(R).run();
|
|
15933
15929
|
case 1:
|
|
15934
|
-
_yield$
|
|
15935
|
-
_yield$
|
|
15936
|
-
O = _yield$
|
|
15937
|
-
Te = _yield$
|
|
15930
|
+
_yield$_v$run = _context112.v;
|
|
15931
|
+
_yield$_v$run2 = _slicedToArray(_yield$_v$run, 2);
|
|
15932
|
+
O = _yield$_v$run2[0];
|
|
15933
|
+
Te = _yield$_v$run2[1];
|
|
15938
15934
|
return _context112.a(2, O ? {} : Te);
|
|
15939
15935
|
}
|
|
15940
15936
|
}, _callee110);
|
|
@@ -15945,7 +15941,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15945
15941
|
}(),
|
|
15946
15942
|
w = /*#__PURE__*/function () {
|
|
15947
15943
|
var _ref155 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee111(j) {
|
|
15948
|
-
var R, _yield$
|
|
15944
|
+
var R, _yield$Cv$run, _yield$Cv$run2, O, Te;
|
|
15949
15945
|
return _regenerator().w(function (_context113) {
|
|
15950
15946
|
while (1) switch (_context113.n) {
|
|
15951
15947
|
case 0:
|
|
@@ -15953,12 +15949,12 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15953
15949
|
name: j || ""
|
|
15954
15950
|
};
|
|
15955
15951
|
_context113.n = 1;
|
|
15956
|
-
return
|
|
15952
|
+
return Cv(R).run();
|
|
15957
15953
|
case 1:
|
|
15958
|
-
_yield$
|
|
15959
|
-
_yield$
|
|
15960
|
-
O = _yield$
|
|
15961
|
-
Te = _yield$
|
|
15954
|
+
_yield$Cv$run = _context113.v;
|
|
15955
|
+
_yield$Cv$run2 = _slicedToArray(_yield$Cv$run, 2);
|
|
15956
|
+
O = _yield$Cv$run2[0];
|
|
15957
|
+
Te = _yield$Cv$run2[1];
|
|
15962
15958
|
return _context113.a(2, O ? {} : Te);
|
|
15963
15959
|
}
|
|
15964
15960
|
}, _callee111);
|
|
@@ -15972,20 +15968,20 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15972
15968
|
A = ref([]),
|
|
15973
15969
|
S = /*#__PURE__*/function () {
|
|
15974
15970
|
var _ref156 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee112() {
|
|
15975
|
-
var _yield$
|
|
15971
|
+
var _yield$mv$run, _yield$mv$run2, j, R;
|
|
15976
15972
|
return _regenerator().w(function (_context114) {
|
|
15977
15973
|
while (1) switch (_context114.n) {
|
|
15978
15974
|
case 0:
|
|
15979
15975
|
_context114.n = 1;
|
|
15980
|
-
return
|
|
15976
|
+
return mv().run({
|
|
15981
15977
|
pageIndex: -1,
|
|
15982
15978
|
pageSize: -1
|
|
15983
15979
|
});
|
|
15984
15980
|
case 1:
|
|
15985
|
-
_yield$
|
|
15986
|
-
_yield$
|
|
15987
|
-
j = _yield$
|
|
15988
|
-
R = _yield$
|
|
15981
|
+
_yield$mv$run = _context114.v;
|
|
15982
|
+
_yield$mv$run2 = _slicedToArray(_yield$mv$run, 2);
|
|
15983
|
+
j = _yield$mv$run2[0];
|
|
15984
|
+
R = _yield$mv$run2[1];
|
|
15989
15985
|
if (!j) {
|
|
15990
15986
|
_context114.n = 2;
|
|
15991
15987
|
break;
|
|
@@ -16042,17 +16038,17 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16042
16038
|
},
|
|
16043
16039
|
T = /*#__PURE__*/function () {
|
|
16044
16040
|
var _ref157 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee113() {
|
|
16045
|
-
var _yield$
|
|
16041
|
+
var _yield$yv$run, _yield$yv$run2, j, R;
|
|
16046
16042
|
return _regenerator().w(function (_context115) {
|
|
16047
16043
|
while (1) switch (_context115.n) {
|
|
16048
16044
|
case 0:
|
|
16049
16045
|
_context115.n = 1;
|
|
16050
|
-
return
|
|
16046
|
+
return yv().run();
|
|
16051
16047
|
case 1:
|
|
16052
|
-
_yield$
|
|
16053
|
-
_yield$
|
|
16054
|
-
j = _yield$
|
|
16055
|
-
R = _yield$
|
|
16048
|
+
_yield$yv$run = _context115.v;
|
|
16049
|
+
_yield$yv$run2 = _slicedToArray(_yield$yv$run, 2);
|
|
16050
|
+
j = _yield$yv$run2[0];
|
|
16051
|
+
R = _yield$yv$run2[1];
|
|
16056
16052
|
if (!j) {
|
|
16057
16053
|
_context115.n = 2;
|
|
16058
16054
|
break;
|
|
@@ -16071,7 +16067,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16071
16067
|
}(),
|
|
16072
16068
|
P = /*#__PURE__*/function () {
|
|
16073
16069
|
var _ref158 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee114() {
|
|
16074
|
-
var j, _yield$
|
|
16070
|
+
var j, _yield$bv$run, _yield$bv$run2, R, O, Te;
|
|
16075
16071
|
return _regenerator().w(function (_context116) {
|
|
16076
16072
|
while (1) switch (_context116.n) {
|
|
16077
16073
|
case 0:
|
|
@@ -16079,12 +16075,12 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16079
16075
|
eventTypeId: s.value.eventTypeId
|
|
16080
16076
|
};
|
|
16081
16077
|
_context116.n = 1;
|
|
16082
|
-
return
|
|
16078
|
+
return bv(j).run();
|
|
16083
16079
|
case 1:
|
|
16084
|
-
_yield$
|
|
16085
|
-
_yield$
|
|
16086
|
-
R = _yield$
|
|
16087
|
-
O = _yield$
|
|
16080
|
+
_yield$bv$run = _context116.v;
|
|
16081
|
+
_yield$bv$run2 = _slicedToArray(_yield$bv$run, 2);
|
|
16082
|
+
R = _yield$bv$run2[0];
|
|
16083
|
+
O = _yield$bv$run2[1];
|
|
16088
16084
|
if (!R) {
|
|
16089
16085
|
_context116.n = 2;
|
|
16090
16086
|
break;
|
|
@@ -16114,7 +16110,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16114
16110
|
}(),
|
|
16115
16111
|
M = /*#__PURE__*/function () {
|
|
16116
16112
|
var _ref159 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee115() {
|
|
16117
|
-
var j, _yield$
|
|
16113
|
+
var j, _yield$wv$run, _yield$wv$run2, R, O;
|
|
16118
16114
|
return _regenerator().w(function (_context117) {
|
|
16119
16115
|
while (1) switch (_context117.n) {
|
|
16120
16116
|
case 0:
|
|
@@ -16123,12 +16119,12 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16123
16119
|
eventLevel: s.value.eventLevelId
|
|
16124
16120
|
};
|
|
16125
16121
|
_context117.n = 1;
|
|
16126
|
-
return
|
|
16122
|
+
return wv(j).run();
|
|
16127
16123
|
case 1:
|
|
16128
|
-
_yield$
|
|
16129
|
-
_yield$
|
|
16130
|
-
R = _yield$
|
|
16131
|
-
O = _yield$
|
|
16124
|
+
_yield$wv$run = _context117.v;
|
|
16125
|
+
_yield$wv$run2 = _slicedToArray(_yield$wv$run, 2);
|
|
16126
|
+
R = _yield$wv$run2[0];
|
|
16127
|
+
O = _yield$wv$run2[1];
|
|
16132
16128
|
if (!R) {
|
|
16133
16129
|
_context117.n = 2;
|
|
16134
16130
|
break;
|
|
@@ -16150,7 +16146,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16150
16146
|
},
|
|
16151
16147
|
ue = /*#__PURE__*/function () {
|
|
16152
16148
|
var _ref160 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee116() {
|
|
16153
|
-
var j, _yield$
|
|
16149
|
+
var j, _yield$xv$run, _yield$xv$run2, R, O, Te;
|
|
16154
16150
|
return _regenerator().w(function (_context118) {
|
|
16155
16151
|
while (1) switch (_context118.n) {
|
|
16156
16152
|
case 0:
|
|
@@ -16161,12 +16157,12 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16161
16157
|
};
|
|
16162
16158
|
a.value = true;
|
|
16163
16159
|
_context118.n = 1;
|
|
16164
|
-
return
|
|
16160
|
+
return xv(j).run();
|
|
16165
16161
|
case 1:
|
|
16166
|
-
_yield$
|
|
16167
|
-
_yield$
|
|
16168
|
-
R = _yield$
|
|
16169
|
-
O = _yield$
|
|
16162
|
+
_yield$xv$run = _context118.v;
|
|
16163
|
+
_yield$xv$run2 = _slicedToArray(_yield$xv$run, 2);
|
|
16164
|
+
R = _yield$xv$run2[0];
|
|
16165
|
+
O = _yield$xv$run2[1];
|
|
16170
16166
|
if (!R) {
|
|
16171
16167
|
_context118.n = 2;
|
|
16172
16168
|
break;
|
|
@@ -16214,7 +16210,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16214
16210
|
xt = /*#__PURE__*/function () {
|
|
16215
16211
|
var _ref162 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee118() {
|
|
16216
16212
|
var _s$value$reportPositi;
|
|
16217
|
-
var j, _yield$
|
|
16213
|
+
var j, _yield$vv$run, _yield$vv$run2, R, O;
|
|
16218
16214
|
return _regenerator().w(function (_context120) {
|
|
16219
16215
|
while (1) switch (_context120.n) {
|
|
16220
16216
|
case 0:
|
|
@@ -16229,16 +16225,16 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16229
16225
|
};
|
|
16230
16226
|
s.value.processTypeId === "createorder" ? (j.path = k.value ? "" : s.value.customPath, j.topic = y.value ? "" : s.value.reportTheme, j.spaceId = k.value ? "" : (_s$value$reportPositi = s.value.reportPosition) !== null && _s$value$reportPositi !== void 0 ? _s$value$reportPositi : "", 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 = true, o("emitFn", "startHandle");
|
|
16231
16227
|
_context120.n = 1;
|
|
16232
|
-
return
|
|
16228
|
+
return vv(j, {
|
|
16233
16229
|
params: {
|
|
16234
16230
|
projectId: r.projectId
|
|
16235
16231
|
}
|
|
16236
16232
|
}).run();
|
|
16237
16233
|
case 1:
|
|
16238
|
-
_yield$
|
|
16239
|
-
_yield$
|
|
16240
|
-
R = _yield$
|
|
16241
|
-
O = _yield$
|
|
16234
|
+
_yield$vv$run = _context120.v;
|
|
16235
|
+
_yield$vv$run2 = _slicedToArray(_yield$vv$run, 2);
|
|
16236
|
+
R = _yield$vv$run2[0];
|
|
16237
|
+
O = _yield$vv$run2[1];
|
|
16242
16238
|
if (!R) {
|
|
16243
16239
|
_context120.n = 2;
|
|
16244
16240
|
break;
|
|
@@ -16266,7 +16262,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16266
16262
|
open: st,
|
|
16267
16263
|
close: vt
|
|
16268
16264
|
}), function (j, R) {
|
|
16269
|
-
return openBlock(), createElementBlock("div",
|
|
16265
|
+
return openBlock(), createElementBlock("div", Av, [createVNode(unref(DasDialog), {
|
|
16270
16266
|
modelValue: l.value,
|
|
16271
16267
|
"onUpdate:modelValue": R[31] || (R[31] = function (O) {
|
|
16272
16268
|
return l.value = O;
|
|
@@ -16285,7 +16281,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16285
16281
|
/* TEXT */)];
|
|
16286
16282
|
}),
|
|
16287
16283
|
footer: withCtx(function () {
|
|
16288
|
-
return [createElementVNode("div",
|
|
16284
|
+
return [createElementVNode("div", Sv, [createVNode(unref(DasButton), {
|
|
16289
16285
|
size: "middle",
|
|
16290
16286
|
onClick: De
|
|
16291
16287
|
}, {
|
|
@@ -16426,7 +16422,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16426
16422
|
marginRight: "0"
|
|
16427
16423
|
}, {
|
|
16428
16424
|
"default": withCtx(function () {
|
|
16429
|
-
return [createElementVNode("div",
|
|
16425
|
+
return [createElementVNode("div", Ev, [createElementVNode("div", kv, [createVNode(unref(DasTreeSelect), {
|
|
16430
16426
|
borderType: "underline",
|
|
16431
16427
|
props: {
|
|
16432
16428
|
disabled: "_disabled",
|
|
@@ -16494,7 +16490,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16494
16490
|
marginRight: "0"
|
|
16495
16491
|
}, {
|
|
16496
16492
|
"default": withCtx(function () {
|
|
16497
|
-
return [createElementVNode("div",
|
|
16493
|
+
return [createElementVNode("div", Bv, [createVNode(unref(DasInput), {
|
|
16498
16494
|
maxlength: "20",
|
|
16499
16495
|
disabled: B.value,
|
|
16500
16496
|
modelValue: s.value.reportTheme,
|
|
@@ -16608,7 +16604,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16608
16604
|
marginRight: "0"
|
|
16609
16605
|
}, {
|
|
16610
16606
|
"default": withCtx(function () {
|
|
16611
|
-
return [createElementVNode("div",
|
|
16607
|
+
return [createElementVNode("div", Dv, [createVNode(unref(DasSelect), {
|
|
16612
16608
|
"class": "select",
|
|
16613
16609
|
modelValue: s.value.interval,
|
|
16614
16610
|
"onUpdate:modelValue": R[25] || (R[25] = function (O) {
|
|
@@ -16648,11 +16644,11 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16648
16644
|
};
|
|
16649
16645
|
}
|
|
16650
16646
|
})),
|
|
16651
|
-
|
|
16652
|
-
|
|
16647
|
+
Tv = /* @__PURE__ */Ne(Fv, [["__scopeId", "data-v-f392391d"]]),
|
|
16648
|
+
Pv = function Pv(t, e, n) {
|
|
16653
16649
|
return {
|
|
16654
16650
|
handleAlarmVue: function handleAlarmVue() {
|
|
16655
|
-
return h(
|
|
16651
|
+
return h(Tv, {
|
|
16656
16652
|
handerIds: e.value,
|
|
16657
16653
|
projectId: getPersonalInfo().id,
|
|
16658
16654
|
ref: t,
|
|
@@ -16661,54 +16657,54 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16661
16657
|
}
|
|
16662
16658
|
};
|
|
16663
16659
|
},
|
|
16664
|
-
|
|
16660
|
+
Rv = {
|
|
16665
16661
|
"class": "alarm-msg"
|
|
16666
16662
|
},
|
|
16667
|
-
|
|
16663
|
+
Lv = {
|
|
16668
16664
|
style: {
|
|
16669
16665
|
position: "relative"
|
|
16670
16666
|
}
|
|
16671
16667
|
},
|
|
16672
|
-
|
|
16668
|
+
$v = {
|
|
16673
16669
|
"class": "title-left"
|
|
16674
16670
|
},
|
|
16675
|
-
|
|
16671
|
+
Mv = {
|
|
16676
16672
|
"class": "title-box"
|
|
16677
16673
|
},
|
|
16678
|
-
|
|
16674
|
+
Ov = {
|
|
16679
16675
|
"class": "content-box"
|
|
16680
16676
|
},
|
|
16681
|
-
|
|
16677
|
+
Nv = {
|
|
16682
16678
|
"class": "alarm-msg-line"
|
|
16683
16679
|
},
|
|
16684
|
-
|
|
16680
|
+
zv = {
|
|
16685
16681
|
"class": "alarm-msg-line-left"
|
|
16686
16682
|
},
|
|
16687
|
-
|
|
16683
|
+
jv = {
|
|
16688
16684
|
"class": "alarm-msg-line"
|
|
16689
16685
|
},
|
|
16690
|
-
|
|
16686
|
+
Hv = {
|
|
16691
16687
|
"class": "alarm-msg-line-left"
|
|
16692
16688
|
},
|
|
16693
|
-
|
|
16689
|
+
Uv = {
|
|
16694
16690
|
"class": "alarm-msg-line-right alarm-content-object"
|
|
16695
16691
|
},
|
|
16696
|
-
|
|
16692
|
+
qv = {
|
|
16697
16693
|
"class": "alarm-msg-line"
|
|
16698
16694
|
},
|
|
16699
|
-
|
|
16695
|
+
Wv = {
|
|
16700
16696
|
"class": "alarm-msg-line-left"
|
|
16701
16697
|
},
|
|
16702
|
-
|
|
16698
|
+
Vv = {
|
|
16703
16699
|
"class": "alarm-msg-line-right alarm-content"
|
|
16704
16700
|
},
|
|
16705
|
-
|
|
16701
|
+
Kv = {
|
|
16706
16702
|
"class": "btn-box"
|
|
16707
16703
|
},
|
|
16708
|
-
|
|
16704
|
+
Gv = {
|
|
16709
16705
|
name: "alarm"
|
|
16710
16706
|
},
|
|
16711
|
-
|
|
16707
|
+
Xv = /* @__PURE__ */defineComponent(_objectSpread(_objectSpread({}, Gv), {}, {
|
|
16712
16708
|
props: {
|
|
16713
16709
|
alarmhandle: {
|
|
16714
16710
|
type: Boolean,
|
|
@@ -16730,28 +16726,28 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16730
16726
|
r("handerDetail", n.msgItem);
|
|
16731
16727
|
};
|
|
16732
16728
|
return function (i, c) {
|
|
16733
|
-
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" <div class=\"alarm-msg\" :style=\"{ 'border-color': msgItem.color }\"> "), createElementVNode("div",
|
|
16729
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" <div class=\"alarm-msg\" :style=\"{ 'border-color': msgItem.color }\"> "), createElementVNode("div", Rv, [createElementVNode("div", Lv, [createElementVNode("div", {
|
|
16734
16730
|
style: normalizeStyle({
|
|
16735
16731
|
"background-color": i.msgItem.color
|
|
16736
16732
|
}),
|
|
16737
16733
|
"class": "title-detail"
|
|
16738
|
-
}, [createElementVNode("div",
|
|
16734
|
+
}, [createElementVNode("div", $v, [createCommentVNode(" <div class=\"icon-box\" :style=\"{ color: msgItem.color }\">\r\n !\r\n </div> "), createElementVNode("div", Mv, toDisplayString(unref(i18n)("新告警").value), 1
|
|
16739
16735
|
/* TEXT */)]), c[0] || (c[0] = createElementVNode("div", {
|
|
16740
16736
|
"class": "title-right"
|
|
16741
16737
|
}, null, -1
|
|
16742
16738
|
/* CACHED */))], 4
|
|
16743
|
-
/* STYLE */), createElementVNode("div",
|
|
16739
|
+
/* STYLE */), createElementVNode("div", Ov, [createElementVNode("div", Nv, [createElementVNode("div", zv, toDisplayString(unref(i18n)("告警等级:").value), 1
|
|
16744
16740
|
/* TEXT */), createElementVNode("div", {
|
|
16745
16741
|
"class": "alarm-msg-line-right alarm-content-object",
|
|
16746
16742
|
style: normalizeStyle({
|
|
16747
16743
|
color: i.msgItem.color
|
|
16748
16744
|
})
|
|
16749
16745
|
}, toDisplayString(i.msgItem.alarmLevelName || ""), 5
|
|
16750
|
-
/* TEXT, STYLE */)]), createElementVNode("div",
|
|
16751
|
-
/* TEXT */), createElementVNode("div",
|
|
16752
|
-
/* TEXT */)]), createElementVNode("div",
|
|
16753
|
-
/* TEXT */), createElementVNode("div",
|
|
16754
|
-
/* TEXT */)]), createElementVNode("div",
|
|
16746
|
+
/* TEXT, STYLE */)]), createElementVNode("div", jv, [createElementVNode("div", Hv, toDisplayString(unref(i18n)("告警对象:").value), 1
|
|
16747
|
+
/* TEXT */), createElementVNode("div", Uv, toDisplayString(i.msgItem.equipmentName || ""), 1
|
|
16748
|
+
/* TEXT */)]), createElementVNode("div", qv, [createElementVNode("div", Wv, toDisplayString(unref(i18n)("告警内容:").value), 1
|
|
16749
|
+
/* TEXT */), createElementVNode("div", Vv, toDisplayString(i.msgItem.alarmContent || ""), 1
|
|
16750
|
+
/* TEXT */)]), createElementVNode("div", Kv, [i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (openBlock(), createBlock(unref(DasButton), {
|
|
16755
16751
|
key: 0,
|
|
16756
16752
|
block: "",
|
|
16757
16753
|
onClick: withModifiers(a, ["stop"]),
|
|
@@ -16782,7 +16778,7 @@ var lv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16782
16778
|
};
|
|
16783
16779
|
}
|
|
16784
16780
|
}));
|
|
16785
|
-
var
|
|
16781
|
+
var Qv = function Qv() {
|
|
16786
16782
|
var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21;
|
|
16787
16783
|
var e = "",
|
|
16788
16784
|
n = crypto.getRandomValues(new Uint8Array(t));
|
|
@@ -16792,7 +16788,7 @@ var Yv = function Yv() {
|
|
|
16792
16788
|
}
|
|
16793
16789
|
return e;
|
|
16794
16790
|
};
|
|
16795
|
-
var
|
|
16791
|
+
var Yv = function Yv() {
|
|
16796
16792
|
var t = ref(null),
|
|
16797
16793
|
e = ref(0),
|
|
16798
16794
|
n = ref(null),
|
|
@@ -16836,8 +16832,8 @@ var Jv = function Jv() {
|
|
|
16836
16832
|
d = function d(w) {
|
|
16837
16833
|
devicePanelShow(w.equipmentCode, w.equipmentPanelCode);
|
|
16838
16834
|
},
|
|
16839
|
-
|
|
16840
|
-
f =
|
|
16835
|
+
_Pv = Pv(n, o),
|
|
16836
|
+
f = _Pv.handleAlarmVue,
|
|
16841
16837
|
p = /*#__PURE__*/function () {
|
|
16842
16838
|
var _ref164 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee119() {
|
|
16843
16839
|
var _ref165;
|
|
@@ -16866,19 +16862,19 @@ var Jv = function Jv() {
|
|
|
16866
16862
|
v = [],
|
|
16867
16863
|
x = function x(w) {
|
|
16868
16864
|
if (v.push(w), a.value.length < 2) {
|
|
16869
|
-
|
|
16865
|
+
_m6(v[0]), v.shift();
|
|
16870
16866
|
return;
|
|
16871
16867
|
}
|
|
16872
16868
|
},
|
|
16873
|
-
|
|
16869
|
+
_m6 = function m(w) {
|
|
16874
16870
|
if (!w) return;
|
|
16875
|
-
var B =
|
|
16871
|
+
var B = Qv();
|
|
16876
16872
|
DasNotification.open({
|
|
16877
16873
|
key: B,
|
|
16878
16874
|
"class": "alarm-notify",
|
|
16879
16875
|
message: i18n("新告警").value,
|
|
16880
16876
|
placement: "bottomRight",
|
|
16881
|
-
description: h(
|
|
16877
|
+
description: h(Xv, {
|
|
16882
16878
|
msgItem: w,
|
|
16883
16879
|
alarmhandle: i.value,
|
|
16884
16880
|
onHanderDetail: d,
|
|
@@ -16894,7 +16890,7 @@ var Jv = function Jv() {
|
|
|
16894
16890
|
return A == B;
|
|
16895
16891
|
});
|
|
16896
16892
|
if (y >= 0 && a.value.splice(y, 1), a.value.length < 2 && v.length) {
|
|
16897
|
-
|
|
16893
|
+
_m6(v[0]), v.shift();
|
|
16898
16894
|
return;
|
|
16899
16895
|
}
|
|
16900
16896
|
}, 300);
|
|
@@ -16931,17 +16927,17 @@ var Jv = function Jv() {
|
|
|
16931
16927
|
},
|
|
16932
16928
|
k = /*#__PURE__*/function () {
|
|
16933
16929
|
var _ref166 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee120() {
|
|
16934
|
-
var _yield$
|
|
16930
|
+
var _yield$gv$run, _yield$gv$run2, w, B;
|
|
16935
16931
|
return _regenerator().w(function (_context122) {
|
|
16936
16932
|
while (1) switch (_context122.n) {
|
|
16937
16933
|
case 0:
|
|
16938
16934
|
_context122.n = 1;
|
|
16939
|
-
return
|
|
16935
|
+
return gv().run();
|
|
16940
16936
|
case 1:
|
|
16941
|
-
_yield$
|
|
16942
|
-
_yield$
|
|
16943
|
-
w = _yield$
|
|
16944
|
-
B = _yield$
|
|
16937
|
+
_yield$gv$run = _context122.v;
|
|
16938
|
+
_yield$gv$run2 = _slicedToArray(_yield$gv$run, 2);
|
|
16939
|
+
w = _yield$gv$run2[0];
|
|
16940
|
+
B = _yield$gv$run2[1];
|
|
16945
16941
|
w || (l.value = B.isEnable);
|
|
16946
16942
|
case 2:
|
|
16947
16943
|
return _context122.a(2);
|
|
@@ -16960,21 +16956,21 @@ var Jv = function Jv() {
|
|
|
16960
16956
|
handleAlarmVue: f,
|
|
16961
16957
|
creatAlarmSocket: function () {
|
|
16962
16958
|
var _creatAlarmSocket = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee122() {
|
|
16963
|
-
var _yield$
|
|
16959
|
+
var _yield$pv$run, _yield$pv$run2, w, B, y;
|
|
16964
16960
|
return _regenerator().w(function (_context124) {
|
|
16965
16961
|
while (1) switch (_context124.n) {
|
|
16966
16962
|
case 0:
|
|
16967
16963
|
k();
|
|
16968
16964
|
_context124.n = 1;
|
|
16969
|
-
return
|
|
16965
|
+
return pv().run({
|
|
16970
16966
|
code: "alarm",
|
|
16971
16967
|
showBtn: true
|
|
16972
16968
|
});
|
|
16973
16969
|
case 1:
|
|
16974
|
-
_yield$
|
|
16975
|
-
_yield$
|
|
16976
|
-
w = _yield$
|
|
16977
|
-
B = _yield$
|
|
16970
|
+
_yield$pv$run = _context124.v;
|
|
16971
|
+
_yield$pv$run2 = _slicedToArray(_yield$pv$run, 2);
|
|
16972
|
+
w = _yield$pv$run2[0];
|
|
16973
|
+
B = _yield$pv$run2[1];
|
|
16978
16974
|
if (!(w || !B || !B.length)) {
|
|
16979
16975
|
_context124.n = 2;
|
|
16980
16976
|
break;
|
|
@@ -17024,16 +17020,16 @@ var Jv = function Jv() {
|
|
|
17024
17020
|
}()
|
|
17025
17021
|
};
|
|
17026
17022
|
},
|
|
17027
|
-
|
|
17028
|
-
|
|
17023
|
+
Jv = ["src", "muted", "loop"],
|
|
17024
|
+
Zv = /* @__PURE__ */defineComponent({
|
|
17029
17025
|
__name: "index",
|
|
17030
17026
|
setup: function setup(t) {
|
|
17031
|
-
var
|
|
17032
|
-
e =
|
|
17033
|
-
n =
|
|
17034
|
-
r =
|
|
17035
|
-
o =
|
|
17036
|
-
a =
|
|
17027
|
+
var _Yv = Yv(),
|
|
17028
|
+
e = _Yv.alarmSocket,
|
|
17029
|
+
n = _Yv.creatAlarmSocket,
|
|
17030
|
+
r = _Yv.audioObj,
|
|
17031
|
+
o = _Yv.audioAlarmRef,
|
|
17032
|
+
a = _Yv.handleAlarmVue;
|
|
17037
17033
|
return onMounted(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee123() {
|
|
17038
17034
|
return _regenerator().w(function (_context125) {
|
|
17039
17035
|
while (1) switch (_context125.n) {
|
|
@@ -17057,15 +17053,15 @@ var Jv = function Jv() {
|
|
|
17057
17053
|
muted: !unref(r).isplay,
|
|
17058
17054
|
loop: unref(r).loop,
|
|
17059
17055
|
autoplay: ""
|
|
17060
|
-
}, null, 8,
|
|
17056
|
+
}, null, 8, Jv)], 64
|
|
17061
17057
|
/* STABLE_FRAGMENT */);
|
|
17062
17058
|
};
|
|
17063
17059
|
}
|
|
17064
17060
|
}),
|
|
17065
|
-
|
|
17061
|
+
eg = {
|
|
17066
17062
|
"class": "das-main-app-container"
|
|
17067
17063
|
},
|
|
17068
|
-
|
|
17064
|
+
tg = /* @__PURE__ */defineComponent({
|
|
17069
17065
|
__name: "index",
|
|
17070
17066
|
props: {
|
|
17071
17067
|
showLayout: {
|
|
@@ -17106,15 +17102,15 @@ var Jv = function Jv() {
|
|
|
17106
17102
|
}, {
|
|
17107
17103
|
immediate: true
|
|
17108
17104
|
});
|
|
17109
|
-
var
|
|
17110
|
-
l =
|
|
17111
|
-
|
|
17112
|
-
var
|
|
17113
|
-
s =
|
|
17114
|
-
u =
|
|
17115
|
-
_ =
|
|
17116
|
-
return
|
|
17117
|
-
return openBlock(), createElementBlock("div",
|
|
17105
|
+
var _Bh = Bh(),
|
|
17106
|
+
l = _Bh.initNextTick;
|
|
17107
|
+
Ih(), Lh(), Th(), $h(), Bi(), Sh();
|
|
17108
|
+
var _Fh = Fh(),
|
|
17109
|
+
s = _Fh.fontColor,
|
|
17110
|
+
u = _Fh.backgroudColor,
|
|
17111
|
+
_ = _Fh.borderColor;
|
|
17112
|
+
return zh(), jh(), Hh(), qh(), _x(), dv(), function (d, f) {
|
|
17113
|
+
return openBlock(), createElementBlock("div", eg, [createCommentVNode(" <button @click=\"test(0)\">test</button>\r\n <button style=\"margin-left: 5px\" @click=\"test(1)\">test2</button> "), createVNode(unref(fl), {
|
|
17118
17114
|
platformInitNextTick: unref(l)
|
|
17119
17115
|
}, {
|
|
17120
17116
|
"default": withCtx(function () {
|
|
@@ -17143,12 +17139,12 @@ var Jv = function Jv() {
|
|
|
17143
17139
|
}),
|
|
17144
17140
|
_: 3
|
|
17145
17141
|
/* FORWARDED */
|
|
17146
|
-
}, 8, ["platformInitNextTick"]), createCommentVNode(" 告警 "), createVNode(unref(
|
|
17142
|
+
}, 8, ["platformInitNextTick"]), createCommentVNode(" 告警 "), createVNode(unref(Zv))]);
|
|
17147
17143
|
};
|
|
17148
17144
|
}
|
|
17149
17145
|
}),
|
|
17150
|
-
|
|
17151
|
-
|
|
17146
|
+
ng = /* @__PURE__ */Ne(tg, [["__scopeId", "data-v-7a63b5ce"]]),
|
|
17147
|
+
rg = {
|
|
17152
17148
|
正在实时预览: {
|
|
17153
17149
|
"zh-CN": "正在实时预览",
|
|
17154
17150
|
en: "Real-time Video",
|
|
@@ -17792,28 +17788,28 @@ var Jv = function Jv() {
|
|
|
17792
17788
|
"zh-MO": "當前實例($0)$1天后過期(到期時間:$2),請儘快聯繫管理人員續費,過期失效後將會停用物聯網平臺所有功能服務~"
|
|
17793
17789
|
}
|
|
17794
17790
|
};
|
|
17795
|
-
setI18nRule(
|
|
17791
|
+
setI18nRule(rg);
|
|
17796
17792
|
ref("@das-fed/upf-web");
|
|
17797
|
-
var
|
|
17793
|
+
var og = [{
|
|
17798
17794
|
path: ot,
|
|
17799
17795
|
component: function component() {
|
|
17800
17796
|
return Promise.resolve().then(function () {
|
|
17801
|
-
return
|
|
17797
|
+
return indexDoFPzS4H;
|
|
17802
17798
|
});
|
|
17803
17799
|
}
|
|
17804
17800
|
}, {
|
|
17805
17801
|
path: Os,
|
|
17806
17802
|
component: function component() {
|
|
17807
17803
|
return Promise.resolve().then(function () {
|
|
17808
|
-
return
|
|
17804
|
+
return indexB2YeFQ3Z;
|
|
17809
17805
|
});
|
|
17810
17806
|
}
|
|
17811
17807
|
}],
|
|
17812
|
-
|
|
17813
|
-
routes:
|
|
17814
|
-
Layout:
|
|
17808
|
+
_m = {
|
|
17809
|
+
routes: og,
|
|
17810
|
+
Layout: ng,
|
|
17815
17811
|
data: {
|
|
17816
|
-
homeInfo:
|
|
17812
|
+
homeInfo: yh,
|
|
17817
17813
|
personalConfig: Ei
|
|
17818
17814
|
},
|
|
17819
17815
|
hooks: {
|
|
@@ -17988,7 +17984,7 @@ var V = "v1",
|
|
|
17988
17984
|
};
|
|
17989
17985
|
}
|
|
17990
17986
|
});
|
|
17991
|
-
var
|
|
17987
|
+
var indexDoFPzS4H = /*#__PURE__*/Object.freeze({
|
|
17992
17988
|
__proto__: null,
|
|
17993
17989
|
"default": oo
|
|
17994
17990
|
});
|
|
@@ -17997,8 +17993,8 @@ function t(n, _) {
|
|
|
17997
17993
|
return openBlock(), createElementBlock("div");
|
|
17998
17994
|
}
|
|
17999
17995
|
var a = /* @__PURE__ */Ne(o, [["render", t]]);
|
|
18000
|
-
var
|
|
17996
|
+
var indexB2YeFQ3Z = /*#__PURE__*/Object.freeze({
|
|
18001
17997
|
__proto__: null,
|
|
18002
17998
|
"default": a
|
|
18003
17999
|
});
|
|
18004
|
-
export {
|
|
18000
|
+
export { xm as DasMainAppLayout, dm as DasWebLayout, pm as DasWebMenu, fm as DasWebNav, hm as DasWebTabs, Zg as createDasWebApp, an as currentLang, Ot as currentTheme, $t as customLangeData, om as getDateFormat, nc as getI18nRule, rm as getLang, cc as getThemeRule, lm as getVar, um as getVarValue, rc as i18n, tm as initI18n, vm as initMainApp, gm as initMicroApp, im as initTheme, Q0 as languageKey, ae as layout, mt as layoutData, am as loadLocale, _m as mainAppFramework, me as microFrontend, em as microI18nStore, sm as registerMicroI18nData, ec as setI18nRule, oc as setLang, zo as setLangRule, cm as setTheme, Ho as setThemeRule, nm as t };
|