cloud-web-corejs 1.0.54-dev.716 → 1.0.54-dev.718
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/package.json +1 -1
- package/src/components/xform/docs//345/257/271/346/257/224/345/212/237/350/203/275/350/220/275/345/234/260/346/226/271/346/241/210.md +22 -16
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4 -4
- package/src/layout/components/AppMain.vue +5 -2
- package/src/layout/components/Sidebar/default.vue +2 -1
- package/src/layout/components/TagsView/index.vue +14 -3
- package/src/store/modules/settings.js +26 -1
- package/src/store/modules/tagsView.js +205 -1
- package/src/utils/keepAlive.js +185 -1
- package/src/utils/repeatOpen.js +49 -0
- package/src/utils/vab.js +7 -0
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/home/default.vue +2 -2
- package/src/views/user/home/default2.vue +10 -7
package/package.json
CHANGED
|
@@ -44,23 +44,25 @@
|
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
### 第 1 跳:原单「变更」按钮 onClick
|
|
47
|
+
从「对比组件」拖入**变更**按钮(`compare-change-button`),预置 onClick 直接调内置方法(`dataId` 为注入参数):
|
|
47
48
|
```js
|
|
48
|
-
this
|
|
49
|
-
path: '/变更单列表路由',
|
|
50
|
-
query: { sourceId: dataId, autoAdd: '1' } // dataId=注入参数=当前原单id
|
|
51
|
-
});
|
|
49
|
+
this.getFormRef().goChangeBill(dataId, '变更单formCode'); // 把 '变更单formCode' 改成实际编号
|
|
52
50
|
```
|
|
51
|
+
> **`goChangeBill(sourceId, formCode, options)`(form-render 内置)**:跳到变更单列表并携带 sourceId 打开新增。
|
|
52
|
+
> - 目标列表路径:默认复用当前路由、把**最后一段替换为 `formCode`**(同基兄弟列表约定);不符合时用 `options.listPath` 指定完整路径。
|
|
53
|
+
> - 打开参数走 `query.param`(JSON):`{ sourceId, autoAdd:1 }`(可用 `options.param` 追加)。
|
|
54
|
+
> - 跳转方式:先 `store.dispatch('tagsView/delCachedView', view)` 清缓存视图,再 `router.replace(view)`,确保列表按新参数重载。
|
|
53
55
|
|
|
54
56
|
### 第 2 跳:变更单列表页自动打开新增详情
|
|
55
|
-
变更单列表页(xform 宿主 `list.vue` 或其业务包装)`mounted`/`activated`
|
|
57
|
+
变更单列表页(xform 宿主 `list.vue` 或其业务包装)`mounted`/`activated` 里加(`param` 由 `query.param` 解析到 `this.param`):
|
|
56
58
|
```js
|
|
57
|
-
let
|
|
58
|
-
if (
|
|
59
|
+
let p = this.param || {};
|
|
60
|
+
if (p.autoAdd) {
|
|
59
61
|
// row=null → 新增;param 带 sourceId,详情用 getFormParam() 取
|
|
60
|
-
this.openEditDialog(null, { sourceId:
|
|
62
|
+
this.openEditDialog(null, { sourceId: p.sourceId }, { formCode: this.addFormCode });
|
|
61
63
|
}
|
|
62
64
|
```
|
|
63
|
-
> 唯一需在列表页新增的一小段(读
|
|
65
|
+
> 唯一需在列表页新增的一小段(读 param → 调现有 `openEditDialog`)。
|
|
64
66
|
|
|
65
67
|
### 第 3 跳:变更单详情表单 onMounted(模式 A 自动对比)
|
|
66
68
|
**推荐:一行接入 `initChangeFromSource`** —— 内部自动按原单模板多包拉取(主表 + 所有 data-table 子表)→ 清洗 → 填充新单 → 开启对比。无需逐个子表写发包。
|
|
@@ -146,15 +148,16 @@ f.enableCompareBySource(sourceId, { compareRowKey: 'uuid' });
|
|
|
146
148
|
|
|
147
149
|
#### 步骤 1:从「对比组件」拖入 3 个按钮
|
|
148
150
|
|
|
149
|
-
设计器 → **业务组件**标签页 →
|
|
151
|
+
设计器 → **业务组件**标签页 → **对比组件**分组(默认展开),拖入按钮。分组含 4 个按钮,已预置好 `label`、默认显隐、`onClick` 脚本,拖进去基本即用。
|
|
150
152
|
|
|
151
|
-
| 按钮 | 面板 type | 唯一名称(示例) | 默认显隐 | 预置 onClick |
|
|
152
|
-
|
|
153
|
-
|
|
|
154
|
-
|
|
|
155
|
-
|
|
|
153
|
+
| 按钮 | 面板 type | 放在 | 唯一名称(示例) | 默认显隐 | 预置 onClick |
|
|
154
|
+
|------|-----------|------|----------------|----------|--------------|
|
|
155
|
+
| 变更 | `compare-change-button` | **原单** | — | 显示 | `this.getFormRef().goChangeBill(dataId, '变更单formCode')` |
|
|
156
|
+
| 对比 | `compare-button` | 变更单 | `button67308` | 显示 | `this.getFormRef().getGlobalConfig().enableCompareBySource(this)` |
|
|
157
|
+
| 关闭对比 | `compare-close-button` | 变更单 | `button107799` | **隐藏** | `this.getFormRef().getGlobalConfig().disableCompare(this)` |
|
|
158
|
+
| 查看删除明细 | `compare-del-button` | 变更单 | `button41887` | **隐藏** | `this.getFormRef().openCompareDelList('明细表keyName')` |
|
|
156
159
|
|
|
157
|
-
拖入后仅需:①
|
|
160
|
+
拖入后仅需:① **变更**按钮把 `'变更单formCode'` 改成实际变更单编号(放在原单表单);② 变更单上 3 个按钮设「唯一名称」,与 GlobalConfig 里 `compareBtnName/closeBtnbName/checkDelbTNName` 对应;③ 把「查看删除明细」里的 `'明细表keyName'` 改成实际明细 keyName(如 `test_source_bill_item`)。
|
|
158
161
|
|
|
159
162
|
> 「关闭对比」「查看删除明细」已预置默认隐藏;开启对比后由 `handleCompareButton` 统一放出、隐藏「对比」。
|
|
160
163
|
|
|
@@ -409,6 +412,9 @@ compareDelListOption: {},
|
|
|
409
412
|
- **`getDelData(subFormName)`**:**实时计算**(旧数组中当前按主键找不到的行),不缓存。
|
|
410
413
|
- **`openCompareDelList(subFormName, columns)`**:组装 `compareDelListOption` 并弹窗。
|
|
411
414
|
|
|
415
|
+
**变更跳转(原单侧)**
|
|
416
|
+
- **`goChangeBill(sourceId, formCode, options)`**:跳变更单列表并携带 `sourceId` 打开新增。默认把当前路由最后一段替换为 `formCode`(`options.listPath` 可覆盖),`query.param`=JSON`{sourceId,autoAdd:1}`;先 `tagsView/delCachedView` 清缓存视图再 `router.replace`。
|
|
417
|
+
|
|
412
418
|
**通用取数(自动多包)**
|
|
413
419
|
- **`loadOldData(sourceId, options)`** → `Promise<oldData>`:先解析模板(`sourceFormCode` 拉原单模板 / 否则复用当前模板)→ 主表 `getOne` 包 + 各 data-table 子表 `getList` 包 → 组装整单返回。
|
|
414
420
|
- **`getCompareSubTables()` / `getCompareSubTablesFrom(widgetList)`**:枚举需独立发包的 data-table 子表。
|
|
@@ -1608,7 +1608,7 @@ export const basicFields = [
|
|
|
1608
1608
|
disabled: !1,
|
|
1609
1609
|
hidden: !1,
|
|
1610
1610
|
clearable: !0,
|
|
1611
|
-
editable: !
|
|
1611
|
+
editable: !0,
|
|
1612
1612
|
format: "HH:mm:ss",
|
|
1613
1613
|
utcTransformEnabled: !1,
|
|
1614
1614
|
required: !1,
|
|
@@ -1662,7 +1662,7 @@ export const basicFields = [
|
|
|
1662
1662
|
disabled: !1,
|
|
1663
1663
|
hidden: !1,
|
|
1664
1664
|
clearable: !0,
|
|
1665
|
-
editable: !
|
|
1665
|
+
editable: !0,
|
|
1666
1666
|
format: "HH:mm:ss",
|
|
1667
1667
|
utcTransformEnabled: !1,
|
|
1668
1668
|
required: !1,
|
|
@@ -1715,7 +1715,7 @@ export const basicFields = [
|
|
|
1715
1715
|
disabled: !1,
|
|
1716
1716
|
hidden: !1,
|
|
1717
1717
|
clearable: !0,
|
|
1718
|
-
editable: !
|
|
1718
|
+
editable: !0,
|
|
1719
1719
|
format: "yyyy-MM-dd",
|
|
1720
1720
|
valueFormat: "yyyy-MM-dd",
|
|
1721
1721
|
dateLimit: null,
|
|
@@ -1776,7 +1776,7 @@ export const basicFields = [
|
|
|
1776
1776
|
disabled: !1,
|
|
1777
1777
|
hidden: !1,
|
|
1778
1778
|
clearable: !0,
|
|
1779
|
-
editable: !
|
|
1779
|
+
editable: !0,
|
|
1780
1780
|
format: "yyyy-MM-dd",
|
|
1781
1781
|
valueFormat: "yyyy-MM-dd",
|
|
1782
1782
|
defaultTime: ["00:00:00", "23:59:59"],
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<!-- <keep-alive :include="cachedViews"><router-view :key="key" v-if="$route.name !== 'outLink'" /></keep-alive>-->
|
|
5
5
|
|
|
6
6
|
<BaseKeepAlive :include="cachedViews">
|
|
7
|
-
<router-view :key="
|
|
7
|
+
<router-view :key="key" v-if="$route.name !== 'outLink'" />
|
|
8
8
|
</BaseKeepAlive>
|
|
9
9
|
|
|
10
10
|
</transition>
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
import outLink from '@base/views/user/outLink/index.vue';
|
|
32
32
|
import unreadDialog from "../../layout/components/notify_message/unreadDialog.vue";
|
|
33
33
|
import watermark from "./watermark";
|
|
34
|
+
import { isRepeatable } from "@base/utils/repeatOpen";
|
|
34
35
|
|
|
35
36
|
|
|
36
37
|
export default {
|
|
@@ -40,7 +41,9 @@ export default {
|
|
|
40
41
|
return this.$store.state.tagsView.cachedViews.filter(item => item != 'outLink');
|
|
41
42
|
},
|
|
42
43
|
key() {
|
|
43
|
-
|
|
44
|
+
// 可重复打开的路由按 fullPath 作为 key,使多开实例相互独立;
|
|
45
|
+
// 其余保持按 path,行为与原来一致。
|
|
46
|
+
return isRepeatable(this.$route) ? this.$route.fullPath : this.$route.path;
|
|
44
47
|
},
|
|
45
48
|
outVisitedViews() {
|
|
46
49
|
let visitedViews = this.$store.state.tagsView.visitedViews;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<router-link
|
|
6
6
|
v-for="tag in visitedViews"
|
|
7
7
|
ref="tag"
|
|
8
|
-
:key="tag
|
|
8
|
+
:key="viewKey(tag)"
|
|
9
9
|
:class="isActive(tag)?'active':''"
|
|
10
10
|
:to="{ path: tag.path, query: tag.query, fullPath: tag.fullPath }"
|
|
11
11
|
tag="span"
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
<script>
|
|
62
62
|
import ScrollPane from './ScrollPane'
|
|
63
63
|
import path from 'path'
|
|
64
|
+
import { viewKey, isRepeatable } from '@base/utils/repeatOpen'
|
|
64
65
|
|
|
65
66
|
export default {
|
|
66
67
|
components: {ScrollPane},
|
|
@@ -120,10 +121,16 @@ export default {
|
|
|
120
121
|
if (this.$t1) {
|
|
121
122
|
title = this.$t1(title)
|
|
122
123
|
}
|
|
124
|
+
if (item.repeatIndex > 1) {
|
|
125
|
+
title = `${title} (${item.repeatIndex})`
|
|
126
|
+
}
|
|
123
127
|
return title;
|
|
124
128
|
},
|
|
129
|
+
viewKey(view) {
|
|
130
|
+
return viewKey(view)
|
|
131
|
+
},
|
|
125
132
|
isActive(route) {
|
|
126
|
-
return route
|
|
133
|
+
return viewKey(route) === viewKey(this.$route)
|
|
127
134
|
},
|
|
128
135
|
isAffix(tag) {
|
|
129
136
|
return tag.meta && tag.meta.affix
|
|
@@ -168,8 +175,12 @@ export default {
|
|
|
168
175
|
moveToCurrentTag() {
|
|
169
176
|
const tags = this.$refs.tag
|
|
170
177
|
this.$nextTick(() => {
|
|
178
|
+
const routeIsRepeat = isRepeatable(this.$route)
|
|
171
179
|
for (const tag of tags) {
|
|
172
|
-
|
|
180
|
+
const matched = routeIsRepeat
|
|
181
|
+
? tag.to.fullPath === this.$route.fullPath
|
|
182
|
+
: tag.to.path === this.$route.path
|
|
183
|
+
if (matched) {
|
|
173
184
|
this.$refs.scrollPane.moveToTarget(tag)
|
|
174
185
|
// when query is different then update
|
|
175
186
|
if (tag.to.fullPath !== this.$route.fullPath) {
|
|
@@ -1 +1,26 @@
|
|
|
1
|
-
(function(_0x52114a,_0x111f0d){function _0x29debd(_0xcc8899,_0x2880f0,_0x100f2a,_0x36a24c,_0x3993d0){return _0x4dfc(_0xcc8899- -0x30f,_0x3993d0);}function _0x163fda(_0x4422b4,_0x371c1b,_0x23a62d,_0xcb9166,_0x1cb72c){return _0x4dfc(_0x4422b4-0x3a1,_0x1cb72c);}function _0x3f8670(_0x1b5776,_0x177d5a,_0x4587b2,_0x10981a,_0x234ec3){return _0x3cde(_0x1b5776-0x1ef,_0x177d5a);}function _0x5364fc(_0x305e80,_0x3a12e8,_0x1df318,_0x266c97,_0x5f0b22){return _0x3cde(_0x3a12e8-0x350,_0x1df318);}function _0x86aa6b(_0x422e69,_0x1e0fb4,_0x4dc5b3,_0x466cf5,_0x28f6a1){return _0x3cde(_0x1e0fb4-0x132,_0x422e69);}function _0xce44df(_0x3a3cc1,_0x16a7c5,_0x35ea13,_0x965f81,_0x396fd5){return _0x3cde(_0x16a7c5-0x56,_0x965f81);}function _0x6dd529(_0xa81c8b,_0x5bf833,_0x3af36b,_0x11d91f,_0x4978b7){return _0x4dfc(_0x3af36b- -0x3d3,_0xa81c8b);}function _0xb6c535(_0x13e196,_0x4f8173,_0x1ae778,_0x344d2d,_0x174708){return _0x3cde(_0x4f8173-0x81,_0x344d2d);}const _0x82f8a2=_0x52114a();function _0x2046f3(_0x13a4a0,_0x3b9ff4,_0x477bb7,_0x3745e8,_0x22cc82){return _0x4dfc(_0x22cc82-0x14e,_0x3b9ff4);}do{try{const _0x10c45a=parseInt(_0x163fda(0x3ad,0x3b5,0x3a0,0x3b1,"\u006f\u0045\u0046\u005a"))/0x1+parseInt(_0x3f8670(0x1f5,0x1f8,0x1f0,0x1eb,0x1ea))/0x2*(-parseInt(_0x86aa6b(0x130,0x13d,0x146,0x131,0x13d))/0x3)+-parseInt(_0x3f8670(0x200,0x20a,0x1fe,0x1f9,0x200))/0x4*(-parseInt(_0x86aa6b(0x139,0x13a,0x138,0x12e,0x138))/0x5)+-parseInt(_0xce44df(0x66,0x6c,0x67,0x78,0x74))/0x6*(parseInt(_0x2046f3(0x16c,"\u0024\u0046\u0047\u004e",0x16d,0x15d,0x165))/0x7)+-parseInt(_0x163fda(0x3b9,0x3c0,0x3b8,0x3c0,"\u004e\u006e\u0078\u0070"))/0x8*(-parseInt(_0x3f8670(0x1f2,0x1fa,0x1f5,0x1e7,0x1fc))/0x9)+parseInt(_0xb6c535(0x85,0x83,0x89,0x77,0x82))/0xa*(-parseInt(_0xb6c535(0x97,0x8e,0x8e,0x8e,0x9a))/0xb)+parseInt(_0x163fda(0x3a2,0x3a8,0x3af,0x39a,"PgKZ".split("").reverse().join("")))/0xc*(-parseInt(_0xb6c535(0x92,0x91,0x9a,0x98,0x96))/0xd);if(_0x10c45a===_0x111f0d){break;}else{_0x82f8a2['push'](_0x82f8a2['shift']());}}catch(_0x68ee71){_0x82f8a2["\u0070\u0075\u0073\u0068"](_0x82f8a2["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0x3944,0xc3d7a);import _0x199617 from"\u0040\u002f\u0073\u0074\u0079\u006c\u0065\u0073\u002f\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u002d\u0076\u0061\u0072\u0069\u0061\u0062\u006c\u0065\u0073\u002e\u0073\u0063\u0073\u0073";const state={"\u0074\u0061\u0067\u0073\u0056\u0069\u0065\u0077":!![]};function _0x3cde(_0x4edaf2,_0x394450){const _0x3cde9f=_0x3944();_0x3cde=function(_0x2ef370,_0x53f2e4){_0x2ef370=_0x2ef370-0x0;let _0x4ab31d=_0x3cde9f[_0x2ef370];if(_0x3cde["\u0057\u0053\u0067\u0067\u0068\u0074"]===undefined){var _0x5e7dca=function(_0x5f2636){const _0x41c6fc="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x1ffdbb='';let _0x4b0d0e='';for(let _0x347244=0x0,_0x2b7cd3,_0x4d2c16,_0x36d93f=0x0;_0x4d2c16=_0x5f2636["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x36d93f++);~_0x4d2c16&&(_0x2b7cd3=_0x347244%0x4?_0x2b7cd3*0x40+_0x4d2c16:_0x4d2c16,_0x347244++%0x4)?_0x1ffdbb+=String['fromCharCode'](0xff&_0x2b7cd3>>(-0x2*_0x347244&0x6)):0x0){_0x4d2c16=_0x41c6fc['indexOf'](_0x4d2c16);}for(let _0x205245=0x0,_0x4e8e61=_0x1ffdbb["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x205245<_0x4e8e61;_0x205245++){_0x4b0d0e+="\u0025"+("00".split("").reverse().join("")+_0x1ffdbb["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x205245)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b0d0e);};_0x3cde["\u0043\u0049\u006b\u0042\u0072\u0064"]=_0x5e7dca;_0x4edaf2=arguments;_0x3cde['WSgght']=!![];}const _0x5dd549=_0x3cde9f[0x0];const _0x1a1f75=_0x2ef370+_0x5dd549;const _0x4dfc6b=_0x4edaf2[_0x1a1f75];if(!_0x4dfc6b){_0x4ab31d=_0x3cde['CIkBrd'](_0x4ab31d);_0x4edaf2[_0x1a1f75]=_0x4ab31d;}else{_0x4ab31d=_0x4dfc6b;}return _0x4ab31d;};return _0x3cde(_0x4edaf2,_0x394450);}function zTOZZo(_0x4c23df,_0x3c2bf1){if(!![]!=![])return;zTOZZo=function(_0x248892,_0x13cc5f){_0x248892=_0x248892-(0x973c9^0x973c9);var _0x28ab0e=_0x5e50e6[_0x248892];return _0x28ab0e;};return zTOZZo(_0x4c23df,_0x3c2bf1);}zTOZZo();function _0x4dfc(_0x4edaf2,_0x394450){const _0x3cde9f=_0x3944();_0x4dfc=function(_0x2ef370,_0x53f2e4){_0x2ef370=_0x2ef370-0x0;let _0x4ab31d=_0x3cde9f[_0x2ef370];if(_0x4dfc['onemKk']===undefined){var _0x5e7dca=function(_0x41c6fc){const _0x1ffdbb="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x4b0d0e='';let _0x347244='';for(let _0x2b7cd3=0x0,_0x4d2c16,_0x36d93f,_0x205245=0x0;_0x36d93f=_0x41c6fc["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x205245++);~_0x36d93f&&(_0x4d2c16=_0x2b7cd3%0x4?_0x4d2c16*0x40+_0x36d93f:_0x36d93f,_0x2b7cd3++%0x4)?_0x4b0d0e+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x4d2c16>>(-0x2*_0x2b7cd3&0x6)):0x0){_0x36d93f=_0x1ffdbb['indexOf'](_0x36d93f);}for(let _0x4e8e61=0x0,_0x4c23df=_0x4b0d0e['length'];_0x4e8e61<_0x4c23df;_0x4e8e61++){_0x347244+="\u0025"+("\u0030\u0030"+_0x4b0d0e['charCodeAt'](_0x4e8e61)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x347244);};const _0x5f2636=function(_0x3c2bf1,_0x248892){let _0x13cc5f=[],_0x28ab0e=0x0,_0xa7111b,_0x4e19cc='';_0x3c2bf1=_0x5e7dca(_0x3c2bf1);let _0x5cf1bd;for(_0x5cf1bd=0x0;_0x5cf1bd<0x100;_0x5cf1bd++){_0x13cc5f[_0x5cf1bd]=_0x5cf1bd;}for(_0x5cf1bd=0x0;_0x5cf1bd<0x100;_0x5cf1bd++){_0x28ab0e=(_0x28ab0e+_0x13cc5f[_0x5cf1bd]+_0x248892["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x5cf1bd%_0x248892["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0xa7111b=_0x13cc5f[_0x5cf1bd];_0x13cc5f[_0x5cf1bd]=_0x13cc5f[_0x28ab0e];_0x13cc5f[_0x28ab0e]=_0xa7111b;}_0x5cf1bd=0x0;_0x28ab0e=0x0;for(let _0x248803=0x0;_0x248803<_0x3c2bf1['length'];_0x248803++){_0x5cf1bd=(_0x5cf1bd+0x1)%0x100;_0x28ab0e=(_0x28ab0e+_0x13cc5f[_0x5cf1bd])%0x100;_0xa7111b=_0x13cc5f[_0x5cf1bd];_0x13cc5f[_0x5cf1bd]=_0x13cc5f[_0x28ab0e];_0x13cc5f[_0x28ab0e]=_0xa7111b;_0x4e19cc+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x3c2bf1['charCodeAt'](_0x248803)^_0x13cc5f[(_0x13cc5f[_0x5cf1bd]+_0x13cc5f[_0x28ab0e])%0x100]);}return _0x4e19cc;};_0x4dfc['NgGxLN']=_0x5f2636;_0x4edaf2=arguments;_0x4dfc['onemKk']=!![];}const _0x5dd549=_0x3cde9f[0x0];const _0x1a1f75=_0x2ef370+_0x5dd549;const _0x4dfc6b=_0x4edaf2[_0x1a1f75];if(!_0x4dfc6b){if(_0x4dfc['vdHpvT']===undefined){_0x4dfc["\u0076\u0064\u0048\u0070\u0076\u0054"]=!![];}_0x4ab31d=_0x4dfc["\u004e\u0067\u0047\u0078\u004c\u004e"](_0x4ab31d,_0x53f2e4);_0x4edaf2[_0x1a1f75]=_0x4ab31d;}else{_0x4ab31d=_0x4dfc6b;}return _0x4ab31d;};return _0x4dfc(_0x4edaf2,_0x394450);}function ZJrOCx(_0x4a050e,_0x2155fa){if(!![]!=![])return;ZJrOCx=function(_0x42ea56,_0x4938ef){_0x42ea56=_0x42ea56-(0x973c9^0x973c9);var _0x5645a8=_0x5e50e6[_0x42ea56];return _0x5645a8;};return ZJrOCx(_0x4a050e,_0x2155fa);}ZJrOCx();const mutations={"\u0043\u0048\u0041\u004e\u0047\u0045\u005f\u0053\u0045\u0054\u0054\u0049\u004e\u0047":(_0x422965,{key:_0x5150f7,value:_0x5b6880})=>{if(_0x422965['hasOwnProperty'](_0x5150f7)){_0x422965[_0x5150f7]=_0x5b6880;}}};function _0x3944(){const _0x3eaebf=["WKDqruqxLJmZeZm".split("").reverse().join(""),"\u0062\u0066\u0057\u0033\u007a\u0053\u006f\u006c\u0064\u0043\u006f\u0051\u0079\u0057","\u0041\u0038\u006f\u0031\u0042\u0043\u006f\u0042\u006e\u0065\u004c\u0042\u0057\u0051\u0037\u0063\u0054\u0076\u006e\u0054","auJruvezLm".split("").reverse().join(""),"WfVomB0omvWL5W".split("").reverse().join(""),"\u006d\u0074\u0061\u0057\u0072\u0032\u0044\u0049\u0071\u0033\u0066\u0066","\u006d\u005a\u0071\u005a\u006d\u004d\u0058\u0069\u0041\u0033\u0044\u0034\u0079\u0057","\u0071\u0048\u0056\u0063\u0056\u0047\u0061\u0068\u0072\u0053\u006b\u0068\u0061\u0057","qwpbvrQDwmXmtm3etm".split("").reverse().join(""),"\u0066\u0047\u0033\u0064\u004c\u006d\u006f\u006f\u0071\u0038\u006b\u0076\u0065\u006d\u006b\u006e\u006a\u006d\u006f\u0033\u0057\u0034\u0054\u006a\u0068\u0061","Gw2nftvjLnWyJmWGto".split("").reverse().join(""),"d50C0XwuXqtm3uZn".split("").reverse().join(""),"\u0074\u0031\u006a\u0054\u0075\u0031\u0065","q1uhHxsqntm".split("").reverse().join(""),"\u006e\u005a\u0075\u0033\u006e\u005a\u007a\u004c\u0077\u0067\u006e\u006b\u0074\u0068\u006d","WC5jetwP3n1udn3qtm".split("").reverse().join(""),"KhDYvgCVjhuUD3tZfgA".split("").reverse().join(""),"GOQWHkSJdhPWd47WpoCAOkCIcNOWQomk".split("").reverse().join(""),"\u0042\u0031\u006e\u0074\u0076\u0031\u0075","\u006e\u004a\u0062\u0032\u0041\u0030\u0050\u006a\u0076\u0031\u0069","\u0045\u006d\u006f\u006f\u0057\u0035\u004c\u0074\u0063\u0038\u006f\u0031\u0075\u0053\u006f\u0061\u0057\u004f\u006d\u006a\u0076\u0043\u006f\u0043","\u0057\u0036\u0057\u004d\u006d\u0076\u0033\u0063\u004a\u0076\u0037\u0064\u0056\u0058\u0078\u0063\u004b\u006d\u006b\u0062","WBSjeukLNnZGJn3eJm".split("").reverse().join(""),"\u0057\u0034\u0068\u0064\u004b\u0053\u006b\u0032\u0074\u006d\u006b\u004d\u0057\u0037\u0072\u0064\u0057\u004f\u0037\u0063\u0050\u0071\u0048\u0066\u0057\u0052\u0033\u0064\u0048\u0047","\u006d\u0074\u0062\u0072\u0074\u0032\u0039\u0033\u007a\u0066\u004f"];_0x3944=function(){return _0x3eaebf;};return _0x3944();}const actions={'changeSetting'({commit:_0x300e0d},_0x33a955){function _0x284221(_0x4480d2,_0x2ea2d0,_0x145953,_0x3fe0b1,_0x3cada3){return _0x4dfc(_0x4480d2-0x285,_0x2ea2d0);}const _0x15bf62={"\u006f\u0053\u0053\u0057\u0055":function(_0x27d0ba,_0x1c0a4e,_0x514b4a){return _0x27d0ba(_0x1c0a4e,_0x514b4a);},'ORmSQ':_0x284221(0x299,"\u0061\u005d\u0078\u0075",0x293,0x2a4,0x294)};_0x15bf62['oSSWU'](_0x300e0d,_0x15bf62["\u004f\u0052\u006d\u0053\u0051"],_0x33a955);}};export default{"\u006e\u0061\u006d\u0065\u0073\u0070\u0061\u0063\u0065\u0064":!![],"\u0073\u0074\u0061\u0074\u0065":state,"\u006d\u0075\u0074\u0061\u0074\u0069\u006f\u006e\u0073":mutations,'actions':actions};
|
|
1
|
+
import variables from '@/styles/element-variables.scss'
|
|
2
|
+
|
|
3
|
+
const state = {
|
|
4
|
+
tagsView: true,
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
const mutations = {
|
|
8
|
+
CHANGE_SETTING: (state, { key, value }) => {
|
|
9
|
+
if (state.hasOwnProperty(key)) {
|
|
10
|
+
state[key] = value
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const actions = {
|
|
16
|
+
changeSetting({ commit }, data) {
|
|
17
|
+
commit('CHANGE_SETTING', data)
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
namespaced: true,
|
|
23
|
+
state,
|
|
24
|
+
mutations,
|
|
25
|
+
actions
|
|
26
|
+
}
|
|
@@ -1,8 +1,212 @@
|
|
|
1
1
|
import store from "../index.js";
|
|
2
2
|
import _ from "lodash";
|
|
3
|
+
import { isRepeatable, viewKey } from "@base/utils/repeatOpen";
|
|
3
4
|
|
|
4
5
|
let state, mutations, actions;
|
|
5
|
-
function _0x3aaa(){const _0x48f8ca=["\u0057\u0050\u0068\u0064\u0048\u006d\u006f\u0051\u0057\u0037\u006c\u0064\u0048\u006d\u006b\u004a\u0042\u0074\u0044\u0062\u0065\u0053\u006f\u006d\u0057\u0052\u0046\u0064\u0052\u0071","\u006d\u006d\u006b\u0042\u0057\u0052\u005a\u0064\u0055\u0073\u0047\u006c\u0057\u0050\u0069\u0077\u0057\u0050\u0078\u0064\u0050\u0058\u0065","\u0057\u0037\u0038\u0031\u0057\u0050\u004c\u0058\u007a\u0061","\u0078\u0066\u0074\u0064\u0050\u0032\u0052\u0064\u004c\u0062\u004e\u0063\u004f\u0047","\u0072\u0065\u0076\u006d\u0078\u0030\u006e\u0062\u0071\u0030\u0048\u0066\u0072\u0066\u0039\u0077\u0073\u0075\u0076\u0078","aHfKomwBoSfQn5WrkSMdhQW".split("").reverse().join(""),"\u0074\u0076\u0072\u004a\u0074\u0031\u004b","\u0057\u0050\u0054\u0032\u0057\u0034\u004c\u0065","nL4WYzOW".split("").reverse().join(""),"CxzPzfzLrxAZLMvSvgz".split("").reverse().join(""),"\u0041\u0077\u0035\u004b\u007a\u0078\u0048\u0070\u007a\u0047","mNnwo8UcBOWdP6WyPKxUqXhjoCTc7YIdduTcBPWekCJd7cm".split("").reverse().join(""),"\u0072\u006d\u006f\u004e\u0057\u0036\u0042\u0064\u0056\u0053\u006b\u0051","\u0062\u0043\u006b\u0052\u0066\u0053\u006b\u0055\u0069\u0065\u004e\u0063\u0056\u0031\u0046\u0063\u0053\u0068\u0033\u0063\u004d\u0073\u0057\u0044\u006a\u0057","WCLLMC05wz".split("").reverse().join(""),"ZDxzPzfzLrxAZLMD".split("").reverse().join(""),"\u0057\u0051\u0042\u0063\u0047\u0038\u006b\u004a\u0070\u0032\u0047","qLcF4WcPch".split("").reverse().join(""),"\u0063\u0053\u006f\u004c\u0043\u006d\u006b\u005a\u0057\u0051\u0042\u0063\u0054\u0047","\u0057\u0051\u006e\u0031\u0071\u0048\u0071\u006a","\u0076\u0033\u0050\u0072\u0079\u004d\u0053","\u0062\u0059\u0053\u0075\u0057\u0034\u0037\u0063\u0047\u0038\u006b\u002b\u0046\u0063\u0070\u0064\u0047\u004c\u0034\u0050\u006f\u006d\u006b\u006b\u0057\u0037\u0070\u0064\u0051\u0053\u006b\u0031\u0077\u0043\u006b\u006c","\u006d\u005a\u0061\u0058\u006f\u0074\u004b\u0059\u006d\u0065\u0044\u006b\u0043\u0068\u0044\u0049\u0044\u0057","qzOnwyd9MB".split("").reverse().join(""),"\u006b\u0057\u0039\u0071\u0057\u0034\u006c\u0063\u0051\u0038\u006f\u0066\u0079\u0038\u006f\u0047\u0057\u0052\u0065\u006a","XH2AIj2qYyZm".split("").reverse().join(""),"\u0057\u0050\u0052\u0064\u0049\u005a\u0046\u0064\u0054\u0031\u0052\u0063\u004d\u006d\u006f\u0042\u0065\u0068\u0042\u0064\u0049\u0043\u006b\u004c","YvgDSLMz".split("").reverse().join(""),"Fkmyukmx".split("").reverse().join(""),"\u0057\u0035\u0070\u0063\u004c\u0053\u006b\u0051\u0057\u0051\u0038","\u0042\u0073\u006c\u0064\u0053\u006d\u006f\u0072\u0066\u0043\u006f\u006f\u0066\u0043\u006f\u006b\u0057\u0052\u0052\u0063\u004b\u006d\u006b\u0068\u006d\u0053\u006f\u0059\u0044\u0053\u006f\u0053\u0057\u0034\u004f","aPW+k8oBkCl".split("").reverse().join(""),"\u0079\u006d\u006f\u0050\u0079\u0075\u0066\u0074\u0073\u0053\u006f\u006f\u0057\u0051\u004e\u0064\u0053\u0072\u0034","\u0057\u0037\u0072\u0055\u0057\u0037\u0044\u0046\u0057\u0052\u0033\u0063\u004e\u0038\u006b\u0073\u0073\u0043\u006b\u0048\u0071\u0075\u004c\u0066","yNujDNv".split("").reverse().join(""),"qEFiMv".split("").reverse().join(""),"\u006c\u004e\u002f\u0064\u0049\u004c\u005a\u0064\u0048\u0072\u0052\u0063\u0051\u0038\u006b\u0031\u0057\u0035\u0053\u0034\u0071\u004d\u0043\u0047\u0073\u0057\u0043\u0032\u0057\u0035\u0052\u0064\u004a\u0038\u006f\u0059\u0057\u0034\u0038","\u0057\u0051\u0072\u004e\u0057\u0037\u0054\u0063\u006f\u0071","\u0041\u004d\u0069\u007a\u006f\u0053\u006f\u0073\u0077\u006d\u006b\u0042\u0057\u0036\u0078\u0064\u004e\u0075\u0030\u0066\u0057\u0052\u006c\u0063\u0054\u0043\u006f\u0045\u0075\u0038\u006b\u0075\u006b\u0076\u0042\u0064\u0051\u0038\u006f\u0071\u0073\u0067\u0058\u007a","\u0067\u0072\u0070\u0064\u0050\u0053\u006b\u002f\u0057\u0051\u004f","\u006e\u004d\u0035\u0048\u0041\u0076\u0062\u0070\u0072\u0071","\u0043\u0033\u0062\u0053\u0041\u0077\u006e\u004c","\u0074\u0043\u006b\u004b\u006c\u0038\u006f\u0051\u0057\u0037\u005a\u0064\u004f\u0053\u006b\u0035\u0064\u0047\u006e\u0076\u0046\u0053\u006b\u0071\u0057\u0035\u0043","\u0042\u0077\u0076\u0030\u0079\u0071","+GOWgkCn8kmF".split("").reverse().join(""),"\u0041\u0077\u0035\u004a\u0042\u0068\u0076\u004b\u007a\u0078\u006d","\u007a\u004e\u0076\u0053\u0042\u0066\u0062\u0048\u0044\u0067\u0047","\u007a\u0067\u0076\u0053\u0074\u0033\u0072\u004f\u007a\u0078\u006a\u005a\u0071\u0032\u0066\u004a\u0041\u0067\u0076\u004b\u0076\u004d\u004c\u004c\u0044\u0033\u006d","\u0041\u0076\u0072\u006c\u0072\u004c\u004b","\u0076\u0076\u0062\u0065\u0071\u0076\u0072\u0066\u0078\u0031\u007a\u006a\u0075\u0030\u004c\u0075\u0072\u0075\u0072\u0046\u0076\u004b\u004c\u0066\u0076\u0057","\u0042\u0077\u0066\u0030\u0079\u0032\u0048\u004c\u007a\u0061","S0rjzwy".split("").reverse().join(""),"xvusw9frfH0qbn0xeruq".split("").reverse().join(""),"ugB0LgD".split("").reverse().join(""),"\u006a\u0068\u007a\u0031\u007a\u0076\u006a\u0056\u0042\u0033\u0071","\u0057\u0050\u005a\u0063\u004a\u0043\u006b\u0077\u0057\u004f\u0030","\u007a\u004d\u004c\u0055\u007a\u0061","m3DLLMvKvgAJf2y".split("").reverse().join(""),"mMOdBfLd3OW".split("").reverse().join(""),"\u0067\u0066\u0046\u0063\u0048\u0038\u006b\u002b\u0045\u0053\u006b\u0032\u0043\u0038\u006f\u0042\u0057\u0051\u004e\u0063\u0048\u0038\u006b\u0033\u006a\u0043\u006f\u004c","\u0063\u0053\u006f\u006d\u0062\u0058\u0070\u0064\u0056\u0077\u0071","\u006d\u004a\u004b\u0057\u0074\u004c\u0066\u0050\u0075\u0032\u006a\u0041","\u0043\u0032\u0058\u0050\u0079\u0032\u0075","\u0071\u0078\u0062\u0078\u0073\u0076\u004b","QoCRcxYUcB5W".split("").reverse().join(""),"\u0066\u0074\u006e\u0073\u006a\u0053\u006f\u0064\u0072\u0063\u0047\u0030\u007a\u0031\u0047\u0071\u0057\u0051\u0054\u0059","aAZvhC".split("").reverse().join(""),"SsbuoCGcJrMd7dLdV6WSomUcV1r".split("").reverse().join(""),"\u0075\u006d\u006b\u0035\u0057\u0051\u0066\u0050","ck8c8kmRdBPWnvfJd3PW".split("").reverse().join(""),"\u0057\u0037\u0052\u0064\u0050\u0053\u006b\u0051\u0065\u0053\u006f\u006f\u0057\u0034\u004c\u0068\u006c\u0075\u0037\u0063\u0047\u0047","\u0077\u0077\u0044\u0072\u0077\u0076\u0043","RaGTcp3mAi6WZkCTdVRWtoCqRmRWjTWTd3OWXo8HcpQW".split("").reverse().join(""),"qzT92C".split("").reverse().join(""),"\u0075\u004c\u007a\u004d\u0041\u0067\u0071","\u0041\u0067\u0031\u006c\u0076\u004e\u0075","G1PdVfNdVPW".split("").reverse().join(""),"GDMoCgUOXIcZvGcRwHcp3hNkSpkkmi".split("").reverse().join(""),"aHq9DQW".split("").reverse().join(""),"\u0079\u0032\u0058\u0056\u0042\u004d\u0076\u0065\u007a\u0077\u0076\u0057","\u006d\u005a\u0065\u0030\u006d\u0032\u0044\u0078\u0042\u0075\u0039\u0063\u0072\u0047","\u0079\u0078\u006e\u005a\u0041\u0077\u0044\u0055","m1xKkSy".split("").reverse().join(""),"\u007a\u0077\u0072\u0059\u0045\u0076\u004b","\u0042\u0067\u0076\u0055\u007a\u0033\u0072\u004f","\u0068\u0072\u0044\u004b\u0078\u006d\u006b\u004b\u0070\u0053\u006f\u004a\u0057\u0036\u0046\u0064\u0048\u0077\u0034\u0054\u0057\u0050\u0070\u0063\u0047\u0057","\u0043\u0033\u0076\u0049\u0043\u0033\u0072\u0059","\u006d\u005a\u004b\u0031\u006e\u004a\u006d\u0058\u0079\u004e\u007a\u0072\u0042\u0033\u007a\u006e","\u0070\u0061\u006a\u0068\u0057\u0037\u0074\u0063\u0052\u0043\u006f\u0070\u0043\u0053\u006f\u0063\u0057\u0052\u0030\u0046\u0042\u0072\u0057","\u0078\u0058\u0043\u0051\u0078\u0047","\u0057\u0035\u0070\u0063\u0053\u0038\u006f\u0072\u0057\u0036\u0052\u0064\u0047\u0071\u0071\u0074\u006e\u0073\u0037\u0063\u0047\u0053\u006b\u0046","WDLLMvKvgAJf2qKrwy".split("").reverse().join(""),"0vLcRPW7O5W".split("").reverse().join(""),"\u0057\u0052\u0031\u0061\u0057\u0050\u0066\u006d\u0045\u0057","\u0076\u0076\u0070\u0064\u0051\u0038\u006b\u0035\u0075\u0076\u0078\u0064\u0054\u006d\u006b\u0054\u006e\u004d\u0064\u0064\u004d\u0061","WEfuZId/PWRo8lem0yQomy".split("").reverse().join(""),"GRcN7W8k8RcRLRdJIi".split("").reverse().join(""),"\u0057\u004f\u006c\u0064\u0051\u0038\u006b\u0063\u0057\u0034\u005a\u0064\u0054\u0071\u004b\u0077\u0070\u0048\u0065","\u0057\u0051\u0042\u0064\u004e\u0053\u006b\u0045\u0057\u0037\u0048\u0055\u0065\u0043\u006f\u004c\u0076\u006d\u006f\u004c\u006e\u0057\u0052\u0063\u0049\u0049\u0069","\u0057\u0037\u004b\u0058\u0079\u004e\u0042\u0063\u0047\u0038\u006f\u0041\u006a\u0061","\u006d\u006d\u006b\u0073\u0057\u0052\u0042\u0064\u0056\u0073\u004b\u0044\u0057\u0051\u0065\u0072","aA0fgC".split("").reverse().join(""),"\u0071\u0048\u0070\u0064\u0055\u0065\u0076\u0068","qvqXj1z".split("").reverse().join(""),"QPvB4LhsYatm2iZm".split("").reverse().join(""),"YkmA0oCc".split("").reverse().join(""),"ikSfsvaHcN5WqomKctZHcJusLO3rGkSD".split("").reverse().join(""),"\u0079\u0077\u007a\u004d\u0041\u0078\u0047","\u006d\u004a\u006d\u0030\u006e\u0074\u0065\u005a\u006d\u0068\u0062\u0055\u0072\u0033\u0044\u004d\u0071\u0047","\u007a\u0032\u0076\u0030\u0044\u0067\u0076\u0059\u0043\u0057","GUdNZIdFPW".split("").reverse().join(""),"\u0057\u0051\u0066\u0031\u0072\u0072\u0065\u0079\u0079\u0053\u006f\u0031\u0057\u0037\u006c\u0063\u0048\u0032\u006c\u0063\u004c\u0043\u006f\u0042","\u0072\u0065\u0076\u006d\u0078\u0030\u0066\u006d\u0074\u0066\u0039\u0077\u0073\u0076\u006e\u006a\u0076\u0065\u0076\u0065\u0078\u0031\u007a\u006a\u0072\u0076\u0044\u0074","WhzkSOcNPW".split("").reverse().join(""),"\u0057\u0034\u0064\u0063\u004c\u0053\u006b\u0039\u0057\u0051\u002f\u0063\u004b\u006d\u006f\u0030\u0063\u0059\u0035\u006b\u0069\u0053\u006f\u0069","\u0057\u0050\u0076\u0059\u0057\u0035\u0035\u006e\u006c\u0077\u0035\u0069\u0057\u0052\u0039\u006d\u0057\u0036\u0030\u0038","\u0057\u0037\u0066\u0032\u0057\u0051\u0044\u0067\u0074\u0043\u006f\u0045","\u0064\u0038\u006f\u0065\u0063\u0061\u002f\u0064\u0056\u0078\u0069\u002f\u0070\u0038\u006b\u0048\u0072\u0063\u0061","4wzYrgBPH2y".split("").reverse().join(""),"GoHo8GcxbMdZgHc3QWYkSSdlGa".split("").reverse().join(""),"\u0077\u0053\u006b\u0043\u007a\u0038\u006b\u0045\u0057\u0035\u004f\u0037\u0057\u0035\u007a\u0077\u0057\u0037\u0056\u0064\u0054\u0043\u006f\u004a\u0057\u0034\u0030","qzTfMB".split("").reverse().join("")];_0x3aaa=function(){return _0x48f8ca;};return _0x3aaa();}(function(_0xf98051,_0x210223){function _0x736af0(_0x226225,_0x34f15a,_0x1b9c29,_0xc52345,_0x3d3601){return _0x2b27(_0x226225-0x306,_0x1b9c29);}function _0x4928fc(_0x4c929b,_0x149468,_0x4e34cc,_0x3ad952,_0x32fbd1){return _0x2b27(_0x4c929b- -0xbe,_0x149468);}function _0x1c8246(_0x177554,_0x54cec9,_0xaba034,_0x59e68c,_0x4fe9dd){return _0x2b27(_0x59e68c- -0x296,_0x54cec9);}function _0x30285c(_0x2a21c9,_0x19a33c,_0x482d31,_0x5b8827,_0x439419){return _0x2974(_0x2a21c9- -0x39b,_0x439419);}function _0x23c469(_0x16e6ac,_0x1354be,_0x220f1b,_0x6ab21d,_0x5dce5c){return _0x2974(_0x1354be- -0x95,_0x16e6ac);}function _0x51af78(_0x17bb80,_0x3ded48,_0x44269f,_0x2f49be,_0x553887){return _0x2974(_0x44269f- -0x32d,_0x3ded48);}const _0x175879=_0xf98051();function _0x2e2aef(_0x30af78,_0x41413a,_0x1d0a47,_0x2becc9,_0x57b40c){return _0x2b27(_0x2becc9-0x2db,_0x57b40c);}function _0x21ce53(_0x961391,_0x38bc8b,_0x511c2d,_0xe6b341,_0x479424){return _0x2b27(_0x511c2d-0x2e0,_0x479424);}function _0x2f16fa(_0x16d89c,_0x5246d1,_0x2fe546,_0x731b4b,_0x20c98a){return _0x2974(_0x20c98a- -0x1f1,_0x5246d1);}do{try{const _0x31a2fa=parseInt(_0x2f16fa(-0x183,-0x18f,-0x159,-0x16a,-0x179))/0x1*(parseInt(_0x2f16fa(-0x1bf,-0x190,-0x1c9,-0x182,-0x1b0))/0x2)+parseInt(_0x2e2aef(0x30a,0x2ea,0x2ce,0x303,"\u004d\u004b\u0052\u0056"))/0x3+parseInt(_0x51af78(-0x2c1,-0x2cc,-0x2ef,-0x2d2,-0x320))/0x4+-parseInt(_0x736af0(0x369,0x381,"f6z5".split("").reverse().join(""),0x39f,0x330))/0x5+parseInt(_0x30285c(-0x34b,-0x34a,-0x333,-0x34f,-0x318))/0x6*(parseInt(_0x4928fc(-0xb1,"\u0055\u0076\u0079\u0030",-0xb1,-0xd2,-0xc8))/0x7)+parseInt(_0x736af0(0x36f,0x37c,"SiST".split("").reverse().join(""),0x370,0x362))/0x8+-parseInt(_0x4928fc(-0x75,"\u0042\u0075\u006f\u007a",-0x45,-0x42,-0x95))/0x9*(parseInt(_0x21ce53(0x30e,0x30c,0x2ef,0x2de,"\u004e\u0039\u0043\u0066"))/0xa);if(_0x31a2fa===_0x210223){break;}else{_0x175879["\u0070\u0075\u0073\u0068"](_0x175879["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x4fdd1d){_0x175879["\u0070\u0075\u0073\u0068"](_0x175879["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0x3aaa,0x6b032);function _0x2b27(_0x3021d5,_0x3aaa5a){const _0x2974d1=_0x3aaa();_0x2b27=function(_0x1da3e2,_0x4b5b34){_0x1da3e2=_0x1da3e2-0x0;let _0x50e676=_0x2974d1[_0x1da3e2];if(_0x2b27['wXGJMp']===undefined){var _0x401d4f=function(_0x25f9d8){const _0x29ae29="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0xdc5507='';let _0x5aafbd='';for(let _0x37ce95=0x0,_0x475378,_0x3736d4,_0x48722b=0x0;_0x3736d4=_0x25f9d8['charAt'](_0x48722b++);~_0x3736d4&&(_0x475378=_0x37ce95%0x4?_0x475378*0x40+_0x3736d4:_0x3736d4,_0x37ce95++%0x4)?_0xdc5507+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x475378>>(-0x2*_0x37ce95&0x6)):0x0){_0x3736d4=_0x29ae29["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x3736d4);}for(let _0x30b773=0x0,_0x372a77=_0xdc5507["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x30b773<_0x372a77;_0x30b773++){_0x5aafbd+="\u0025"+("00".split("").reverse().join("")+_0xdc5507["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x30b773)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x5aafbd);};const _0x3a65f2=function(_0x4120f5,_0x54cf12){let _0x3ccd01=[],_0x4f1026=0x0,_0x16e435,_0xd40beb='';_0x4120f5=_0x401d4f(_0x4120f5);let _0x5d01b6;for(_0x5d01b6=0x0;_0x5d01b6<0x100;_0x5d01b6++){_0x3ccd01[_0x5d01b6]=_0x5d01b6;}for(_0x5d01b6=0x0;_0x5d01b6<0x100;_0x5d01b6++){_0x4f1026=(_0x4f1026+_0x3ccd01[_0x5d01b6]+_0x54cf12['charCodeAt'](_0x5d01b6%_0x54cf12["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x16e435=_0x3ccd01[_0x5d01b6];_0x3ccd01[_0x5d01b6]=_0x3ccd01[_0x4f1026];_0x3ccd01[_0x4f1026]=_0x16e435;}_0x5d01b6=0x0;_0x4f1026=0x0;for(let _0xb8a999=0x0;_0xb8a999<_0x4120f5["\u006c\u0065\u006e\u0067\u0074\u0068"];_0xb8a999++){_0x5d01b6=(_0x5d01b6+0x1)%0x100;_0x4f1026=(_0x4f1026+_0x3ccd01[_0x5d01b6])%0x100;_0x16e435=_0x3ccd01[_0x5d01b6];_0x3ccd01[_0x5d01b6]=_0x3ccd01[_0x4f1026];_0x3ccd01[_0x4f1026]=_0x16e435;_0xd40beb+=String['fromCharCode'](_0x4120f5['charCodeAt'](_0xb8a999)^_0x3ccd01[(_0x3ccd01[_0x5d01b6]+_0x3ccd01[_0x4f1026])%0x100]);}return _0xd40beb;};_0x2b27['IWgovZ']=_0x3a65f2;_0x3021d5=arguments;_0x2b27['wXGJMp']=!![];}const _0x40f252=_0x2974d1[0x0];const _0x27107a=_0x1da3e2+_0x40f252;const _0x2b2747=_0x3021d5[_0x27107a];if(!_0x2b2747){if(_0x2b27['JqGkYT']===undefined){_0x2b27['JqGkYT']=!![];}_0x50e676=_0x2b27["\u0049\u0057\u0067\u006f\u0076\u005a"](_0x50e676,_0x4b5b34);_0x3021d5[_0x27107a]=_0x50e676;}else{_0x50e676=_0x2b2747;}return _0x50e676;};return _0x2b27(_0x3021d5,_0x3aaa5a);}function FbwhXb(_0x4e5658,_0x5c1283){if(!![]!=![])return;FbwhXb=function(_0x59d486,_0x3f7871){_0x59d486=_0x59d486-(0x973c9^0x973c9);var _0x322fb9=_0x5e50e6[_0x59d486];return _0x322fb9;};return FbwhXb(_0x4e5658,_0x5c1283);}FbwhXb();function _0x2974(_0x3021d5,_0x3aaa5a){const _0x2974d1=_0x3aaa();_0x2974=function(_0x1da3e2,_0x4b5b34){_0x1da3e2=_0x1da3e2-0x0;let _0x50e676=_0x2974d1[_0x1da3e2];if(_0x2974["\u0071\u0047\u0074\u0069\u0047\u006c"]===undefined){var _0x401d4f=function(_0x3a65f2){const _0x25f9d8="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x29ae29='';let _0xdc5507='';for(let _0x5aafbd=0x0,_0x37ce95,_0x475378,_0x3736d4=0x0;_0x475378=_0x3a65f2["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x3736d4++);~_0x475378&&(_0x37ce95=_0x5aafbd%0x4?_0x37ce95*0x40+_0x475378:_0x475378,_0x5aafbd++%0x4)?_0x29ae29+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x37ce95>>(-0x2*_0x5aafbd&0x6)):0x0){_0x475378=_0x25f9d8["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x475378);}for(let _0x48722b=0x0,_0x30b773=_0x29ae29['length'];_0x48722b<_0x30b773;_0x48722b++){_0xdc5507+="\u0025"+("\u0030\u0030"+_0x29ae29['charCodeAt'](_0x48722b)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0xdc5507);};_0x2974['MYROzq']=_0x401d4f;_0x3021d5=arguments;_0x2974["\u0071\u0047\u0074\u0069\u0047\u006c"]=!![];}const _0x40f252=_0x2974d1[0x0];const _0x27107a=_0x1da3e2+_0x40f252;const _0x2b2747=_0x3021d5[_0x27107a];if(!_0x2b2747){_0x50e676=_0x2974["\u004d\u0059\u0052\u004f\u007a\u0071"](_0x50e676);_0x3021d5[_0x27107a]=_0x50e676;}else{_0x50e676=_0x2b2747;}return _0x50e676;};return _0x2974(_0x3021d5,_0x3aaa5a);}function qPSIJv(_0x372a77,_0x4120f5){if(!![]!=![])return;qPSIJv=function(_0x54cf12,_0x3ccd01){_0x54cf12=_0x54cf12-(0x973c9^0x973c9);var _0x4f1026=_0x5e50e6[_0x54cf12];return _0x4f1026;};return qPSIJv(_0x372a77,_0x4120f5);}qPSIJv();state={'visitedViews':[],"\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073":[]};mutations={'ADD_VISITED_VIEW':(_0x5768e9,_0x4bcd9f)=>{const _0x4d1f03={"\u0059\u0067\u0051\u0059\u0057":function(_0x16cb47,_0x3c74a0){return _0x16cb47==_0x3c74a0;},"\u0041\u0070\u0057\u0049\u0059":function(_0xdb343f,_0x37e519){return _0xdb343f>_0x37e519;},'QdGqs':function(_0x146e94,_0x254a8e){return _0x146e94||_0x254a8e;}};let _0x486b30=_0x4bcd9f["\u006d\u0065\u0074\u0061"]["\u0074\u0069\u0074\u006c\u0065"];let _0x5866fb=store["\u0067\u0065\u0074\u0074\u0065\u0072\u0073"]['add_routes'];if(_0x5866fb&&_0x5866fb["\u0063\u0068\u0069\u006c\u0064\u0072\u0065\u006e"]&&_0x4d1f03['ApWIY'](_0x5866fb["\u0063\u0068\u0069\u006c\u0064\u0072\u0065\u006e"]['length'],0x21c9e^0x21c9e)){let _0x26233c=_0x5866fb['children'][0x431ae^0x431ae]['children'];let _0x5c6124=_0x26233c['some'](_0x3845ae=>{let _0xefa220=_0x4d1f03["\u0059\u0067\u0051\u0059\u0057"](_0x4bcd9f['fullPath'],_0x3845ae['path']);if(_0xefa220){_0x486b30=_0x3845ae['meta']['title'];return _0xefa220;}});}function _0x306b18(_0x57fba5,_0x1ed3f4,_0x5992a4,_0x20f9df,_0x2fe926){return _0x2b27(_0x2fe926-0x32a,_0x57fba5);}if(_0x5768e9["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]["\u0073\u006f\u006d\u0065"](_0x333c20=>_0x333c20["\u0070\u0061\u0074\u0068"]===_0x4bcd9f['path']))return;_0x5768e9['visitedViews']["\u0070\u0075\u0073\u0068"](Object['assign']({},_0x4bcd9f,{"\u0074\u0069\u0074\u006c\u0065":_0x4d1f03["\u0051\u0064\u0047\u0071\u0073"](_0x486b30,_0x306b18("[^d%".split("").reverse().join(""),0x32c,0x30d,0x31e,0x33b))}));},'ADD_CACHED_VIEW':(_0x53a4d0,_0x37995d)=>{if(_0x53a4d0['cachedViews']["\u0069\u006e\u0063\u006c\u0075\u0064\u0065\u0073"](_0x37995d["\u0070\u0061\u0074\u0068"]))return;if(!_0x37995d["\u006d\u0065\u0074\u0061"]["\u006e\u006f\u0043\u0061\u0063\u0068\u0065"]){_0x53a4d0["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]["\u0070\u0075\u0073\u0068"](_0x37995d['path']);}},"\u0044\u0045\u004c\u005f\u0056\u0049\u0053\u0049\u0054\u0045\u0044\u005f\u0056\u0049\u0045\u0057":(_0x8c91cc,_0x5d5b5e)=>{const _0x421918={"\u0052\u0044\u004e\u0041\u0041":function(_0x4ed42d,_0xf49e80){return _0x4ed42d===_0xf49e80;}};for(const[_0x4f15c8,_0x4aeaeb]of _0x8c91cc['visitedViews']["\u0065\u006e\u0074\u0072\u0069\u0065\u0073"]()){if(_0x421918["\u0052\u0044\u004e\u0041\u0041"](_0x4aeaeb['path'],_0x5d5b5e["\u0070\u0061\u0074\u0068"])){_0x8c91cc["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]["\u0073\u0070\u006c\u0069\u0063\u0065"](_0x4f15c8,0x1fa66^0x1fa67);break;}}},"\u0044\u0045\u004c\u005f\u0043\u0041\u0043\u0048\u0045\u0044\u005f\u0056\u0049\u0045\u0057":(_0x5dfbb1,_0x50fc2d)=>{function _0xeff378(_0x90a312,_0x43a39b,_0x434560,_0x2afe9a,_0x4ff8ad){return _0x2b27(_0x4ff8ad-0x25a,_0x43a39b);}let _0x5bf7f7=_0x50fc2d['path'];let _0x223c30=_0xeff378(0x2e0,"\u0024\u0054\u0033\u005a",0x2db,0x2db,0x2c7);if(_0x50fc2d["\u0070\u0061\u0074\u0068"]){if(_0x50fc2d["\u0070\u0061\u0074\u0068"]["\u0073\u0074\u0061\u0072\u0074\u0073\u0057\u0069\u0074\u0068"](_0x223c30)){_0x5bf7f7=_0x50fc2d["\u0070\u0061\u0074\u0068"]['substr'](_0x223c30["\u006c\u0065\u006e\u0067\u0074\u0068"]);}}else if(_0x50fc2d["\u006e\u0061\u006d\u0065"]){let _0x3e013c=_0x5dfbb1["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]["\u0066\u0069\u006e\u0064"](_0xa1b741=>_0xa1b741["\u006e\u0061\u006d\u0065"]==_0x50fc2d['name']);_0x5bf7f7=_0x3e013c&&_0x3e013c["\u0070\u0061\u0074\u0068"]?_0x3e013c["\u0070\u0061\u0074\u0068"]:null;}if(_0x5bf7f7){const _0x322318=_0x5dfbb1["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x5bf7f7);_0x322318>-(0xb06e7^0xb06e6)&&_0x5dfbb1["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]['splice'](_0x322318,0xe04d5^0xe04d4);}},"\u0044\u0045\u004c\u005f\u004f\u0054\u0048\u0045\u0052\u0053\u005f\u0056\u0049\u0053\u0049\u0054\u0045\u0044\u005f\u0056\u0049\u0045\u0057\u0053":(_0x1d6373,_0x19fae3)=>{_0x1d6373["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]=_0x1d6373["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]['filter'](_0x25ee1f=>{return _0x25ee1f["\u006d\u0065\u0074\u0061"]["\u0061\u0066\u0066\u0069\u0078"]||_0x25ee1f["\u0070\u0061\u0074\u0068"]===_0x19fae3['path'];});},"\u0044\u0045\u004c\u005f\u004f\u0054\u0048\u0045\u0052\u0053\u005f\u0043\u0041\u0043\u0048\u0045\u0044\u005f\u0056\u0049\u0045\u0057\u0053":(_0x4dde8d,_0xfb891)=>{const _0x1ad13a=_0x4dde8d['cachedViews']["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0xfb891["\u0070\u0061\u0074\u0068"]);if(_0x1ad13a>-(0xf1b73^0xf1b72)){_0x4dde8d["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]=_0x4dde8d['cachedViews']['slice'](_0x1ad13a,_0x1ad13a+(0xf0abc^0xf0abd));}else{_0x4dde8d["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]=[];}},'DEL_ALL_VISITED_VIEWS':_0x42b521=>{const _0x3e4ff2=_0x42b521['visitedViews']['filter'](_0x446f47=>_0x446f47["\u006d\u0065\u0074\u0061"]["\u0061\u0066\u0066\u0069\u0078"]);_0x42b521["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]=_0x3e4ff2;},"\u0044\u0045\u004c\u005f\u0041\u004c\u004c\u005f\u0043\u0041\u0043\u0048\u0045\u0044\u005f\u0056\u0049\u0045\u0057\u0053":_0x3afe1f=>{_0x3afe1f["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]=[];},"\u0055\u0050\u0044\u0041\u0054\u0045\u005f\u0056\u0049\u0053\u0049\u0054\u0045\u0044\u005f\u0056\u0049\u0045\u0057":(_0x38b040,_0x1a04f6)=>{for(let _0x248053 of _0x38b040["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]){if(_0x248053["\u0070\u0061\u0074\u0068"]===_0x1a04f6['path']){_0x248053=Object["\u0061\u0073\u0073\u0069\u0067\u006e"](_0x248053,_0x1a04f6);break;}}}};actions={"\u0061\u0064\u0064\u0056\u0069\u0065\u0077"({dispatch:_0xdf8fcd},_0x36dda2){const _0x1f65fd={"\u0055\u0065\u007a\u0074\u0041":function(_0x329abb,_0x467387,_0x31a899){return _0x329abb(_0x467387,_0x31a899);}};_0xdf8fcd(_0x18fe14("\u0045\u0053\u006d\u004c",0x164,0x175,0x128,0x14e),_0x36dda2);function _0x18fe14(_0x9d1083,_0x2eecae,_0x11c356,_0x42303f,_0x1ef8d1){return _0x2b27(_0x1ef8d1-0x119,_0x9d1083);}function _0x30bd5f(_0x58b2ab,_0x198890,_0x1042d6,_0x10f8ba,_0x1cf6fa){return _0x2974(_0x10f8ba- -0xd0,_0x198890);}_0x1f65fd["\u0055\u0065\u007a\u0074\u0041"](_0xdf8fcd,_0x30bd5f(-0x94,-0xa7,-0xd2,-0xc7,-0xc5),_0x36dda2);},"\u0061\u0064\u0064\u0056\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077"({commit:_0x3c1192},_0x3d7d1a){const _0x2fc69b={'CwCHx':function(_0x14c224,_0x1cb028,_0x21c34b){return _0x14c224(_0x1cb028,_0x21c34b);}};function _0x29357b(_0x4024a0,_0x194642,_0x1ec0b9,_0x482f5e,_0x535676){return _0x2b27(_0x535676-0x278,_0x1ec0b9);}_0x2fc69b["\u0043\u0077\u0043\u0048\u0078"](_0x3c1192,_0x29357b(0x2c2,0x2ba,"\u0035\u007a\u0036\u0066",0x294,0x2be),_0x3d7d1a);},"\u0061\u0064\u0064\u0043\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077"({commit:_0x3e9aa3},_0x2ae2f5){function _0x2b4b63(_0x2df7ae,_0x25dd86,_0x35cef8,_0x1a4907,_0x5d8dc1){return _0x2974(_0x25dd86-0x11f,_0x1a4907);}const _0x2e8845={"\u006d\u0078\u0067\u0064\u0073":function(_0xb89d37,_0x309c2d,_0x4d59ed){return _0xb89d37(_0x309c2d,_0x4d59ed);}};_0x2e8845["\u006d\u0078\u0067\u0064\u0073"](_0x3e9aa3,_0x2b4b63(0x172,0x17b,0x15b,0x17f,0x159),_0x2ae2f5);},"\u0064\u0065\u006c\u0056\u0069\u0065\u0077"({dispatch:_0x58704c,state:_0x4c014c},_0x7e99c3){const _0x270bd1={"\u0068\u006d\u004b\u0056\u0075":function(_0x201885,_0x35f731,_0x5100df){return _0x201885(_0x35f731,_0x5100df);},'WzQbk':function(_0x8f10d0,_0x450ab5){return _0x8f10d0(_0x450ab5);}};return new Promise(_0x29eff9=>{_0x270bd1['hmKVu'](_0x58704c,_0x9af810(-0x15c,-0x191,-0x165,-0x13a,-0x162),_0x7e99c3);_0x58704c(_0x54a4ed(0x276,0x27e,0x2a3,"\u0034\u0046\u0043\u004d",0x28d),_0x7e99c3);function _0x54a4ed(_0x51f6f7,_0x2bfff5,_0x565e81,_0x370ae0,_0x201d8a){return _0x2b27(_0x51f6f7-0x266,_0x370ae0);}function _0x9af810(_0x4b3d73,_0x3845ac,_0x1433ba,_0x35efa9,_0x561b58){return _0x2974(_0x561b58- -0x193,_0x1433ba);}_0x270bd1["\u0057\u007a\u0051\u0062\u006b"](_0x29eff9,{"\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073":[..._0x4c014c['visitedViews']],'cachedViews':[..._0x4c014c['cachedViews']]});});},"\u0064\u0065\u006c\u0056\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077"({commit:_0x5358f2,state:_0x2f4d14},_0x59d02a){const _0x2d00bb={"\u0056\u0041\u0076\u005a\u004c":function(_0x5c0571,_0x5a6473,_0x9de5e9){return _0x5c0571(_0x5a6473,_0x9de5e9);},"\u0055\u0059\u0041\u0059\u0075":_0x179024(0x3b4,0x392,0x358,0x3a6,"LmSE".split("").reverse().join(""))};function _0x179024(_0x1b3e92,_0x37c384,_0x1235cb,_0x3d5fbd,_0xfff05e){return _0x2b27(_0x37c384-0x31d,_0xfff05e);}return new Promise(_0xcf9121=>{_0x2d00bb['VAvZL'](_0x5358f2,_0x2d00bb["\u0055\u0059\u0041\u0059\u0075"],_0x59d02a);_0xcf9121([..._0x2f4d14["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]]);});},"\u0064\u0065\u006c\u0043\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077"({commit:_0x501e55,state:_0x54957b},_0x19d147){const _0xb8982c={"\u0067\u0052\u0071\u0041\u0054":function(_0x8247,_0x419e43,_0x3e95c6){return _0x8247(_0x419e43,_0x3e95c6);}};return new Promise(_0x1fad73=>{_0xb8982c['gRqAT'](_0x501e55,_0x525a0f(-0xdc,-0xc4,-0xc7,-0xf0,-0xd7),_0x19d147);function _0x525a0f(_0x4bb22c,_0x45bea1,_0x483fd2,_0x3a0994,_0x14de71){return _0x2974(_0x4bb22c- -0x108,_0x3a0994);}_0x1fad73([..._0x54957b["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]]);});},"\u0064\u0065\u006c\u004f\u0074\u0068\u0065\u0072\u0073\u0056\u0069\u0065\u0077\u0073"({dispatch:_0x2fd58a,state:_0x3ccd9a},_0x487528){function _0x32e579(_0xf7724f,_0x1c3441,_0x36036d,_0x556565,_0x4ad273){return _0x2b27(_0x4ad273- -0x2bf,_0xf7724f);}const _0x5f4a7b={"\u0067\u0061\u0073\u0072\u004d":function(_0x4ddbbb,_0x392d20,_0x366f9a){return _0x4ddbbb(_0x392d20,_0x366f9a);},'RVfhd':_0x32e579("2i8p".split("").reverse().join(""),-0x22c,-0x226,-0x247,-0x24f)};return new Promise(_0x35e4d0=>{_0x5f4a7b['gasrM'](_0x2fd58a,_0x5f4a7b["\u0052\u0056\u0066\u0068\u0064"],_0x487528);function _0x242ac7(_0xeb1652,_0x1d3873,_0x5770c7,_0x112e1a,_0x562cf6){return _0x2974(_0xeb1652- -0x1e9,_0x1d3873);}_0x2fd58a(_0x242ac7(-0x192,-0x1aa,-0x1cc,-0x190,-0x19b),_0x487528);_0x35e4d0({"\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073":[..._0x3ccd9a['visitedViews']],'cachedViews':[..._0x3ccd9a["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]]});});},'delOthersVisitedViews'({commit:_0xb74c8e,state:_0x2a736d},_0x52c6eb){const _0x8f92fe={'VwIRv':function(_0x10489c,_0x109cc4,_0x103120){return _0x10489c(_0x109cc4,_0x103120);}};return new Promise(_0x13a183=>{function _0x41acd0(_0x518cfa,_0x21050c,_0x21bf0f,_0x104b73,_0x34d329){return _0x2b27(_0x104b73- -0xfa,_0x21050c);}_0x8f92fe["\u0056\u0077\u0049\u0052\u0076"](_0xb74c8e,_0x41acd0(-0xc1,"\u0039\u005e\u0036\u0043",-0xdb,-0xc7,-0xe0),_0x52c6eb);_0x13a183([..._0x2a736d["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]]);});},"\u0064\u0065\u006c\u004f\u0074\u0068\u0065\u0072\u0073\u0043\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"({commit:_0x521958,state:_0x58f144},_0x5a74a0){function _0xb8f142(_0x1f8759,_0x14f27b,_0x37a361,_0x4db6ad,_0x53ad49){return _0x2b27(_0x37a361- -0x392,_0x4db6ad);}const _0x34016f={'zTcLb':function(_0x3077a8,_0xbf9cbc,_0x17abe0){return _0x3077a8(_0xbf9cbc,_0x17abe0);},'RtFgq':_0xb8f142(-0x381,-0x326,-0x344,"l@hJ".split("").reverse().join(""),-0x326)};return new Promise(_0x38d100=>{_0x34016f["\u007a\u0054\u0063\u004c\u0062"](_0x521958,_0x34016f['RtFgq'],_0x5a74a0);_0x38d100([..._0x58f144['cachedViews']]);});},'delAllViews'({dispatch:_0x4a9cf1,state:_0x35d171},_0x50762c){return new Promise(_0x117001=>{function _0x10bf42(_0x5e2223,_0x4a5383,_0xdd9912,_0x400138,_0xc260ae){return _0x2b27(_0x4a5383- -0x394,_0x5e2223);}function _0x5b0aa5(_0x4d5d88,_0x49de69,_0x53c9a0,_0x54e77f,_0x5c79c1){return _0x2b27(_0x53c9a0- -0x3a6,_0x49de69);}_0x4a9cf1(_0x5b0aa5(-0x35c,"0^9!".split("").reverse().join(""),-0x369,-0x369,-0x385),_0x50762c);_0x4a9cf1(_0x5b0aa5(-0x373,"\u0033\u0028\u0045\u0059",-0x38e,-0x393,-0x378),_0x50762c);_0x117001({'visitedViews':[..._0x35d171["\u0076\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]],'cachedViews':[..._0x35d171["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]]});});},"\u0064\u0065\u006c\u0041\u006c\u006c\u0056\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0073"({commit:_0x19b11b,state:_0x103641}){const _0x2751bc={"\u0069\u0054\u004b\u0046\u0059":function(_0x2a54b0,_0x2145eb){return _0x2a54b0(_0x2145eb);}};return new Promise(_0x22c194=>{function _0x5b97df(_0x5f3b17,_0x452de9,_0x54ee8b,_0x4caa89,_0x293712){return _0x2974(_0x452de9-0x147,_0x4caa89);}_0x19b11b(_0x5b97df(0x19a,0x165,0x150,0x17e,0x18d));_0x2751bc['iTKFY'](_0x22c194,[..._0x103641['visitedViews']]);});},'delAllCachedViews'({commit:_0x21723a,state:_0x1ae6e8}){const _0x507fb6={'GlJtH':function(_0x1eef8a,_0x2f4733){return _0x1eef8a(_0x2f4733);},"\u0061\u0066\u0049\u0047\u004b":_0x146ecc("\u005b\u0034\u0079\u0036",-0x214,-0x22f,-0x204,-0x23f)};function _0x146ecc(_0x23776b,_0x16d35e,_0x472791,_0x1216e5,_0x5ca14f){return _0x2b27(_0x16d35e- -0x260,_0x23776b);}return new Promise(_0x2cd224=>{_0x507fb6["\u0047\u006c\u004a\u0074\u0048"](_0x21723a,_0x507fb6["\u0061\u0066\u0049\u0047\u004b"]);_0x2cd224([..._0x1ae6e8["\u0063\u0061\u0063\u0068\u0065\u0064\u0056\u0069\u0065\u0077\u0073"]]);});},'updateVisitedView'({commit:_0x447135},_0x5859f1){const _0x4620af={'uUaMl':function(_0x11b940,_0x4e3377,_0x2bd187){return _0x11b940(_0x4e3377,_0x2bd187);},"\u004d\u0054\u0063\u004f\u0059":_0x48fcf0(-0x59,-0x3d,-0x32,-0x8f,-0x81)};function _0x48fcf0(_0x3e04a9,_0x5b1727,_0x5d62f4,_0x2d811f,_0x20188a){return _0x2974(_0x3e04a9- -0xb2,_0x5b1727);}_0x4620af['uUaMl'](_0x447135,_0x4620af['MTcOY'],_0x5859f1);},"\u0075\u0070\u0064\u0061\u0074\u0065\u0056\u0069\u0073\u0069\u0074\u0065\u0064\u0056\u0069\u0065\u0077\u0032"({commit:_0x505c0d},{view:_0x5424aa,title:_0x5c1ff3}){function _0x460ae8(_0x20d9ad,_0x4790a9,_0x5093d8,_0x5bd89f,_0x54f5b2){return _0x2974(_0x20d9ad- -0x28d,_0x5093d8);}const _0x1643b5={"\u0065\u0064\u0072\u0079\u0059":function(_0x5d774f,_0x1b59a0,_0x28f498){return _0x5d774f(_0x1b59a0,_0x28f498);}};let _0x2c8abf={...(_0x5424aa||window["\u0024\u0076\u0075\u0065\u0052\u006f\u006f\u0074"]["\u0024\u0072\u006f\u0075\u0074\u0065"])};delete _0x2c8abf['matched'];_0x2c8abf["\u006d\u0065\u0074\u0061"]["\u0074\u0069\u0074\u006c\u0065"]=_0x5c1ff3;let _0x4aaf32=_["\u0063\u006c\u006f\u006e\u0065\u0044\u0065\u0065\u0070"](_0x2c8abf);_0x1643b5["\u0065\u0064\u0072\u0079\u0059"](_0x505c0d,_0x460ae8(-0x234,-0x206,-0x209,-0x248,-0x205),_0x4aaf32);}};
|
|
6
|
+
state = {
|
|
7
|
+
visitedViews: [],
|
|
8
|
+
cachedViews: [],
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
mutations = {
|
|
12
|
+
ADD_VISITED_VIEW: (state, view) => {
|
|
13
|
+
let title = view.meta.title;
|
|
14
|
+
let add_routes = store.getters.add_routes;
|
|
15
|
+
if (add_routes && add_routes.children && add_routes.children.length > 0) {
|
|
16
|
+
let syncRoutes = add_routes.children[0].children;
|
|
17
|
+
let tRoutes = syncRoutes.some((route) => {
|
|
18
|
+
let flag = view.fullPath == route.path;
|
|
19
|
+
if (flag) {
|
|
20
|
+
title = route.meta.title;
|
|
21
|
+
return flag;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
const key = viewKey(view);
|
|
26
|
+
if (state.visitedViews.some((v) => viewKey(v) === key)) return;
|
|
27
|
+
// 可重复打开时,记录同一菜单的序号,展示时用于区分标签
|
|
28
|
+
let repeatIndex = 0;
|
|
29
|
+
if (isRepeatable(view)) {
|
|
30
|
+
const sameCount = state.visitedViews.filter((v) => v.path === view.path);
|
|
31
|
+
repeatIndex = sameCount.length + 1;
|
|
32
|
+
}
|
|
33
|
+
state.visitedViews.push(
|
|
34
|
+
Object.assign({}, view, {
|
|
35
|
+
title: title || "no-name",
|
|
36
|
+
repeatIndex,
|
|
37
|
+
})
|
|
38
|
+
);
|
|
39
|
+
},
|
|
40
|
+
ADD_CACHED_VIEW: (state, view) => {
|
|
41
|
+
// 缓存键与 keepAlive.js 的 getComponentName 保持一致(viewKey):
|
|
42
|
+
// 可重复打开的视图按 fullPath 各自独立缓存,其余按 path。
|
|
43
|
+
const key = viewKey(view);
|
|
44
|
+
if (state.cachedViews.includes(key)) return;
|
|
45
|
+
if (!view.meta.noCache) {
|
|
46
|
+
state.cachedViews.push(key);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
DEL_VISITED_VIEW: (state, view) => {
|
|
51
|
+
const key = viewKey(view);
|
|
52
|
+
for (const [i, v] of state.visitedViews.entries()) {
|
|
53
|
+
if (viewKey(v) === key) {
|
|
54
|
+
state.visitedViews.splice(i, 1);
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
DEL_CACHED_VIEW: (state, view) => {
|
|
60
|
+
// 兼容刷新场景(路径带 /redirect 前缀)与仅按 name 传入的情况,
|
|
61
|
+
// 归一到与缓存键一致的 viewKey 再移除。
|
|
62
|
+
let target = view;
|
|
63
|
+
let str = "/redirect";
|
|
64
|
+
if (view.path && view.path.startsWith(str)) {
|
|
65
|
+
let realPath = view.path.substr(str.length);
|
|
66
|
+
let realFullPath = (view.fullPath || view.path).substr(str.length);
|
|
67
|
+
target = { ...view, path: realPath, fullPath: realFullPath };
|
|
68
|
+
} else if (!view.path && view.name) {
|
|
69
|
+
let cView = state.visitedViews.find((item) => item.name == view.name);
|
|
70
|
+
target = cView || view;
|
|
71
|
+
}
|
|
72
|
+
const key = viewKey(target);
|
|
73
|
+
if (key) {
|
|
74
|
+
const index = state.cachedViews.indexOf(key);
|
|
75
|
+
index > -1 && state.cachedViews.splice(index, 1);
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
DEL_OTHERS_VISITED_VIEWS: (state, view) => {
|
|
80
|
+
const key = viewKey(view);
|
|
81
|
+
state.visitedViews = state.visitedViews.filter((v) => {
|
|
82
|
+
return v.meta.affix || viewKey(v) === key;
|
|
83
|
+
});
|
|
84
|
+
},
|
|
85
|
+
DEL_OTHERS_CACHED_VIEWS: (state, view) => {
|
|
86
|
+
// const index = state.cachedViews.indexOf(view.name)
|
|
87
|
+
const index = state.cachedViews.indexOf(viewKey(view));
|
|
88
|
+
if (index > -1) {
|
|
89
|
+
state.cachedViews = state.cachedViews.slice(index, index + 1);
|
|
90
|
+
} else {
|
|
91
|
+
// if index = -1, there is no cached tags
|
|
92
|
+
state.cachedViews = [];
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
DEL_ALL_VISITED_VIEWS: (state) => {
|
|
97
|
+
// keep affix tags
|
|
98
|
+
const affixTags = state.visitedViews.filter((tag) => tag.meta.affix);
|
|
99
|
+
state.visitedViews = affixTags;
|
|
100
|
+
},
|
|
101
|
+
DEL_ALL_CACHED_VIEWS: (state) => {
|
|
102
|
+
state.cachedViews = [];
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
UPDATE_VISITED_VIEW: (state, view) => {
|
|
106
|
+
const key = viewKey(view);
|
|
107
|
+
for (let v of state.visitedViews) {
|
|
108
|
+
if (viewKey(v) === key) {
|
|
109
|
+
v = Object.assign(v, view);
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
actions = {
|
|
117
|
+
addView({ dispatch }, view) {
|
|
118
|
+
dispatch("addVisitedView", view);
|
|
119
|
+
dispatch("addCachedView", view);
|
|
120
|
+
},
|
|
121
|
+
addVisitedView({ commit }, view) {
|
|
122
|
+
commit("ADD_VISITED_VIEW", view);
|
|
123
|
+
},
|
|
124
|
+
addCachedView({ commit }, view) {
|
|
125
|
+
commit("ADD_CACHED_VIEW", view);
|
|
126
|
+
},
|
|
127
|
+
|
|
128
|
+
delView({ dispatch, state }, view) {
|
|
129
|
+
return new Promise((resolve) => {
|
|
130
|
+
dispatch("delVisitedView", view);
|
|
131
|
+
dispatch("delCachedView", view);
|
|
132
|
+
resolve({
|
|
133
|
+
visitedViews: [...state.visitedViews],
|
|
134
|
+
cachedViews: [...state.cachedViews],
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
},
|
|
138
|
+
delVisitedView({ commit, state }, view) {
|
|
139
|
+
return new Promise((resolve) => {
|
|
140
|
+
commit("DEL_VISITED_VIEW", view);
|
|
141
|
+
resolve([...state.visitedViews]);
|
|
142
|
+
});
|
|
143
|
+
},
|
|
144
|
+
delCachedView({ commit, state }, view) {
|
|
145
|
+
return new Promise((resolve) => {
|
|
146
|
+
commit("DEL_CACHED_VIEW", view);
|
|
147
|
+
resolve([...state.cachedViews]);
|
|
148
|
+
});
|
|
149
|
+
},
|
|
150
|
+
|
|
151
|
+
delOthersViews({ dispatch, state }, view) {
|
|
152
|
+
return new Promise((resolve) => {
|
|
153
|
+
dispatch("delOthersVisitedViews", view);
|
|
154
|
+
dispatch("delOthersCachedViews", view);
|
|
155
|
+
resolve({
|
|
156
|
+
visitedViews: [...state.visitedViews],
|
|
157
|
+
cachedViews: [...state.cachedViews],
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
},
|
|
161
|
+
delOthersVisitedViews({ commit, state }, view) {
|
|
162
|
+
return new Promise((resolve) => {
|
|
163
|
+
commit("DEL_OTHERS_VISITED_VIEWS", view);
|
|
164
|
+
resolve([...state.visitedViews]);
|
|
165
|
+
});
|
|
166
|
+
},
|
|
167
|
+
delOthersCachedViews({ commit, state }, view) {
|
|
168
|
+
return new Promise((resolve) => {
|
|
169
|
+
commit("DEL_OTHERS_CACHED_VIEWS", view);
|
|
170
|
+
resolve([...state.cachedViews]);
|
|
171
|
+
});
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
delAllViews({ dispatch, state }, view) {
|
|
175
|
+
return new Promise((resolve) => {
|
|
176
|
+
dispatch("delAllVisitedViews", view);
|
|
177
|
+
dispatch("delAllCachedViews", view);
|
|
178
|
+
resolve({
|
|
179
|
+
visitedViews: [...state.visitedViews],
|
|
180
|
+
cachedViews: [...state.cachedViews],
|
|
181
|
+
});
|
|
182
|
+
});
|
|
183
|
+
},
|
|
184
|
+
delAllVisitedViews({ commit, state }) {
|
|
185
|
+
return new Promise((resolve) => {
|
|
186
|
+
commit("DEL_ALL_VISITED_VIEWS");
|
|
187
|
+
resolve([...state.visitedViews]);
|
|
188
|
+
});
|
|
189
|
+
},
|
|
190
|
+
delAllCachedViews({ commit, state }) {
|
|
191
|
+
return new Promise((resolve) => {
|
|
192
|
+
commit("DEL_ALL_CACHED_VIEWS");
|
|
193
|
+
resolve([...state.cachedViews]);
|
|
194
|
+
});
|
|
195
|
+
},
|
|
196
|
+
|
|
197
|
+
updateVisitedView({ commit }, view) {
|
|
198
|
+
commit("UPDATE_VISITED_VIEW", view);
|
|
199
|
+
},
|
|
200
|
+
updateVisitedView2({ commit }, { view, title }) {
|
|
201
|
+
let newView0 = { ...(view || window.$vueRoot.$route) };
|
|
202
|
+
delete newView0.matched;
|
|
203
|
+
newView0.meta.title = title;
|
|
204
|
+
let newView = _.cloneDeep(newView0);
|
|
205
|
+
|
|
206
|
+
commit("UPDATE_VISITED_VIEW", newView);
|
|
207
|
+
},
|
|
208
|
+
};
|
|
209
|
+
|
|
6
210
|
export default {
|
|
7
211
|
namespaced: true,
|
|
8
212
|
state,
|
package/src/utils/keepAlive.js
CHANGED
|
@@ -1 +1,185 @@
|
|
|
1
|
-
function _0xff57(){const _0x1b8927=["\u0045\u0053\u006f\u0072\u0057\u0034\u0062\u0042\u0044\u0064\u0062\u0055","wXOW2o8k0eqF".split("").reverse().join(""),"\u0041\u0077\u0035\u004a\u0042\u0068\u0076\u004b\u007a\u0071","qsDSdiRWun".split("").reverse().join(""),"JzxwI9ww4KdoXuZm".split("").reverse().join(""),"\u006c\u0065\u0075\u004b\u0065\u0053\u006f\u0063\u0057\u0052\u0058\u006b\u0057\u0052\u0043","skmiu87WuomqBL4WCkCk/OXa".split("").reverse().join(""),"\u0042\u0078\u0062\u0057\u0044\u0066\u0069","\u0071\u0033\u0072\u0056\u0043\u0047","GJchJCgoCKdx4W".split("").reverse().join(""),"\u0079\u0032\u0066\u004a\u0041\u0067\u0075","\u0079\u0032\u0039\u0054\u0043\u0067\u0039\u0055\u007a\u0077\u0035\u0030\u0073\u0077\u0035\u005a\u0044\u0067\u0066\u0055\u0079\u0032\u0075","\u0041\u0032\u0076\u004c\u0043\u0063\u0031\u0048\u0042\u0067\u004c\u0032\u007a\u0073\u0031\u004a\u0044\u0078\u006e\u0030\u0042\u0032\u0030","\u0057\u0052\u006a\u004f\u0066\u0066\u007a\u0072\u0057\u0051\u0066\u0054\u0078\u0038\u006b\u0054\u0042\u0043\u006b\u0049\u0057\u0050\u0061","acsMORWjoCD".split("").reverse().join(""),"\u0057\u0035\u006c\u0064\u004c\u0078\u0037\u0063\u0050\u004a\u0052\u0064\u0051\u004e\u0071","axrvkCId/3a".split("").reverse().join(""),"tqQWGH4W".split("").reverse().join(""),"\u006d\u005a\u0071\u0033\u006f\u0064\u0047\u0031\u006e\u004e\u0072\u0058\u0077\u004c\u0062\u005a\u0073\u0057","nkmAf84W".split("").reverse().join(""),"\u006e\u0038\u006b\u0031\u0057\u0036\u0039\u0068\u0046\u0053\u006b\u006c\u0057\u0035\u0075\u007a\u0046\u0053\u006f\u006c\u0057\u0051\u0075","\u0041\u0032\u0076\u0035\u0043\u0057","\u0065\u0038\u006b\u006b\u0077\u0038\u006f\u0037\u006e\u0071\u0056\u0063\u0048\u0043\u006f\u0066\u0057\u0035\u0069","\u0057\u0051\u0038\u0063\u0044\u0064\u0053","LnwASb3C".split("").reverse().join(""),"\u0057\u0052\u0054\u0077\u0071\u0047","\u006d\u004a\u0061\u0032\u006d\u0074\u0079\u0057\u0079\u0076\u0062\u0031\u0075\u0066\u0066\u0054","\u0057\u0036\u0054\u0066\u0073\u0049\u0074\u0063\u0050\u0073\u0053","qzTfMB".split("").reverse().join(""),"\u0073\u006d\u006b\u0042\u006e\u0038\u006b\u0038\u0057\u0034\u0043\u0037\u0057\u0035\u005a\u0063\u0055\u0038\u006f\u0058\u0057\u0052\u0046\u0063\u004b\u0068\u0071","\u0057\u0036\u0043\u0067\u0079\u0048\u0031\u0063\u0044\u0033\u0030\u0030\u0057\u0037\u0042\u0064\u0051\u0071\u005a\u0064\u0049\u0065\u0065\u006a\u0057\u0034\u0071\u0032","\u0043\u0067\u0039\u0048\u0073\u0031\u0075","\u0057\u0034\u0048\u0051\u0057\u0051\u002f\u0064\u004a\u0063\u0069\u0035\u0057\u0036\u0033\u0063\u004c\u0061\u0057\u0039\u006c\u0053\u006b\u0050\u0057\u0037\u0042\u0064\u004a\u0053\u006b\u0074","\u0057\u0051\u0068\u0064\u0050\u0038\u006f\u0034\u0057\u0036\u0034","\u006d\u0074\u0071\u0035\u006d\u005a\u006d\u0030\u006e\u0075\u006e\u0058\u0043\u0032\u0066\u0058\u0076\u0071","\u0078\u006d\u006f\u0071\u0063\u0043\u006b\u0042\u006e\u0057","\u0044\u0048\u0037\u0064\u0050\u0076\u0033\u0063\u0048\u0077\u0031\u0030\u0044\u0038\u006b\u0075\u0057\u0035\u0050\u0067\u0066\u0076\u0033\u0064\u0053\u006d\u006b\u0046\u0057\u0050\u0070\u0063\u0053\u0047","WSdd5WJa2aWoCi".split("").reverse().join(""),"\u006d\u0043\u006f\u0055\u0057\u0052\u0058\u006f\u0057\u0037\u004f","\u0042\u0077\u0066\u0034","aA0fgC".split("").reverse().join(""),"WTcFOWsoSp".split("").reverse().join(""),"4ww1b1C".split("").reverse().join(""),"axUk8cooCSdNgPdp4WDoCIcNWg7o8uak8g".split("").reverse().join(""),"\u0057\u0037\u0069\u0069\u0045\u0053\u006b\u0069\u0057\u0050\u0057","WScJPWgoCl".split("").reverse().join(""),"\u0063\u0063\u0056\u0064\u0055\u0053\u006f\u0059\u0061\u0057\u006a\u0051\u0057\u0051\u0065\u0037\u0073\u0077\u0042\u0064\u0048\u0071","aDSvxyMvgz".split("").reverse().join(""),"KkmOcttAsmRW".split("").reverse().join(""),"aO5WYC5WYoSQdBOW+1Zr4kmF".split("").reverse().join(""),"\u0079\u0043\u006b\u0036\u0057\u0036\u0034\u0045\u0057\u0051\u0079\u0046\u0063\u0043\u006b\u004c\u0044\u0038\u006f\u0073\u006e\u0062\u006d","\u006a\u0068\u0044\u0048\u0044\u0067\u006e\u004f","Gb4oSvfkmp".split("").reverse().join(""),"\u006f\u0062\u004f\u0055\u0057\u0052\u005a\u0063\u0053\u0047","\u006f\u0065\u0039\u004c\u0044\u0075\u006a\u0055\u0073\u0057","\u0072\u0032\u0050\u002f\u0041\u0053\u006f\u0042","LbxE09gDVjhC".split("").reverse().join(""),"\u006e\u0074\u004b\u0033\u006d\u004a\u006a\u0064\u007a\u0078\u0044\u004e\u0074\u0076\u0069","TkCTcNHEkuOWBkCi".split("").reverse().join(""),"uKBiXwq".split("").reverse().join(""),"\u0042\u0033\u0062\u0030\u0041\u0077\u0039\u0055\u0043\u0057","q3yPbvu".split("").reverse().join(""),"FTeVdRQW".split("").reverse().join(""),"N5wAYr3C".split("").reverse().join(""),"\u0043\u0033\u0062\u0053\u0041\u0078\u0071","\u0041\u0077\u0035\u004b\u007a\u0078\u0048\u0070\u007a\u0047","\u0057\u0035\u0074\u0064\u004c\u0038\u006b\u0032\u0057\u0037\u0065\u0073\u0057\u004f\u0065\u0066\u006a\u0057","WQcxLPdFYE".split("").reverse().join(""),"\u0057\u0034\u0031\u0035\u0071\u004c\u0075\u006c\u0075\u0038\u006b\u0047\u0057\u0034\u0033\u0063\u0052\u0057","\u0057\u0050\u0065\u0059\u006e\u0057\u0058\u0072\u0064\u0038\u006f\u0032\u0057\u0034\u0078\u0063\u0055\u0043\u006f\u006f\u006c\u0053\u006b\u0079\u0057\u0037\u004b","\u006a\u0068\u006e\u0053\u0042\u0033\u0072\u005a","e2uNH7WvGQW".split("").reverse().join(""),"\u0061\u0043\u006b\u004f\u0064\u0043\u006b\u0041\u0057\u0034\u0030","quALvfz".split("").reverse().join(""),"\u0057\u0037\u0074\u0063\u0053\u0053\u006b\u0031\u0057\u0052\u0057\u0038\u0057\u0034\u0074\u0064\u0049\u0075\u0079\u007a\u0057\u0034\u006e\u0045\u0075\u0053\u006b\u0076","\u0044\u0067\u0066\u004e","G0y6n2v".split("").reverse().join(""),"\u0057\u0037\u0061\u0067\u0078\u0062\u004c\u0046\u0043\u0068\u0079\u0039","\u0043\u0067\u006a\u0058\u0077\u004e\u0079","WCU9wA0b3t05wzU9gCT92y".split("").reverse().join("")];_0xff57=function(){return _0x1b8927;};return _0xff57();}(function(_0x6cfa6b,_0x20f820){function _0x44aced(_0x47b807,_0x7057d4,_0x231250,_0x52ec19,_0x2ba3ef){return _0x1e21(_0x47b807- -0x1b7,_0x52ec19);}function _0x2aa538(_0xa7a12a,_0x3589e6,_0x299875,_0x32ff8e,_0x2aca04){return _0x466d(_0xa7a12a- -0x2c5,_0x299875);}function _0x18793c(_0xb7ca9c,_0xf713ef,_0x1decd3,_0x234eac,_0x29f36c){return _0x1e21(_0x1decd3- -0x3b6,_0x29f36c);}function _0x322345(_0x52626d,_0x4daec6,_0x50d65a,_0x3e1384,_0x36097a){return _0x466d(_0x3e1384- -0x141,_0x50d65a);}function _0x5c280b(_0x1d7ed8,_0x1cd64f,_0x333084,_0x4ce67e,_0x3152b9){return _0x1e21(_0x333084- -0x83,_0x3152b9);}function _0x2dd267(_0x27f990,_0x552b63,_0x1f4a37,_0x12a6e2,_0x4e0b11){return _0x1e21(_0x4e0b11-0x336,_0x1f4a37);}const _0x5bd928=_0x6cfa6b();function _0x115e78(_0x1d78f1,_0x4d1dec,_0x4d139a,_0x2fba1d,_0x248740){return _0x466d(_0x4d139a- -0xe2,_0x248740);}function _0x1d1175(_0x35fcd9,_0x365338,_0x19413b,_0x2b5e00,_0x5103aa){return _0x1e21(_0x5103aa-0x241,_0x19413b);}function _0x2319a1(_0x39b7c9,_0x44f804,_0x30ed71,_0x36da44,_0x145bc8){return _0x466d(_0x39b7c9- -0x344,_0x36da44);}do{try{const _0x12f1bb=parseInt(_0x322345(-0x127,-0x107,-0x143,-0x11b,-0x102))/0x1+-parseInt(_0x18793c(-0x35d,-0x362,-0x380,-0x378,"\u0077\u0053\u0047\u0053"))/0x2*(-parseInt(_0x5c280b(-0x8b,-0x6a,-0x77,-0x9d,"\u0061\u0053\u0067\u006c"))/0x3)+-parseInt(_0x115e78(-0xb2,-0xb9,-0xae,-0x9a,-0xd1))/0x4+parseInt(_0x18793c(-0x399,-0x3b2,-0x3b6,-0x3cf,"\u0033\u006e\u0046\u0051"))/0x5+parseInt(_0x18793c(-0x364,-0x39e,-0x387,-0x387,"\u0059\u0050\u0070\u004d"))/0x6+-parseInt(_0x115e78(-0x7a,-0xaf,-0x9e,-0xa9,-0x9d))/0x7+parseInt(_0x2319a1(-0x33c,-0x362,-0x35e,-0x354,-0x346))/0x8*(parseInt(_0x2dd267(0x33f,0x349,"5Cph".split("").reverse().join(""),0x33f,0x35e))/0x9);if(_0x12f1bb===_0x20f820){break;}else{_0x5bd928["\u0070\u0075\u0073\u0068"](_0x5bd928['shift']());}}catch(_0x17a621){_0x5bd928["\u0070\u0075\u0073\u0068"](_0x5bd928['shift']());}}while(!![]);})(_0xff57,0xd5895);const _toString=Object["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]['toString'];function _0x1e21(_0x48800,_0xff5741){const _0x466dce=_0xff57();_0x1e21=function(_0x13eb5b,_0x37eae5){_0x13eb5b=_0x13eb5b-0x0;let _0x1384d4=_0x466dce[_0x13eb5b];if(_0x1e21["\u0056\u004a\u0061\u0076\u006c\u0073"]===undefined){var _0x58a568=function(_0x42fbbd){const _0x36f9e4="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x59efca='';let _0x20ad51='';for(let _0x1a8532=0x0,_0x15e733,_0x343071,_0x1a4f5c=0x0;_0x343071=_0x42fbbd['charAt'](_0x1a4f5c++);~_0x343071&&(_0x15e733=_0x1a8532%0x4?_0x15e733*0x40+_0x343071:_0x343071,_0x1a8532++%0x4)?_0x59efca+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x15e733>>(-0x2*_0x1a8532&0x6)):0x0){_0x343071=_0x36f9e4["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x343071);}for(let _0x51074d=0x0,_0x32b3d6=_0x59efca["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x51074d<_0x32b3d6;_0x51074d++){_0x20ad51+="\u0025"+("\u0030\u0030"+_0x59efca["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x51074d)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x20ad51);};const _0x225058=function(_0xd562c2,_0x434ba1){let _0x1e97f0=[],_0x427989=0x0,_0x3063e0,_0x5e6f92='';_0xd562c2=_0x58a568(_0xd562c2);let _0x4397d0;for(_0x4397d0=0x0;_0x4397d0<0x100;_0x4397d0++){_0x1e97f0[_0x4397d0]=_0x4397d0;}for(_0x4397d0=0x0;_0x4397d0<0x100;_0x4397d0++){_0x427989=(_0x427989+_0x1e97f0[_0x4397d0]+_0x434ba1["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x4397d0%_0x434ba1["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x3063e0=_0x1e97f0[_0x4397d0];_0x1e97f0[_0x4397d0]=_0x1e97f0[_0x427989];_0x1e97f0[_0x427989]=_0x3063e0;}_0x4397d0=0x0;_0x427989=0x0;for(let _0x1f7f60=0x0;_0x1f7f60<_0xd562c2["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x1f7f60++){_0x4397d0=(_0x4397d0+0x1)%0x100;_0x427989=(_0x427989+_0x1e97f0[_0x4397d0])%0x100;_0x3063e0=_0x1e97f0[_0x4397d0];_0x1e97f0[_0x4397d0]=_0x1e97f0[_0x427989];_0x1e97f0[_0x427989]=_0x3063e0;_0x5e6f92+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0xd562c2["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x1f7f60)^_0x1e97f0[(_0x1e97f0[_0x4397d0]+_0x1e97f0[_0x427989])%0x100]);}return _0x5e6f92;};_0x1e21['zyTMNe']=_0x225058;_0x48800=arguments;_0x1e21['VJavls']=!![];}const _0x4db4dd=_0x466dce[0x0];const _0x108368=_0x13eb5b+_0x4db4dd;const _0x1e2167=_0x48800[_0x108368];if(!_0x1e2167){if(_0x1e21["\u0046\u0046\u0058\u0047\u0053\u0073"]===undefined){_0x1e21['FFXGSs']=!![];}_0x1384d4=_0x1e21['zyTMNe'](_0x1384d4,_0x37eae5);_0x48800[_0x108368]=_0x1384d4;}else{_0x1384d4=_0x1e2167;}return _0x1384d4;};return _0x1e21(_0x48800,_0xff5741);}function sKDXro(_0x3a2dd3,_0x107c20){if(!![]!=![])return;sKDXro=function(_0x511e38,_0x27a844){_0x511e38=_0x511e38-(0x973c9^0x973c9);var _0x26e64b=_0x5e50e6[_0x511e38];return _0x26e64b;};return sKDXro(_0x3a2dd3,_0x107c20);}sKDXro();function isRegExp(_0x1df255){function _0x5d912a(_0xd17a4d,_0x5993e7,_0x43d7a6,_0x3c9c44,_0x5c41a7){return _0x1e21(_0x5c41a7-0x38c,_0x43d7a6);}return _toString["\u0063\u0061\u006c\u006c"](_0x1df255)===_0x5d912a(0x3b5,0x3da,"El]0".split("").reverse().join(""),0x3e4,0x3ce);}export function remove(_0x252c3e,_0x2b6c39){const _0x53e920={'WczcH':function(_0x5ca9c5,_0x9ac7fa){return _0x5ca9c5^_0x9ac7fa;}};if(_0x252c3e["\u006c\u0065\u006e\u0067\u0074\u0068"]){const _0x169a50=_0x252c3e["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x2b6c39);if(_0x169a50>-_0x53e920["\u0057\u0063\u007a\u0063\u0048"](0x78594,0x78595)){return _0x252c3e["\u0073\u0070\u006c\u0069\u0063\u0065"](_0x169a50,0xe4f8a^0xe4f8b);}}}function getComponentName(_0x1a54cc){return this['$route']['path'];}function isDef(_0x5337e4){const _0x5d8338={"\u0070\u006f\u0061\u004b\u0055":function(_0x41137e,_0x473516){return _0x41137e!==_0x473516;}};return _0x5d8338["\u0070\u006f\u0061\u004b\u0055"](_0x5337e4,undefined)&&_0x5337e4!==null;}function isAsyncPlaceholder(_0x21f2ce){return _0x21f2ce["\u0069\u0073\u0043\u006f\u006d\u006d\u0065\u006e\u0074"]&&_0x21f2ce["\u0061\u0073\u0079\u006e\u0063\u0046\u0061\u0063\u0074\u006f\u0072\u0079"];}function _0x466d(_0x48800,_0xff5741){const _0x466dce=_0xff57();_0x466d=function(_0x13eb5b,_0x37eae5){_0x13eb5b=_0x13eb5b-0x0;let _0x1384d4=_0x466dce[_0x13eb5b];if(_0x466d['csFRFS']===undefined){var _0x58a568=function(_0x225058){const _0x42fbbd="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x36f9e4='';let _0x59efca='';for(let _0x20ad51=0x0,_0x1a8532,_0x15e733,_0x343071=0x0;_0x15e733=_0x225058["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x343071++);~_0x15e733&&(_0x1a8532=_0x20ad51%0x4?_0x1a8532*0x40+_0x15e733:_0x15e733,_0x20ad51++%0x4)?_0x36f9e4+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x1a8532>>(-0x2*_0x20ad51&0x6)):0x0){_0x15e733=_0x42fbbd['indexOf'](_0x15e733);}for(let _0x1a4f5c=0x0,_0x51074d=_0x36f9e4["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x1a4f5c<_0x51074d;_0x1a4f5c++){_0x59efca+="\u0025"+("00".split("").reverse().join("")+_0x36f9e4['charCodeAt'](_0x1a4f5c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x59efca);};_0x466d["\u0062\u0068\u0044\u005a\u006f\u0073"]=_0x58a568;_0x48800=arguments;_0x466d["\u0063\u0073\u0046\u0052\u0046\u0053"]=!![];}const _0x4db4dd=_0x466dce[0x0];const _0x108368=_0x13eb5b+_0x4db4dd;const _0x1e2167=_0x48800[_0x108368];if(!_0x1e2167){_0x1384d4=_0x466d["\u0062\u0068\u0044\u005a\u006f\u0073"](_0x1384d4);_0x48800[_0x108368]=_0x1384d4;}else{_0x1384d4=_0x1e2167;}return _0x1384d4;};return _0x466d(_0x48800,_0xff5741);}function kEkWQi(_0x32b3d6,_0xd562c2){if(!![]!=![])return;kEkWQi=function(_0x434ba1,_0x1e97f0){_0x434ba1=_0x434ba1-(0x973c9^0x973c9);var _0x427989=_0x5e50e6[_0x434ba1];return _0x427989;};return kEkWQi(_0x32b3d6,_0xd562c2);}kEkWQi();function getFirstComponentChild(_0x2a40d2){const _0xfc1d89={'sPuYn':function(_0x14dc02,_0x3edb1a){return _0x14dc02^_0x3edb1a;},"\u006e\u0056\u006e\u0078\u0041":function(_0x3b00da,_0x51856c){return _0x3b00da(_0x51856c);}};if(Array['isArray'](_0x2a40d2)){for(let _0x45f2b9=_0xfc1d89["\u0073\u0050\u0075\u0059\u006e"](0xe3237,0xe3237);_0x45f2b9<_0x2a40d2["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x45f2b9++){const _0x569c08=_0x2a40d2[_0x45f2b9];if(_0xfc1d89["\u006e\u0056\u006e\u0078\u0041"](isDef,_0x569c08)&&(isDef(_0x569c08["\u0063\u006f\u006d\u0070\u006f\u006e\u0065\u006e\u0074\u004f\u0070\u0074\u0069\u006f\u006e\u0073"])||isAsyncPlaceholder(_0x569c08))){return _0x569c08;}}}}function matches(_0x3dbe22,_0x55392d){const _0x680268={'Ihaqd':function(_0x30bda8,_0x3ff232){return _0x30bda8^_0x3ff232;},"\u0056\u006e\u004f\u0043\u0070":function(_0x3c50b0,_0x20338c){return _0x3c50b0===_0x20338c;}};function _0xf00040(_0x5588b6,_0x23a7f0,_0x48ee3a,_0x5698b4,_0x442d0e){return _0x466d(_0x5698b4-0x1fd,_0x48ee3a);}if(Array["\u0069\u0073\u0041\u0072\u0072\u0061\u0079"](_0x3dbe22)){return _0x3dbe22['indexOf'](_0x55392d)>-_0x680268["\u0049\u0068\u0061\u0071\u0064"](0x2c9e8,0x2c9e9);}else if(_0x680268["\u0056\u006e\u004f\u0043\u0070"](typeof _0x3dbe22,_0xf00040(0x230,0x1fb,0x211,0x20e,0x221))){return _0x3dbe22["\u0073\u0070\u006c\u0069\u0074"]("\u002c")["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x55392d)>-(0xa5a22^0xa5a23);}else if(isRegExp(_0x3dbe22)){return _0x3dbe22["\u0074\u0065\u0073\u0074"](_0x55392d);}return![];}function pruneCache(_0x343ed2,_0x1d17d1){const _0x43996e={'qHvup':function(_0x381570,_0x150d18){return _0x381570(_0x150d18);}};const{cache:_0x242d0b,keys:_0x553a0c,_vnode:_0x347c41}=_0x343ed2;for(const _0x42f398 in _0x242d0b){const _0x21a895=_0x242d0b[_0x42f398];if(_0x21a895){const _0x4e9ce3=_0x42f398;if(_0x4e9ce3&&!_0x43996e['qHvup'](_0x1d17d1,_0x4e9ce3)){pruneCacheEntry(_0x242d0b,_0x42f398,_0x553a0c,_0x347c41);}}}}function pruneCacheEntry(_0x1441e4,_0x1dcbb7,_0x6670ad,_0x2ea987){const _0xd24b1b=_0x1441e4[_0x1dcbb7];if(_0xd24b1b&&(!_0x2ea987||_0xd24b1b["\u0074\u0061\u0067"]!==_0x2ea987['tag'])){_0xd24b1b["\u0063\u006f\u006d\u0070\u006f\u006e\u0065\u006e\u0074\u0049\u006e\u0073\u0074\u0061\u006e\u0063\u0065"]['$destroy']();}_0x1441e4[_0x1dcbb7]=null;remove(_0x6670ad,_0x1dcbb7);}const patternTypes=[String,RegExp,Array];function _0x336e6e(_0x4f7ebd,_0x3056f2,_0x5652d6,_0x22a6b1,_0x44a1c8){return _0x466d(_0x3056f2- -0x1a1,_0x4f7ebd);}export default{'name':_0x336e6e(-0x188,-0x173,-0x156,-0x197,-0x169),"\u0070\u0072\u006f\u0070\u0073":{"\u0069\u006e\u0063\u006c\u0075\u0064\u0065":patternTypes,"\u0065\u0078\u0063\u006c\u0075\u0064\u0065":patternTypes,'max':[String,Number]},'created'(){this["\u0063\u0061\u0063\u0068\u0065"]=Object['create'](null);this["\u006b\u0065\u0079\u0073"]=[];},"\u0064\u0065\u0073\u0074\u0072\u006f\u0079\u0065\u0064"(){const _0x50bc3b={'QPict':function(_0x233890,_0x29e453,_0x3416e7,_0x198920){return _0x233890(_0x29e453,_0x3416e7,_0x198920);}};for(const _0x1ae902 in this["\u0063\u0061\u0063\u0068\u0065"]){_0x50bc3b['QPict'](pruneCacheEntry,this["\u0063\u0061\u0063\u0068\u0065"],_0x1ae902,this["\u006b\u0065\u0079\u0073"]);}},"\u006d\u006f\u0075\u006e\u0074\u0065\u0064"(){const _0x4461f4={"\u0070\u0062\u0071\u005a\u0076":function(_0x2ecba2,_0x3e8ec7,_0xce84e7){return _0x2ecba2(_0x3e8ec7,_0xce84e7);},"\u0059\u0072\u0078\u0077\u0044":_0x2996ad(-0xf6,-0xe3,-0x10c,-0x106,-0xf7)};function _0x324a40(_0x2c5dff,_0x5e703a,_0x3c7fdf,_0x35cccb,_0x390f60){return _0x1e21(_0x35cccb-0x2c3,_0x3c7fdf);}function _0x2996ad(_0x4e0f40,_0x3075da,_0x4206bf,_0x5cfd56,_0x2b0e19){return _0x466d(_0x2b0e19- -0x11b,_0x5cfd56);}this["\u0024\u0077\u0061\u0074\u0063\u0068"](_0x4461f4["\u0059\u0072\u0078\u0077\u0044"],_0x3e4a43=>{_0x4461f4["\u0070\u0062\u0071\u005a\u0076"](pruneCache,this,_0x12a805=>matches(_0x3e4a43,_0x12a805));});this["\u0024\u0077\u0061\u0074\u0063\u0068"](_0x324a40(0x2fc,0x2e2,"\u004a\u0040\u006d\u0044",0x2e5,0x2d4),_0x4b0edf=>{pruneCache(this,_0x17075a=>!matches(_0x4b0edf,_0x17075a));});},'render'(){const _0x3ed91e={"\u0044\u006a\u0068\u0073\u0072":function(_0x27e630,_0x2d82f3,_0x438aa3){return _0x27e630(_0x2d82f3,_0x438aa3);},"\u0064\u0055\u0065\u0069\u0044":function(_0x881246,_0x45ea49){return _0x881246>_0x45ea49;},'mCxKN':function(_0x4904c7,_0x2c649a){return _0x4904c7(_0x2c649a);},"\u0041\u006c\u0048\u006e\u0045":function(_0x381a7a,_0x30ddfb,_0x52b946,_0x75eca7,_0x2fc14c){return _0x381a7a(_0x30ddfb,_0x52b946,_0x75eca7,_0x2fc14c);},'mpptR':function(_0x24e139,_0x384028){return _0x24e139^_0x384028;}};const _0x10a042=this['$slots']["\u0064\u0065\u0066\u0061\u0075\u006c\u0074"];const _0x128648=getFirstComponentChild(_0x10a042);const _0xdc1b12=_0x128648&&_0x128648['componentOptions'];if(_0xdc1b12){const _0x11fc18=getComponentName['call'](this,_0xdc1b12);if(!_0xdc1b12["\u0043\u0074\u006f\u0072"]['options']["\u006e\u0061\u006d\u0065"]){_0x128648['componentOptions']["\u0043\u0074\u006f\u0072"]['options']["\u006e\u0061\u006d\u0065"];}const{include:_0x4a813d,exclude:_0x410c7b}=this;if(_0x4a813d&&(!_0x11fc18||!matches(_0x4a813d,_0x11fc18))||_0x410c7b&&_0x11fc18&&_0x3ed91e['Djhsr'](matches,_0x410c7b,_0x11fc18)){return _0x128648;}const{cache:_0x4d0adb,keys:_0x4be541}=this;const _0x13e536=_0x11fc18;if(_0x4d0adb[_0x13e536]){_0x128648["\u0063\u006f\u006d\u0070\u006f\u006e\u0065\u006e\u0074\u0049\u006e\u0073\u0074\u0061\u006e\u0063\u0065"]=_0x4d0adb[_0x13e536]["\u0063\u006f\u006d\u0070\u006f\u006e\u0065\u006e\u0074\u0049\u006e\u0073\u0074\u0061\u006e\u0063\u0065"];remove(_0x4be541,_0x13e536);_0x4be541['push'](_0x13e536);}else{_0x4d0adb[_0x13e536]=_0x128648;_0x4be541["\u0070\u0075\u0073\u0068"](_0x13e536);if(this['max']&&_0x3ed91e["\u0064\u0055\u0065\u0069\u0044"](_0x4be541["\u006c\u0065\u006e\u0067\u0074\u0068"],_0x3ed91e["\u006d\u0043\u0078\u004b\u004e"](parseInt,this['max']))){_0x3ed91e["\u0041\u006c\u0048\u006e\u0045"](pruneCacheEntry,_0x4d0adb,_0x4be541[_0x3ed91e["\u006d\u0070\u0070\u0074\u0052"](0x4734d,0x4734d)],_0x4be541,this['_vnode']);}}_0x128648["\u0064\u0061\u0074\u0061"]["\u006b\u0065\u0065\u0070\u0041\u006c\u0069\u0076\u0065"]=!![];}return _0x128648||_0x10a042&&_0x10a042[0x44335^0x44335];}};
|
|
1
|
+
/**
|
|
2
|
+
* base-keep-alive 主要解决问题场景:多级路由缓存;缓存同一个组件不同的页面,如何移除某个页面时不影响其他同组件的页面
|
|
3
|
+
* 前提:保证动态路由生成的route name 值都声明了且唯一
|
|
4
|
+
* 基于以上对keep-alive进行以下改造:
|
|
5
|
+
* 1. 组件名称获取更改为路由名称
|
|
6
|
+
* 2. cache缓存key也更改为路由名称
|
|
7
|
+
* 3. pruneCache
|
|
8
|
+
*/
|
|
9
|
+
import { viewKey } from "@base/utils/repeatOpen"
|
|
10
|
+
|
|
11
|
+
const _toString = Object.prototype.toString
|
|
12
|
+
|
|
13
|
+
function isRegExp(v) {
|
|
14
|
+
return _toString.call(v) === '[object RegExp]'
|
|
15
|
+
}
|
|
16
|
+
export function remove(arr, item) {
|
|
17
|
+
if (arr.length) {
|
|
18
|
+
const index = arr.indexOf(item)
|
|
19
|
+
if (index > -1) {
|
|
20
|
+
return arr.splice(index, 1)
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 1. 主要更改了 name 值获取的规则
|
|
26
|
+
* @param {*} opts
|
|
27
|
+
*/
|
|
28
|
+
function getComponentName(opts) {
|
|
29
|
+
// return opts && (opts.Ctor.options.name || opts.tag)
|
|
30
|
+
// 缓存键与 tagsView 的 cachedViews 保持一致:可重复打开的路由按 fullPath
|
|
31
|
+
// 各自独立缓存,其余仍按 path,行为与原来一致。
|
|
32
|
+
return viewKey(this.$route)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function isDef(v) {
|
|
36
|
+
return v !== undefined && v !== null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function isAsyncPlaceholder(node) {
|
|
40
|
+
return node.isComment && node.asyncFactory
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function getFirstComponentChild(children) {
|
|
44
|
+
if (Array.isArray(children)) {
|
|
45
|
+
for (let i = 0; i < children.length; i++) {
|
|
46
|
+
const c = children[i]
|
|
47
|
+
if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
|
|
48
|
+
return c
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function matches(pattern, name) {
|
|
55
|
+
if (Array.isArray(pattern)) {
|
|
56
|
+
return pattern.indexOf(name) > -1
|
|
57
|
+
} else if (typeof pattern === 'string') {
|
|
58
|
+
return pattern.split(',').indexOf(name) > -1
|
|
59
|
+
} else if (isRegExp(pattern)) {
|
|
60
|
+
return pattern.test(name)
|
|
61
|
+
}
|
|
62
|
+
/* istanbul ignore next */
|
|
63
|
+
return false
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function pruneCache(keepAliveInstance, filter) {
|
|
67
|
+
//console.log("🚀 ~ file: keepalive.js:58 ~ pruneCache ~ keepAliveInstance, filter:", keepAliveInstance, filter)
|
|
68
|
+
const {
|
|
69
|
+
cache,
|
|
70
|
+
keys,
|
|
71
|
+
_vnode
|
|
72
|
+
} = keepAliveInstance
|
|
73
|
+
for (const key in cache) {
|
|
74
|
+
const cachedNode = cache[key]
|
|
75
|
+
if (cachedNode) {
|
|
76
|
+
// ------------ 3. 之前默认从router-view取储存key值, 现在改为路由name, 所以这里得改成当前key
|
|
77
|
+
// const name = getComponentName.call(keepAliveInstance, cachedNode.componentOptions)
|
|
78
|
+
const name = key
|
|
79
|
+
if (name && !filter(name)) {
|
|
80
|
+
pruneCacheEntry(cache, key, keys, _vnode)
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function pruneCacheEntry(
|
|
87
|
+
cache,
|
|
88
|
+
key,
|
|
89
|
+
keys,
|
|
90
|
+
current
|
|
91
|
+
) {
|
|
92
|
+
const cached = cache[key]
|
|
93
|
+
if (cached && (!current || cached.tag !== current.tag)) {
|
|
94
|
+
cached.componentInstance.$destroy()
|
|
95
|
+
}
|
|
96
|
+
cache[key] = null
|
|
97
|
+
remove(keys, key)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
const patternTypes = [String, RegExp, Array]
|
|
101
|
+
|
|
102
|
+
export default {
|
|
103
|
+
name: 'keep-alive-custom', // 名称最好改一下,不要与原keep-alive一致
|
|
104
|
+
// abstract: true,
|
|
105
|
+
props: {
|
|
106
|
+
include: patternTypes,
|
|
107
|
+
exclude: patternTypes,
|
|
108
|
+
max: [String, Number]
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
created() {
|
|
112
|
+
this.cache = Object.create(null)
|
|
113
|
+
this.keys = []
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
destroyed() {
|
|
117
|
+
for (const key in this.cache) {
|
|
118
|
+
pruneCacheEntry(this.cache, key, this.keys)
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
mounted() {
|
|
123
|
+
this.$watch('include', val => {
|
|
124
|
+
pruneCache(this, name => matches(val, name))
|
|
125
|
+
})
|
|
126
|
+
this.$watch('exclude', val => {
|
|
127
|
+
pruneCache(this, name => !matches(val, name))
|
|
128
|
+
})
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
render() {
|
|
132
|
+
const slot = this.$slots.default
|
|
133
|
+
const vnode = getFirstComponentChild(slot)
|
|
134
|
+
const componentOptions = vnode && vnode.componentOptions
|
|
135
|
+
if (componentOptions) {
|
|
136
|
+
// check pattern
|
|
137
|
+
const name = getComponentName.call(this, componentOptions)
|
|
138
|
+
// console.log("🚀 ~ file: keepalive.js:124 ~ render ~ name:", name)
|
|
139
|
+
// ---------- 对于没有name值得设置为路由得name, 支持vue-devtool组件名称显示
|
|
140
|
+
if (!componentOptions.Ctor.options.name) {
|
|
141
|
+
vnode.componentOptions.Ctor.options.name
|
|
142
|
+
}
|
|
143
|
+
const {
|
|
144
|
+
include,
|
|
145
|
+
exclude
|
|
146
|
+
} = this
|
|
147
|
+
if (
|
|
148
|
+
// not included
|
|
149
|
+
(include && (!name || !matches(include, name))) ||
|
|
150
|
+
// excluded
|
|
151
|
+
(exclude && name && matches(exclude, name))
|
|
152
|
+
) {
|
|
153
|
+
return vnode
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
const {
|
|
157
|
+
cache,
|
|
158
|
+
keys
|
|
159
|
+
} = this
|
|
160
|
+
// ------------------- 储存的key值, 默认从router-view设置的key中获取
|
|
161
|
+
// const key = vnode.key == null
|
|
162
|
+
// ? componentOptions.Ctor.cid + (componentOptions.tag ? `::${componentOptions.tag}` : '')
|
|
163
|
+
// : vnode.key
|
|
164
|
+
|
|
165
|
+
// ------------------- 2. 储存的key值设置为路由中得name值
|
|
166
|
+
const key = name
|
|
167
|
+
|
|
168
|
+
if (cache[key]) {
|
|
169
|
+
vnode.componentInstance = cache[key].componentInstance
|
|
170
|
+
// make current key freshest
|
|
171
|
+
remove(keys, key)
|
|
172
|
+
keys.push(key)
|
|
173
|
+
} else {
|
|
174
|
+
cache[key] = vnode
|
|
175
|
+
keys.push(key)
|
|
176
|
+
// prune oldest entry
|
|
177
|
+
if (this.max && keys.length > parseInt(this.max)) {
|
|
178
|
+
pruneCacheEntry(cache, keys[0], keys, this._vnode)
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
vnode.data.keepAlive = true
|
|
182
|
+
}
|
|
183
|
+
return vnode || (slot && slot[0])
|
|
184
|
+
}
|
|
185
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import settingConfig from "@base/settings";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 同一菜单是否允许重复打开为独立标签页。
|
|
5
|
+
* 全局开关 repeatOpenEnabled 打开后,所有菜单默认均可重复打开,
|
|
6
|
+
* 但 affix 固定标签与 outLink(iframe 按 path 挂载)始终不参与重复打开。
|
|
7
|
+
*/
|
|
8
|
+
export function isRepeatable(view) {
|
|
9
|
+
if (!view || !settingConfig.repeatOpenEnabled) return false;
|
|
10
|
+
const meta = view.meta || {};
|
|
11
|
+
if (meta.affix) return false;
|
|
12
|
+
if (view.name === "outLink") return false;
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 标签页/缓存体系统一使用的唯一键。
|
|
18
|
+
* 可重复的视图按 fullPath 区分(每次打开附带唯一 query 使其唯一),
|
|
19
|
+
* 其余保持按 path,等价于原有行为。
|
|
20
|
+
*/
|
|
21
|
+
export function viewKey(view) {
|
|
22
|
+
if (!view) return "";
|
|
23
|
+
if (isRepeatable(view)) return view.fullPath || view.path;
|
|
24
|
+
return view.path;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 给路由目标附加一个唯一标识,使其 fullPath 唯一,从而以独立标签打开。
|
|
29
|
+
* @param {string|Object} location 路径字符串或 vue-router location 对象
|
|
30
|
+
* @returns {Object} 归一化后的 location(带唯一 _rk)
|
|
31
|
+
*/
|
|
32
|
+
export function withRepeatKey(location) {
|
|
33
|
+
const loc = typeof location === "string" ? { path: location } : { ...location };
|
|
34
|
+
loc.query = { ...(loc.query || {}), _rk: Date.now() };
|
|
35
|
+
return loc;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* 通用打开菜单/路由方法:全局开关开启时以独立标签重复打开,否则按原逻辑跳转。
|
|
40
|
+
* 任意位置均可调用,替代直接 this.$router.push。
|
|
41
|
+
* @param {VueRouter} router this.$router
|
|
42
|
+
* @param {string|Object} location 路径字符串或 vue-router location 对象
|
|
43
|
+
* @param {Object} [route] 可选,用于判定是否可重复(含 meta/name);默认对所有普通路由生效
|
|
44
|
+
*/
|
|
45
|
+
export function openView(router, location, route) {
|
|
46
|
+
// 未指定 route 时,用开关本身判定(等价于「除 affix/outLink 外都可重复」)
|
|
47
|
+
const repeatable = route ? isRepeatable(route) : settingConfig.repeatOpenEnabled;
|
|
48
|
+
return router.push(repeatable ? withRepeatKey(location) : location);
|
|
49
|
+
}
|
package/src/utils/vab.js
CHANGED
|
@@ -12,6 +12,7 @@ import XEUtils from "xe-utils";
|
|
|
12
12
|
|
|
13
13
|
import prefixConfig from "@/prefixConfig.js";
|
|
14
14
|
import moment from "moment";
|
|
15
|
+
import { openView } from "./repeatOpen";
|
|
15
16
|
|
|
16
17
|
let imFun = {
|
|
17
18
|
request,
|
|
@@ -224,6 +225,12 @@ install = (Vue, opts = {}) => {
|
|
|
224
225
|
$http.prototype = imFun.request.prototype;
|
|
225
226
|
Vue.prototype.$http = $http;
|
|
226
227
|
|
|
228
|
+
/* 通用打开菜单/路由:开关开启时以独立标签重复打开,否则按原逻辑跳转
|
|
229
|
+
* 用法:this.$openView('/path') 或 this.$openView({ path, query }[, route]) */
|
|
230
|
+
Vue.prototype.$openView = function (location, route) {
|
|
231
|
+
return openView(this.$router, location, route);
|
|
232
|
+
};
|
|
233
|
+
|
|
227
234
|
/* 全局accessToken */
|
|
228
235
|
Vue.prototype.$baseAccessToken = () => {
|
|
229
236
|
return accessToken || imFun.getToken();
|
|
@@ -278,10 +278,10 @@ export default {
|
|
|
278
278
|
if (route.linkType == 4) {
|
|
279
279
|
this.jumpOutLink(route)
|
|
280
280
|
} else if (route.linkType == 3) {
|
|
281
|
-
this.$
|
|
281
|
+
this.$openView({path: route.path, query: {url: route.outLink}}, route);
|
|
282
282
|
} else {
|
|
283
283
|
// this.jumpTo(route, firstRow)
|
|
284
|
-
this.$
|
|
284
|
+
this.$openView(route.path, route);
|
|
285
285
|
}
|
|
286
286
|
} catch (e) {
|
|
287
287
|
console.error(e);
|
|
@@ -565,11 +565,11 @@ export default {
|
|
|
565
565
|
} else if (route.type == 3) {
|
|
566
566
|
let menuCode = route.menuCode;
|
|
567
567
|
let path = "/user/outLink/index/" + menuCode;
|
|
568
|
-
this.$
|
|
568
|
+
this.$openView({ path: path, query: { url: route.url } }, route);
|
|
569
569
|
} else {
|
|
570
570
|
let path = this.getPath(route);
|
|
571
571
|
if (!path) return;
|
|
572
|
-
this.$
|
|
572
|
+
this.$openView(path, route);
|
|
573
573
|
}
|
|
574
574
|
},
|
|
575
575
|
getPath(route3) {
|
|
@@ -504,12 +504,15 @@ export default {
|
|
|
504
504
|
if (route.linkType === 4) {
|
|
505
505
|
this.jumpOutLink(route);
|
|
506
506
|
} else if (route.linkType === 3) {
|
|
507
|
-
this.$
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
507
|
+
this.$openView(
|
|
508
|
+
{
|
|
509
|
+
path: path,
|
|
510
|
+
query: { url: route.outLink, route: route.route },
|
|
511
|
+
},
|
|
512
|
+
route
|
|
513
|
+
);
|
|
511
514
|
} else {
|
|
512
|
-
this.$
|
|
515
|
+
this.$openView(path, route);
|
|
513
516
|
}
|
|
514
517
|
} catch (e) {
|
|
515
518
|
console.error(e);
|
|
@@ -796,11 +799,11 @@ export default {
|
|
|
796
799
|
} else if (route.type === 3) {
|
|
797
800
|
let menuCode = route.menuCode;
|
|
798
801
|
let path = "/user/outLink/index/" + menuCode;
|
|
799
|
-
this.$
|
|
802
|
+
this.$openView({ path: path, query: { url: route.url } }, route);
|
|
800
803
|
} else {
|
|
801
804
|
let path = this.getPath(route);
|
|
802
805
|
if (!path) return;
|
|
803
|
-
this.$
|
|
806
|
+
this.$openView(path, route);
|
|
804
807
|
}
|
|
805
808
|
},
|
|
806
809
|
getPath(route3) {
|